]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update ARM ulps for VFPv4 (bug 16600).
[thirdparty/glibc.git] / ChangeLog
1 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2
3 [BZ #16600]
4 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5
6 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7
8 * Versions.def (librt): Add GLIBC_2.17.
9
10 2014-02-21 Adam Conrad <adconrad@0c3.net>
11
12 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13 synonym for _SYS_AUXV_H to allow direct inclusion.
14 * sysdeps/sparc/bits/hwcap.h: Likewise.
15 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17 * sysdeps/sparc/sysdep.h: Likewise.
18
19 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20
21 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22
23 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24
25 * benchtests/bench-strrchr.c: Print length instead of position.
26
27 2014-02-20 Joseph Myers <joseph@codesourcery.com>
28
29 [BZ #16611]
30 * sysdeps/unix/sysv/linux/kernel-features.h
31 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
34 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35 Likewise.
36 [__i386__ || __powerpc__ || __sh__ || __sparc__]
37 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39 (__ASSUME_SENDMMSG): Define instead of using previous
40 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42 (__ASSUME_SENDMMSG_SYSCALL): Define.
43 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45 Likewise.
46 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48 Likewise.
49 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51 Likewise.
52 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55 [__ASSUME_SENDMMSG]: Change conditionals to
56 [__ASSUME_SENDMMSG_SOCKETCALL].
57 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
58 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
59 Define.
60 * sysdeps/unix/sysv/linux/mips/kernel-features.h
61 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
62 Likewise.
63 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
64 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
65 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
66 [!__ASSUME_SENDMMSG]: Change conditional to
67 [!__ASSUME_SENDMMSG_SOCKETCALL].
68 * sysdeps/unix/sysv/linux/tile/kernel-features.h
69 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
70 Define.
71
72 [BZ #16610]
73 * sysdeps/unix/sysv/linux/kernel-features.h
74 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
75 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
76 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
77 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
78 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
79 [__i386__ || __sparc__]
80 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
81 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
82 (__ASSUME_RECVMMSG): Define instead of using previous
83 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
84 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
85 (__ASSUME_RECVMMSG_SYSCALL): Define.
86 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
87 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
88 Likewise.
89 * sysdeps/unix/sysv/linux/arm/kernel-features.h
90 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
91 Likewise.
92 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
93 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
94 Likewise.
95 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
96 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
97 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
98 [__ASSUME_RECVMMSG]: Change condition to
99 [__ASSUME_RECVMMSG_SOCKETCALL].
100 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
101 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
102 Define.
103 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
104 * sysdeps/unix/sysv/linux/mips/kernel-features.h
105 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
106 Likewise.
107 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
108 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
109 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
110 [!__ASSUME_RECVMMSG]: Change condition to
111 [!__ASSUME_RECVMMSG_SOCKETCALL].
112 * sysdeps/unix/sysv/linux/tile/kernel-features.h
113 (__ASSUME_RECVMMSG_SYSCALL): Define.
114
115 [BZ #16609]
116 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
117 __powerpc__ || __s390__ || __sh__ || __sparc__]
118 (__ASSUME_SOCKETCALL): Define.
119 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
120 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
121 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
122 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
123 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
124 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
125 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
126 (__ASSUME_ACCEPT4): Define instead of using previous
127 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
128 __powerpc__ || __sparc__ || __s390__)] condition.
129 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
130 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
131 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
132 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
133 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
134 [!__ASSUME_ACCEPT4]: Change condition to
135 [!__ASSUME_ACCEPT4_SOCKETCALL].
136 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
137 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
138 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
139 * sysdeps/unix/sysv/linux/arm/kernel-features.h
140 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
141 __ASSUME_ACCEPT4_SYSCALL.
142 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
143 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
144 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
145 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
146 __ASSUME_ACCEPT4_SYSCALL.
147 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
148 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
149 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
150 [__ASSUME_ACCEPT4]: Change condition to
151 [__ASSUME_ACCEPT4_SOCKETCALL].
152 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
153 (__ASSUME_SOCKETCALL): Define.
154 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
156 (__ASSUME_SOCKETCALL): Define.
157 (__ASSUME_ACCEPT4): Remove.
158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
159 Define.
160 * sysdeps/unix/sysv/linux/mips/kernel-features.h
161 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
162 Likewise.
163 * sysdeps/unix/sysv/linux/tile/kernel-features.h
164 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
165
166 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
167 macro.
168 (HWCAP_ARM_LPAE): Likewise.
169 (HWCAP_ARM_EVTSTRM): Likewise.
170 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
171 Add vpfd32, lpae and evtstrm.
172 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
173 Increase to 22.
174
175 2014-02-19 Joseph Myers <joseph@codesourcery.com>
176
177 * math/auto-libm-test-in: Add tests of clog10.
178 * math/auto-libm-test-out: Regenerated.
179 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
180 * sysdeps/i386/fpu/libm-test-ulps: Update.
181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
182
183 2014-02-18 Andreas Schwab <schwab@suse.de>
184
185 [BZ #16574]
186 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
187 Store non-zero if the second buffer was newly allocated.
188 (send_dg): Likewise.
189 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
190 to send_vc and send_dg.
191 (res_nsend): Pass NULL for ansp2_malloced.
192 * resolv/res_query.c (__libc_res_nquery): Add parameter
193 answerp2_malloced and pass it down to __libc_res_nsend.
194 (res_nquery): Pass additional NULL to __libc_res_nquery.
195 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
196 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
197 second answer buffer if answerp2_malloced was set.
198 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
199 (__libc_res_nquerydomain): Add parameter
200 answerp2_malloced and pass it down to __libc_res_nquery.
201 (res_nquerydomain): Pass additional NULL to
202 __libc_res_nquerydomain.
203 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
204 additional NULL to __libc_res_nsend and __libc_res_nquery.
205 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
206 additional NULL to __libc_res_nsearch.
207 (_nss_dns_gethostbyname4_r): Revert last change. Use new
208 parameter of __libc_res_nsearch to check for separately allocated
209 second buffer.
210 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
211 __libc_res_nquery.
212 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
213 additional NULL to __libc_res_nquery.
214 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
215 __libc_res_nsearch.
216 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
217 * include/resolv.h: Update prototypes of __libc_res_nquery,
218 __libc_res_nsearch, __libc_res_nsend.
219
220 2014-02-18 Joseph Myers <joseph@codesourcery.com>
221
222 * math/auto-libm-test-in: Add tests of fma.
223 * math/auto-libm-test-out: Regenerated.
224 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
225 (fma_towardzero_test_data): Likewise.
226 (fma_downward_test_data): Likewise.
227 (fma_upward_test_data): Likewise.
228 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
229 mpc_mode.
230 (rounding_modes): Add values for new field.
231 (func_calc_method): Add value mpfr_fff_f.
232 (func_calc_desc): Add mpfr_fff_f union field.
233 (test_function): Add field exact_args.
234 (FUNC): Add macro argument EXACT_ARGS.
235 (FUNC_mpfr_f_f): Update call to FUNC.
236 (FUNC_mpfr_f_f): Likewise.
237 (FUNC_mpfr_ff_f): Likewise.
238 (FUNC_mpfr_if_f): Likewise.
239 (FUNC_mpc_c_f): Likewise.
240 (FUNC_mpc_c_c): Likewise.
241 (test_functions): Add fma. Update calls to FUNC.
242 (handle_input_arg): Add argument exact_args.
243 (add_test): Update call to handle_input_arg.
244 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
245 (output_for_one_input_case): Update call to calc_generic_results.
246 Recalculate exact zero results in each rounding mode.
247
248 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
249 non-negative before setting low bit.
250 * math/auto-libm-test-in: Mark one asin test possibly having
251 spurious underflow.
252 * math/auto-libm-test-out: Regenerated.
253 * sysdeps/i386/fpu/libm-test-ulps: Update.
254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
255
256 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
257
258 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
259 * sysdeps/unix/sysv/linux/microblaze: Move directory from
260 ports/sysdeps/unix/sysv/linux/microblaze.
261 * README: Add missing listing for microblaze*-*-linux-gnu.
262
263 2014-02-16 Mike Frysinger <vapier@gentoo.org>
264
265 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
266 * sysdeps/unix/sysv/linux/ia64: Move directory from
267 ports/sysdeps/unix/sysv/linux/ia64.
268 * README: Update listing for ia64-*-linux-gnu.
269
270 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
271 Joseph Myers <joseph@codesourcery.com>
272
273 * Makeconfig (test-name): New variable.
274 (evaluate-test): Likewise.
275 * Makerules (do-test-clean): Remove .test-result files.
276 (common-mostlyclean): Likewise.
277 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
278 * scripts/evaluate-test.sh: New file.
279
280 2014-02-14 Joseph Myers <joseph@codesourcery.com>
281
282 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
283 separate $(objpfx)tst-fopenloc-cmp.out and
284 $(objpfx)tst-fopenloc-mem.out targets.
285 (tests): Update dependencies.
286 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
287 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
288 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
289 (tst-rxspencer-no-utf8-ARGS): New variable.
290 (tst-rxspencer-no-utf8-ENV): Likewise.
291 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
292 instead of $(objpfx)tst-rxspencer-mem.
293 ($(objpfx)tst-rxspencer-mem): Change target to
294 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
295 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
296 * posix/tst-rxspencer-no-utf8.c: New file.
297
298 * elf/Makefile ($(objpfx)order.out): Remove rule.
299 [$(run-built-tests) = yes] (tests): Depend on
300 $(objpfx)order-cmp.out.
301 ($(objpfx)order-cmp.out): New rule.
302 [$(run-built-tests) = yes] (tests): Depend on
303 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
304 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
305 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
306 $(objpfx)tst-array5-static-cmp.out.
307 ($(objpfx)tst-array1.out): Remove rule.
308 ($(objpfx)tst-array1-cmp.out): New rule.
309 ($(objpfx)tst-array1-static.out): Remove rule.
310 ($(objpfx)tst-array1-static-cmp.out): New rule.
311 ($(objpfx)tst-array2.out): Remove rule.
312 ($(objpfx)tst-array2-cmp.out): New rule.
313 ($(objpfx)tst-array3.out): Remove rule.
314 ($(objpfx)tst-array3-cmp.out): New rule.
315 ($(objpfx)tst-array4.out): Remove rule.
316 ($(objpfx)tst-array4-cmp.out): New rule.
317 ($(objpfx)tst-array5.out): Remove rule.
318 ($(objpfx)tst-array5-cmp.out): New rule.
319 ($(objpfx)tst-array5-static.out): Remove rule.
320 ($(objpfx)tst-array5-static-cmp.out): New rule.
321 [$(run-built-tests) = yes] (tests): Depend on
322 $(objpfx)order2-cmp.out.
323 ($(objpfx)order2.out): Remove rule.
324 ($(objpfx)order2-cmp.out): New rule.
325 ($(objpfx)tst-initorder.out): Remove rule.
326 [$(run-built-tests) = yes] (tests): Depend on
327 $(objpfx)tst-initorder-cmp.out.
328 ($(objpfx)tst-initorder-cmp.out): New rule.
329 ($(objpfx)tst-initorder2.out): Remove rule.
330 [$(run-built-tests) = yes] (tests): Depend on
331 $(objpfx)tst-initorder2-cmp.out.
332 ($(objpfx)tst-initorder2-cmp.out): New rule.
333 [$(run-built-tests) = yes] (tests): Depend on
334 $(objpfx)tst-unused-dep-cmp.out.
335 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
336 ($(objpfx)tst-unused-dep-cmp.out): New rule.
337 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
338 on $(objpfx)tst-setvbuf1-cmp.out.
339 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
340 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
341 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
342 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
343 ($(objpfx)tst-svc.out): Remove rule.
344 ($(objpfx)tst-svc-cmp.out): New rule.
345
346 2014-02-13 Joseph Myers <joseph@codesourcery.com>
347
348 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
349 * ctype/ctype.h [__USE_MISC]: Likewise.
350 * dirent/dirent.h [__USE_MISC]: Likewise.
351 * grp/grp.h [__USE_MISC]: Likewise.
352 * io/fcntl.h [__USE_MISC]: Likewise.
353 * io/sys/stat.h [__USE_MISC]: Likewise.
354 * libio/stdio.h [__USE_MISC]: Likewise.
355 * posix/unistd.h [__USE_MISC]: Likewise.
356 * pwd/pwd.h [__USE_MISC]: Likewise.
357 * stdlib.h [__USE_MISC]: Likewise.
358 * string/bits/string2.h [__USE_MISC]: Likewise.
359 * string/string.h [__USE_MISC]: Likewise.
360 * time/time.h [__USE_MISC]: Likewise.
361
362 2014-02-13 Andreas Schwab <schwab@suse.de>
363
364 [BZ #16574]
365 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
366 second answer buffer if it was separately allocated.
367
368 2014-02-12 Joseph Myers <joseph@codesourcery.com>
369
370 * sysdeps/mips/math-tests.h: Include <features.h>.
371 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
372 (ROUNDING_TESTS_long_double): Do not define.
373 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
374 (EXCEPTION_TESTS_long_double): Likewise.
375 * sysdeps/mips/mips64/libm-test-ulps: Update.
376
377 * include/features.h (__USE_BSD): Remove macro definitions.
378 (__USE_SVID): Likewise.
379 (_BSD_SOURCE): Likewise.
380 (_SVID_SOURCE): Likewise.
381 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
382 from definition of _DEFAULT_SOURCE.
383 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
384 [_DEFAULT_SOURCE].
385 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
386 * bits/mman.h [__USE_BSD]: Likewise.
387 * bits/termios.h [__USE_BSD]: Likewise.
388 * bits/waitstatus.h [__USE_BSD]: Likewise.
389 * ctype/ctype.h [__USE_SVID]: Likewise.
390 * dirent/dirent.h [__USE_BSD]: Likewise.
391 * grp/grp.h [__USE_SVID]: Likewise.
392 [__USE_BSD]: Likewise.
393 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
394 * io/fcntl.h [__USE_BSD]: Likewise.
395 * io/ftw.h [__USE_BSD]: Likewise.
396 * io/sys/stat.h [__USE_BSD]: Likewise.
397 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
398 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
399 * libio/stdio.h [__USE_SVID]: Likewise.
400 [__USE_BSD]: Likewise.
401 * math/math.h [__USE_SVID]: Likewise.
402 [__USE_BSD]: Likewise.
403 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
404 * misc/bits/syslog.h [__USE_BSD]: Likewise.
405 * misc/search.h [__USE_SVID]: Likewise.
406 * misc/sys/mman.h [__USE_BSD]: Likewise.
407 * misc/sys/syslog.h [__USE_BSD]: Likewise.
408 * misc/sys/uio.h [__USE_BSD]: Likewise.
409 * posix/bits/unistd.h [__USE_BSD]: Likewise.
410 * posix/glob.h [__USE_BSD]: Likewise.
411 * posix/regex.h [__USE_BSD]: Likewise.
412 * posix/sys/types.h [__USE_BSD]: Likewise.
413 [__USE_SVID]: Likewise.
414 * posix/sys/utsname.h [__USE_SVID]: Likewise.
415 * posix/sys/wait.h [__USE_BSD]: Likewise.
416 [__USE_SVID]: Likewise.
417 * posix/unistd.h [__USE_BSD]: Likewise.
418 [__USE_SVID]: Likewise.
419 * pwd/pwd.h [__USE_SVID]: Likewise.
420 * resolv/netdb.h [__USE_BSD]: Likewise.
421 * setjmp/setjmp.h [__USE_BSD]: Likewise.
422 * signal/signal.h [__USE_BSD]: Likewise.
423 [__USE_SVID]: Likewise.
424 * socket/sys/socket.h [__USE_BSD]: Likewise.
425 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
426 * stdlib/stdlib.h [__USE_BSD]: Likewise.
427 [__USE_SVID]: Likewise.
428 * string/bits/string2.h [__USE_BSD]: Likewise.
429 [__USE_SVID]: Likewise.
430 * string/bits/string3.h [__USE_BSD]: Likewise.
431 * string/endian.h [__USE_BSD]: Likewise.
432 * string/string.h [__USE_SVID]: Likewise.
433 [__USE_BSD]: Likewise.
434 * string/strings.h [__USE_BSD]: Likewise.
435 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
436 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
437 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
438 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
439 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
440 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
441 Likewise.
442 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
443 Likewise.
444 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
445 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
446 Likewise.
447 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
448 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
449 Likewise.
450 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
451 Likewise.
452 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
453 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
455 Likewise.
456 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
457 Likewise.
458 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
459 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
460 * termios/termios.h [__USE_BSD]: Likewise.
461 * time/sys/time.h [__USE_BSD]: Likewise.
462 * time/time.h [__USE_BSD]: Likewise.
463 [__USE_SVID]: Likewise.
464
465 * Makefile (subdir_targets): Remove subdir_lint.out.
466
467 * stdio-common/Makefile (do-tst-unbputc): Remove target.
468 (do-tst-printf): Likewise.
469 (tests): Depend directly on $(objpfx)tst-unbputc.out and
470 $(objpfx)tst-printf.out.
471
472 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
473
474 * Makerules (check-abi-%): Change target to
475 $(objpfx)check-abi-%.out.
476 (check-abi target): Update dependencies.
477 (check-abi-pattern variable): Redirect output of diff to $@.
478 (check-abi variable): Likewise.
479 * elf/Makefile (check-abi): Update dependencies.
480
481 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
482 unused.
483 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
484 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
485 subnormal range.
486 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
487 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
488 value has largest subnormal exponent.
489 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
490 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
491 * sysdeps/aarch64/soft-fp/sfp-machine.h
492 (_FP_TININESS_AFTER_ROUNDING): New macro.
493 * sysdeps/alpha/soft-fp/sfp-machine.h
494 (_FP_TININESS_AFTER_ROUNDING): Likewise.
495 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
496 Likewise.
497 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
498 (_FP_TININESS_AFTER_ROUNDING): Likewise.
499 * sysdeps/mips/soft-fp/sfp-machine.h
500 (_FP_TININESS_AFTER_ROUNDING): Likewise.
501 * sysdeps/powerpc/soft-fp/sfp-machine.h
502 (_FP_TININESS_AFTER_ROUNDING): Likewise.
503 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
504 Likewise.
505 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
506 (_FP_TININESS_AFTER_ROUNDING): Likewise.
507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
508 (_FP_TININESS_AFTER_ROUNDING): Likewise.
509 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
510 Likewise.
511
512 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
513
514 [BZ #16545]
515 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
516 model 1.
517
518 2014-02-12 Richard Henderson <rth@redhat.com>
519
520 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
521 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
522 * sysdeps/unix/sysv/linux/alpha: Move directory from
523 ports/sysdeps/unix/sysv/linux/alpha.
524 * README: Update listing for alpha-*-linux-gnu.
525
526 2014-02-11 Joseph Myers <joseph@codesourcery.com>
527
528 * include/features.h: Update comment documenting feature test
529 macros.
530 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
531 _DEFAULT_SOURCE.
532 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
533 (_SVID_SOURCE): Likewise.
534 (_DEFAULT_SOURCE): Update description of default features.
535 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
536 with _GNU_SOURCE.
537 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
538 (S_ISVTX): Likewise.
539 * manual/math.texi (Mathematical Constants): Likewise.
540 * manual/signal.texi (Interrupted Primitives): Likewise.
541 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
542 * math/test-matherr.c (_SVID_SOURCE): Do not define.
543 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
544 Don't refer to _SVID_SOURCE in warning text.
545
546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
547
548 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
549 already defined.
550 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
551 * sysdeps/mips/dl-lookup.c: Remove.
552 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
553
554 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
555
556 [BZ #16447]
557 * math/auto-libm-test-in: Add testcase for expl.
558 * math/auto-libm-test-out: Regenerate.
559 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
560 calculation of unsafe.
561 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
562
563 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
564
565 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
566 * sysdeps/unix/sysv/linux/aarch64: Move directory from
567 ports/sysdeps/unix/sysv/linux/aarch64.
568 * README: Update listing for aarch64*-*-linux-gnu.
569
570 2014-02-11 Will Newton <will.newton@linaro.org>
571
572 * manual/probes.texi (Mathematical Function Probes): Use
573 "triggered" instead of "hit".
574
575 2014-02-11 Will Newton <will.newton@linaro.org>
576
577 * manual/probes.texi (Internal Probes): Add documentation
578 of setjmp, longjmp and longjmp_target probes.
579
580 2014-02-11 Will Newton <will.newton@linaro.org>
581
582 * include/stap-probe.h: Add comment about probe argument
583 format.
584
585 2014-02-11 Will Newton <will.newton@linaro.org>
586
587 * malloc/mtrace.c (attribute_hidden): Remove unused macro
588 definition. (tr_where, tr_freehook, tr_mallochook,
589 tr_reallochook, tr_memalignhook): Use ANSI protoype.
590
591 2014-02-11 David S. Miller <davem@davemloft.net>
592
593 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
594 processing int_tests.
595
596 2014-02-10 Joseph Myers <joseph@codesourcery.com>
597
598 * sysdeps/mips: Move directory from ports/sysdeps/mips.
599 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
600 * sysdeps/unix/sysv/linux/mips: Move directory from
601 ports/sysdeps/unix/sysv/linux/mips.
602 * README: Update listing for mips-*-linux-gnu and
603 mips64-*-linux-gnu.
604
605 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
606
607 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
608 * sysdeps/unix/sysv/linux/m68k: Move directory from
609 ports/sysdeps/unix/sysv/linux/m68k.
610 * README: Update listing for m68k-*-linux-gnu.
611
612 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
613
614 * sysdeps/tile: Move directory from ports/sysdeps/tile.
615 * sysdeps/unix/sysv/linux/generic: Move directory from
616 ports/sysdeps/unix/sysv/linux/generic.
617 * sysdeps/unix/sysv/linux/tile: Move directory from
618 ports/sysdeps/unix/sysv/linux/tile.
619 * README: Update listing for tile*-*-linux-gnu.
620
621 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
622
623 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
624 * benchtests/bench-memmem.c (simple_memmem): Likewise.
625 * catgets/open_catalog.c (__open_catalog): Likewise.
626 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
627 * debug/confstr_chk.c: Likewise.
628 * debug/fread_chk.c (__fread_chk): Likewise.
629 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
630 * debug/getgroups_chk.c: Likewise.
631 * debug/mbsnrtowcs_chk.c: Likewise.
632 * debug/mbsrtowcs_chk.c: Likewise.
633 * debug/mbstowcs_chk.c: Likewise.
634 * debug/memcpy_chk.c: Likewise.
635 * debug/memmove_chk.c: Likewise.
636 * debug/mempcpy_chk.c: Likewise.
637 * debug/memset_chk.c: Likewise.
638 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
639 * debug/strcat_chk.c (__strcat_chk): Likewise.
640 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
641 * debug/strncat_chk.c (__strncat_chk): Likewise.
642 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
643 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
644 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
645 * debug/wcpncpy_chk.c: Likewise.
646 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
647 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
648 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
649 * debug/wcsncpy_chk.c: Likewise.
650 * debug/wcsnrtombs_chk.c: Likewise.
651 * debug/wcsrtombs_chk.c: Likewise.
652 * debug/wcstombs_chk.c: Likewise.
653 * debug/wmemcpy_chk.c: Likewise.
654 * debug/wmemmove_chk.c: Likewise.
655 * debug/wmempcpy_chk.c: Likewise.
656 * debug/wmemset_chk.c: Likewise.
657 * dirent/scandirat.c (SCANDIRAT): Likewise.
658 * dlfcn/dladdr1.c (dladdr1): Likewise.
659 * dlfcn/dladdr.c (dladdr): Likewise.
660 * dlfcn/dlclose.c (dlclose_doit): Likewise.
661 * dlfcn/dlerror.c (__dlerror): Likewise.
662 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
663 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
664 * dlfcn/dlopen.c (dlopen_doit): Likewise.
665 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
666 * dlfcn/dlsym.c (dlsym_doit): Likewise.
667 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
668 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
669 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
670 Likewise.
671 * elf/dl-conflict.c: Likewise.
672 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
673 * elf/dl-dst.h: Likewise.
674 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
675 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
677 * elf/dl-init.c (call_init, _dl_init): Likewise.
678 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
679 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
680 _dl_map_object_from_fd, open_verify, open_path,
681 _dl_map_object): Likewise.
682 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
683 Likewise.
684 * elf/dl-minimal.c (__libc_memalign): Likewise.
685 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
686 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
687 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
688 * elf/dl-sym.c (do_sym): Likewise.
689 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
690 _dl_tls_get_addr_soft): Likewise.
691 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
692 * elf/dl-writev.h (_dl_writev): Likewise.
693 * elf/ldconfig.c (search_dir): Likewise.
694 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
695 dl_main): Likewise.
696 * elf/setup-vdso.h (setup_vdso): Likewise.
697 * grp/compat-initgroups.c (compat_call): Likewise.
698 * grp/fgetgrent.c (fgetgrent): Likewise.
699 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
700 * grp/putgrent.c (putgrent): Likewise.
701 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
702 Likewise.
703 * hurd/hurdinit.c: Likewise.
704 * iconvdata/8bit-gap.c (struct): Likewise.
705 * iconvdata/ansi_x3.110.c : Likewise.
706 * iconvdata/big5.c : Likewise.
707 * iconvdata/big5hkscs.c : Likewise.
708 * iconvdata/cp1255.c: Likewise.
709 * iconvdata/cp1258.c : Likewise.
710 * iconvdata/cp932.c : Likewise.
711 * iconvdata/euc-cn.c: Likewise.
712 * iconvdata/euc-jisx0213.c : Likewise.
713 * iconvdata/euc-jp.c: Likewise.
714 * iconvdata/euc-jp-ms.c : Likewise.
715 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
716 * iconvdata/gb18030.c : Likewise.
717 * iconvdata/gbbig5.c (const): Likewise.
718 * iconvdata/gbgbk.c: Likewise.
719 * iconvdata/gbk.c : Likewise.
720 * iconvdata/ibm1364.c : Likewise.
721 * iconvdata/ibm930.c : Likewise.
722 * iconvdata/ibm932.c: Likewise.
723 * iconvdata/ibm933.c : Likewise.
724 * iconvdata/ibm935.c : Likewise.
725 * iconvdata/ibm937.c : Likewise.
726 * iconvdata/ibm939.c : Likewise.
727 * iconvdata/ibm943.c: Likewise.
728 * iconvdata/iso_11548-1.c: Likewise.
729 * iconvdata/iso-2022-cn.c : Likewise.
730 * iconvdata/iso-2022-cn-ext.c : Likewise.
731 * iconvdata/iso-2022-jp-3.c: Likewise.
732 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
733 * iconvdata/iso-2022-kr.c : Likewise.
734 * iconvdata/iso646.c (gconv_end): Likewise.
735 * iconvdata/iso_6937-2.c : Likewise.
736 * iconvdata/iso_6937.c : Likewise.
737 * iconvdata/iso8859-1.c: Likewise.
738 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
739 * iconvdata/shift_jisx0213.c : Likewise.
740 * iconvdata/sjis.c : Likewise.
741 * iconvdata/t.61.c : Likewise.
742 * iconvdata/tcvn5712-1.c : Likewise.
743 * iconvdata/tscii.c: Likewise.
744 * iconvdata/uhc.c : Likewise.
745 * iconvdata/unicode.c (gconv_end): Likewise.
746 * iconvdata/utf-16.c (gconv_end): Likewise.
747 * iconvdata/utf-32.c (gconv_end): Likewise.
748 * iconvdata/utf-7.c (base64): Likewise.
749 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
750 * iconv/gconv_close.c (__gconv_close): Likewise.
751 * iconv/gconv_open.c (__gconv_open): Likewise.
752 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
753 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
754 internal_ucs4le_loop_single, ucs4le_internal_loop,
755 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
756 * iconv/iconv.c (iconv): Likewise.
757 * iconv/iconv_close.c: Likewise.
758 * iconv/loop.c (SINGLE): Likewise.
759 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
760 * include/atomic.h: Likewise.
761 * inet/inet6_option.c (option_alloc): Likewise.
762 * intl/bindtextdom.c (set_binding_values): Likewise.
763 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
764 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
765 * intl/localealias.c (read_alias_file): Likewise.
766 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
767 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
768 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
769 * libio/fmemopen.c (fmemopen): Likewise.
770 * libio/iofgets.c (_IO_fgets): Likewise.
771 * libio/iofgets_u.c (fgets_unlocked): Likewise.
772 * libio/iofgetws.c (fgetws): Likewise.
773 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
774 * libio/iogetdelim.c (_IO_getdelim): Likewise.
775 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
776 adjust_wide_data, _IO_wfile_seekoff): Likewise.
777 * locale/findlocale.c (_nl_find_locale): Likewise.
778 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
779 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
780 Likewise.
781 * locale/setlocale.c (setlocale): Likewise.
782 * login/programs/pt_chown.c (main): Likewise.
783 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
784 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
785 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
786 mmap, mmap64, mremap, munmap): Likewise.
787 * math/e_exp2l.c: Likewise.
788 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
789 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
790 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
791 * math/s_catan.c (__catan): Likewise.
792 * math/s_catanf.c (__catanf): Likewise.
793 * math/s_catanh.c (__catanh): Likewise.
794 * math/s_catanhf.c (__catanhf): Likewise.
795 * math/s_catanhl.c (__catanhl): Likewise.
796 * math/s_catanl.c (__catanl): Likewise.
797 * math/s_ccosh.c (__ccosh): Likewise.
798 * math/s_ccoshf.c (__ccoshf): Likewise.
799 * math/s_ccoshl.c (__ccoshl): Likewise.
800 * math/s_cexp.c (__cexp): Likewise.
801 * math/s_cexpf.c (__cexpf): Likewise.
802 * math/s_cexpl.c (__cexpl): Likewise.
803 * math/s_clog10.c (__clog10): Likewise.
804 * math/s_clog10f.c (__clog10f): Likewise.
805 * math/s_clog10l.c (__clog10l): Likewise.
806 * math/s_clog.c (__clog): Likewise.
807 * math/s_clogf.c (__clogf): Likewise.
808 * math/s_clogl.c (__clogl): Likewise.
809 * math/s_csin.c (__csin): Likewise.
810 * math/s_csinf.c (__csinf): Likewise.
811 * math/s_csinh.c (__csinh): Likewise.
812 * math/s_csinhf.c (__csinhf): Likewise.
813 * math/s_csinhl.c (__csinhl): Likewise.
814 * math/s_csinl.c (__csinl): Likewise.
815 * math/s_csqrt.c (__csqrt): Likewise.
816 * math/s_csqrtf.c (__csqrtf): Likewise.
817 * math/s_csqrtl.c (__csqrtl): Likewise.
818 * math/s_ctan.c (__ctan): Likewise.
819 * math/s_ctanf.c (__ctanf): Likewise.
820 * math/s_ctanh.c (__ctanh): Likewise.
821 * math/s_ctanhf.c (__ctanhf): Likewise.
822 * math/s_ctanhl.c (__ctanhl): Likewise.
823 * math/s_ctanl.c (__ctanl): Likewise.
824 * math/w_pow.c: Likewise.
825 * math/w_powf.c: Likewise.
826 * math/w_powl.c: Likewise.
827 * math/w_scalb.c (sysv_scalb): Likewise.
828 * math/w_scalbf.c (sysv_scalbf): Likewise.
829 * math/w_scalbl.c (sysv_scalbl): Likewise.
830 * misc/error.c (error_tail): Likewise.
831 * misc/pselect.c (__pselect): Likewise.
832 * nis/nis_callback.c (__nis_create_callback): Likewise.
833 * nis/nis_call.c (__nisfind_server): Likewise.
834 * nis/nis_creategroup.c (nis_creategroup): Likewise.
835 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
836 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
837 * nis/nis_getservlist.c (nis_getservlist): Likewise.
838 * nis/nis_lookup.c (nis_lookup): Likewise.
839 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
840 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
841 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
842 * nis/nis_xdr.c (xdr_endpoint): Likewise.
843 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
844 internal_getgrgid_r): Likewise.
845 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
846 Likewise.
847 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
848 internal_getpwuid_r): Likewise.
849 * nis/nss_compat/compat-spwd.c (getspent_next_file,
850 internal_getspnam_r): Likewise.
851 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
852 _nss_nis_getaliasbyname_r): Likewise.
853 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
854 _nss_nis_getntohost_r): Likewise.
855 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
856 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
857 Likewise.
858 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
859 internal_nis_gethostent_r, internal_gethostbyname2_r,
860 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
861 _nss_nis_gethostbyname4_r): Likewise.
862 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
863 initgroups_netid): Likewise.
864 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
865 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
866 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
867 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
868 _nss_nis_getprotobynumber_r): Likewise.
869 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
870 _nss_nis_getsecretkey): Likewise.
871 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
872 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
873 Likewise.
874 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
875 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
876 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
877 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
878 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
879 _nss_nis_getspnam_r): Likewise.
880 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
881 Likewise.
882 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
883 _nss_nisplus_getntohost_r): Likewise.
884 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
885 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
886 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
887 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
888 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
889 Likewise.
890 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
891 _nss_nisplus_getnetbyaddr_r): Likewise.
892 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
893 _nss_nisplus_getprotobynumber_r): Likewise.
894 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
895 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
896 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
897 Likewise.
898 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
899 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
900 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
901 _nss_nisplus_getspnam_r): Likewise.
902 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
903 * nscd/aicache.c (addhstaiX): Likewise.
904 * nscd/cache.c (cache_search, prune_cache): Likewise.
905 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
906 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
907 * nscd/grpcache.c (addgrbyX): Likewise.
908 * nscd/hstcache.c (addhstbyX): Likewise.
909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
910 * nscd/mem.c (gc, mempool_alloc): Likewise.
911 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
912 Likewise.
913 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
914 Likewise.
915 * nscd/nscd_getai.c (__nscd_getai): Likewise.
916 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
918 Likewise.
919 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
920 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
921 * nscd/nscd_helper.c (__readvall, open_socket,
922 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
923 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
924 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
925 * nscd/pwdcache.c (addpwbyX): Likewise.
926 * nscd/selinux.c (preserve_capabilities): Likewise.
927 * nscd/servicescache.c (addservbyX): Likewise.
928 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
929 * posix/fnmatch.c (fnmatch): Likewise.
930 * posix/getopt.c (_getopt_internal_r): Likewise.
931 * posix/glob.c (glob, glob_in_dir): Likewise.
932 * posix/wordexp.c (exec_comm_child): Likewise.
933 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
934 gaih_getanswer_slice): Likewise.
935 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
936 * resolv/res_init.c: Likewise.
937 * resolv/res_mkquery.c (res_nmkquery): Likewise.
938 * resolv/res_query.c (__libc_res_nquery): Likewise.
939 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
940 Likewise.
941 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
942 * stdio-common/perror.c (perror): Likewise.
943 * stdio-common/printf_fp.c (___printf_fp): Likewise.
944 * stdio-common/tmpnam.c (tmpnam): Likewise.
945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
946 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
947 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
948 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
949 * stdlib/putenv.c (putenv): Likewise.
950 * stdlib/setenv.c (__add_to_environ): Likewise.
951 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
952 * stdlib/strtol_l.c (INTERNAL): Likewise.
953 * string/memmem.c (memmem): Likewise.
954 * string/strerror.c (strerror): Likewise.
955 * string/strnlen.c (__strnlen): Likewise.
956 * string/test-memmem.c (simple_memmem): Likewise.
957 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
958 * sunrpc/pm_getport.c (__get_socket): Likewise.
959 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
960 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
961 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
962 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
963 Likewise.
964 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
965 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
966 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
967 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
968 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
969 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
970 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
971 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
972 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
974 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
975 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
977 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
978 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
979 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
980 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
981 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
982 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
983 Likewise.
984 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
985 Likewise.
986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
987 Likewise.
988 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
990 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
991 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
992 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
993 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
994 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
996 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
997 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
998 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1000 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1001 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1003 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1004 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1005 Likewise.
1006 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1007 Likewise.
1008 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1009 Likewise.
1010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1012 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1013 Likewise.
1014 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1015 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1016 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1017 * sysdeps/posix/sleep.c: Likewise.
1018 * sysdeps/posix/tempname.c: Likewise.
1019 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1020 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1021 Likewise.
1022 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1023 elf_machine_rela): Likewise.
1024 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1025 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1026 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1027 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1028 Likewise.
1029 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1030 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1031 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1032 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1033 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1034 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1035 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1036 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1037 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1038 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1040 elf_machine_lazy_rel): Likewise.
1041 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1043 elf_machine_lazy_rel): Likewise.
1044 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1045 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1046 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1047 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1048 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1049 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1050 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1052 Likewise.
1053 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1054 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1055 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1056 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1057 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1058 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1059 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1060 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1061 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1062 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1063 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1064 Likewise.
1065 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1066 (__posix_fallocate64_l64): Likewise.
1067 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1068 (posix_fallocate): Likewise.
1069 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1070 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1071 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1072 getifaddrs_internal): Likewise.
1073 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1074 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1075 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1076 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1077 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1078 (__posix_fallocate64_l64): Likewise.
1079 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1080 Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1082 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1083 Likewise.
1084 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1085 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1086 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1087 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1089 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1090 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1091 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1092 Likewise.
1093 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1094 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1095 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1097 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1098 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1099 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1100 Likewise.
1101 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1102 (posix_fallocate): Likewise.
1103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1104 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1105 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1106 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1107 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1108 Likewise.
1109 * time/asctime.c (asctime_internal): Likewise.
1110 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1111 * time/tzset.c (__tzset_parse_tz): Likewise.
1112 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1113 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1114 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1115 * wcsmbs/wcsmbsload.h: Likewise.
1116
1117 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1118
1119 [BZ #15894]
1120 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1121
1122 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1123
1124 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1125 arena_get2): Remove THREAD_STATS conditionals.
1126 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1127 __malloc_stats, int): Likewise.
1128
1129 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1130
1131 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1132 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1133
1134 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1135
1136 * manual/setjmp.texi: Fix typos/grammar errors.
1137
1138 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1139
1140 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1141 Only return early when n is <= 0. Delete unused return statement.
1142
1143 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1144
1145 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1146 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1147 * debug/tst-longjmp_chk3.c: New file.
1148
1149 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1150
1151 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1152 (test_main): Replace code with set_fortify_handler call.
1153 * debug/test-strcpy_chk.c: Likewise.
1154 * debug/tst-chk1.c: Likewise.
1155 * debug/tst-longjmp_chk.c: Likewise.
1156 * test-skeleton.c: Include fcntl.h & paths.h
1157 (set_fortify_handler): Define.
1158
1159 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1160
1161 * debug/tst-longjmp_chk.c: Add header comment and include
1162 ../test-skeleton.c.
1163 (do_test): Mark static.
1164 (TEST_FUNCTION): Define.
1165
1166 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1167
1168 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1169 (IP_PMTUDISC_INTERFACE): Likewise.
1170 (IP_MULTICAST_IF): Likewise.
1171 (IP_MULTICAST_TTL): Likewise.
1172 (IP_MULTICAST_LOOP): Likewise.
1173 (IP_ADD_MEMBERSHIP): Likewise.
1174 (IP_DROP_MEMBERSHIP): Likewise.
1175 (IP_UNBLOCK_SOURCE): Likewise.
1176 (IP_BLOCK_SOURCE): Likewise.
1177 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1178 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1179 (IP_MSFILTER): Likewise.
1180 (MCAST_JOIN_GROUP): Likewise.
1181 (MCAST_BLOCK_SOURCE): Likewise.
1182 (MCAST_UNBLOCK_SOURCE): Likewise.
1183 (MCAST_LEAVE_GROUP): Likewise.
1184 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1185 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1186 (MCAST_MSFILTER): Likewise.
1187 (IP_MULTICAST_ALL): Likewise.
1188 (IP_UNICAST_IF): Likewise.
1189
1190 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1191
1192 * timezone/Makefile: Delete $(have-ksh) check.
1193 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1194 * timezone/tzselect.ksh: Add +x mode bits.
1195
1196 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1197
1198 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1199 (ANON_INODE_FS_MAGIC): Likewise.
1200 (BDEVFS_MAGIC): Likewise.
1201 (BINFMTFS_MAGIC): Likewise.
1202 (BTRFS_TEST_MAGIC): Likewise.
1203 (CRAMFS_MAGIC_WEND): Likewise.
1204 (DEBUGFS_MAGIC): Likewise.
1205 (ECRYPTFS_SUPER_MAGIC): Likewise.
1206 (EXT3_SUPER_MAGIC): Likewise.
1207 (EXT4_SUPER_MAGIC): Likewise.
1208 (FUTEXFS_SUPER_MAGIC): Likewise.
1209 (HOSTFS_SUPER_MAGIC): Likewise.
1210 (HUGETLBFS_MAGIC): Likewise.
1211 (MINIX3_SUPER_MAGIC): Likewise.
1212 (MTD_INODE_FS_MAGIC): Likewise.
1213 (NILFS_SUPER_MAGIC): Likewise.
1214 (OPENPROM_SUPER_MAGIC): Likewise.
1215 (PIPEFS_MAGIC): Likewise.
1216 (PSTOREFS_MAGIC): Likewise.
1217 (QNX6_SUPER_MAGIC): Likewise.
1218 (RAMFS_MAGIC): Likewise.
1219 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1220 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1221 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1222 (SECURITYFS_MAGIC): Likewise.
1223 (SELINUX_MAGIC): Likewise.
1224 (SMACK_MAGIC): Likewise.
1225 (SOCKFS_MAGIC): Likewise.
1226 (SQUASHFS_MAGIC): Likewise.
1227 (STACK_END_MAGIC): Likewise.
1228 (TMPFS_MAGIC): Likewise.
1229 (USBDEVICE_SUPER_MAGIC): Likewise.
1230 (V9FS_MAGIC): Likewise.
1231 (XENFS_SUPER_MAGIC): Likewise.
1232 (CRAMFS_MAGIC): Fix typo in comment.
1233 (EXT2_SUPER_MAGIC): Update comment.
1234 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1235
1236 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1237
1238 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1239 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1240 * sysdeps/unix/sysv/linux/arm: Move directory from
1241 ports/sysdeps/unix/sysv/linux/arm.
1242 * README: Update listing for arm-*-linux-gnueabi.
1243
1244 * README: Remove mention of am33.
1245
1246 2014-02-07 Roland McGrath <roland@hack.frob.com>
1247
1248 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1249 than the comma operator, to avoid "rhs of comma has no effect"
1250 compiler warnings.
1251 (__sigfillset, __sigandset, __sigorset): Likewise.
1252 * include/signal.h (__sigemptyset): Likewise.
1253 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1254
1255 2014-02-07 Allan McRae <allan@archlinux.org>
1256
1257 * version.h (RELEASE): Set to "development".
1258 (VERSION): Set to "2.19.90"
1259 * NEWS: Add 2.20 section.
1260
1261 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1262
1263 [BZ #16529]
1264 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1265
1266 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1267
1268 * manual/contrib.texi: Update entry for Carlos O'Donell,
1269 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1270
1271 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1272
1273 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1274
1275 * sysdeps/unix/sysv/linux/kernel-features.h
1276 [__LINUX_KERNEL_VERSION >= 0x020621]
1277 (__ASSUME_PROC_PID_TASK_COMM): Define.
1278
1279 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1280
1281 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1282 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1283 Leonard and Allan McRae.
1284
1285 2014-02-04 David S. Miller <davem@davemloft.net>
1286
1287 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1288 32-bit.
1289
1290 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1293 file
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1295 New file
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1297 file.
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1299 file.
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1301 New file.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1303 file.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1305 file.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1307 New file.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1309 New file.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1311 New file.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1313 New file.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1315 New file.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1317 New file.
1318
1319 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1320
1321 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1322 * shlib-versions: Likewise.
1323
1324 2014-02-04 Roland McGrath <roland@hack.frob.com>
1325 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326
1327 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1328 (abilist-pattern): New variable, set to %-le.abilist.
1329
1330 * Makerules (abilist-pattern): New variable.
1331 (vpath): Use $(abilist-pattern) in place of %.abilist.
1332 (check-abi-% pattern rule): Likewise.
1333 (check-abi, update-abi): Likewise.
1334
1335 2014-02-04 Eric Wong <normalperson@yhbt.net>
1336
1337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1338
1339 2014-02-04 Eric Wong <normalperson@yhbt.net>
1340
1341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1342
1343 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1344
1345 * manual/startup.texi: Add next, previous, and top entries for
1346 the `Program Arguments' and `Environment Variables' nodes.
1347
1348 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1349
1350 * manual/macros.texi: Add comments before MTASC-safety macros.
1351
1352 * manual/users.texi: Document MTASC-safety properties.
1353
1354 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1355 pthread_getspecific, pthread_setspecific): Format with
1356 @deftypefun, and add @safety note.
1357 * manual/signal.texi: Move comments that analyze the above
1358 functions to their home place.
1359
1360 2014-02-03 Allan McRae <allan@archlinux.org>
1361
1362 * po/sl.po: Update Slovenian translation from translation project.
1363
1364 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1365
1366 * manual/time.texi (timegm): Add missing blank after @c.
1367 Reported by Joseph Myers <joseph@codesourcery.com>.
1368
1369 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1370
1371 * manual/check-safety.sh: New.
1372 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1373
1374 * manual/terminal.texi: Document MTASC-safety properties.
1375
1376 * manual/filesys.texi: Document MTASC-safety properties.
1377
1378 * manual/errno.texi: Document MTASC-safety properties.
1379
1380 * manual/intro.texi: Document safety identifiers and
1381 conditionals.
1382
1383 * manual/string.texi (wcstok): Fix prototype.
1384 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1385
1386 * manual/time.texi: Document MTASC-safety properties.
1387
1388 * manual/string.texi: Document MTASC-safety properties.
1389
1390 * manual/threads.texi: Document MTASC-safety properties.
1391
1392 * manual/stdio.texi: Document MTASC-safety properties.
1393
1394 * manual/syslog.texi: Document MTASC-safety properties.
1395
1396 * manual/sysinfo.texi: Document MTASC-safety properties.
1397
1398 * manual/startup.texi: Document MTASC-safety properties.
1399
1400 * manual/socket.texi: Document MTASC-safety properties.
1401
1402 * manual/signal.texi: Document MTASC-safety properties.
1403
1404 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1405
1406 * manual/setjmp.texi: Document MTASC-safety properties.
1407
1408 * manual/search.texi: Document MTASC-safety properties.
1409
1410 * manual/resource.texi: Document MTASC-safety properties.
1411
1412 * manual/process.texi: Document MTASC-safety properties.
1413
1414 * manual/platform.texi: Document MTASC-safety properties.
1415
1416 * manual/pipe.texi: Document MTASC-safety properties.
1417
1418 * manual/pattern.texi: Document MTASC-safety properties.
1419
1420 * manual/message.texi: Document MTASC-safety properties.
1421
1422 [BZ #12751]
1423 * manual/memory.texi: Document MTASC-safety properties.
1424
1425 * manual/math.texi: Document MTASC-safety properties.
1426
1427 * manual/locale.texi: Document MTASC-safety properties.
1428
1429 * manual/llio.texi: Document MTASC-safety properties.
1430
1431 * manual/libdl.texi: New.
1432
1433 * manual/lang.texi: Document MTASC-safety properties.
1434
1435 * manual/job.texi: Document MTASC-safety properties.
1436
1437 * manual/getopt.texi: Document MTASC-safety properties.
1438
1439 * manual/ctype.texi: Document MTASC-safety properties.
1440
1441 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1442
1443 [BZ #16046]
1444 * csu/libc-tls.c (static_map): Remove variable.
1445 (__libc_setup_tls): Use main executable's link map for TLS data.
1446 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1447 casing for LM_ID_BASE and GL(dl_nns).
1448 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1449 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1450 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1451 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1452 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1453 member.
1454 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1455 l_phnum members.
1456
1457 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1458
1459 * manual/debug.texi: Document MTASC-safety properties.
1460
1461 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 [BZ #16510]
1464 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1465 of __x86_64__ when disabling x87 inline functions.
1466
1467 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1468
1469 * manual/charset.texi: Document MTASC-safety properties.
1470
1471 * manual/crypt.texi: Document MTASC-safety properties.
1472
1473 * manual/conf.texi: Document MTASC-safety properties.
1474
1475 * manual/arith.texi: Document MTASC-safety properties.
1476
1477 * manual/argp.texi: Document MTASC-safety properties.
1478
1479 * manual/macros.texi: Introduce macros to document multi
1480 thread, asynchronous signal and asynchronous cancellation
1481 safety properties.
1482 * manual/intro.texi: Introduce the properties themselves.
1483
1484 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1485
1486 * sysdeps/sh/sh4/Makefile: New file.
1487
1488 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1489
1490 * math/gen-libm-test.pl ($srcdir): New variable.
1491 ($auto_input): Use it.
1492
1493 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1494
1495 [BZ #16506]
1496 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1497 access beyond array bounds when parsing netgroups file.
1498
1499 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1500 the old buffer before realloc.
1501
1502 2014-01-27 Allan McRae <allan@archlinux.org>
1503
1504 * po/fr.po: Update French translation from translation project.
1505
1506 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1507
1508 * sysdeps/sh/libm-test-ulps: Regenerate.
1509
1510 2014-01-24 David S. Miller <davem@davemloft.net>
1511
1512 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1513
1514 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1515
1516 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1517 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1518
1519 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1520
1521 [BZ #16474]
1522 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1523 string pointers after reallocation.
1524
1525 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1526
1527 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1528 __SH4A__ instead of __SH_FPU_ANY__.
1529
1530 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1531
1532 * sysdeps/sh/fpu_control.h: New file.
1533 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1534 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1535 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1536 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1537 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1538 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1539 * sysdeps/sh/sys/ucontext.h: Remove.
1540 * sysdeps/sh/sys: Remove directory.
1541
1542 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1543
1544 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1545 s390/sys/ucontext.h.
1546 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1547 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1548
1549 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1550
1551 [BZ #15605]
1552 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1553
1554 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555
1556 [BZ#16431]
1557 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1558 Adjust the vDSO correctly for internal calls.
1559 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1560
1561 2014-01-20 Allan McRae <allan@archlinux.org>
1562
1563 * po/ca.po: Update Catalan translation from translation project.
1564
1565 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1566
1567 * sysdeps/s390/sotruss-lib.c: New file.
1568
1569 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 [BZ#16430]
1572 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1573 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1574 local calls issues by not having a PLT stub required for IFUNC calls.
1575 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1576
1577 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1578
1579 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1580 * math/test-fpucw-static.c: Likewise.
1581
1582 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1583
1584 [BZ #16453]
1585 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1586
1587 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1588
1589 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1590 implementation for powerpc.
1591
1592 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1593
1594 [BZ #14782]
1595 * sysdeps/posix/system.c (__libc_system): Do not enable
1596 asynchronous cancellation.
1597
1598 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1599
1600 [BZ #16427]
1601 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1602 handling only for numbers special also in the IEEE case.
1603
1604 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1605
1606 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1607
1608 2014-01-11 Allan McRae <allan@archlinux.org>
1609
1610 * po/bg.po: Update Bulgarian translation from translation project.
1611
1612 * po/de.po: Update German translation from translation project.
1613
1614 2014-01-10 Roland McGrath <roland@hack.frob.com>
1615
1616 * sysdeps/generic/gcc-compat.h: New file.
1617
1618 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1619
1620 * benchtests/asin-inputs: Correct slow inputs.
1621 * benchtests/acos-inputs: Likewise.
1622
1623 2014-01-10 Allan McRae <allan@archlinux.org>
1624
1625 * po:sv.po: Update Swedish translation from translation project.
1626
1627 * po/vi.po: Update Vietnamese translation from translation project.
1628
1629 * po/eo.po: Update Esperanto translation from translation project.
1630
1631 * po/cs.po: Update Czech translation from translation project.
1632
1633 * po/nl.po: Update Dutch translation from translation project.
1634
1635 * po/pl.po: Update Polish translation from translation project.
1636
1637 * po/ru.po: Update Russian translation from translation project.
1638
1639 * po/uk.po: Update Ukrainian translation from translation project.
1640
1641 2014-01-08 Brooks Moses <bmoses@google.com>
1642
1643 * elf/dl-load.c: Fix comment typo.
1644
1645 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1646
1647 * po/header.pot: Rename to...
1648 * po/pot.header: ... this.
1649 * po/Makefile: Use pot.header.
1650
1651 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1652 Maxim Kuvyrkov <maxim@kugelworks.com>
1653
1654 [BZ #16394]
1655 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1656 SRC and DEST against LEN.
1657
1658 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1659
1660 [BZ #16414]
1661 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1662 implementation.
1663 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1664
1665 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1666
1667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1668
1669 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1670
1671 [BZ #16408]
1672 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1673 for large positive arguments.
1674
1675 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1676
1677 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1678
1679 * math/auto-libm-test-in: Mark various tests with
1680 xfail-rounding:ldbl-128ibm.
1681 * math/auto-libm-test-out: Regenerated.
1682
1683 [BZ #16407]
1684 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1685 Increase overflow threshold.
1686
1687 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1688
1689 [BZ #14286]
1690 * stdio-common/vfprintf.c: Check for integer overflow.
1691
1692 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1693
1694 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1695 the first argument and return value of __tls_get_addr_internal.
1696
1697 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1698
1699 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1700 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1701
1702 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1703
1704 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1705 * sysdeps/s390/rtld-global-offsets.sym: New file.
1706 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1707 GLIBC_2.19 symbol.
1708 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1709 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1710 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1711 ... this.
1712 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1713 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1714 ... this.
1715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1716 Regenerate.
1717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1718 Regenerate.
1719 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1720 halfs of GPRs for high_gprs contexts.
1721 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1722 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1723 field.
1724 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1725 uc_flags field.
1726 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1727 64 bit versions:
1728 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1729 for high GPRs (uc_high_gprs) and for future extensions
1730 (__reserved).
1731 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1732 for future extensions (__reserved).
1733 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1734 64 bit versions:
1735 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1736 SC_HIGHGPRS offset definition.
1737 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1738 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1739
1740 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1741
1742 * Versions.def: Add GLIBC_2.19 for libpthread.
1743 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1744 siglongjmp for libpthread with GLIBC_2.19 symver.
1745 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1746 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1747 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1748 * sysdeps/s390/__longjmp.c: New file.
1749 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1750 * sysdeps/s390/longjmp.c: New file.
1751 * sysdeps/s390/setjmp.S: New file.
1752 * sysdeps/s390/sigjmp.S: New file.
1753 * sysdeps/s390/v1-longjmp.c: New file.
1754 * sysdeps/s390/v1-setjmp.h: New file.
1755 * sysdeps/s390/v1-sigjmp.c: New file.
1756 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1757 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1758 GLIBC_2.19 version.
1759 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1760 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1761 versioned symbols for ____longjmp_chk.
1762 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1763 Likewise.
1764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1765 Regenerate.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1767 Regenerate.
1768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1769 Regenerate.
1770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1771 Regenerate.
1772 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1773 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1774 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1775 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1776 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1777 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1778 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1779 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1780 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1781 * sysdeps/s390/rtld-__longjmp.c: New file.
1782 * sysdeps/s390/rtld-setjmp.S: New file.
1783
1784 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1785
1786 [BZ #16400]
1787 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1788 Return -__logl (x) for small positive arguments without evaluating
1789 a polynomial.
1790
1791 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1792
1793 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1794 Rename to ...
1795 (__ptrace_peeksiginfo_args): ... this.
1796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1799
1800 2014-01-06 Allan McRae <allan@archlinux.org>
1801
1802 * inet/netinet/in.h: Fix typo in comment.
1803
1804 2014-01-05 Andreas Jaeger <aj@suse.de>
1805
1806 * sysdeps/i386/fpu/libm-test-ulps: Update.
1807
1808 2014-01-05 Allan McRae <allan@archlinux.org>
1809
1810 * po/libc.pot: Regenerated.
1811
1812 * malloc/memusagestat.c: Fix gettext call formatting.
1813
1814 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1815
1816 * nscd/nscd.c: Improve usage() output.
1817
1818 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1819
1820 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1821 * sysdeps/unix/sysv/linux/configure: Regenerated.
1822 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1823 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1824
1825 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1826
1827 [BZ #16390]
1828 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1829 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1830
1831 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832
1833 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1834 extra tokens at end of #undef directive.
1835 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1836 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1837 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1838
1839 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1840
1841 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1842
1843 * math/auto-libm-test-in: Mark various tests with
1844 xfail-rounding:ldbl-128ibm.
1845 * math/auto-libm-test-out: Regenerated.
1846
1847 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1848
1849 [BZ #16386]
1850 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1851 numbers with subnormal high part when calculating exponent.
1852
1853 [BZ #16385]
1854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1855 fabs.
1856
1857 [BZ #16384]
1858 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1859 M_LN2l.
1860 (__ieee754_acoshl): Use __log1pl not __log1p.
1861
1862 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1863
1864 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1865 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1866 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1867 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1868 Convert to GNU style.
1869 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1870 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1871 memalign_check, __malloc_set_state): Likewise.
1872 * malloc/mallocbug.c (main): Likewise.
1873 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1874 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1875 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1876 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1877 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1878 * malloc/malloc.h: Likewise.
1879 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1880 memalignhook, reallochook, mabort): Likewise.
1881 * malloc/mcheck.h: Likewise.
1882 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1883 mmap64, mremap, munmap, dest): Likewise.
1884 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1885 * malloc/morecore.c (__default_morecore): Likewise.
1886 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1887 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1888 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1889 print_and_abort): Likewise.
1890 * malloc/obstack.h: Likewise.
1891 * malloc/set-freeres.c (__libc_freeres): Likewise.
1892 * malloc/tst-mallocstate.c (main): Likewise.
1893 * malloc/tst-mtrace.c (main): Likewise.
1894 * malloc/tst-realloc.c (do_test): Likewise.
1895
1896 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1897
1898 [BZ #16366]
1899 * nscd/netgroupcache.c (do_notfound): New function.
1900 (addgetnetgrentX): Use it.
1901
1902 [BZ # 16365]
1903 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1904 NSS_STATUS_NOTFOUND.
1905
1906 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1907
1908 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1910
1911 2014-01-01 Allan McRae <allan@archlinux.org>
1912
1913 * scripts/update-copyrights: Update configure input file suffix.
1914
1915 * NEWS: Update copyright year.
1916 * catgets/gencat.c: Likewise.
1917 * csu/version.c: Likewise.
1918 * debug/catchsegv.sh: Likewise.
1919 * debug/pcprofiledump.c: Likewise.
1920 * debug/xtrace.sh: Likewise.
1921 * elf/ldconfig.c: Likewise.
1922 * elf/ldd.bash.in: Likewise.
1923 * elf/pldd.c: Likewise.
1924 * elf/sotruss.ksh: Likewise.
1925 * elf/sprof.c: Likewise.
1926 * iconv/iconv_prog.c: Likewise.
1927 * iconv/iconvconfig.c: Likewise.
1928 * locale/programs/locale.c: Likewise.
1929 * locale/programs/localedef.c: Likewise.
1930 * login/programs/pt_chown.c: Likewise.
1931 * malloc/memusage.sh: Likewise.
1932 * malloc/memusagestat.c: Likewise.
1933 * malloc/mtrace.pl: Likewise.
1934 * manual/libc.texinfo: Likewise.
1935 * nscd/nscd.c: Likewise.
1936 * nss/getent.c: Likewise.
1937 * nss/makedb.c: Likewise.
1938 * posix/getconf.c: Likewise.
1939 * scripts/test-installation.pl: Likewise.
1940
1941 * All files with FSF copyright notices: Update copyright dates
1942 using scripts/update-copyrights.
1943 * intl/plural.c: Regenerated.
1944 * locale/programs/charmap-kw.h: Likewise.
1945 * locale/programs/locfile-kw.h: Likewise.
1946
1947 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1948
1949 * sysdeps/unix/sysv/linux/configure: Regenerated.
1950 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1951 the linux/fanotify.h header.
1952 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1953 HAVE_LINUX_FANOTIFY_H is defined.
1954
1955 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1956
1957 * benchtests/cos-inputs: New inputs.
1958 * benchtests/sin-inputs: Likewise.
1959
1960 * benchtests/atan-inputs: New inputs. Fix name of multiple
1961 precision fallback inputs.
1962
1963 * benchtests/atanh-inputs: New inputs.
1964 * benchtests/tanh-inputs: Likewise.
1965
1966 * benchtests/acosh-inputs: New inputs.
1967 * benchtests/asinh-inputs: Likewise.
1968
1969 * benchtests/cosh-inputs: New inputs.
1970 * benchtests/sinh-inputs: Likewise.
1971
1972 * benchtests/acos-inputs: Add more inputs.
1973 * benchtests/asin-inputs: Likewise.
1974
1975 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1976
1977 [BZ #16375]
1978 * manual/arith.texi: Fix spelling.
1979 * manual/charset.texi: Likewise.
1980 * manual/errno.texi: Likewise.
1981 * manual/filesys.texi: Likewise.
1982 * manual/lang.texi: Likewise.
1983 * manual/llio.texi: Likewise.
1984 * manual/locale.texi: Likewise.
1985 * manual/message.texi: Likewise.
1986 * manual/resource.texi: Likewise.
1987 * manual/search.texi: Likewise.
1988 * manual/setjmp.texi: Likewise.
1989 * manual/stdio.texi: Likewise.
1990 * manual/string.texi: Likewise.
1991 * manual/sysinfo.texi: Likewise.
1992 * manual/time.texi: Likewise.
1993
1994 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1995
1996 * po/sl.po: New file.
1997
1998 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1999
2000 * .gitignore: Add core/.gdbinit/.gdb_history.
2001
2002 2013-12-27 Allan McRae <allan@archlinux.org>
2003
2004 [BZ #16369]
2005 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2006 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2007
2008 2013-12-24 Brooks Moses <bmoses@google.com>
2009
2010 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2011 all compilers that claim C++98 compliance, not just GCC.
2012 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2013 Likewise.
2014
2015 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2016
2017 * NEWS: Restore accidentally deleted bug-fix entries.
2018
2019 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2020 Ondřej Bílka <neleai@seznam.cz>
2021
2022 [BZ #15073]
2023 * malloc/malloc.c (_int_free): Perform sanity check only if we
2024 have_lock.
2025
2026 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2027
2028 [BZ #12986]
2029 * manual/stdio.texi (String Input Conversions): Clarify that character
2030 classes are not supported.
2031
2032 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2033
2034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2035
2036 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2037
2038 [BZ #16337]
2039 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2040 Calculate results for small negative arguments directly rather
2041 than using reflection formula with special underflow handling.
2042
2043 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2044 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2045 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2046 (fchflags): Likewise.
2047 (revoke): Likewise.
2048 (setlogin): Likewise.
2049 (sigaltstack): Likewise.
2050 (wait4): Likewise.
2051 (sigblock): Remove.
2052 (sigsetmask): Likewise.
2053 (wait3): Likewise.
2054 (waitpid): Likewise.
2055 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2056 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2057 file.
2058 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2059 * sysdeps/unix/bsd/Makefile: ... here.
2060 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2061 * sysdeps/unix/bsd/Versions: ... here.
2062 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2063 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2064 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2065 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2066 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2067 * sysdeps/unix/bsd/sigblock.c: ... here.
2068 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2069 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2070 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2071 * sysdeps/unix/bsd/sigvec.c: ... here.
2072 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2073 * sysdeps/unix/bsd/tcdrain.c: ... here.
2074 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2075 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2076 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2077 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2078 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2079 * sysdeps/unix/bsd/wait.c: ... here.
2080 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2081 * sysdeps/unix/bsd/wait3.c: ... here.
2082 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2083 * sysdeps/unix/bsd/waitpid.c: ... here.
2084
2085 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2086
2087 [BZ #16356]
2088 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2089 round-to-nearest for [!USE_AS_EXPM1L].
2090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2091 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2092 more tests of exp and exp10. Expect some exp10 tests to miss
2093 exceptions or fail in directed rounding modes.
2094 * math/auto-libm-test-out: Regenerated.
2095 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2096 (exp10_test_tonearest): New function.
2097 (exp10_towardzero_test_data): New array.
2098 (exp10_test_towardzero): New function.
2099 (exp10_downward_test_data): New array.
2100 (exp10_test_downward): New function.
2101 (exp10_upward_test_data): New array.
2102 (exp10_test_upward): New function.
2103 (main): Call the new functions.
2104 * sysdeps/i386/fpu/libm-test-ulps: Update.
2105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2106
2107 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2108
2109 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2110 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2111 * math/auto-libm-test-out: Regenerated.
2112 * math/libm-test.inc (acosh_test_data): Add more tests.
2113 (atanh_test_data): Likewise.
2114 (ceil_test_data): Likewise.
2115 (copysign_test_data): Likewise.
2116 * sysdeps/i386/fpu/libm-test-ulps: Update.
2117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2118
2119 * timezone/checktab.awk: Update from tzcode 2013i.
2120 * timezone/private.h: Likewise.
2121 * timezone/scheck.c: Likewise.
2122 * timezone/tzfile.h: Likewise.
2123 * timezone/tzselect.ksh: Likewise.
2124 * timezone/zdump.c: Likewise.
2125 * timezone/zic.c: Likewise.
2126
2127 * math/auto-libm-test-in: Add tests of cpow.
2128 * math/auto-libm-test-out: Regenerated.
2129 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2130 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2131 mpc_cc_c.
2132 (func_calc_desc): Add mpc_cc_c union field.
2133 (test_functions): Add cpow.
2134 (special_fill_2pi): New function.
2135 (special_real_inputs): Add 2pi.
2136 (calc_generic_results): Handle mpc_cc_c.
2137 * sysdeps/i386/fpu/libm-test-ulps: Update.
2138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2139
2140 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2141 csqrt, ctan and ctanh.
2142 * math/auto-libm-test-out: Regenerated.
2143 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2144 (TEST_COND_x86): Likewise.
2145 (ccos_test_data): Use AUTO_TESTS_c_c.
2146 (ccosh_test_data): Likewise.
2147 (cexp_test_data): Likewise.
2148 (clog_test_data): Likewise.
2149 (csqrt_test_data): Likewise.
2150 (ctan_test_data): Likewise.
2151 (ctan_tonearest_test_data): Likewise.
2152 (ctan_towardzero_test_data): Likewise.
2153 (ctan_downward_test_data): Likewise.
2154 (ctan_upward_test_data): Likewise.
2155 (ctanh_test_data): Likewise.
2156 (ctanh_tonearest_test_data): Likewise.
2157 (ctanh_towardzero_test_data): Likewise.
2158 (ctanh_downward_test_data): Likewise.
2159 (ctanh_upward_test_data): Likewise.
2160 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2161 mpc_c_c.
2162 (func_calc_desc): Add mpc_c_c union field.
2163 (FUNC_mpc_c_c): New macro.
2164 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2165 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2166 ctanh.
2167 (special_fill_min_subnorm_p120): New function.
2168 (special_real_inputs): Add min_subnorm_p120.
2169 (calc_generic_results): Handle mpc_c_c.
2170 * sysdeps/i386/fpu/libm-test-ulps: Update.
2171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2172
2173 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2174
2175 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2176 do_sin_slow): New functions.
2177 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2178 cslow2, csloww1, csloww2): Use the new functions.
2179
2180 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2181 Use M to change sign of result instead of X. Assume X is
2182 positive.
2183 (csloww1): Likewise.
2184 (__sin): Adjust.
2185 (__cos): Adjust.
2186
2187 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2188 arguments A and DA.
2189 (__sin): Adjust.
2190 (__cos): Likewise.
2191
2192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2193 (__cos): Likewise.
2194 (sloww1): Don't adjust sign of DX.
2195 (csloww1): Likewise.
2196 (sloww2): Use X directly and don't adjust sign of DX.
2197 (csloww2): Likewise.
2198
2199 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2200
2201 * math/auto-libm-test-in: Add tests of cabs and carg.
2202 * math/auto-libm-test-out: Regenerated.
2203 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2204 (carg_test_data): Likewise.
2205 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2206 mpc_c_f.
2207 (func_calc_desc): Add mpc_c_f union field.
2208 (test_functions): Add cabs and carg.
2209 (calc_generic_results): Handle mpc_c_f.
2210
2211 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2212 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2213 as a macro and a compat symbol.
2214 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2215 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2216 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2217 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2218 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2219 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2220 not use .hidden.
2221 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2222 Likewise.
2223 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2224 Likewise.
2225 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2226 Likewise.
2227 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2228 Likewise.
2229 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2230 Likewise.
2231 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2232 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2233 from GLIBC_2.3.2.
2234
2235 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2236
2237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2238
2239 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2240
2241 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2242 trailing whitespace removed.
2243 * scripts/config.guess: Update to version 2013-11-29.
2244 * scripts/config.sub: Update to version 2013-10-01.
2245
2246 * math/auto-libm-test-in: Add tests of sincos.
2247 * math/auto-libm-test-out: Regenerated.
2248 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2249 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2250 mpfr_f_11.
2251 (func_calc_desc): Add mpfr_f_11 union field.
2252 (test_functions): Add sincos.
2253 (calc_generic_results): Handle mpfr_f_11.
2254 * sysdeps/i386/fpu/libm-test-ulps: Update.
2255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2256
2257 2013-12-19 Andreas Schwab <schwab@suse.de>
2258
2259 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2260 CALL_MCOUNT.
2261 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2262 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2263 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2264
2265 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2266
2267 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2268 * sysdeps/i386/fpu/libm-test-ulps: Update.
2269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2270
2271 [BZ #16293]
2272 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2273 round-to-nearest mode when using frndint.
2274 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2275 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2276 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2277 Likewise.
2278 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2279 sinh test to fail.
2280 * math/auto-libm-test-out: Regenerated.
2281 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2282 (TEST_COND_x86): Likewise.
2283 (expm1_tonearest_test_data): New array.
2284 (expm1_test_tonearest): New function.
2285 (expm1_towardzero_test_data): New array.
2286 (expm1_test_towardzero): New function.
2287 (expm1_downward_test_data): New array.
2288 (expm1_test_downward): New function.
2289 (expm1_upward_test_data): New array.
2290 (expm1_test_upward): New function.
2291 (main): Run the new test functions.
2292 * sysdeps/i386/fpu/libm-test-ulps: Update.
2293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2294
2295 * include/features.h: Update comment documenting feature test
2296 macros. Mention _DEFAULT_SOURCE in comment.
2297 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2298 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2299 _BSD_SOURCE and _SVID_SOURCE.
2300 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2301 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2302 !_SVID_SOURCE]: Likewise.
2303 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2304 (__USE_POSIX_IMPLICITLY): Define.
2305 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2306 (_POSIX_SOURCE): Undefine and redefine.
2307 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2308 (_POSIX_C_SOURCE): Likewise.
2309 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2310 (Feature Test Macros): Update documentation of default features.
2311
2312 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2313
2314 * benchtests/Makefile: Add bench-strtok.
2315 * benchtests/bench-strtok.c: New file: strtok benchtest.
2316
2317 2013-12-19 Allan McRae <allan@archlinux.org>
2318
2319 * manual/install.texi: Suppress menu for plain text output.
2320 * INSTALL: Regenerated.
2321
2322 2013-12-18 Brooks Moses <bmoses@google.com>
2323
2324 [BZ #15846]
2325 * misc/getauxval.c: Include errno.h.
2326 (__getauxval): Set errno to ENOENT if the requested type is not
2327 found.
2328 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2329 don't declare with __attribute_const__.
2330 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2331 * manual/startup.texi: Document that getauxval sets errno.
2332
2333 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2334
2335 * math/auto-libm-test-in: Add tests of jn and yn.
2336 * math/auto-libm-test-out: Regenerated.
2337 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2338 (yn_test_data): Likewise.
2339 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2340 mpfr_if_f.
2341 (func_calc_desc): Add mpfr_if_f union field.
2342 (FUNC_mpfr_if_f): New macro.
2343 (test_functions): Add jn and yn.
2344 (calc_generic_results): Assert type of second input for
2345 mpfr_ff_f. Handle mpfr_if_f.
2346 (output_for_one_input_case): Disable all checking for arguments
2347 fitting floating-point types in case of an integer argument.
2348 * sysdeps/i386/fpu/libm-test-ulps: Update.
2349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2350
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2352 Don't expect fegetround reference in libm.so.
2353
2354 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2355
2356 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2357 $(config-cflags-nofma).
2358
2359 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2360
2361 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2362 * math/auto-libm-test-out: Regenerated.
2363
2364 [BZ #16338]
2365 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2366 to determine exponent and adjust argument to have exponent of -1.
2367 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2368 log2.
2369 * math/auto-libm-test-out: Regenerated.
2370 * sysdeps/i386/fpu/libm-test-ulps: Update.
2371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2372
2373 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2374
2375 * manual/probes.texi: Remove cases when per-thread arenas are
2376 disabled.
2377
2378 2013-12-18 Andreas Schwab <schwab@suse.de>
2379
2380 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2381 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2382 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2383 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2384 * sysdeps/i386/i686/multiarch/Makefile: Update.
2385 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2386
2387 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2388
2389 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2390 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2391
2392 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2393
2394 [BZ #15968]
2395 Support TZ transition times < 00:00:00.
2396 This is needed for version-3 tz-format files; it supports time
2397 stamps past 2037 for America/Godthab (the only entry in the tz
2398 database for which this change is relevant).
2399 * manual/time.texi (TZ Variable): Document transition times
2400 from -167:59:59 through -00:00:01.
2401 * time/tzset.c (tz_rule): Time of day is now signed.
2402 (__tzset_parse_tz): Parse negative time of day.
2403
2404 Document TZ transition times >= 25:00:00.
2405 * manual/time.texi (TZ Variable): Document transition times from
2406 25:00:00 through 167:59:59. These are already supported, and this
2407 support will help with version-3 tz-format files.
2408
2409 * manual/time.texi (TZ Variable): Modernize North America example
2410 to reflect current (i.e., 2007-and-later) daylight saving rules.
2411
2412 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2413
2414 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2415
2416 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2417 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2420 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2421 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2422 * sysdeps/unix/bsd/clock.c: Likewise.
2423 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2424 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2425 * sysdeps/unix/bsd/init-posix.c: Likewise.
2426 * sysdeps/unix/bsd/poll.c: Likewise.
2427 * sysdeps/unix/bsd/ptsname.c: Likewise.
2428 * sysdeps/unix/bsd/seekdir.c: Likewise.
2429 * sysdeps/unix/bsd/setegid.c: Likewise.
2430 * sysdeps/unix/bsd/seteuid.c: Likewise.
2431 * sysdeps/unix/bsd/setgid.c: Likewise.
2432 * sysdeps/unix/bsd/setrgid.c: Likewise.
2433 * sysdeps/unix/bsd/setruid.c: Likewise.
2434 * sysdeps/unix/bsd/setsid.c: Likewise.
2435 * sysdeps/unix/bsd/setuid.c: Likewise.
2436 * sysdeps/unix/bsd/sigaction.c: Likewise.
2437 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2438 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2439 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2440 * sysdeps/unix/bsd/telldir.c: Likewise.
2441 * sysdeps/unix/bsd/times.c: Likewise.
2442 * sysdeps/unix/bsd/usleep.c: Likewise.
2443
2444 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2445 ($(objpfx)libbsd-compat.a): Remove rule.
2446
2447 * include/features.h (__FAVOR_BSD): Do not define.
2448 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2449 features conflicting with POSIX.
2450 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2451 (_BSD_SOURCE): Remove description of not being a subset of other
2452 feature test macros.
2453 * manual/job.texi (getpgrp): Do not document BSD version.
2454 (getpgid): Do not document by reference to BSD getpgrp.
2455 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2456 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2457 * signal/signal.h [__FAVOR_BSD]: Likewise.
2458 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2459 instead of making contents conditional on [__FAVOR_BSD].
2460 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2461
2462 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463
2464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2465
2466 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2467
2468 [BZ #16314]
2469 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2470 values below 2**-450, not 2**-500.
2471 * math/auto-libm-test-in: Don't allow spurious underflow from
2472 hypot.
2473 * math/auto-libm-test-out: Regenerated.
2474
2475 [BZ #16316]
2476 [BZ #16330]
2477 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2478 values of ha and hb and sort them after adjusting subnormal
2479 arguments.
2480 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2481 Likewise.
2482 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2483 values of ea and eb and sort them after adjusting subnormal
2484 arguments.
2485 * math/auto-libm-test-in: Do not expect some hypot tests of
2486 subnormals to fail. Add more hypot tests.
2487 * math/auto-libm-test-out: Regenerated.
2488
2489 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2490
2491 [BZ #13304]
2492 * sysdeps/sh/s_fma.c: New file.
2493 * sysdeps/sh/s_fmaf.c: New file.
2494 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2495 version.
2496 * sysdeps/sh/Implies: Add sh/soft-fp.
2497
2498 2013-12-16 Roland McGrath <roland@hack.frob.com>
2499
2500 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2501 level of indirection to members `objname', `errstring', `malloced'.
2502 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2503 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2504 it as the __longjmp argument (just pass 1 instead).
2505 (_dl_catch_error): Initialize C with argument pointers and address of
2506 volatile local ERRCODE rather than copying values out of C at return.
2507
2508 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2509
2510 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2511 * math/auto-libm-test-out: Regenerated.
2512 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2513 (hypot_test_data): Likewise.
2514 (pow_test_data): Likewise.
2515 (pow_tonearest_test_data): Likewise.
2516 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2517 mpfr_ff_f.
2518 (func_calc_desc): Add mpfr_ff_f union field.
2519 (FUNC_mpfr_ff_f): New macro.
2520 (test_functions): Add atan2, hypot and pow.
2521 (special_fill_min): New function.
2522 (special_fill_minus_min): Likewise.
2523 (special_fill_min_subnorm): Likewise.
2524 (special_fill_minus_min_subnorm): Likewise.
2525 (special_real_inputs): Add min, -min, min_subnorm and
2526 -min_subnorm.
2527 (calc_generic_results): Handle mpfr_ff_f.
2528 * sysdeps/i386/fpu/libm-test-ulps: Update.
2529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530
2531 2013-12-16 Will Newton <will.newton@linaro.org>
2532
2533 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2534 (Aligned Memory Blocks): Add documentation for aligned_alloc
2535 and suggest it as an alternative to posix_memalign.
2536 (Hooks for Malloc): Document __memalign_hook is also called
2537 for aligned_alloc. (Summary of Malloc): Add summary for
2538 aligned alloc. Document __memalign_hook is also called
2539 for aligned_alloc.
2540
2541 2013-12-16 Will Newton <will.newton@linaro.org>
2542
2543 * manual/memory.texi (Malloc Examples): Clarify default
2544 alignment documentation. Suggest posix_memalign rather
2545 than memalign or valloc.
2546 (Aligned Memory Blocks): Remove suggestion to use memalign
2547 or valloc. Remove obsolete comment about BSD.
2548 Document memalign errno values and mark the function obsolete.
2549 Document posix_memalign returned error codes. Mark valloc
2550 as obsolete. (Hooks for Malloc): __memalign_hook is also
2551 called for posix_memalign and valloc.
2552 (Summary of Malloc): Add posix_memalign to function summary.
2553 __memalign_hook is also called for posix_memalign and valloc.
2554
2555 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2556
2557 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2558 TAYLOR_SIN.
2559 (__sin): Adjust.
2560 (__cos): Likewise.
2561 (sloww): Use mynumber union. Expand ternary operator into
2562 if-else statements.
2563 (cslow): use mynumber union.
2564
2565 2013-12-16 Allan McRae <allan@archlinux.org>
2566
2567 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2568 * configure: Regenerated.
2569
2570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2571
2572 [BZ #14120]
2573 * configure.ac: Added --enable-maintainer-mode. Check for
2574 autoconf when enabled.
2575 * configure: Regenerated.
2576
2577 * nscd/nscd.service: New file.
2578 * nscd/nscd.tmpfiles: New file.
2579
2580 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2581
2582 [BZ #12100]
2583 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2584 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2585 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2586 (strstr): Add __strstr_sse2_unaligned ifunc.
2587 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2588 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2589 (strcasestr): Remove __strcasestr_sse42 ifunc.
2590 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2593
2594 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2595
2596 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2597 * sysdeps/sh/bits/fenv.h: ... here.
2598 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2599
2600 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2601
2602 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2603
2604 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2605
2606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2607 hypotf multiarch implementations.
2608 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2609 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2610 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2611 multiarch hypot for PPC64.
2612 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2615 multiarch hypotf for PPC64.
2616
2617 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2618
2619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2620 modff multiarch implementations.
2621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2624 multiarch modf for PPC64.
2625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2628 multiarch modff for PPC64.
2629
2630 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2631
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2633 and logl multiarch implementations.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2637 multiarch logb for PPC64.
2638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2641 multiarch logb for PPC64.
2642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2645 multiarch logb for PPC64.
2646
2647 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2648
2649 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2650 isinff multiarch implementation.
2651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2652 file.
2653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2655 multiarch isinf for PPC64.
2656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2657 file.
2658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2659 multiarch isinff for PPC64.
2660
2661 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2662
2663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2664 finitef multiarch implementation.
2665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2666 file.
2667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2669 multiarch finite for PPC64.
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2671 file.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2673 multiarch finitef for PPC64.
2674
2675 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2676
2677 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2678 lrint multiarch implementation.
2679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2680 file.
2681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2683 multiarch llrint for PPC64.
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2685 multiarch lrint for PPC64.
2686
2687 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2688
2689 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2690 copysignf multiarch implementation.
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2692 file.
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2694 file.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2696 multiarch copysign for PPC64.
2697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2698 multiarch copysignf for PPC64.
2699
2700 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2703 multiarch implementation.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2705 file.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2707 file.
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2709 file.
2710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2711 file.
2712 multiarch llround for PPC64.
2713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2714 multiarch trunc for PPC64.
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2716 multiarch truncf for PPC64.
2717
2718 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2721 multiarch implementation.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2723 file.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2725 file.
2726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2727 file.
2728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2729 file.
2730 multiarch llround for PPC64.
2731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2732 multiarch round for PPC64.
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2734 multiarch roundf for PPC64.
2735
2736 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2737
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2739 multiarch implementation.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2741 file.
2742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2743 file.
2744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2745 file.
2746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2747 file.
2748 multiarch llround for PPC64.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2750 multiarch floor for PPC64.
2751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2752 multiarch floorf for PPC64.
2753
2754 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2755
2756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2757 multiarch implementation.
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2759 file.
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2761 file.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2763 file.
2764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2765 file.
2766 multiarch llround for PPC64.
2767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2768 multiarch ceil for PPC64.
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2770 multiarch ceilf for PPC64.
2771
2772 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2773
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2775 multiarch implementation.
2776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2777 file.
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2779 file.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2781 file.
2782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2783 multiarch llround for PPC64.
2784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2785 multiarch lround for PPC64.
2786
2787 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2788
2789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2790 multiarch implementation.
2791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2794 file.
2795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2798 multiarch isnan for PPC64.
2799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2800 multiarch isnanf for PPC64.
2801
2802 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2803
2804 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2805 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2806 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2807 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2808 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2810
2811 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2812
2813 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2814 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2817
2818 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819
2820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2821 multiarch implementations.
2822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2823 (__libc_ifunc_impl_list): Likewise.
2824 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2825 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2826 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2827 multiarch stpcpy for PPC64.
2828
2829 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2830
2831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2832 multiarch implementations.
2833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2834 (__libc_ifunc_impl_list): Likewise.
2835 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2836 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2837 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2838 multiarch strcpy for PPC64.
2839
2840 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2841
2842 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2843 redefine function name.
2844 (_wordcopy_fwd_dest_aligned): Likewise.
2845 (_wordcopy_bwd_aligned): Likewise.
2846 (_wordcopy_bwd_dest_aligned): Likewise.
2847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2848 multiarch implementations.
2849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2850 (__libc_ifunc_impl_list): Likewise.
2851 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2852 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2853 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2854 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2855 multiarch wcscpy for PPC64.
2856
2857 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2858
2859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2860 multiarch implementations.
2861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2862 (__libc_ifunc_impl_list): Likewise.
2863 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2864 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2865 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2866 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2867 multiarch wcscpy for PPC64.
2868
2869 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870
2871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2872 multiarch implementations.
2873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2874 (__libc_ifunc_impl_list): Likewise.
2875 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2876 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2877 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2878 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2879 multiarch wcsrchr for PPC64.
2880
2881 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2882
2883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2884 multiarch implementations.
2885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2886 (__libc_ifunc_impl_list): Likewise.
2887 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2888 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2889 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2890 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2891 multiarch wcschr for PPC64.
2892
2893 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2894
2895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2896 multiarch implementations.
2897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2898 (__libc_ifunc_impl_list): Likewise.
2899 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2900 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2901 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2902 multiarch strchrnul for PPC64.
2903
2904 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905
2906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2907 implementations.
2908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2909 (__libc_ifunc_impl_list): Likewise.
2910 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2911 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2912 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2913 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2914 strchr for PPC64.
2915
2916 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917
2918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2919 implementations.
2920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2921 (__libc_ifunc_impl_list): Likewise.
2922 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2923 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2924 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2925 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2926 strncmp for PPC64.
2927
2928 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2929
2930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2931 multiarch implementations.
2932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2933 (__libc_ifunc_impl_list): Likewise.
2934 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2935 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2936 strncasecmp for PPC64.
2937 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2938 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2939 multiarch strncasecmp_l for PPC64.
2940
2941 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2942
2943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2944 multiarch implementations.
2945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2946 (__libc_ifunc_impl_list): Likewise.
2947 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2948 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2949 multiarch strcasecmp for PPC64.
2950 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2951 file.
2952 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2953 multiarch strcasecmp_l for PPC64.
2954
2955 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2956
2957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2958 implementations.
2959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2960 (__libc_ifunc_impl_list): Likewise.
2961 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2962 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2963 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2964 strnlen for PPC64.
2965
2966 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967
2968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2969 implementations.
2970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2971 (__libc_ifunc_impl_list): Likewise.
2972 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2973 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2974 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2975 strlen for PPC64.
2976
2977 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2978
2979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2980 implementations.
2981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2982 (__libc_ifunc_impl_list): Likewise.
2983 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2984 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2985 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2986 rawmemrchr for PPC64.
2987
2988 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2989
2990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2991 implementation.
2992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2993 (__libc_ifunc_impl_list): Likewise.
2994 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2995 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2996 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2997 memrchr for PPC64.
2998
2999 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3000
3001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3002 implementation.
3003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3004 (__libc_ifunc_impl_list): Likewise.
3005 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3006 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3007 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3008 memchr for PPC64.
3009
3010 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3011
3012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3013 implementation.
3014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3015 (__libc_ifunc_impl_list): Likewise.
3016 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3017 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3018 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3019 mempcpy for PPC64.
3020
3021 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3022
3023 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3024 avoid cretion of __bzero symbol.
3025 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3026 Likewise.
3027 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3028 Likewise.
3029 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3030 Likewise.
3031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3032 multiarch implementations.
3033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3034 (__libc_ifunc_impl_list): Likewise.
3035 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3036 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3037 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3038 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3039 bzero for PPC32.
3040 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3041 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3042 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3043 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3044 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3045 memset for PPC64.
3046 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3047
3048 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3049
3050 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3052 implementations.
3053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3054 (__libc_ifunc_impl_list): Likewise.
3055 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3056 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3057 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3058 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3059 memcmp for PPC64.
3060
3061 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3062
3063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3064 multiarch for POWER/PPC64.
3065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3066 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3067 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3068 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3069 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3070 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3071 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3072 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3073 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3074 memcpy for PPC64.
3075
3076 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3077
3078 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3079 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3080 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3081 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3082 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3083 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3084 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3085 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3086 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3087 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3088 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3089 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3090 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3091 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3092 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3100
3101 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3102
3103 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3104
3105 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3106
3107 * benchtests/Makefile (bench): Add exp2 and log2.
3108 (LDLIBS-bench-exp2): Add -lm.
3109 (LDLIBS-bench-log2): Likewise.
3110 * benchtests/exp2-inputs: New inputs file.
3111 * benchtests/log2-inputs: New inputs file.
3112 * benchtests/log-inputs: Add new inputs.
3113 * benchtests/tan-inputs: Likewise.
3114
3115 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3116
3117 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3118 definition...
3119 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3120 csloww1, csloww2): ... from here.
3121
3122 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3123 instead of structures.
3124 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3125 (POLYNOMIAL): Likewise.
3126 (TAYLOR_SLOW): Likewise.
3127 (__sin): Likewise.
3128 (__cos): Likewise.
3129 (slow1): Likewise.
3130 (slow2): Likewise.
3131 (sloww): Likewise.
3132 (sloww1); Likewise.
3133 (sloww2): Likewise.
3134 (bsloww1): Likewise.
3135 (bsloww2): Likewise.
3136 (cslow2): Likewise.
3137 (csloww): Likewise.
3138 (csloww1): Likewise.
3139 (csloww2): Likewise.
3140
3141 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3142
3143 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3144 (__malloc_assert, __libc_realloc, __libc_calloc,
3145 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3146 memcpy and memset.
3147 * malloc/hooks.c (realloc_check): Likewise.
3148
3149 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3150
3151 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3152 * malloc/arena.c: Remove PER_THREAD conditional.
3153 [!PER_THREAD]: Remove code.
3154 (ptmalloc_unlock_all2): Likewise.
3155 (ptmalloc_init): Likewise.
3156 (_int_new_arena): Likewise.
3157 (arena_get2): Likewise.
3158 * malloc/hooks.c (__malloc_get_state): Likewise.
3159 (__malloc_set_state): Likewise.
3160 * malloc/malloc.c: Likewise.
3161 (struct malloc_state): Likewise.
3162 (struct malloc_par): Likewise.
3163 (__libc_realloc): Likewise.
3164 (__libc_mallopt): Likewise.
3165
3166 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167
3168 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3169
3170 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3171
3172 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3173 macro to a function. Check for zero perturb_byte.
3174 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3175
3176 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3177
3178 * malloc/malloc.c: (force_reg): Remove.
3179 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3180 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3181 force_reg by atomic_forced_read.
3182 * malloc/arena.c (ptmalloc_init): Likewise.
3183 * malloc/hooks.c (top_check): Likewise.
3184
3185 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3186
3187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3188
3189 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3190
3191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3192
3193 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3194
3195 * math/auto-libm-test-in: Add tests of lgamma.
3196 * math/auto-libm-test-out: Regenerated.
3197 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3198 (M_LOG_2_SQRT_PIl): Likewise.
3199 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3200 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3201 mpfr_f_f1.
3202 (func_calc_desc): Add mpfr_f_f1 union field.
3203 (ARGS1): New macro.
3204 (ARGS2): Likewise.
3205 (ARGS3): Likewise.
3206 (ARGS4): Likewise.
3207 (RET1): Likewise.
3208 (RET2): Likewise.
3209 (CALC): Likewise.
3210 (FUNC): Likewise.
3211 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3212 (test_functions): Add lgamma.
3213 (calc_generic_results): Handle mpfr_f_f1.
3214 * sysdeps/i386/fpu/libm-test-ulps: Update.
3215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3216
3217 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3218
3219 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3220 __mpn_add_n for PowerPC64/POWER7.
3221 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3222 __mpn_sub_n for PowerPC64/POWER7.
3223
3224 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3225
3226 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3227 __mpn_addmul_1 for PowerPC64.
3228 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3229 __mpn_submul_1 for PowerPC64.
3230 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3231 for PowerPC64.
3232 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3233 for PowerPC64.
3234
3235 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3236
3237 [BZ #15089]
3238 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3239
3240 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3241
3242 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3243
3244 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3245
3246 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3247 add multiarch folders.
3248 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3249 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3250 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3251 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3252 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3253 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3254 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3255 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3256 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3257 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3258 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3265
3266 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267
3268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3269 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3271 New file.
3272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3273 New file.
3274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3275 multiarch __ieee754_hypot for PowerPC32.
3276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3277 New file.
3278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3279 New file.
3280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3281 multiarch __ieee754_hypotf for PowerPC32.
3282
3283 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3284
3285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3286 long_double_symbol only if __logbl is defined.
3287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3288 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3290 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3291 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3292 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3293 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3294 path for implementation.
3295 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3296 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3298 logb, and logbl multiarch implementations for PowerPC32.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3300 file.
3301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3302 file.
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3304 multiarch logb for PowerPC32.
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3306 file.
3307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3308 file.
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3310 multiarch logbf for PowerPC32.
3311 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3313 file.
3314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3315 multiarch logbl implementation for PowerPC32.
3316
3317 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3318
3319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3320 and modff multiarch implementations.
3321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3322 New file.
3323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3324 New file.
3325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3326 multiarch modf for PowerPC32.
3327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3328 New file.
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3330 New file.
3331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3332 multiarch modff for PowerPC32.
3333
3334 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3335
3336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3337 and lrintf multiarch implementations.
3338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3339 New file.
3340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3341 New file.
3342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3343 multiarch lrint for PowerPC32.
3344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3345 file: multiarch lrintf for PowerPC32.
3346
3347 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3348
3349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3350 and lroundf multiarch implementations.
3351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3352 New file.
3353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3354 New file.
3355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3356 New file.
3357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3358 multiarch lround for PowerPC32.
3359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3360 file: multiarch lroundf for PowerPC32.
3361
3362 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3363
3364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3365 copysign and copysignf multiarch implementations.
3366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3367 New file.
3368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3369 New file.
3370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3371 file: multiarch copysign for PowerPC32.
3372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3373 file: multiarch copysignf for PowerPC32.
3374
3375 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3376
3377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3378 and truncf multiarch implementations.
3379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3380 New file.
3381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3382 file.
3383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3384 multiarch trunc for PowerPC32.
3385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3386 New file.
3387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3388 New file.
3389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3390 multiarch truncf for PowerPC32.
3391
3392 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3393
3394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3395 and roundf multiarch implementations.
3396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3397 New file.
3398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3399 file.
3400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3401 multiarch round for PowerPC32.
3402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3403 New file.
3404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3405 New file.
3406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3407 multiarch roundf for PowerPC32.
3408
3409 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3410
3411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3412 and floorf multiarch implementations.
3413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3414 New file.
3415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3416 file.
3417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3418 multiarch floor for PowerPC32.
3419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3420 New file.
3421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3422 New file.
3423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3424 multiarch floorf for PowerPC32.
3425
3426 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3427
3428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3429 and ceilf multiarch implementations.
3430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3431 New file.
3432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3433 file.
3434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3435 multiarch ceil for PowerPC32.
3436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3437 New file.
3438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3439 file.
3440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3441 multiarch ceilf for PowerPC32.
3442
3443 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3444
3445 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3446 is defined.
3447 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3448 FINITEF is defined.
3449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3450 and finitef multiarch implementations.
3451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3452 New file.
3453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3454 file.
3455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3456 multiarch finite for PowerPC32.
3457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3458 New file.
3459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3460 file: multiarch finitef for PowerPC32.
3461
3462 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3463
3464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3465 and isinff multiarch implementations.
3466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3467 file.
3468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3469 file.
3470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3471 multiarch isinf for PowerPC32.
3472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3473 New file.
3474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3475 multiarch isinff for PowerPC32.
3476
3477 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3478
3479 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3480 alias when __isnan is defined.
3481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3482 and isnanf multiarch implementations.
3483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3484 file.
3485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3486 file.
3487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3488 file.
3489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3490 file.
3491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3492 multiarch isnan for PowerPC32.
3493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3494 New file.
3495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3496 New file.
3497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3498 multiarch isnanf for PowerPC32.
3499
3500 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3501
3502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3503 and sqrtf multiarch implementations.
3504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3505 file.
3506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3507 file.
3508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3509 multiarch sqrt for PowerPC32.
3510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3511 file.
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3513 file.
3514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3515 multiarch sqrtf for PowerPC32.
3516
3517 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3518
3519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3520 and llroundf multiarch implementations.
3521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3522 New file.
3523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3524 New file.
3525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3526 New file.
3527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3528 file: multiarch llround for PowerPC32.
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3530 file: multiarch llroundf for PowerPC32.
3531
3532 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3533
3534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3535 multiarch PowerPC32 fpu implementations.
3536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3537 New file.
3538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3539 New file.
3540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3541 multiarch llrint for PowerPC32.
3542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3543 New file.
3544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3545 New file.
3546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3547 file.
3548
3549 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3550
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3552
3553 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3554
3555 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3556 file.
3557 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3558 file.
3559 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3560 file.
3561 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3562 multiarch wordcopy for PPC32.
3563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3564 wordcopy objects.
3565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3566 (__libc_ifunc_impl_list): Likewise.
3567 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3568 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3569 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3570 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3571 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3572 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3573
3574 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3575
3576 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3578 file.
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3580 file.
3581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3582 file.
3583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3584 multiarch wcscpy for PPC32.
3585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3586 multiarch objects.
3587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3588 (__libc_ifunc_impl_list): Likewise.
3589 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3590 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3591 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3592 sysdeps/powerpc/power6/wcscpy.c.
3593
3594 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3595
3596 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3598 file.
3599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3600 file.
3601 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3602 file.
3603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3604 multiarch wcsrchr for PPC32.
3605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3606 multiarch objects.
3607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3608 (__libc_ifunc_impl_list): Likewise.
3609 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3610 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3611 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3612 sysdeps/powerpc/power6/wcsrchr.c.
3613
3614 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3615
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3617 file.
3618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3619 file.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3621 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3622 multiarch wcschr for PPc32.
3623 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3624 multiarch objects.
3625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3626 (__libc_ifunc_impl_list): Likewise.
3627 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3628 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3629 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3630 sysdeps/powerpc/power6/wcschr.c.
3631
3632 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3633
3634 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3635 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3636 file.
3637 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3638 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3639 file: multiarch strchr for PPC32.
3640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3641 multiarch objects.
3642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3643 (__libc_ifunc_impl_list): Likewise.
3644
3645 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3646
3647 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3648 name.
3649 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3650 file.
3651 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3652 file.
3653 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3654 multiarch strchrnul for PPC32.
3655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3656 multiarch objects.
3657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3658 (__libc_ifunc_impl_list): Likewise.
3659
3660 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3661
3662 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3663 file.
3664 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3665 multiarch strncasecmp for PPC32.
3666 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3667 file.
3668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3669 multiarch strncasecmp_l for PPC32.
3670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3671 strncasecmp multiarch objects.
3672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3673 (__libc_ifunc_impl_list): Likewise.
3674
3675 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3676
3677 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3678 file.
3679 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3680 multiarch strncasecmp for PPC32.
3681 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3682 New file.
3683 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3684 multiarch strcasecmp_l for PPC32.
3685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3686 multiarch objects.
3687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3688 (__libc_ifunc_impl_list): Likewise.
3689
3690 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3691
3692 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3693 file.
3694 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3695 file.
3696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3697 multiarch strncmp for PPC32.
3698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3699 multiarch objects.
3700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3701 (__libc_ifunc_impl_list): Likewise.
3702
3703 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3704
3705 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3706 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3707 file.
3708 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3709 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3711 multiarch objects.
3712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3713 (__libc_ifunc_impl_list): Likewise.
3714
3715 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3716
3717 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3718 file.
3719 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3720 file.
3721 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3723 multiarch objects.
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3725 (__libc_ifunc_impl_list): Likewise.
3726
3727 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3728
3729 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3730 file.
3731 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3732 file.
3733 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3734 multiarch rawmemchr for PPC32.
3735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3736 multiarch objects.
3737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3738 (__libc_ifunc_impl_list): Likewise.
3739
3740 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3741
3742 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3743 file.
3744 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3745 file.
3746 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3747 file: memrchr multiarch for PPC32.
3748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3749 multiarch objects.
3750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3751 (__libc_ifunc_impl_list): Likewise.
3752
3753 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3754
3755 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3756 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3757 file.
3758 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3759 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3760 multiarch memchr for PPC32.
3761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3762 multiarch objects.
3763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3764 (__libc_ifunc_impl_list): Likewise.
3765
3766 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3767
3768 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3769 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3770 file.
3771 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3772 file.
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3774 file: multiarch mempcpy for PPC32.
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3776 multiarch objects.
3777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3778 (__libc_ifunc_impl_list): Likewise.
3779
3780 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3781
3782 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3783 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3784 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3785 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3786 multiarch bzero for PPC32.
3787 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3788 file.
3789 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3790 file.
3791 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3792 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3793 file: multiarch memset for PPC32.
3794 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3796 memset multiarch objects.
3797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3798 (__libc_ifunc_impl_list): Likewise.
3799
3800 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3801
3802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3803 file.
3804 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3806 memcmp for PPC32.
3807 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3809 multiarch objects.
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3811 (__libc_ifunc_impl_list): Likewise.
3812
3813 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3814
3815 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3817 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3818 file.
3819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3820 file.
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3822 file.
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3824 multiarch memcpy for PPC32.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3826 multiarch objects.
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3828 (__libc_ifunc_impl_list): Likewise.
3829
3830 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3831
3832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3833 support multiarch for POWER/PPC32.
3834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3835 Likewise.
3836 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3838 Implies file to make multiarch folder appers before the fpu and
3839 default folder for power4 configuration.
3840
3841 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3842
3843 * scripts/bench.pl: Append volatile keyword to type.
3844
3845 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3846
3847 * sysdeps/sh/sotruss-lib.c: New file.
3848 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3849
3850 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3851
3852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3853
3854 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3855
3856 [BZ #6810]
3857 * math/w_tgamma.c: Include <errno.h>.
3858 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3859 * math/w_tgammaf.c: Include <errno.h>.
3860 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3861 * math/w_tgammal.c: Include <errno.h>.
3862 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3863 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3864 underflow. Add more tgamma tests.
3865 * math/auto-libm-test-out: Regenerated.
3866 * sysdeps/i386/fpu/libm-test-ulps: Update.
3867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3868
3869 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3870 sin, sinh, tan, tanh, tgamma, y0 and y1.
3871 * math/auto-libm-test-out: Regenerated.
3872 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3873 (TEST_COND_x86): Likewise.
3874 (M_E2l): Remove macro.
3875 (M_E3l): Likewise.
3876 (M_2_SQRT_PIl): Likewise.
3877 (M_SQRT_PIl): Likewise.
3878 (M_1_DIV_El): Likewise.
3879 (log_test_data): Use AUTO_TESTS_f_f.
3880 (log10_test_data): Likewise.
3881 (log1p_test_data): Likewise.
3882 (log2_test_data): Likewise.
3883 (sin_test_data): Likewise.
3884 (sin_tonearest_test_data): Likewise.
3885 (sin_towardzero_test_data): Likewise.
3886 (sin_downward_test_data): Likewise.
3887 (sin_upward_test_data): Likewise.
3888 (sinh_test_data): Likewise.
3889 (sinh_tonearest_test_data): Likewise.
3890 (sinh_towardzero_test_data): Likewise.
3891 (sinh_downward_test_data): Likewise.
3892 (sinh_upward_test_data): Likewise.
3893 (tan_test_data): Likewise.
3894 (tan_tonearest_test_data): Likewise.
3895 (tan_towardzero_test_data): Likewise.
3896 (tan_downward_test_data): Likewise.
3897 (tan_upward_test_data): Likewise.
3898 (tanh_test_data): Likewise.
3899 (tgamma_test_data): Likewise.
3900 (y0_test_data): Likewise.
3901 (y1_test_data): Likewise.
3902 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3903 (special_real_inputs): Add pi/4.
3904 * sysdeps/i386/fpu/libm-test-ulps: Update.
3905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3906
3907 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3908
3909 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3910 "longjmp_target" static probes.
3911 (__longjmp): Rename to __longjmp_symbol.
3912 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3913 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3914 on which longjmp to generate.
3915 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3917 probe.
3918 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3919 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3920 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3921 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3922 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3923 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3925 __longjmp_symbol based on which __longjmp to generate.
3926 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3927 probe.
3928 (setjmp): Rename to setjmp_symbol.
3929 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3930 (_setjmp): Rename to _setjmp_symbol.
3931 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3932 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3933 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3934 which setjmp to generate.
3935 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3936 "longjmp_target" static probes.
3937
3938 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3939
3940 * benchtests/README: Add note about output arguments.
3941 * benchtests/bench-sincos.c: Remove file.
3942 * benchtests/sincos-inputs: New file.
3943 * scripts/bench.pl: Identify output arguments and define
3944 static variables for them.
3945
3946 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3947
3948 [BZ #15941]
3949 * Makefile (INSTALL): Add install-plain.texi as the primary
3950 dependency.
3951 * manual/install-plain.texi: New file.
3952 * manual/install.texi: Include node directive only for
3953 non-plaintext output.
3954
3955 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3956
3957 * stdlib/longlong.h: Update from GCC.
3958
3959 [BZ #6807]
3960 [BZ #15901]
3961 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3962 * math/w_j0f.c (y0f): Likewise.
3963 * math/w_j0l.c (__y0l): Likewise.
3964 * math/w_j1.c (y1): Likewise.
3965 * math/w_j1f.c (y1f): Likewise.
3966 * math/w_j1l.c (__y1l): Likewise
3967 * math/w_jn.c (yn): Likewise.
3968 * math/w_jnf.c (ynf): Likewise.
3969 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3970 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3971 value for Bessel function domain errors outside _SVID_ mode.
3972 Adjust sign of return value for yn (negative integer, 0).
3973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3974 by zero in return for negative x and set sign appropriately for
3975 negative n.
3976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3977 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3978 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3979 expectations in error cases.
3980 (y1_test_data): Likewise.
3981 (yn_test_data): Likewise.
3982 * sysdeps/i386/fpu/libm-test-ulps: Update.
3983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3984
3985 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3986
3987 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3988 "64" to "64-v1". Add "64-v2".
3989 (abi-64-options): Rename to ...
3990 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3991 (abi-64-condition): Rename to ...
3992 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3993 (abi-64-ld-soname): Rename to ...
3994 (abi-64-v1-ld-soname): ... this.
3995 (abi-64-v2-options): Define.
3996 (abi-64-v2-condition): Likewise.
3997 (abi-64-v2-ld-soname): Likewise.
3998 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3999 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4003
4004 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4005 Alan Modra <amodra@gmail.com>
4006
4007 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4008 New versions for use with the ELFv2 ABI.
4009 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4010 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4011 declaration.
4012 (struct La_ppc64v2_retval): Likewise.
4013 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4014 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4015 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4016 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4017 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4018 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4019 Do not save or restore CR.
4020 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4021 (_dl_profile_resolve): Do no save or restore CR. Support extended
4022 return values for ELFv2 ABI. Fix location of FPR return registers.
4023 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4024 updated values for _CALL_ELF == 2.
4025 (La_regs, La_retval, int_retval): Likewise.
4026
4027 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4028
4029 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4030 (FRAME_MIN_SIZE_PARM): Likewise.
4031 (FRAME_BACKCHAIN): Likewise.
4032 (FRAME_CR_SAVE): Likewise.
4033 (FRAME_LR_SAVE): Likewise.
4034 (FRAME_TOC_SAVE): Likewise.
4035 (FRAME_PARM_SAVE): Likewise.
4036 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4037 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4038 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4039 (call_mcount_parm_offset): New macro.
4040 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4041 (PROF): Use symbolic stack frame offsets.
4042 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4043 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4044 Redefine in terms of FRAME_MIN_SIZE.
4045 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4046 (_dl_profile_resolve): Likewise. Update comment.
4047 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4048 symbols stack frame offsets.
4049 (__sigsetjmp): Likewise.
4050 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4051 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4052 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4053 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4054
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4056 (FRAME_BACKCHAIN): Remove.
4057 (FRAME_CR_SAVE): Likewise.
4058 (FRAME_LR_SAVE): Likewise.
4059 (FRAME_COMPILER_DW): Likewise.
4060 (FRAME_LINKER_DW): Likewise.
4061 (FRAME_TOC_SAVE): Likewise.
4062 (FRAME_PARM_SAVE): Likewise.
4063 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4064 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4065 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4067 (CHECK_SP): Use symbolic stack frame offsets.
4068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4069 zone" instead of caller's parameter save area for temp storage.
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4071 Likewise. Also, use symbolic stack frame offsets.
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4073 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4074 our own stack frame instead of the caller's.
4075 (__socket): Use symbolic stack frame offsets.
4076
4077 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4078 Alan Modra <amodra@gmail.com>
4079
4080 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4081 Define.
4082 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4083 PPC64_LOCAL_ENTRY_OFFSET): Define.
4084 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4085 New function.
4086 (elf_machine_fixup_plt): Call it.
4087 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4088 reloc arguments.
4089 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4090 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4091 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4092 r2 before calling target.
4093
4094 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4095 Alan Modra <amodra@gmail.com>
4096
4097 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4098 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4099 versions of macros to support ELFv2 ABI.
4100 (LOCALENTRY): New macro.
4101 (ENTRY, EALIGN): Use it.
4102 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4103 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4104 fall through into ENTRY entry point.
4105 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4106 Only define if _CALL_ELF != 2.
4107
4108 (elf_machine_matches_host): Verify ABI version matches.
4109 (RTLD_START): Use LOCALENTRY.
4110 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4111 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4112 (PLT_ENTRY_WORDS): New macro.
4113 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4114 (elf_machine_runtime_setup): Support ELFv2 ABI.
4115 (elf_machine_fixup_plt): Likewise.
4116 (elf_machine_plt_conflict): Likewise.
4117 (resolve_ifunc): Likewise.
4118 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4119 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4120 Likewise.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4122 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4124 (makecontext): Support ELFv2 ABI.
4125 * elf/elf.h (EF_PPC64_ABI): Define.
4126
4127 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4128
4129 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4130 New assembler macro.
4131 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4132 [ASSEMBLER] (ENTRY): ... but instead here ...
4133 [ASSEMBLER] (EALIGN): ... and here.
4134 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4135 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4136 [!ASSEMBLER] (ENTRY_2): Use it.
4137 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4138 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4140 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4141 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4143 Use PPC64_LOAD_FUNCPTR.
4144
4145 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4146
4147 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4148
4149 2013-12-04 Alan Modra <amodra@gmail.com>
4150
4151 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4152 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4153 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4154 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4155
4156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4157 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4158 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4159 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4160 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4161 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4162
4163 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4164
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4166 (__makecontext): Fix incorrect CFI when backtracing out of
4167 context created via makecontext.
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4169 (__setcontext): Fix incorrect CFI during switch to new context.
4170 (__novec_setcontext): Likewise.
4171
4172 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4173
4174 [BZ #4772]
4175 * time/strptime_l.c (__strptime_internal): Allow modifiers
4176 in strptime.
4177 * time/tst-strptime.c (day_tests): Add testcase.
4178
4179
4180 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4181
4182 * scripts/bench.pl: Skip over blank lines.
4183
4184 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4185
4186 [BZ #926]
4187 * manual/time.texi (Calendar Time): Clarify what timezone functions
4188 use.
4189
4190 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4191
4192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4193
4194 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4195
4196 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4197 implementation.
4198 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4199 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4200 * debug/memset_chk.c (__memset_chk): Likewise.
4201 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4202 * debug/strncpy_chk.c: Likewise.
4203
4204 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4205
4206 [BZ #15268]
4207 [BZ #15425]
4208 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4209 (__ieee754_exp): For possibly underflowing results, check size of
4210 result and force underflow exception if required.
4211 * math/auto-libm-test-in: Add more tests of exp.
4212 * math/auto-libm-test-out: Regenerated.
4213 * sysdeps/i386/fpu/libm-test-ulps: Update.
4214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4215
4216 [BZ #16283]
4217 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4218 * math/w_exp2f.c (__exp2f): Likewise.
4219 * math/w_exp2l.c (__exp2l): Likewise.
4220 * math/auto-libm-test-in: Do not allow missing errno on exp2
4221 underflow.
4222 * math/auto-libm-test-out: Regenerated.
4223
4224 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4225
4226 [BZ #16274]
4227 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4228 handle filename validation.
4229 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4230 (do_open): Delete.
4231
4232 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4233
4234 [BZ #6786]
4235 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4236 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4237 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4238 <float.h>.
4239 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4240 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4241 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4243 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4244 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4245 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4246 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4247 Add more erfc tests.
4248 * math/auto-libm-test-out: Regenerated.
4249 * sysdeps/i386/fpu/libm-test-ulps: Update.
4250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4251
4252 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4253 exp2, expm1, j0 and j1.
4254 * math/auto-libm-test-out: Regenerated.
4255 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4256 (erfc_test_data): Likewise.
4257 (exp_test_data): Likewise.
4258 (exp_tonearest_test_data): Likewise.
4259 (exp_towardzero_test_data): Likewise.
4260 (exp_downward_test_data): Likewise.
4261 (exp_upward_test_data): Likewise.
4262 (exp10_test_data): Likewise.
4263 (exp2_test_data): Likewise.
4264 (expm1_test_data): Likewise.
4265 (j0_test_data): Likewise.
4266 (j1_test_data): Likewise.
4267 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4268 (input_flag_type): Add flag_xfail_rounding.
4269 (input_flags): Add xfail-rounding.
4270 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4271 (output_for_one_input_case): Handle flag_xfail_rounding.
4272 * sysdeps/i386/fpu/libm-test-ulps: Update.
4273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4274
4275 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4276
4277 [BZ #16289]
4278 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4279 division by 0.
4280
4281 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4282
4283 [BZ #16195]
4284 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4285 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4286 (STAP_PROBE0): New macro.
4287 (STAP_PROBE1): Likewise.
4288 (STAP_PROBE2): Likewise.
4289 (STAP_PROBE3): Likewise.
4290 (STAP_PROBE4): Likewise.
4291
4292 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4293
4294 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4295
4296 2013-12-02 Steve Ellcey <sellcey@mips.com>
4297
4298 * benchtests/Makefile (bench): Add sqrt.
4299 (LDLIBS-bench-sqrt): New.
4300 * benchtests/sqrt-input: New.
4301
4302 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4303
4304 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4305 (GAIH_EAI): Likewise.
4306 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4307 (gaih_inet): Likewise.
4308 (getaddrinfo): Don't use GAIH_EAI.
4309
4310 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4311 (struct gaih): Remove definition.
4312
4313 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4314
4315 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4316 Use HERRNOP directly.
4317
4318 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4319
4320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4321
4322 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4323
4324 * math/gen-auto-libm-tests.c (test_functions): Add more
4325 single-argument functions.
4326 (special_fill_pi_2): New function.
4327 (special_fill_minus_pi_2): Likewise.
4328 (special_fill_pi_6): Likewise.
4329 (special_fill_minus_pi_6): Likewise.
4330 (special_fill_pi_3): Likewise.
4331 (special_fill_2pi_3): Likewise.
4332 (special_fill_e): Likewise.
4333 (special_fill_1_e): Likewise.
4334 (special_fill_e_minus_1): Likewise.
4335 (special_real_inputs): Add more special inputs.
4336 (output_for_one_input_case): Do not require ERANGE on underflow to
4337 zero if round-to-nearest result does not underflow to zero, unless
4338 exact results required.
4339 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4340 atan, atanh, cbrt, cos and cosh.
4341 * math/auto-libm-test-out: Regenerated.
4342 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4343 (acos_tonearest_test_data): Likewise.
4344 (acos_towardzero_test_data): Likewise.
4345 (acos_downward_test_data): Likewise.
4346 (acos_upward_test_data): Likewise.
4347 (acosh_test_data): Likewise.
4348 (asin_test_data): Likewise.
4349 (asin_tonearest_test_data): Likewise.
4350 (asin_towardzero_test_data): Likewise.
4351 (asin_upward_test_data): Likewise.
4352 (asinh_test_data): Likewise.
4353 (atan_test_data): Likewise.
4354 (atanh_test_data): Likewise.
4355 (cbrt_test_data): Likewise.
4356 (cos_test_data): Likewise.
4357 (cos_tonearest_test_data): Likewise.
4358 (cos_towardzero_test_data): Likewise.
4359 (cos_downward_test_data): Likewise.
4360 (cos_upward_test_data): Likewise.
4361 (cosh_test_data): Likewise.
4362 (cosh_tonearest_test_data): Likewise.
4363 (cosh_towardzero_test_data): Likewise.
4364 (cosh_downward_test_data): Likewise.
4365 (cosh_upward_test_data): Likewise.
4366 * sysdeps/i386/fpu/libm-test-ulps: Update.
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4368
4369 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4370
4371 [BZ #6787]
4372 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4373 * math/w_exp10f.c (__exp10f): Likewise.
4374 * math/w_exp10l.c (__exp10l): Likewise.
4375 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4376 errno settings in existing tests.
4377
4378 [BZ #14032]
4379 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4380 precision control set to double precision.
4381 * sysdeps/i386/fpu/w_sqrt.c: New file.
4382 * math/auto-libm-test-in: Add more tests.
4383 * math/auto-libm-test-out: Update.
4384
4385 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4386 (sqrt_test_tonearest): New function.
4387 (sqrt_towardzero_test_data): New variable.
4388 (sqrt_test_towardzero): New function.
4389 (sqrt_downward_test_data): New variable.
4390 (sqrt_test_downward): New function.
4391 (sqrt_upward_test_data): New variable.
4392 (sqrt_test_upward): New function.
4393 (main): Call the new functions.
4394
4395 * math/gen-auto-libm-tests.c: New file.
4396 * math/auto-libm-test-in: Likewise.
4397 * math/auto-libm-test-out: New generated file.
4398 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4399 variables.
4400 (%beautify): Add generated representations of zero.
4401 (top level): Set $auto_input and call parse_auto_input.
4402 (beautify): Remove trailing "f" from hex float constants.
4403 (parse_args): Handle XFAIL_TEST.
4404 (convert_condition): New function.
4405 (or_value): Likewise.
4406 (or_cond_value): Likewise.
4407 (generate_testfile): Handle AUTO_TESTS_* lines.
4408 (parse_auto_input): New function.
4409 * math/libm-test.inc (XFAIL_TEST): New macro.
4410 (ERRNO_UNCHANGED): Update value.
4411 (ERRNO_EDOM): Likewise.
4412 (ERRNO_ERANGE): Likewise.
4413 (IGNORE_RESULT): Likewise.
4414 (TEST_COND_flt_32): New macro.
4415 (TEST_COND_dbl_64): Likewise.
4416 (TEST_COND_ldbl_96_intel): Likewise.
4417 (TEST_COND_ldbl_96_m68k): Likewise.
4418 (TEST_COND_ldbl_128): Likewise.
4419 (TEST_COND_ldbl_128ibm): Likewise.
4420 (TEST_COND_long32): Likewise.
4421 (TEST_COND_long64): Likewise.
4422 (TEST_COND_before_rounding): Likewise.
4423 (TEST_COND_after_rounding): Likewise.
4424 (enable_test): Handle XFAIL_TEST flag.
4425 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4426 with finite results.
4427 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4428 auto-libm-test-out.
4429
4430 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4431 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4432
4433 [BZ #16214]
4434 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4435 __tls_get_addr_internal instead of __tls_get_offset in order to
4436 avoid GOT pointer dependency. Make rtld export
4437 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4438 __tls_get_addr since we are a __tls_get_offset platform.
4439 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4440 GOT pointer being set up before.
4441 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4442
4443 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4444
4445 * manual/math.texi (Errors in Math Functions): Document accuracy
4446 goals.
4447
4448 [BZ #15004]
4449 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4450 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4451 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4452 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4453 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4454 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4455 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4459 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4465
4466 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4467 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4468 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4469 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4470 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4471 Likewise.
4472 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4473 Likewise.
4474 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4475 Likewise.
4476 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4477 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4478 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4479 atomic-feupdateenv and flt-rounds.
4480 * sysdeps/powerpc/nofpu/Versions (libc): Add
4481 __atomic_feholdexcept, __atomic_feclearexcept,
4482 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4483 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4484 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4485 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4486 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4487 here.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4489 Update.
4490
4491 * manual/arith.texi (FP Exceptions): Document that exceptions may
4492 not be raised when matherr is used.
4493 (Math Error Reporting): Document overflow in directed rounding
4494 modes. Document that errno may not be set when finite values are
4495 returned on overflow. Document intent to set errno on underflow
4496 only for underflow to zero.
4497
4498 [BZ #16271]
4499 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4500 round-to-nearest then adjust result for other rounding modes.
4501 * include/fenv.h (fegetround): Use libm_hidden_proto.
4502 * math/fegetround.c (fegetround): Use libm_hidden_def.
4503 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4504 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4505 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4507 Likewise.
4508 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4509 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4510 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4511 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4512
4513 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4514
4515 [BZ #16077]
4516 * nss/Versions (libnss_files): Add
4517 _nss_files_gethostbyname3_r.
4518 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4519 New function.
4520 (HOST_DB_LOOKUP): Remove macro.
4521 (_nss_files_gethostbyname_r): Implement function without the
4522 HOST_DB_LOOKUP macro.
4523 (_nss_files_gethostbyname2_r): Likewise.
4524
4525 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4526
4527 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4528
4529 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4530
4531 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4532 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4533 warning.
4534
4535 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4536
4537 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4538 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4539 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4540 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4541 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4542 __fe_nomask_env_priv and attribute_hidden.
4543 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4544 (libc_feupdateenv_test_ppc): Likewise.
4545 (libc_feresetround_ppc): Likewise.
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4547 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4548 compat_symbol macro.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4550 (__fe_nomask_env): Likewise.
4551 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4552
4553 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4554
4555 * string/Makefile: Remove ifunc tests.
4556 * string/test-string.h: Define TEST_IFUNC.
4557 * string/test-bcopy-ifunc.c: Remove.
4558 * string/test-bzero-ifunc.c: Likewise.
4559 * string/test-memccpy-ifunc.c: Likewise.
4560 * string/test-memchr-ifunc.c: Likewise.
4561 * string/test-memcmp-ifunc.c: Likewise.
4562 * string/test-memcpy-ifunc.c: Likewise.
4563 * string/test-memmem-ifunc.c: Likewise.
4564 * string/test-memmove-ifunc.c: Likewise.
4565 * string/test-mempcpy-ifunc.c: Likewise.
4566 * string/test-memrchr-ifunc.c: Likewise.
4567 * string/test-memset-ifunc.c: Likewise.
4568 * string/test-rawmemchr-ifunc.c: Likewise.
4569 * string/test-stpcpy-ifunc.c: Likewise.
4570 * string/test-stpncpy-ifunc.c: Likewise.
4571 * string/test-strcasecmp-ifunc.c: Likewise.
4572 * string/test-strcasestr-ifunc.c: Likewise.
4573 * string/test-strcat-ifunc.c: Likewise.
4574 * string/test-strchr-ifunc.c: Likewise.
4575 * string/test-strchrnul-ifunc.c: Likewise.
4576 * string/test-strcmp-ifunc.c: Likewise.
4577 * string/test-strcpy-ifunc.c: Likewise.
4578 * string/test-strcspn-ifunc.c: Likewise.
4579 * string/test-strlen-ifunc.c: Likewise.
4580 * string/test-strncasecmp-ifunc.c: Likewise.
4581 * string/test-strncat-ifunc.c: Likewise.
4582 * string/test-strncmp-ifunc.c: Likewise.
4583 * string/test-strncpy-ifunc.c: Likewise.
4584 * string/test-strnlen-ifunc.c: Likewise.
4585 * string/test-strpbrk-ifunc.c: Likewise.
4586 * string/test-strrchr-ifunc.c: Likewise.
4587 * string/test-strspn-ifunc.c: Likewise.
4588 * string/test-strstr-ifunc.c: Likewise.
4589
4590 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4591
4592 * benchtests/Makefile: Remove ifunc tests.
4593 * benchtests/bench-string.h: Define TEST_IFUNC.
4594 * benchtests/bench-bcopy-ifunc.c: Remove.
4595 * benchtests/bench-bzero-ifunc.c: Likewise.
4596 * benchtests/bench-memccpy-ifunc.c: Likewise.
4597 * benchtests/bench-memchr-ifunc.c: Likewise.
4598 * benchtests/bench-memcmp-ifunc.c: Likewise.
4599 * benchtests/bench-memcpy-ifunc.c: Likewise.
4600 * benchtests/bench-memmem-ifunc.c: Likewise.
4601 * benchtests/bench-memmove-ifunc.c: Likewise.
4602 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4603 * benchtests/bench-memrchr-ifunc.c: Likewise.
4604 * benchtests/bench-memset-ifunc.c: Likewise.
4605 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4606 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4607 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4608 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4609 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4610 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4611 * benchtests/bench-strcat-ifunc.c: Likewise.
4612 * benchtests/bench-strchr-ifunc.c: Likewise.
4613 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4614 * benchtests/bench-strcmp-ifunc.c: Likewise.
4615 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4616 * benchtests/bench-strcpy-ifunc.c: Likewise.
4617 * benchtests/bench-strcspn-ifunc.c: Likewise.
4618 * benchtests/bench-strlen-ifunc.c: Likewise.
4619 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4620 * benchtests/bench-strncat-ifunc.c: Likewise.
4621 * benchtests/bench-strncmp-ifunc.c: Likewise.
4622 * benchtests/bench-strncpy-ifunc.c: Likewise.
4623 * benchtests/bench-strnlen-ifunc.c: Likewise.
4624 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4625 * benchtests/bench-strrchr-ifunc.c: Likewise.
4626 * benchtests/bench-strsep-ifunc.c: Likewise.
4627 * benchtests/bench-strspn-ifunc.c: Likewise.
4628 * benchtests/bench-strstr-ifunc.c: Likewise.
4629
4630 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4631
4632 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4633
4634 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4635
4636 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4637 * rt/aio.h: Likewise.
4638 * sysdeps/gnu/bits/utmp.h: Likewise.
4639 * sysdeps/gnu/bits/utmpx.h: Likewise.
4640 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4641 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4642 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4643 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4644 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4645 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4646 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4647 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4648 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4649 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4650 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4651 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4654 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4655 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4656 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4657 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4658 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4659 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4660 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4661 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4662 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4663 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4664 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4666 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4667 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4668 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4669 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4670 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4671 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4672 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4673 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4674 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4675 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4676 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4677 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4678 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4679 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4680 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4681 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4682
4683 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4684
4685 [BZ #16245]
4686 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4687 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4688
4689 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4690
4691 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4692 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4693 Likewise.
4694
4695 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4696
4697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4698 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4699 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4700 (__fesetround): Remove define.
4701 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4702 rounding and exceptions handling.
4703 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4704 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4705 (__fe_nomask_env): Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4707 __fegetround instead of fegetround.
4708 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4710
4711 2013-11-21 Roland McGrath <roland@hack.frob.com>
4712
4713 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4714 it's there.
4715
4716 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4717
4718 2013-11-21 Meador Inge <meadori@codesourcery.com>
4719
4720 [BZ #11157]
4721 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4722 (encrypt_r): Likewise.
4723 * malloc/obstack.h (obstack_free): Likewise.
4724 * posix/unistd.h (encrypt): Likewise.
4725
4726 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4727
4728 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4729 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4730 DL_CALL_DT_FINI() that call the functions directly.
4731 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4732 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4733 * elf/dl-fini.c: Likewise.
4734
4735 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4736
4737 * malloc/hooks.c (memalign_check): Add alignment rounding.
4738 * malloc/malloc.c (_mid_memalign): New function.
4739 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4740 Implement by calling _mid_memalign.
4741 * manual/probes.texi (Memory Allocation Probes): Remove
4742 memory_valloc_retry and memory_pvalloc_retry.
4743
4744 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4745
4746 * locale/programs/locarchive.c (open_archive): Add const
4747 qualifier to ARCHIVEFNAME and copy default fname to
4748 DEFAULT_FNAME.
4749
4750 [BZ #15601]
4751 * libio/tst-widetext.input: Rename Oriya to Odia.
4752 * locale/iso-639.def: Likewise.
4753
4754 * manual/probes.texi (Mathematical Function Probes): Add
4755 documentation for sin, cos, asin and acos probes.
4756 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4757 (__sin32): Add slowasin probe.
4758 (__cos32): Add slowacos probe.
4759 (__mpsin): Add slowsin probe.
4760 (__mpcos): Add slowcos probe.
4761
4762 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4763
4764 [BZ #15483]
4765 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4766 thread-local __sim_exceptions_thread and global
4767 __sim_exceptions_global.
4768 (__sim_disabled_exceptions): Change to thread-local
4769 __sim_disabled_exceptions_thread and global
4770 __sim_disabled_exceptions_global.
4771 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4772 and global __sim_round_mode_global.
4773 (__simulate_exceptions): Use thread-local floating-point state and
4774 set global state from it as needed.
4775 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4776 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4777 __sim_round_mode_thread.
4778 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4779 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4780 and global __sim_exceptions_global.
4781 (__sim_disabled_exceptions): Change to thread-local
4782 __sim_disabled_exceptions_thread and global
4783 __sim_disabled_exceptions_global.
4784 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4785 and global __sim_round_mode_global.
4786 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4787 (SIM_SET_GLOBAL): Likewise.
4788 * sysdeps/powerpc/soft-fp/sfp-machine.h
4789 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4790 __sim_round_mode_thread.
4791 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4792 __sim_disabled_exceptions_thread.
4793 (__sim_exceptions): Change to __sim_exceptions_thread.
4794 (__sim_disabled_exceptions): Change to
4795 __sim_disabled_exceptions_thread.
4796 (__sim_round_mode): Change to __sim_round_mode_thread.
4797 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4798 thread-local floating-point state and set global state from it as
4799 needed.
4800 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4801 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4802 (__sim_disabled_exceptions): Remove extern declaration.
4803 (feenableexcept): Use thread-local floating-point state and set
4804 global state from it as needed.
4805 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4806 extern declaration.
4807 (__sim_disabled_exceptions): Likewise.
4808 (__sim_round_mode): Likewise.
4809 (__fegetenv): Use thread-local floating-point state.
4810 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4811 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4812 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4813 floating-point state and set global state from it as needed.
4814 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4815 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4816 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4817 Likewise.
4818 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4819 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4820 Likewise.
4821 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4822 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4823 Use __sim_round_mode_thread.
4824 * math/test-fenv-tls.c: New file.
4825 * math/Makefile (tests): Add test-fenv-tls.
4826 ($(objpfx)test-fenv-tls): Depend on
4827 $(common-objpfx)nptl/libpthread.so.
4828
4829 2013-11-19 Andreas Schwab <schwab@suse.de>
4830
4831 * locale/programs/locale.c (show_info): Decode wordarray elements.
4832 * locale/categories.def (LC_MONETARY): Add element for
4833 _NL_MONETARY_CRNCYSTR.
4834 * locale/C-monetary.c (conversion_rate): New variable.
4835 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4836 element.
4837
4838 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4839
4840 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4841 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4842
4843 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4844
4845 * elf/Makefile (tst-auxv): New test.
4846 * elf/tst-auxv.c: New
4847 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4848
4849 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4850
4851 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4852 (hidden_proto): Caller changed.
4853 (hidden_tls_proto): New macro.
4854 (libc_hidden_tls_proto): Likewise.
4855 (rtld_hidden_tls_proto): Likewise.
4856 (libm_hidden_tls_proto): Likewise.
4857 (libresolv_hidden_tls_proto): Likewise.
4858 (librt_hidden_tls_proto): Likewise.
4859 (libdl_hidden_tls_proto): Likewise.
4860 (libnss_files_hidden_tls_proto): Likewise.
4861 (libnsl_hidden_tls_proto): Likewise.
4862 (libnss_nisplus_hidden_tls_proto): Likewise.
4863 (libutil_hidden_tls_proto): Likewise.
4864
4865 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4866
4867 [BZ #10253]
4868 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4869 (decompose_rpath): Defer expansion to fillin_rpath.
4870 (_dl_init_paths): Pass linkmap to fillin_rpath.
4871
4872 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4873
4874 * benchtests/Makefile: Add strsep.
4875 * benchtests/bench-strsep.c: New file: strsep benchtest.
4876 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4877
4878 2013-11-18 Andreas Schwab <schwab@suse.de>
4879
4880 * locale/programs/locale.c (show_info) [case byte]: Check for
4881 '\377' instead of '\177'.
4882 * locale/C-monetary.c (not_available): Always use "\377".
4883 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4884 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4885 detect unavailable sign_posn locale elements.
4886 * locale/localeconv.c (__localeconv): For grouping and
4887 mon_grouping handle "\177" and "\377" like no grouping.
4888 (INT_ELEM): New macro. Use it to set all numeric members.
4889 * locale/programs/ld-monetary.c (monetary_read)
4890 <tok_mon_grouping>: Normalize single -1 to the empty string.
4891 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4892 Likewise.
4893
4894 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4895
4896 [BZ #16055]
4897 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4898 when we match (nil).
4899 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4900
4901 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4902
4903 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4904 (NO_TEST_INLINE): Update value.
4905 (ERRNO_UNCHANGED): Likewise.
4906 (ERRNO_EDOM): Likewise.
4907 (ERRNO_ERANGE): Likewise.
4908 (IGNORE_RESULT): Likewise.
4909 (check_float_internal): Check signs of NaN results if
4910 TEST_NAN_SIGN used.
4911 (check_complex): Pass TEST_NAN_SIGN flag through to second
4912 check_float_internal call.
4913 (copysign_test_data): Add tests with quiet NaNs as second
4914 argument. Use TEST_NAN_SIGN.
4915 (fabs_test_data): Add test of negative quiet NaN argument. Use
4916 TEST_NAN_SIGN.
4917 (signbit_test_data): Add tests of quiet NaN argument.
4918 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4919
4920 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4921 $ignore_result.
4922 (parse_args): Handle function results specified as IGNORE.
4923 * math/libm-test.inc (IGNORE_RESULT): New macro.
4924 (check_float_internal): Do not check numerical result if flag
4925 IGNORE_RESULT set.
4926 (check_complex): Pass through IGNORE_RESULT to second
4927 check_float_internal call.
4928 (check_int): Do not check numerical result if flag IGNORE_RESULT
4929 set.
4930 (check_long): Likewise.
4931 (check_bool): Likewise.
4932 (check_longlong): Likewise.
4933 (lrint_test_data): Add tests of infinite and NaN arguments.
4934 (lrint_tonearest_test_data): Likewise.
4935 (lrint_towardzero_test_data): Likewise.
4936 (lrint_downward_test_data): Likewise.
4937 (lrint_upward_test_data): Likewise.
4938 (llrint_test_data): Likewise.
4939 (llrint_tonearest_test_data): Likewise.
4940 (llrint_towardzero_test_data): Likewise.
4941 (llrint_downward_test_data): Likewise.
4942 (llrint_upward_test_data): Likewise.
4943 (lround_test_data): Likewise.
4944 (llround_test_data): Likewise.
4945
4946 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4947 (ERRNO_UNCHANGED): Update value.
4948 (ERRNO_EDOM): Likewise.
4949 (ERRNO_ERANGE): Likewise.
4950 (NO_TEST_INLINE_FLOAT): New macro.
4951 (NO_TEST_INLINE_DOUBLE): Likewise.
4952 (enable_test): New function.
4953 (RUN_TEST_f_f): Check enable_test before running test.
4954 (RUN_TEST_2_f): Likewise.
4955 (RUN_TEST_fff_f): Likewise.
4956 (RUN_TEST_c_f): Likewise.
4957 (RUN_TEST_f_f1): Likewise.
4958 (RUN_TEST_fF_f1): Likewise.
4959 (RUN_TEST_fI_f1): Likewise.
4960 (RUN_TEST_ffI_f1): Likewise.
4961 (RUN_TEST_c_c): Likewise.
4962 (RUN_TEST_cc_c): Likewise.
4963 (RUN_TEST_f_i): Likewise.
4964 (RUN_TEST_f_i_tg): Likewise.
4965 (RUN_TEST_ff_i_tg): Likewise.
4966 (RUN_TEST_f_b): Likewise.
4967 (RUN_TEST_f_b_tg): Likewise.
4968 (RUN_TEST_f_l): Likewise.
4969 (RUN_TEST_f_L): Likewise.
4970 (RUN_TEST_fFF_11): Likewise.
4971 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4972 conditionals.
4973 (cosh_test_data): Likewise.
4974 (exp_test_data): Likewise.
4975 (expm1_test_data): Likewise.
4976 (hypot_test_data): Likewise.
4977 (pow_test_data): Likewise.
4978 (sinh_test_data): Likewise.
4979 (tanh_test_data): Likewise.
4980 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4981 flags argument.
4982
4983 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4984 tests with quiet NaN input and output.
4985 (acosh_test_data): Likewise.
4986 (asin_test_data): Likewise.
4987 (asinh_test_data): Likewise.
4988 (atan_test_data): Likewise.
4989 (atanh_test_data): Likewise.
4990 (atan2_test_data): Likewise.
4991 (cbrt_test_data): Likewise.
4992 (cos_test_data): Likewise.
4993 (cosh_test_data): Likewise.
4994 (erf_test_data): Likewise.
4995 (erfc_test_data): Likewise.
4996 (exp_test_data): Likewise.
4997 (exp10_test_data): Likewise.
4998 (exp2_test_data): Likewise.
4999 (expm1_test_data): Likewise.
5000 (hypot_test_data): Likewise.
5001 (j0_test_data): Likewise.
5002 (j1_test_data): Likewise.
5003 (jn_test_data): Likewise.
5004 (lgamma_test_data): Likewise.
5005 (log_test_data): Likewise.
5006 (log10_test_data): Likewise.
5007 (log1p_test_data): Likewise.
5008 (log2_test_data): Likewise.
5009 (pow_test_data): Likewise.
5010 (scalb_test_data): Likewise.
5011 (sin_test_data): Likewise.
5012 (sincos_test_data): Likewise.
5013 (sinh_test_data): Likewise.
5014 (tan_test_data): Likewise.
5015 (tanh_test_data): Likewise.
5016 (tgamma_test_data): Likewise.
5017 (y0_test_data): Likewise.
5018 (y1_test_data): Likewise.
5019 (yn_test_data): Likewise.
5020
5021 [BZ #16167]
5022 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5023 argument being NaN and avoid computations with second argument in
5024 that case.
5025 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5026 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5027 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5028
5029 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5030
5031 * locale/iso-639.def: Add Chitwani Tharu (the).
5032
5033 2013-11-14 Andreas Schwab <schwab@suse.de>
5034
5035 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5036 word instead of empty string.
5037
5038 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5039
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5041 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5043 (__fe_nomask_env): Likewise.
5044
5045 2013-11-13 Steve Ellcey <sellcey@mips.com>
5046
5047 * benchtests/bench-timing.h: Include time.h.
5048
5049 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5050
5051 [BZ #15997]
5052 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5053 to 3.4.0 for x32.
5054 * sysdeps/unix/sysv/linux/configure: Regenerated.
5055
5056 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5057
5058 [BZ #16151]
5059 * stdlib/strtod_l.c (round_and_return): Do not consider
5060 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5061 exponent one less than half the least subnormal exponent.
5062 * stdlib/test-strtod-round-data: Add more tests.
5063 * stdlib/tst-strtod-round.c (tests): Regenerated.
5064
5065 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5066
5067 [BZ #14143]
5068 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5069 (__fe_mask_env): Likewise.
5070 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5071 libm_hidden_proto and add function prototype.
5072 (__fe_mask_env): Add function prototype.
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5074 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5076 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5078 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5079
5080 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5081
5082 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5083 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5084
5085 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5086
5087 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5088 of htab_find_slot().
5089
5090 2013-11-11 David S. Miller <davem@davemloft.net>
5091
5092 [BZ #16150]
5093 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5094 symbol in the non-vis3 case in static builds.
5095 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5096 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5097 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5098 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5099
5100 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5101
5102 [BZ #387]
5103 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5104 it is empty.
5105
5106 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5107
5108 * benchtests/Makefile: Add bench-strtod.
5109 * benchtests/bench-strtod.c: New file: strtod benchtest
5110
5111 2013-11-11 Andreas Schwab <schwab@suse.de>
5112
5113 [BZ #16153]
5114 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5115 terminating NUL in key length.
5116
5117 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5118
5119 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5120 Add artificial ODP entry for vDSO symbol for PPC64.
5121 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5122 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5123
5124 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5125
5126 [BZ #15374]
5127 * nss/getent.c (services_keys): Recognize services starting with digit.
5128
5129 2013-11-06 David S. Miller <davem@davemloft.net>
5130
5131 [BZ #15985]
5132 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5133 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5134
5135 2013-11-06 Will Newton <will.newton@linaro.org>
5136
5137 * manual/memory.texi (Malloc Examples): Remove register
5138 keyword from examples.
5139
5140 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5141
5142 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5143
5144 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5145
5146 [BZ #6981]
5147 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5148 depending on [__GCC_IEC_559 > 0].
5149 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5150 depending on [__GCC_IEC_559_COMPLEX > 0].
5151
5152 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5153
5154 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5155 to iso-639.def.
5156
5157 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5158
5159 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5160
5161 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5162
5163 [BZ #16112]
5164 * malloc/malloc (malloc_info): Do not handle first bin as
5165 special case.
5166
5167 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5168
5169 * locale/iso-639.def: Add Central Nahuatl (nhn).
5170
5171 2013-11-01 Bruno Haible <bruno@clisp.org>
5172
5173 [BZ #7003]
5174 * manual/math.texi (BSD Random): Specify range upper bound as
5175 in POSIX.
5176
5177 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5178
5179 * locale/iso-639.def: Add Meadow Mari (mhr).
5180
5181 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5182
5183 [BZ #14752], [BZ #15763]
5184 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5185 Validate name.
5186 * rt/tst_shm.c: Add test for escaping directory.
5187
5188 2013-10-31 Andreas Schwab <schwab@suse.de>
5189
5190 [BZ #15917]
5191 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5192 followed by 'x' as part of digit sequence.
5193 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5194
5195 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5196
5197 [BZ #16037]
5198 * configure.ac: allow GNU Make 4.0 and greater.
5199 * configure: Regenerated.
5200
5201 2013-10-30 Will Newton <will.newton@linaro.org>
5202
5203 [BZ #16038]
5204 * malloc/hooks.c (memalign_check): Limit alignment to the
5205 maximum representable power of two.
5206 * malloc/malloc.c (__libc_memalign): Likewise.
5207 * malloc/tst-memalign.c (do_test): Add test for very
5208 large alignment values.
5209 * malloc/tst-posix_memalign.c (do_test): Likewise.
5210
5211 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5212
5213 [BZ #11087]
5214 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5215 (munmap_chunk): Likewise.
5216 (mremap_chunk): Likewise.
5217
5218 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5219
5220 [BZ #15799]
5221 * stdlib/div.c (div): Remove obsolete code.
5222 * stdlib/ldiv.c (ldiv): Likewise.
5223 * stdlib/lldiv.c (lldiv): Likewise.
5224
5225 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5226
5227 [BZ #16071]
5228 * nss/nss_files/files-XXX.c (get_contents_ret): New
5229 enumerator.
5230 (get_contents): New function.
5231 (internal_getent): Use it. Expand size of LINEBUFLEN.
5232
5233 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5234
5235 * configure.in: Moved to ...
5236 * configure.ac: ... here. Change reference to configure.in
5237 to configure.ac.
5238 * sysdeps/arm/preconfigure.ac: ... here.
5239 configure.in to configure.ac.
5240 * sysdeps/gnu/configure.in: Moved to ...
5241 * sysdeps/gnu/configure.ac: ... here.
5242 * sysdeps/i386/configure.in: Moved to ...
5243 * sysdeps/i386/configure.ac: ... here.
5244 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5245 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5246 * sysdeps/mach/configure.in: Moved to ...
5247 * sysdeps/mach/configure.ac: ... here.
5248 * sysdeps/mach/hurd/configure.in: Moved to ...
5249 * sysdeps/mach/hurd/configure.ac: ... here.
5250 * sysdeps/powerpc/configure.in: Moved to ...
5251 * sysdeps/powerpc/configure.ac: ... here.
5252 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5253 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5254 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5255 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5256 * sysdeps/s390/s390-32/configure.in: Moved to ...
5257 * sysdeps/s390/s390-32/configure.ac: ... here.
5258 * sysdeps/s390/s390-64/configure.in: Moved to ...
5259 * sysdeps/s390/s390-64/configure.ac: ... here.
5260 * sysdeps/sh/configure.in: Moved to ...
5261 * sysdeps/sh/configure.ac: ... here.
5262 * sysdeps/sparc/configure.in: Moved to ...
5263 * sysdeps/sparc/configure.ac: ... here.
5264 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5265 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5266 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5267 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5268 * sysdeps/x86_64/configure.in: Moved to ...
5269 * sysdeps/x86_64/configure.ac: ... here.
5270 * sysdeps/x86_64/preconfigure.in: Moved to ...
5271 * sysdeps/x86_64/preconfigure.ac: ... here.
5272 * aclocal.m4: Change reference to configure.in to configure.ac.
5273 * config.h.in: Likewise.
5274 * manual/install.texi: Likewise.
5275 * manual/maint.texi: Likewise.
5276 * Makefile: Likewise.
5277 * malloc/Makefile: Likewise.
5278 * nscd/Makefile: Likewise.
5279 * Makeconfig: Change reference to configure.in and
5280 preconfigure.in to configure.ac and preconfigure.ac
5281 respectively.
5282 * INSTALL: Regenerated.
5283 * configure: Likewise.
5284 * sysdeps/gnu/configure: Likewise.
5285 * sysdeps/i386/configure: Likewise.
5286 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5287 * sysdeps/mach/configure: Likewise.
5288 * sysdeps/mach/hurd/configure: Likewise.
5289 * sysdeps/powerpc/configure: Likewise.
5290 * sysdeps/powerpc/powerpc32/configure: Likewise.
5291 * sysdeps/powerpc/powerpc64/configure: Likewise.
5292 * sysdeps/s390/s390-32/configure: Likewise.
5293 * sysdeps/s390/s390-64/configure: Likewise.
5294 * sysdeps/sh/configure: Likewise.
5295 * sysdeps/sparc/configure: Likewise.
5296 * sysdeps/unix/sysv/linux/configure: Likewise.
5297 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5298 * sysdeps/x86_64/configure: Likewise.
5299 * sysdeps/x86_64/preconfigure: Likewise.
5300
5301 2013-10-29 Andreas Schwab <schwab@suse.de>
5302
5303 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5304
5305 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5306
5307 * benchtests/pow-inputs: Add new inputs.
5308
5309 * benchtests/exp-inputs: Add new inputs.
5310
5311 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5312 conditional check for return value.
5313 (__cos32): Likewise.
5314
5315 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5316
5317 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5318 to provide a boost for large inputs with word alignment.
5319 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5320 implementation based on optimized PPC64 strcpy.
5321 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5322 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5323 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5324 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5325
5326 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5327
5328 [BZ #2801]
5329 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5330
5331 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5332
5333 [BZ #14876]
5334 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5335 * time/tst-strptime.c (day_tests): Add testcase.
5336
5337 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5338
5339 [BZ #14029]
5340 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5341
5342 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5343
5344 [BZ #16074]
5345 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5346 MAP_FAILED on error.
5347
5348 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5349
5350 [BZ #16072]
5351 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5352 heap for large requests.
5353
5354 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5355
5356 [BZ #9954]
5357 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5358 result if the result has no associated interface.
5359 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5360 interface for all 127.X.Y.Z addresses.
5361
5362 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5363
5364 * locale/iso-639.def: Add Ligurian (lij)
5365
5366 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5367
5368 [BZ #15825]
5369 * sunrpc/rpc_main.c: Document rpcgen -5.
5370
5371 2013-10-19 Michael Stahl <mstahl@redhat.com>
5372
5373 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5374
5375 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5376
5377 [BZ #10278]
5378 * posix/glob.c: Match only directories when trailing slash is present.
5379 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5380 (main): Add testcase.
5381
5382 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5383
5384 [BZ #15670]
5385 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5386
5387 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5388
5389 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5390 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5391 AUTH_DES and cindex for FIPS 140-2.
5392 (DES Encryption): Add cindex FIPS 46-3.
5393
5394 * locale/locarchive.h (struct locarhandle): Add fname.
5395 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5396 if an optional argument was specified to --list-archive,
5397 otherwise NULL.
5398 * locale/programs/locarchive.c (show_archive_content): Take new
5399 argument fname and pass it via ah.fname to open_archive.
5400 * locale/programs/localedef.h: Update decl.
5401 (open_archive): If AH->fname is non-null, open that file
5402 rather than the default file name, and don't ignore ENOENT.
5403 (create_archive): Set AH.fname to NULL.
5404 (delete_locales_from_archive): Likewise.
5405 (add_locales_to_archive): Likewise.
5406 * locale/programs/locfile.c (write_all_categories): Likewise.
5407
5408 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5409 Aldy Hernandez <aldyh@redhat.com>
5410
5411 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5412 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5413 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5414 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5415 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5416 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5417 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5418 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5419 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5420 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5421 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5422 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5423 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5424 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5425 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5426 Likewise.
5427 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5428 Likewise.
5429 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5430 Likewise.
5431 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5432 Likewise.
5433 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5434 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5435 Likewise.
5436 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5437 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5438 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5439 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5440 Likewise.
5441 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5442 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5443 * sysdeps/powerpc/preconfigure: Likewise.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5445 Likewise.
5446 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5447 Replace contents of file by #include of <fenv_libc.h>.
5448 * sysdeps/powerpc/soft-fp/sfp-machine.h
5449 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5450 and <sys/prctl.h>.
5451 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5454 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5455 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5456 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5459 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5460 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5461 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5462 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5464 Allow copysignl PLT reference to be missing.
5465
5466 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5467 Joseph Myers <joseph@codesourcery.com
5468
5469 [BZ #15948]
5470 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5471 single character.
5472 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5473
5474 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5475
5476 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5477 * elf/tst-tls1.c: Likewise.
5478 * elf/tst-tls10.h: Likewise.
5479 * elf/tst-tls14.c: Likewise.
5480 * elf/tst-tls2.c: Likewise.
5481 * elf/tst-tls3.c: Likewise.
5482 * elf/tst-tls4.c: Likewise.
5483 * elf/tst-tls5.c: Likewise.
5484 * elf/tst-tls6.c: Likewise.
5485 * elf/tst-tls7.c: Likewise.
5486 * elf/tst-tls8.c: Likewise.
5487 * elf/tst-tls9.c: Likewise.
5488 * elf/tst-tlsmod1.c: Likewise.
5489 * elf/tst-tlsmod13.c: Likewise.
5490 * elf/tst-tlsmod13a.c: Likewise.
5491 * elf/tst-tlsmod14a.c: Likewise.
5492 * elf/tst-tlsmod16a.c: Likewise.
5493 * elf/tst-tlsmod16b.c: Likewise.
5494 * elf/tst-tlsmod2.c: Likewise.
5495 * elf/tst-tlsmod3.c: Likewise.
5496 * elf/tst-tlsmod4.c: Likewise.
5497 * elf/tst-tlsmod5.c: Likewise.
5498 * elf/tst-tlsmod6.c: Likewise.
5499
5500 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5501
5502 [BZ #12486]
5503 * malloc/malloc.c: remove checks for statistics.
5504
5505 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5506
5507 [BZ #15277]
5508 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5509 * inet/tst-network.c: Add testcase.
5510
5511 2013-10-17 Andreas Schwab <schwab@suse.de>
5512
5513 [BZ #15218]
5514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5515 to determine canonical name.
5516
5517 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5518
5519 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5520 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5543 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5544 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5549 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5566 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5572 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5573 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5577
5578 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5579
5580 [BZ #16041]
5581 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5582 make result into a quiet NaN.
5583
5584 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5585
5586 * soft-fp/adddf3.c: Fix horizontal whitespace.
5587 * soft-fp/addsf3.c: Likewise.
5588 * soft-fp/addtf3.c: Likewise.
5589 * soft-fp/divdf3.c: Likewise.
5590 * soft-fp/divsf3.c: Likewise.
5591 * soft-fp/divtf3.c: Likewise.
5592 * soft-fp/double.h: Likewise.
5593 * soft-fp/eqdf2.c: Likewise.
5594 * soft-fp/eqsf2.c: Likewise.
5595 * soft-fp/eqtf2.c: Likewise.
5596 * soft-fp/extenddftf2.c: Likewise.
5597 * soft-fp/extended.h: Likewise.
5598 * soft-fp/extendsfdf2.c: Likewise.
5599 * soft-fp/extendsftf2.c: Likewise.
5600 * soft-fp/extendxftf2.c: Likewise.
5601 * soft-fp/fixdfdi.c: Likewise.
5602 * soft-fp/fixdfsi.c: Likewise.
5603 * soft-fp/fixdfti.c: Likewise.
5604 * soft-fp/fixsfdi.c: Likewise.
5605 * soft-fp/fixsfsi.c: Likewise.
5606 * soft-fp/fixsfti.c: Likewise.
5607 * soft-fp/fixtfdi.c: Likewise.
5608 * soft-fp/fixtfsi.c: Likewise.
5609 * soft-fp/fixtfti.c: Likewise.
5610 * soft-fp/fixunsdfdi.c: Likewise.
5611 * soft-fp/fixunsdfsi.c: Likewise.
5612 * soft-fp/fixunsdfti.c: Likewise.
5613 * soft-fp/fixunssfdi.c: Likewise.
5614 * soft-fp/fixunssfsi.c: Likewise.
5615 * soft-fp/fixunssfti.c: Likewise.
5616 * soft-fp/fixunstfdi.c: Likewise.
5617 * soft-fp/fixunstfsi.c: Likewise.
5618 * soft-fp/fixunstfti.c: Likewise.
5619 * soft-fp/floatdidf.c: Likewise.
5620 * soft-fp/floatdisf.c: Likewise.
5621 * soft-fp/floatditf.c: Likewise.
5622 * soft-fp/floatsidf.c: Likewise.
5623 * soft-fp/floatsisf.c: Likewise.
5624 * soft-fp/floatsitf.c: Likewise.
5625 * soft-fp/floattidf.c: Likewise.
5626 * soft-fp/floattisf.c: Likewise.
5627 * soft-fp/floattitf.c: Likewise.
5628 * soft-fp/floatundidf.c: Likewise.
5629 * soft-fp/floatundisf.c: Likewise.
5630 * soft-fp/floatunditf.c: Likewise.
5631 * soft-fp/floatunsidf.c: Likewise.
5632 * soft-fp/floatunsisf.c: Likewise.
5633 * soft-fp/floatunsitf.c: Likewise.
5634 * soft-fp/floatuntidf.c: Likewise.
5635 * soft-fp/floatuntisf.c: Likewise.
5636 * soft-fp/floatuntitf.c: Likewise.
5637 * soft-fp/fmadf4.c: Likewise.
5638 * soft-fp/fmasf4.c: Likewise.
5639 * soft-fp/fmatf4.c: Likewise.
5640 * soft-fp/gedf2.c: Likewise.
5641 * soft-fp/gesf2.c: Likewise.
5642 * soft-fp/getf2.c: Likewise.
5643 * soft-fp/ledf2.c: Likewise.
5644 * soft-fp/lesf2.c: Likewise.
5645 * soft-fp/letf2.c: Likewise.
5646 * soft-fp/muldf3.c: Likewise.
5647 * soft-fp/mulsf3.c: Likewise.
5648 * soft-fp/multf3.c: Likewise.
5649 * soft-fp/negdf2.c: Likewise.
5650 * soft-fp/negsf2.c: Likewise.
5651 * soft-fp/negtf2.c: Likewise.
5652 * soft-fp/op-1.h: Likewise.
5653 * soft-fp/op-2.h: Likewise.
5654 * soft-fp/op-4.h: Likewise.
5655 * soft-fp/op-8.h: Likewise.
5656 * soft-fp/op-common.h: Likewise.
5657 * soft-fp/quad.h: Likewise.
5658 * soft-fp/single.h: Likewise.
5659 * soft-fp/soft-fp.h: Likewise.
5660 * soft-fp/sqrtdf2.c: Likewise.
5661 * soft-fp/sqrtsf2.c: Likewise.
5662 * soft-fp/sqrttf2.c: Likewise.
5663 * soft-fp/subdf3.c: Likewise.
5664 * soft-fp/subsf3.c: Likewise.
5665 * soft-fp/subtf3.c: Likewise.
5666 * soft-fp/truncdfsf2.c: Likewise.
5667 * soft-fp/trunctfdf2.c: Likewise.
5668 * soft-fp/trunctfsf2.c: Likewise.
5669 * soft-fp/trunctfxf2.c: Likewise.
5670 * soft-fp/unorddf2.c: Likewise.
5671 * soft-fp/unordsf2.c: Likewise.
5672 * soft-fp/unordtf2.c: Likewise.
5673
5674 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5675
5676 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5677 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5678
5679 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5680
5681 * elf/dl-libc.c: Clear initfini list after freeing.
5682
5683 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5684
5685 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5686 * soft-fp/addsf3.c: Likewise.
5687 * soft-fp/addtf3.c: Likewise.
5688 * soft-fp/divdf3.c: Likewise.
5689 * soft-fp/divsf3.c: Likewise.
5690 * soft-fp/divtf3.c: Likewise.
5691 * soft-fp/double.h: Likewise.
5692 * soft-fp/eqdf2.c: Likewise.
5693 * soft-fp/eqsf2.c: Likewise.
5694 * soft-fp/eqtf2.c: Likewise.
5695 * soft-fp/extenddftf2.c: Likewise.
5696 * soft-fp/extended.h: Likewise.
5697 * soft-fp/extendsfdf2.c: Likewise.
5698 * soft-fp/extendsftf2.c: Likewise.
5699 * soft-fp/extendxftf2.c: Likewise.
5700 * soft-fp/fixdfdi.c: Likewise.
5701 * soft-fp/fixdfsi.c: Likewise.
5702 * soft-fp/fixdfti.c: Likewise.
5703 * soft-fp/fixsfdi.c: Likewise.
5704 * soft-fp/fixsfsi.c: Likewise.
5705 * soft-fp/fixsfti.c: Likewise.
5706 * soft-fp/fixtfdi.c: Likewise.
5707 * soft-fp/fixtfsi.c: Likewise.
5708 * soft-fp/fixtfti.c: Likewise.
5709 * soft-fp/fixunsdfdi.c: Likewise.
5710 * soft-fp/fixunsdfsi.c: Likewise.
5711 * soft-fp/fixunsdfti.c: Likewise.
5712 * soft-fp/fixunssfdi.c: Likewise.
5713 * soft-fp/fixunssfsi.c: Likewise.
5714 * soft-fp/fixunssfti.c: Likewise.
5715 * soft-fp/fixunstfdi.c: Likewise.
5716 * soft-fp/fixunstfsi.c: Likewise.
5717 * soft-fp/fixunstfti.c: Likewise.
5718 * soft-fp/floatdidf.c: Likewise.
5719 * soft-fp/floatdisf.c: Likewise.
5720 * soft-fp/floatditf.c: Likewise.
5721 * soft-fp/floatsidf.c: Likewise.
5722 * soft-fp/floatsisf.c: Likewise.
5723 * soft-fp/floatsitf.c: Likewise.
5724 * soft-fp/floattidf.c: Likewise.
5725 * soft-fp/floattisf.c: Likewise.
5726 * soft-fp/floattitf.c: Likewise.
5727 * soft-fp/floatundidf.c: Likewise.
5728 * soft-fp/floatundisf.c: Likewise.
5729 * soft-fp/floatunsidf.c: Likewise.
5730 * soft-fp/floatunsisf.c: Likewise.
5731 * soft-fp/floatuntidf.c: Likewise.
5732 * soft-fp/floatuntisf.c: Likewise.
5733 * soft-fp/floatuntitf.c: Likewise.
5734 * soft-fp/fmadf4.c: Likewise.
5735 * soft-fp/fmasf4.c: Likewise.
5736 * soft-fp/fmatf4.c: Likewise.
5737 * soft-fp/gedf2.c: Likewise.
5738 * soft-fp/gesf2.c: Likewise.
5739 * soft-fp/getf2.c: Likewise.
5740 * soft-fp/ledf2.c: Likewise.
5741 * soft-fp/lesf2.c: Likewise.
5742 * soft-fp/letf2.c: Likewise.
5743 * soft-fp/muldf3.c: Likewise.
5744 * soft-fp/mulsf3.c: Likewise.
5745 * soft-fp/multf3.c: Likewise.
5746 * soft-fp/negdf2.c: Likewise.
5747 * soft-fp/negsf2.c: Likewise.
5748 * soft-fp/negtf2.c: Likewise.
5749 * soft-fp/op-1.h: Likewise.
5750 * soft-fp/op-2.h: Likewise.
5751 * soft-fp/op-4.h: Likewise.
5752 * soft-fp/op-8.h: Likewise.
5753 * soft-fp/op-common.h: Likewise.
5754 * soft-fp/quad.h: Likewise.
5755 * soft-fp/single.h: Likewise.
5756 * soft-fp/soft-fp.h: Likewise.
5757 * soft-fp/sqrtdf2.c: Likewise.
5758 * soft-fp/sqrtsf2.c: Likewise.
5759 * soft-fp/sqrttf2.c: Likewise.
5760 * soft-fp/subdf3.c: Likewise.
5761 * soft-fp/subsf3.c: Likewise.
5762 * soft-fp/subtf3.c: Likewise.
5763 * soft-fp/truncdfsf2.c: Likewise.
5764 * soft-fp/trunctfdf2.c: Likewise.
5765 * soft-fp/trunctfsf2.c: Likewise.
5766 * soft-fp/trunctfxf2.c: Likewise.
5767 * soft-fp/unorddf2.c: Likewise.
5768 * soft-fp/unordsf2.c: Likewise.
5769 * soft-fp/unordtf2.c: Likewise.
5770
5771 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5772
5773 [BZ #15672]
5774 * misc/error.c (error_tail): Fix possible buffer overflow.
5775
5776 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5777
5778 [BZ #13028]
5779 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5780 address.
5781
5782 2013-10-14 P. J. McDermott <pj@pehjota.net>
5783
5784 [BZ #832]
5785 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5786 testing pipefail option.
5787
5788 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5789
5790 * soft-fp/double.h: Indent preprocessor directives inside #if.
5791 * soft-fp/extended.h: Likewise.
5792 * soft-fp/op-2.h: Likewise.
5793 * soft-fp/op-4.h: Likewise.
5794 * soft-fp/op-common.h: Likewise.
5795 * soft-fp/quad.h: Likewise.
5796 * soft-fp/single.h: Likewise.
5797 * soft-fp/soft-fp.h: Likewise.
5798
5799 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5800
5801 * iconv/iconv_prog.c: Fix typos.
5802 * stdio-common/psiginfo-data.h: Likewise.
5803
5804 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5805
5806 [BZ #15764]
5807 * locale/setlocale.c: Fix typo.
5808
5809 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5810
5811 [BZ #16036]
5812 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5813 signaling NaN arguments.
5814 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5815 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5816
5817 [BZ #14910]
5818 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5819 unordered operands.
5820 * soft-fp/gesf2.c (__gesf2): Likewise.
5821 * soft-fp/getf2.c (__getf2): Likewise.
5822 * soft-fp/ledf2.c (__ledf2): Likewise.
5823 * soft-fp/lesf2.c (__lesf2): Likewise.
5824 * soft-fp/letf2.c (__letf2): Likewise.
5825
5826 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5827 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5828 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5829 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5830 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5831 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5832 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5833 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5834 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5835 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5836 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5837 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5838 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5839 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5840 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5841 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5842 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5843 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5844 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5845 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5846 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5847 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5848 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5849 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5850 * soft-fp/floattidf.c (__floattidf): Likewise.
5851 * soft-fp/floattisf.c (__floattisf): Likewise.
5852 * soft-fp/floattitf.c (__floattitf): Likewise.
5853 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5854 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5855 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5856 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5857 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5858 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5859 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5860 * soft-fp/gesf2.c (__gesf2): Likewise.
5861 * soft-fp/getf2.c (__getf2): Likewise.
5862 * soft-fp/ledf2.c (__ledf2): Likewise.
5863 * soft-fp/lesf2.c (__lesf2): Likewise.
5864 * soft-fp/letf2.c (__letf2): Likewise.
5865
5866 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5867 Undefine and redefine.
5868 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5869 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5870 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5871 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5872 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5873 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5874 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5875 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5876 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5877 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5878 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5879 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5880 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5881 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5882 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5883
5884 [BZ #16032]
5885 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5886 without decrementing exponent if mantissa >= that for the
5887 denominator, not >.
5888 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5889 denominator, not >. Decrement exponent in < case instead of
5890 incrementing in >= case.
5891 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5892 without decrementing exponent if mantissa >= that for the
5893 denominator, not >.
5894
5895 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5896 computing saturated result for unsigned overflow.
5897
5898 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5899 Jeff Law <law@redhat.com>
5900
5901 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5902 (atan2Mp): Add systemtap probe marker.
5903 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5904 (__ieee754_log): Add systemtap probe marker.
5905 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5906 (atanMp): Add systemtap probe marker.
5907 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5908 (tanMp): Add systemtap probe marker.
5909 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5910 (__slowexp): Add systemtap probe marker.
5911 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5912 (__slowpow): Add systemtap probe marker.
5913 * manual/probes.texi: Document probes.
5914
5915 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5916
5917 [BZ #15362]
5918 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5919 written.
5920 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5921 written.
5922 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5923 written to buffer but not flushed.
5924 * libio/iofwrite_u.c: Likewise.
5925 * libio/iopadn.c: Return bytes returned even if EOF was
5926 encountered.
5927 * libio/iowpadn.c: Likewise.
5928 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5929 if _IO_padn does not write the whole buffer.
5930 [!COMPILE_WPRINTF] (PAD): Likewise.
5931
5932 2013-10-10 David S. Miller <davem@davemloft.net>
5933
5934 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5935 directory block.
5936
5937 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5938
5939 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5940 instead of FSF address.
5941 * soft-fp/fixdfti.c: Likewise.
5942 * soft-fp/fixsfti.c: Likewise.
5943 * soft-fp/fixtfti.c: Likewise.
5944 * soft-fp/fixunsdfti.c: Likewise.
5945 * soft-fp/fixunssfti.c: Likewise.
5946 * soft-fp/fixunstfti.c: Likewise.
5947 * soft-fp/floattidf.c: Likewise.
5948 * soft-fp/floattisf.c: Likewise.
5949 * soft-fp/floattitf.c: Likewise.
5950 * soft-fp/floatuntidf.c: Likewise.
5951 * soft-fp/floatuntisf.c: Likewise.
5952 * soft-fp/floatuntitf.c: Likewise.
5953 * soft-fp/trunctfxf2.c: Likewise.
5954
5955 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5956 * soft-fp/fixdfti.c: Likewise.
5957 * soft-fp/fixsfti.c: Likewise.
5958 * soft-fp/fixtfti.c: Likewise.
5959 * soft-fp/fixunsdfti.c: Likewise.
5960 * soft-fp/fixunssfti.c: Likewise.
5961 * soft-fp/fixunstfti.c: Likewise.
5962 * soft-fp/floattidf.c: Likewise.
5963 * soft-fp/floattisf.c: Likewise.
5964 * soft-fp/floattitf.c: Likewise.
5965 * soft-fp/floatuntidf.c: Likewise.
5966 * soft-fp/floatuntisf.c: Likewise.
5967 * soft-fp/floatuntitf.c: Likewise.
5968 * soft-fp/trunctfxf2.c: Likewise.
5969
5970 2013-10-10 David S. Miller <davem@davemloft.net>
5971
5972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5973
5974 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5975
5976 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5977 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5978 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5979 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5980 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5981 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5982 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5983
5984 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5985 for NaNs before doing comparisons on argument.
5986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5987 Likewise.
5988
5989 2013-10-10 Will Newton <will.newton@linaro.org>
5990
5991 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5992 passed to _int_memalign does not overflow.
5993
5994 2013-10-10 Torvald Riegel <triegel@redhat.com>
5995
5996 * scripts/bench.pl: Add include-sources directive.
5997 * benchtests/README: Update documentation.
5998
5999 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6000
6001 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6002 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6003 instead of FP_INIT_ROUNDMODE.
6004 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6005 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6006
6007 [BZ #16034]
6008 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6009 copy class of input value.
6010 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6011 not handle exceptions.
6012 * soft-fp/negsf2.c (__negsf2): Likewise.
6013 * soft-fp/negtf2.c (__negtf2): Likewise.
6014 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6015
6016 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6017
6018 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6019 semicolon. From Linux kernel.
6020
6021 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6022
6023 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6024
6025 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6026
6027 [BZ #156]
6028 * manual/socket.texi: Added statement about buffer
6029 for gethostbyname2_r.
6030
6031 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6032
6033 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6034 Use .p2align directive instead, throughout.
6035 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6036 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6037 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6040 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6041 * sysdeps/x86_64/strchr.S: Likewise.
6042 * sysdeps/x86_64/strrchr.S: Likewise.
6043
6044 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6045
6046 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6047
6048 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6049
6050 * sysdeps/generic/math_private.h (__mpsin1): Remove
6051 declaration.
6052 (__mpcos1): Likewise.
6053 (__mpsin): New argument __range_reduce.
6054 (__mpcos): Likewise.
6055 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6056 (slow): Use __mpsin and __mpcos.
6057 (slow1): Likewise.
6058 (slow2): Likewise.
6059 (sloww): Likewise.
6060 (sloww1): Likewise.
6061 (sloww2): Likewise.
6062 (bsloww): Likewise.
6063 (bsloww1): Likewise.
6064 (bsloww2): Likewise.
6065 (cslow2): Likewise.
6066 (csloww): Likewise.
6067 (csloww1): Likewise.
6068 (csloww2): Likewise.
6069 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6070 range_reduce. Merge in __mpsin1.
6071 (__mpcos): Likewise.
6072 (__mpsin1): Remove.
6073 (__mpcos1): Likewise.
6074
6075 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6076
6077 * locale/loadlocale.c (_nl_intern_locale_data): Use
6078 LOCFILE_ALIGNED_P.
6079 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6080 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6081 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6082 obstack data is appropriately aligned.
6083 (obstack_int32_grow_fast): Likewise.
6084 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6085 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6086 (add_locale_uint32_array): Likewise.
6087
6088 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6089
6090 * benchtests/Makefile: Remove ARGLIST and RET variables.
6091 ($(objpfx)bench-%.c): Pass only function name to the script.
6092 * benchtests/README: Update documentation.
6093 * benchtests/acos-inputs: Add new directives.
6094 * benchtests/acosh-inputs: Likewise.
6095 * benchtests/asin-inputs: Likewise.
6096 * benchtests/asinh-inputs: Likewise.
6097 * benchtests/atan-inputs: Likewise.
6098 * benchtests/atanh-inputs: Likewise.
6099 * benchtests/cos-inputs: Likewise.
6100 * benchtests/cosh-inputs: Likewise.
6101 * benchtests/exp-inputs: Likewise.
6102 * benchtests/log-inputs: Likewise.
6103 * benchtests/pow-inputs: Likewise.
6104 * benchtests/rint-inputs: Likewise.
6105 * benchtests/sin-inputs: Likewise.
6106 * benchtests/sinh-inputs: Likewise.
6107 * benchtests/tan-inputs: Likewise.
6108 * benchtests/tanh-inputs: Likewise.
6109 * scripts/bench.pl: Add support for new directives.
6110
6111 2013-10-07 Alan Modra <amodra@gmail.com>
6112
6113 * README: Fix careless merge.
6114
6115 2013-10-05 Alan Modra <amodra@gmail.com>
6116
6117 * NEWS: Mention powerpc64le support and bugs fixed.
6118 * README: Both big-endian and little-endian powerpc64 supported.
6119
6120 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6121
6122 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6123 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6124 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6125 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6126
6127 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6128
6129 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6130 match prototype.
6131
6132 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6133
6134 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6135 Move -mhard-float appending from
6136 ports/sysdeps/powerpc/powerpc32/Makefile.
6137 [$(with-fp) = yes] (ASFLAGS): Likewise.
6138 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6139 * sysdeps/powerpc/nofpu: Move directory from
6140 ports/sysdeps/powerpc/nofpu.
6141 * sysdeps/powerpc/soft-fp: Move directory from
6142 ports/sysdeps/powerpc/soft-fp.
6143 * sysdeps/powerpc/powerpc32/405: Move directory from
6144 ports/sysdeps/powerpc/powerpc32/405.
6145 * sysdeps/powerpc/powerpc32/440: Move directory from
6146 ports/sysdeps/powerpc/powerpc32/440.
6147 * sysdeps/powerpc/powerpc32/464: Move directory from
6148 ports/sysdeps/powerpc/powerpc32/464.
6149 * sysdeps/powerpc/powerpc32/476: Move directory from
6150 ports/sysdeps/powerpc/powerpc32/476.
6151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6152 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6154 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6156 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6158 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6160 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6161 * README: Update for powerpc-*-linux-gnu software floating point
6162 support in libc.
6163
6164 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6165 case to powerpc/powerpc32*.
6166 * sysdeps/unix/sysv/linux/configure: Regenerated.
6167
6168 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6169 (_FPU_MASK_OM): Define as 0x04.
6170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6172 0x00c10080.
6173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6174 0x0000003c.
6175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6176
6177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6178 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6179 getcontext_e500.
6180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6181 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6182 setcontext_e500.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6184 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6185 and setcontext_e500.
6186
6187 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6188
6189 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6190
6191 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6192
6193 * manual/threads.texi (Default Thread Attributes): Fix typo.
6194
6195 2013-10-04 Will Newton <will.newton@linaro.org>
6196
6197 * malloc/Makefile: Add tst-memalign.
6198 * malloc/tst-memalign.c: New file.
6199
6200 * malloc/tst-posix_memalign.c: Add comments.
6201 (do_test): Add comments and call free on all potentially
6202 allocated pointers. Add space after cast.
6203
6204 * malloc/tst-pvalloc.c: Add comments.
6205 (do_test): Add comments and call free on all potentially
6206 allocated pointers. Remove duplicate check for NULL pointer.
6207 Add space after cast.
6208
6209 * malloc/tst-valloc.c: Add comments.
6210 (do_test): Add comments and call free on all potentially
6211 allocated pointers. Remove duplicate check for NULL pointer.
6212 Add space after cast.
6213
6214 2013-10-04 Alan Modra <amodra@gmail.com>
6215
6216 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6217 Use stdint types in rather than __attribute__((mode())).
6218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6219
6220 2013-10-04 Alan Modra <amodra@gmail.com>
6221
6222 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6223 Correct handling of unaligned relocs for little-endian.
6224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6225
6226 2013-10-04 Alan Modra <amodra@gmail.com>
6227
6228 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6229 * configure: Regenerate.
6230 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6231 * shlib-versions: Likewise.
6232
6233 2013-10-04 Alan Modra <amodra@gmail.com>
6234
6235 * string/tester.c (test_memrchr): Increment reported test cycle.
6236
6237 2013-10-04 Alan Modra <amodra@gmail.com>
6238
6239 * string/test-memcpy.c (do_one_test): When reporting errors, print
6240 string address and don't overrun end of string.
6241
6242 2013-10-04 Alan Modra <amodra@gmail.com>
6243
6244 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6245 insrdi. Make better use of reg selection to speed exit slightly.
6246 Schedule entry path a little better. Remove useless "are we done"
6247 checks on entry to main loop. Handle wrapping around zero address.
6248 Correct main loop count. Handle single left-over word from main
6249 loop inline rather than by using loop_small. Remove extra word
6250 case in loop_small caused by wrong loop count. Add little-endian
6251 support.
6252 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6253 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6254 cache hint.
6255 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6256 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6257 support. Avoid rlwimi.
6258 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6259
6260 2013-10-04 Alan Modra <amodra@gmail.com>
6261
6262 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6263 insrdi. Formatting.
6264 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6265 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6266 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6267 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6268 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6269 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6270
6271 2013-10-04 Alan Modra <amodra@gmail.com>
6272
6273 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6274 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6275 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6276 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6277 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6278 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6279 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6280 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6281 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6282 use of regs. Use power7 mtocrf. Tidy function tails.
6283
6284 2013-10-04 Alan Modra <amodra@gmail.com>
6285
6286 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6287 Formatting. Consistently use rXXX register defines or rN defines.
6288 Use early exit labels that avoid restoring unused non-volatile regs.
6289 Make cr field use more consistent with rWORDn compares. Rename
6290 regs used as shift registers for unaligned loop, using rN defines
6291 for short lifetime/multiple use regs.
6292 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6293 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6294 addi 1,1,64 to pop stack frame. Simplify return value code.
6295 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6296
6297 2013-10-04 Alan Modra <amodra@gmail.com>
6298
6299 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6300 support. Correct typos, formatting. Optimize tail. Use insrdi
6301 rather than rlwimi.
6302 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6303 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6304 little-endian support. Correct typos.
6305 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6306 rather than rlwimi.
6307 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6308 in loop and entry code to keep "and." results.
6309 (strchr): Add little-endian support. Comment. Move cntlzd
6310 earlier in tail.
6311 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6312
6313 2013-10-04 Alan Modra <amodra@gmail.com>
6314
6315 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6316 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6317 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6318 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6319
6320 2013-10-04 Alan Modra <amodra@gmail.com>
6321
6322 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6323 (rTMP): Define as r11.
6324 (strcmp): Add little-endian support. Optimise tail.
6325 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6326 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6327 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6328 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6329 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6332
6333 2013-10-04 Alan Modra <amodra@gmail.com>
6334
6335 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6336 little-endian support. Remove unnecessary "are we done" tests.
6337 Handle "s" wrapping around zero and extremely large "size".
6338 Correct main loop count. Handle single left-over word from main
6339 loop inline rather than by using small_loop. Correct comments.
6340 Delete "zero" tail, use "end_max" instead.
6341 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6342
6343 2013-10-04 Alan Modra <amodra@gmail.com>
6344
6345 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6346 support. Don't branch over align.
6347 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6348 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6349 support. Rearrange tmp reg use to suit. Comment.
6350 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6351
6352 2013-10-04 Alan Modra <amodra@gmail.com>
6353
6354 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6355
6356 2013-10-04 Alan Modra <amodra@gmail.com>
6357
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6359 conditional form of branch and link when obtaining pc.
6360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6361
6362 2013-10-04 Alan Modra <amodra@gmail.com>
6363
6364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6365 HIWORD/LOWORD.
6366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6368
6369 2013-10-04 Alan Modra <amodra@gmail.com>
6370
6371 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6372 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6373 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6374 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6375 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6376 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6377 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6378 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6379 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6380 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6381
6382 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6383 Alistair Popple <alistair@ozlabs.au.ibm.com>
6384 Alan Modra <amodra@gmail.com>
6385
6386 [BZ #15723]
6387 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6388 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6389 _dl_hwcap access for little-endian.
6390 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6391 destroy vmx regs when saving unaligned.
6392 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6393 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6394 destroy vmx regs when saving unaligned.
6395
6396 2013-10-04 Alan Modra <amodra@gmail.com>
6397
6398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6399 Don't use a union to pack hi/low value.
6400
6401 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6402
6403 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6404 for little-endian.
6405 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6407 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6408 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6409 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6410
6411 2013-10-04 Alan Modra <amodra@gmail.com>
6412
6413 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6414 constants to usual value for .cst8 section, and remove redundant
6415 high address load.
6416 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6417 constant for 0x1p52. Load little-endian words of double from
6418 correct stack offsets.
6419
6420 2013-10-04 Alan Modra <amodra@gmail.com>
6421
6422 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6423 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6424 words of double from correct stack offsets.
6425 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6426 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6427 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6428 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6430 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6431 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6432 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6433 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6435 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6436 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6437 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6438 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6439 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6440 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6441 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6442
6443 2013-10-04 Alan Modra <amodra@gmail.com>
6444
6445 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6446 64-bit int/double union.
6447 (_FPU_SETCW): Likewise.
6448 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6449 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6450
6451 2013-10-04 Alan Modra <amodra@gmail.com>
6452
6453 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6454 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6455
6456 2013-10-04 Alan Modra <amodra@gmail.com>
6457
6458 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6459 use vector int constants.
6460 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6461
6462 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6463
6464 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6465 array with long long.
6466 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6467 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6468 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6469 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6470 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6471 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6472 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6473 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6474 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6475 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6476 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6477 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6478 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6479
6480 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6481
6482 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6483 (__signbit): Likewise. Correct for little-endian.
6484 (__signbitl): Call __signbit.
6485 (lrint): Correct for little-endian.
6486 (lrintf): Call lrint.
6487
6488 2013-10-04 Alan Modra <amodra@gmail.com>
6489
6490 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6491 union 32-bit int array member with 64-bit int array.
6492 (t515, tm256): Double rather than long double.
6493 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6494
6495 2013-10-04 Alan Modra <amodra@gmail.com>
6496
6497 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6498 Delete.
6499 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6500 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6501 version of math_ldbl.h.
6502
6503 2013-10-04 Alan Modra <amodra@gmail.com>
6504
6505 [BZ #15734], [BZ #15735]
6506 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6507 all uses of ieee875 long double macros and unions. Simplify test
6508 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6509 ldbl_extract_mantissa value for ix,iy exponents. Properly
6510 normalize after ldbl_extract_mantissa, and don't add hidden bit
6511 already handled. Don't treat low word of ieee854 mantissa like
6512 low word of IBM long double and mask off bit when testing for
6513 zero.
6514 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6515 all uses of ieee875 long double macros and unions. Simplify tests
6516 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6517 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6518 two1022, instead use their values. Recognise that tests for large
6519 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6520 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6521 Rewrite all uses of ieee875 long double macros and unions. Simplify
6522 test for 0.0L and nan. Correct negation.
6523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6524 ieee875 long double macros and unions. Correct output for large
6525 magnitude x. Correct absolute value calculation.
6526 (__erfcl): Likewise.
6527 * math/libm-test.inc: Add tests for errors discovered in IBM long
6528 double versions of fmodl, remainderl, erfl and erfcl.
6529
6530 2013-10-04 Alan Modra <amodra@gmail.com>
6531
6532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6533 all uses of ieee854 long double macros and unions. Simplify tests
6534 for long doubles that are fully specified by the high double.
6535 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6536 Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6538 Remove dead code too.
6539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6540 (__ieee754_ynl): Likewise.
6541 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6544 Remove dead code too.
6545 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6546 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6547 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6548 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6549 Simplify.
6550 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6551 Simplify.
6552 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6553 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6554 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6555 Comment on variable precision.
6556 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6557 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6558 Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6560 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6564
6565 2013-10-04 Alan Modra <amodra@gmail.com>
6566
6567 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6568 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6569 all uses of ieee854 long double macros and unions.
6570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6576 Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6579 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6580 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6581 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6582 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6583 Simplify sign and nan test too.
6584 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6585 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6586 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6587 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6588 Likewise.
6589 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6590 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6591 Likewise.
6592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6593 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6594 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6595 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6596 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6598
6599 2013-10-04 Alan Modra <amodra@gmail.com>
6600
6601 * stdio-common/printf_size.c (__printf_size): Don't use
6602 union ieee854_long_double in fpnum union.
6603 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6604 signbit macro to retrieve sign from long double.
6605 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6606 retrieve sign from long double.
6607 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6608 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6609 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6610 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6611 * math/test-misc.c (main): Don't use union ieee854_long_double.
6612
6613 2013-10-04 Alan Modra <amodra@gmail.com>
6614
6615 [BZ #15680]
6616 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6617 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6618 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6619 calculation. Remove unnecessary test for denormal exponent.
6620 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6621 Correct handling of denormals. Avoid undefined shift behaviour.
6622 Correct normalisation of low mantissa when low double is denormal.
6623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6624 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6625 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6626 Correct normalisation of low mantissa. Test for overflow of high
6627 mantissa and normalise.
6628 (ldbl_nearbyint): Use more readable constant for two52.
6629 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6630 (__mpn_construct_long_double): Fix test for overflow of high
6631 mantissa and correct normalisation. Avoid undefined shift.
6632
6633 2013-10-04 Alan Modra <amodra@gmail.com>
6634
6635 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6636 (union ibm_extended_long_double): Define as an array of ieee754_double.
6637 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6638 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6639 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6640 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6644 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6648
6649 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6650
6651 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6652 page size instead of calling getpagesize.
6653
6654 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6655 (LOCFILE_ALIGN_MASK): Likewise.
6656 (LOCFILE_ALIGN_UP): Likewise.
6657 (LOCFILE_ALIGNED_P): Likewise.
6658 * locale/programs/ld-collate.c (collate_output): Use the new
6659 macros instead of __alignof__ (int32_t).
6660 * locale/weight.h (findidx): Likewise.
6661
6662 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6663
6664 [BZ #431]
6665 * manual/string.texi: Fix strncat and wcsncat.
6666
6667 2013-10-03 Brooks Moses <bmoses@google.com>
6668
6669 [BZ #15915]
6670 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6671 * Makerules: ...here, and adjust associated comments.
6672
6673 2013-10-02 Will Newton <will.newton@linaro.org>
6674
6675 * malloc/Makefile: Add tst-pvalloc.
6676 * malloc/tst-pvalloc.c: New file.
6677
6678 2013-10-02 Will Newton <will.newton@linaro.org>
6679
6680 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6681 improve test coverage.
6682
6683 2013-10-02 Will Newton <will.newton@linaro.org>
6684
6685 * malloc/Makefile: Add tst-posix_memalign.
6686 * malloc/tst-posix_memalign.c: New file.
6687
6688 2013-10-01 Eric Blake <eblake@redhat.com>
6689
6690 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6691 Use __THROWNL rather than __THROW on static functions.
6692
6693 2013-09-30 Petr Machata <pmachata@redhat.com>
6694
6695 * elf/elf.h (R_AARCH64_ABS16): New macro.
6696 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6697 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6698 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6699 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6700 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6701 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6702 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6703 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6704 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6705 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6706 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6707 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6708 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6709 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6710 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6711 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6712 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6713 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6714 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6715 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6716 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6717 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6718 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6719 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6720 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6721 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6722 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6723 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6724 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6725 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6726 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6727 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6728 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6729 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6730 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6731 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6732 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6733 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6734 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6735 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6736 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6737 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6738 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6739 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6740 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6741 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6742 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6743 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6744 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6745 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6746 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6747 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6748 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6749 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6750 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6751 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6752 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6753 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6754 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6755 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6756 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6757 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6758 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6759 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6760 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6761 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6762 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6763 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6764 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6765 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6766 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6767 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6768 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6769 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6770 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6771 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6772 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6773 (R_AARCH64_TLSDESC_LDR): Likewise.
6774 (R_AARCH64_TLSDESC_ADD): Likewise.
6775 (R_AARCH64_TLSDESC_CALL): Likewise.
6776
6777 2013-09-30 Andreas Schwab <schwab@suse.de>
6778
6779 [BZ #15048]
6780 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6781 the nss database lookup.
6782 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6784
6785 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6786
6787 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6788
6789 2013-09-28 P. J. McDermott <pj@pehjota.net>
6790
6791 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6792 ${Bash-specific parameter/pattern/string} parameter expansion.
6793 * sysdeps/unix/make-syscalls.sh: Likewise.
6794
6795 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6796
6797 * sysdeps/sh/stackguard-macros.h: New file.
6798
6799 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6800
6801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6803 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6804 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6805 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6806 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6807
6808 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6809
6810 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6811 Fix thread ID register.
6812
6813 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6814
6815 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6816 [POSIX || UNIX98]: Require rather than permitting all symbols from
6817 <time.h>.
6818 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6819 element of struct sched_param.
6820 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6821 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6822 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6823 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6824 constant.
6825
6826 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6827
6828 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6829 argument calculation.
6830
6831 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6832
6833 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6834 Expect macro.
6835 [POSIX] (pthread_attr_t): Do not require type.
6836 [POSIX] (pthread_cond_t): Likewise.
6837 [POSIX] (pthread_condattr_t): Likewise.
6838 [POSIX] (pthread_key_t): Likewise.
6839 [POSIX] (pthread_mutex_t): Likewise.
6840 [POSIX] (pthread_mutexattr_t): Likewise.
6841 [POSIX] (pthread_once_t): Likewise.
6842 [POSIX] (pthread_t): Likewise.
6843 [POSIX-based standards] (pthread_atfork): Expect function.
6844
6845 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6846 Richard Sandiford <richard@codesourcery.com>
6847
6848 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6849 (swap_endianness_p): New extern variable.
6850 (set_big_endian): New inline function.
6851 (maybe_swap_uint32): Likewise.
6852 (maybe_swap_uint32_array): Likewise.
6853 (maybe_swap_uint32_obstack): Likewise.
6854 * locale/programs/locfile.c: Include <stdbool.h>.
6855 (swap_endianness_p): New variable.
6856 (add_locale_uint32): Call maybe_swap_uint32.
6857 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6858 (write_locale_data): Call maybe_swap_uint32_array.
6859 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6860 maybe_swap_uint32.
6861 (obstack_int32_grow_fast): Likewise.
6862 (output_weightwc): Call maybe_swap_uint32_obstack.
6863 (collate_output): Likewise.
6864 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6865 (OPT_LITTLE_ENDIAN): Likewise.
6866 (options): Add --little-endian and --big-endian options.
6867 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6868 * locale/programs/locarchive.c: Include "locfile.h".
6869 (GET): New macro.
6870 (SET): Likewise.
6871 (INC): Likewise.
6872 (create_archive): Use the new macros to access fields of
6873 structures directly mapped from or written to locale archives.
6874 (oldlocrecentcmp): Likewise.
6875 (enlarge_archive): Likewise.
6876 (insert_name): Likewise.
6877 (add_alias): Likewise.
6878 (add_locale): Likewise.
6879 (delete_locales_from_archive): Likewise.
6880 (show_archive_content): Likewise.
6881 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6882 locale data.
6883
6884 2013-09-24 Roland McGrath <roland@hack.frob.com>
6885
6886 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6887 http://www.gnu.org/doc/freemanuals.texi.
6888 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6889
6890 2013-09-24 Will Newton <will.newton@linaro.org>
6891
6892 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6893 macro.
6894
6895 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6896
6897 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6898 unsigned char.
6899
6900 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6901
6902 * manual/threads.texi (POSIX Threads): Fix a typo.
6903
6904 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6905
6906 [BZ #14547]
6907 * string/tst-strcoll-overflow.c: New test case.
6908 * string/Makefile (xtests): Add tst-strcoll-overflow.
6909 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6910 cache if string sizes may cause integer overflow.
6911
6912 [BZ #14547]
6913 * string/strcoll_l.c (coll_seq): New members rule, idx,
6914 save_idx and back_us.
6915 (get_next_seq_nocache): New function.
6916 (do_compare_nocache): New function.
6917 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6918 when malloc fails.
6919
6920 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6921
6922 [BZ #15754]
6923 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6924 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6925 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6926
6927 [BZ #15754]
6928 * elf/Makefile (tests): Add tst-ptrguard1.
6929 (tests-static): Add tst-ptrguard1-static.
6930 (tst-ptrguard1-ARGS): Define.
6931 (tst-ptrguard1-static-ARGS): Define.
6932 * elf/tst-ptrguard1.c: New file.
6933 * elf/tst-ptrguard1-static.c: New file.
6934 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6935 * sysdeps/i386/stackguard-macros.h: Likewise.
6936 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6937 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6938 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6939 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6940 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6941 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6942
6943 2013-09-23 Hector Marco <hecmargi@upv.es>
6944 Ismael Ripoll <iripoll@disca.upv.es>
6945 Carlos O'Donell <carlos@redhat.com>
6946
6947 [BZ #15754]
6948 * sysdeps/generic/stackguard-macros.h: Define
6949 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6950 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6951 Define __pointer_chk_guard_local.
6952 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6953 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6954
6955 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6956
6957 [BZ #15859]
6958 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6959
6960 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6961
6962 * include/string.h (__ffs): Declare as hidden.
6963 * string/ffs.c (__ffs): Define as hidden.
6964 * sysdeps/i386/ffs.c (__ffs): Likewise.
6965 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6966 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6967 * sysdeps/s390/ffs.c (__ffs): Likewise.
6968 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6969
6970 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6971
6972 * NEWS: Mention malloc probes.
6973
6974 * malloc/arena.c (new_heap): New memory_heap_new probe.
6975 (grow_heap): New memory_heap_more probe.
6976 (shrink_heap): New memory_heap_less probe.
6977 (heap_trim): New memory_heap_free probe.
6978 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6979 (systrim): New memory_sbrk_less probe.
6980 * manual/probes.texi: Document them.
6981
6982 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6983 * manual/probes.texi: Document it.
6984
6985 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6986 (__libc_realloc): Add memory_realloc_retry probe.
6987 (__libc_memalign): Add memory_memalign_retry probe.
6988 (__libc_valloc): Add memory_valloc_retry probe.
6989 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6990 (__libc_calloc): Add memory_calloc_retry probe.
6991 * manual/probes.texi: Document them.
6992
6993 * malloc/arena.c (get_free_list): Add probe
6994 memory_arena_reuse_free_list.
6995 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6996 and memory_arena_reuse.
6997 (arena_get2) [!PER_THREAD]: Likewise.
6998 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6999 memory_arena_reuse_realloc.
7000 * manual/probes.texi: Document them.
7001
7002 * malloc/malloc.c (__libc_free): Add
7003 memory_mallopt_free_dyn_thresholds probe.
7004 (__libc_mallopt): Add multiple memory_mallopt probes.
7005 * manual/probes.texi: Document them.
7006
7007 * malloc/malloc.c: Include stap-probe.h.
7008 (__libc_mallopt): Add memory_mallopt probe.
7009 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7010 * manual/probes.texi: New.
7011 * manual/Makefile (chapters): Add probes.
7012 * manual/threads.texi: Set next node.
7013
7014 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7015
7016 [BZ #15963, #13985]
7017 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7018 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7019 Add `Chinese' to `nan' entry name.
7020
7021 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7022
7023 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7024 (POLYNOMIAL): Likewise.
7025 (TAYLOR_SINCOS): Likewise.
7026 (TAYLOR_SLOW): Likewise.
7027 (__sin): Use TAYLOR_SINCOS.
7028 (__cos): Likewise.
7029 (slow): Use TAYLOR_SLOW.
7030 (sloww): Likewise.
7031 (bsloww): Likewise.
7032 (csloww): Likewise.
7033
7034 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7035
7036 * stdlib/strtod_l.c: Fix buffer overrun.
7037
7038 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7039
7040 * benchtests/Makefile (bench): Add sincos.
7041 * benchtests/bench-sincos.c: New file.
7042
7043 * math/libm-test.inc (cos_test_data): New test inputs.
7044 (sin_test_data): Likewise.
7045
7046 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7047 macro.
7048 (__sin): Use it.
7049 (__cos): Likewise.
7050 (slow1): Likewise.
7051 (slow2): Likewise.
7052 (sloww1): Likewise.
7053 (sloww2): Likewise.
7054 (bsloww1): Likewise.
7055 (bsloww2): Likewise.
7056 (cslow2): Likewise.
7057 (csloww1): Likewise.
7058 (csloww2): Likewise.
7059
7060 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7061 function.
7062 (__sin): Use it.
7063 (__cos): Likewise.
7064
7065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7066 gotos.
7067 (__cos): Likewise.
7068
7069 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7070
7071 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7072 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7073 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7074 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7075 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7076 * elf/cache.c (print_entry): Handle the new cache flags.
7077
7078 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7079 Aldy Hernandez <aldyh@redhat.com>
7080
7081 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7082 Change condition to [_SOFT_FLOAT].
7083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7093 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7095 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7096 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7098 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7099 declaration.
7100
7101 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7102
7103 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7104 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7105 (__longjmp): Use LOAD_GP to load saved GPRs.
7106 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7107 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7108 (__sigsetjmp): Use SAVE_GP to save GPRs.
7109
7110 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7111 Do not append -msoft-float.
7112 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7113
7114 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7115
7116 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7117
7118 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7119
7120 [BZ #15966]
7121 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7122 (_FPU_GETCW): Use initial "__" on variable and field names but not
7123 on macro parameter name.
7124 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7125 parentheses around reference to macro parameter.
7126
7127 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7128
7129 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7130 prototype.
7131 (ctype_startup): Use uint32_t in cast and sizeof for
7132 ctype->charnames.
7133
7134 2013-09-11 Jia Liu <proljc@gmail.com>
7135
7136 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7137 __daddr_t_defined.
7138 [__FreeBSD__]: Likewise.
7139
7140 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7141
7142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7143 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7144 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7145 (strchr): Remove __strchr_sse42 ifunc selection.
7146 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7147 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7148
7149 2013-09-11 Will Newton <will.newton@linaro.org>
7150
7151 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7152 parameter to RES. Remove hardcoded 1000 value.
7153 * benchtests/bench-skeleton.c (main): Pass RES parameter
7154 to TIMING_INIT and multiply result by 1000.
7155
7156 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7157
7158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7159
7160 2013-09-11 Andreas Schwab <schwab@suse.de>
7161
7162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7163 if not defined.
7164 (O_TMPFILE) [__USE_GNU]: Define.
7165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7166 Define.
7167
7168 2013-09-11 Will Newton <will.newton@linaro.org>
7169
7170 [BZ #15857]
7171 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7172 does not overflow.
7173
7174 2013-09-11 Will Newton <will.newton@linaro.org>
7175
7176 [BZ #15856]
7177 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7178 does not overflow.
7179
7180 2013-09-11 Will Newton <will.newton@linaro.org>
7181
7182 [BZ #15855]
7183 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7184 does not overflow.
7185
7186 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7187
7188 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7189 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7190 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7191 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7193
7194 2013-09-10 Allan McRae <allan@archlinux.org>
7195
7196 [BZ #15748]
7197 * manual/arith.texi (Parsing of Floats): Clarify
7198 cross-reference.
7199
7200 [BZ #15849]
7201 * manual/install.texi (Running make install): Mention
7202 --enable-pt-chown.
7203 * INSTALL: Regenerated.
7204
7205 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7206
7207 * csu/init-first.c (_init): Remove the !SHARED condition around
7208 FPU control word initialization.
7209 * elf/dl-support.c (_dl_fpu_control): New variable.
7210 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7211 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7212 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7213 * math/test-fpucw-static.c: New file.
7214 * math/test-fpucw-ieee.c: New file.
7215 * math/test-fpucw-ieee-static.c: New file.
7216 * math/Makefile (tests): Add `test-fpucw-ieee' and
7217 `$(tests-static)'.
7218 (tests-static): New variable.
7219 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7220 dependency to...
7221 [($(build-shared),yes)]
7222 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7223 ... this.
7224 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7225 New dependency.
7226
7227 2013-09-09 Allan McRae <allan@archlinux.org>
7228
7229 [BZ #15939]
7230 * manual/string.texi (Collation Functions): Fix typo in
7231 strcoll example.
7232 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7233
7234 [BZ #15893]
7235 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7236
7237 [BZ #15892]
7238 * libio/memstream.c (open_memstream): Fix memory leak.
7239 * libio/wmemstream.c (open_wmemstream): Likewise.
7240
7241 [BZ #15895]
7242 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7243
7244 2013-09-09 Will Newton <will.newton@linaro.org>
7245
7246 * malloc/Makefile: Add tst-realloc to tests.
7247 * malloc/tst-realloc.c: New file.
7248
7249 2013-09-09 Allan McRae <allan@archlinux.org>
7250
7251 [BZ #15844]
7252 * COPYING: Update from GNU website to fix FSF address.
7253 * COPYING.LIB: Likewise.
7254
7255 2013-09-06 David S. Miller <davem@davemloft.net>
7256
7257 * po/zh_TW.po: Update Chinese (traditional) translation from
7258 translation project.
7259
7260 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7261 Joseph Myers <joseph@codesourcery.com>
7262
7263 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7264 "localeinfo.h".
7265 (obstack_chunk_alloc): New macro.
7266 (obstack_chunk_free): Likewise.
7267 (record_offset): New function.
7268 (init_locale_data): Likewise.
7269 (align_locale_data): Likewise.
7270 (add_locale_empty): Likewise.
7271 (add_locale_raw_data): Likewise.
7272 (add_locale_raw_obstack): Likewise.
7273 (add_locale_string): Likewise.
7274 (add_locale_wstring): Likewise.
7275 (add_locale_uint32): Likewise.
7276 (add_locale_uint32_array): Likewise.
7277 (add_locale_char): Likewise.
7278 (start_locale_structure): Likewise.
7279 (end_locale_structure): Likewise.
7280 (start_locale_prelude): Likewise.
7281 (end_locale_prelude): Likewise.
7282 (write_locale_data): Take locale_file structure rather than an
7283 iovec.
7284 * locale/programs/locfile.h: Include "obstack.h".
7285 (struct locale_file): Change to store locale file contents instead
7286 of header.
7287 (init_locale_data): New prototype.
7288 (align_locale_data): Likewise.
7289 (add_locale_empty): Likewise.
7290 (add_locale_raw_data): Likewise.
7291 (add_locale_raw_obstack): Likewise.
7292 (add_locale_string): Likewise.
7293 (add_locale_wstring): Likewise.
7294 (add_locale_uint32): Likewise.
7295 (add_locale_uint32_array): Likewise.
7296 (add_locale_char): Likewise.
7297 (start_locale_structure): Likewise.
7298 (end_locale_structure): Likewise.
7299 (start_locale_prelude): Likewise.
7300 (end_locale_prelude): Likewise.
7301 (write_locale_data): Update prototype.
7302 * locale/programs/3level.h (struct TABLE): Remove result field.
7303 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7304 Use new locale_file interface.
7305 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7306 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7307 * locale/programs/ld-address.c (address_output): Use new
7308 locale_file interface.
7309 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7310 NO_ADD_LOCALE.
7311 (collate_finish): Don't call collseq_table_finalize.
7312 (collate_output): Use new locale_file interface.
7313 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7314 in file.
7315 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7316 (TABLE): Move defines earlier in file.
7317 (ELEMENT): Likewise.
7318 (DEFAULT): Likewise.
7319 (wctrans_table_add): Move macro and inline function earlier in
7320 file.
7321 (struct wctype_table): Move type earlier in file.
7322 (add_locale_wctype_table): New static prototype.
7323 (struct locale_ctype_t): Use logical types instead of struct iovec
7324 pointers for members.
7325 (ctype_output): Use new locale_file interface.
7326 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7327 new locale_file interface.
7328 (allocate_arrays): Update for use of new locale_file interface.
7329 * locale/programs/ld-identification.c (identification_output): Use
7330 new locale_file interface.
7331 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7332 * locale/programs/ld-messages.c (messages_output): Likewise.
7333 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7334 * locale/programs/ld-name.c (name_output): Likewise.
7335 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7336 * locale/programs/ld-paper.c (paper_output): Likewise.
7337 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7338 * locale/programs/ld-time.c (time_output): Likewise.
7339
7340 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7341
7342 * benchtests/Makefile: Add memrchr benchmark.
7343 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7344 benchmark as memrchr.
7345 * benchtests/bench-memrchr-ifunc.c: New file.
7346 * benchtests/bench-memrchr.c: New file.
7347
7348 2013-09-06 Will Newton <will.newton@linaro.org>
7349
7350 * benchtests/Makefile (string-bench): Add memcpy.
7351
7352 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7353 Cong Wang <amwang@redhat.com>
7354
7355 [BZ #15850]
7356 * sysdeps/unix/sysv/linux/bits/in.h
7357 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7358 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7359 before __USE_KERNEL_IPV6_DEFS uses.
7360 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7361 IPPROTO_BEETPH.
7362 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7363 sockaddr_in6, or ipv6_mreq.
7364
7365 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7366
7367 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7368 memory access for final bytes in some large inputs.
7369 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7370
7371 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7372
7373 * string/test-memrchr.c: New file.
7374 * string/test-memrchr-ifunc.c: New file.
7375 * string/Makefile: Add new memrchr testcase.
7376
7377 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7378
7379 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7380 fanotify_init returns EPERM.
7381
7382 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7383
7384 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7385 errors.
7386 (top level): Treat second token from macro or constant entries for
7387 allowed headers as allowed.
7388 * include/complex.h: Condition internal declarations on
7389 [!_ISOMAC].
7390 * include/fenv.h: Condition include of <stdbool.h> and internal
7391 declarations on [!_ISOMAC].
7392
7393 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7394
7395 [BZ #15923]
7396 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7397
7398 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7399
7400 * configure.in (--enable-versioning): Remove configure option.
7401 (libc_cv_asm_symver_directive): Remove configure test.
7402 (libc_cv_ld_version_script_option): Likewise.
7403 (VERSIONING): Remove variable and AC_SUBST.
7404 (DO_VERSIONING): Remove AC_DEFINE.
7405 * configure: Regenerated.
7406 * config.h.in (DO_VERSIONING): Remove macro.
7407 * Makerules [$(versioning) = yes]: Change conditionals to
7408 [$(build-shared) = yes].
7409 * config.make.in (versioning): Remove variable.
7410 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7411 [$(build-shared) = yes].
7412 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7413 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7414 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7415 [$(build-shared) = yes].
7416 * extra-lib.mk [$(versioning) = yes]: Likewise.
7417 * hurd/Makefile [$(versioning) = yes]: Likewise.
7418 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7419 [SHARED].
7420 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7421 [SHARED].
7422 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7423 [SHARED && !NO_HIDDEN].
7424 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7425 [SHARED].
7426 [SHARED && DO_VERSIONING]: Likewise..
7427 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7428 [$(build-shared) = yes].
7429 * manual/install.texi (--disable-versioning): Remove
7430 documentation.
7431 * INSTALL: Regenerated.
7432 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7433 to [SHARED].
7434 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7435 [$(build-shared) = yes].
7436 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7437 * sysdeps/i386/i686/multiarch/strstr-c.c
7438 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7439 [SHARED && !NO_HIDDEN].
7440 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7441 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7442 * sysdeps/powerpc/powerpc32/dl-machine.c
7443 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7444 * sysdeps/powerpc/powerpc32/sysdep.h
7445 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7446 to [SHARED && PIC && !NO_HIDDEN].
7447 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7448 conditional to [SHARED].
7449
7450 2013-09-04 Will Newton <will.newton@linaro.org>
7451
7452 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7453 * benchtests/bench-string.h: Include bench-timing.h instead
7454 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7455 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7456 call to HP_TIMING_DIFF_INIT.
7457 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7458 instead of hp-timing.h macros.
7459 * benchtests/bench-memchr.c: Likewise.
7460 * benchtests/bench-memcmp.c: Likewise.
7461 * benchtests/bench-memcpy.c: Likewise.
7462 * benchtests/bench-memmem.c: Likewise.
7463 * benchtests/bench-memmove.c: Likewise.
7464 * benchtests/bench-memset.c: Likewise.
7465 * benchtests/bench-rawmemchr.c: Likewise.
7466 * benchtests/bench-strcasecmp.c: Likewise.
7467 * benchtests/bench-strcasestr.c: Likewise.
7468 * benchtests/bench-strcat.c: Likewise.
7469 * benchtests/bench-strchr.c: Likewise.
7470 * benchtests/bench-strcmp.c: Likewise.
7471 * benchtests/bench-strcpy.c: Likewise.
7472 * benchtests/bench-strcpy_chk.c: Likewise.
7473 * benchtests/bench-strlen.c: Likewise.
7474 * benchtests/bench-strncasecmp.c: Likewise.
7475 * benchtests/bench-strncat.c: Likewise.
7476 * benchtests/bench-strncmp.c: Likewise.
7477 * benchtests/bench-strncpy.c: Likewise.
7478 * benchtests/bench-strnlen.c: Likewise.
7479 * benchtests/bench-strpbrk.c: Likewise.
7480 * benchtests/bench-strrchr.c: Likewise.
7481 * benchtests/bench-strspn.c: Likewise.
7482 * benchtests/bench-strstr.c: Likewise.
7483
7484 2013-09-04 Will Newton <will.newton@linaro.org>
7485
7486 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7487
7488 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7489
7490 [BZ #15427]
7491 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7492 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7493 * math/libm-test.inc (lgamma_test_data): Add more tests.
7494 * sysdeps/i386/fpu/libm-test-ulps: Update.
7495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7496
7497 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7498
7499 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7501 Add ifunc.
7502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7503 Add strcmp-sse2-unaligned
7504 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7505
7506 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7507
7508 * Versions.def (libc): Add GLIBC_2.19.
7509
7510 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7511
7512 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7513 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7514
7515 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7516
7517 [BZ #14155]
7518 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7519 intermediate calculations in recurrence.
7520 (__ieee754_ynf): Likewise.
7521 * math/libm-test.inc (jn_test_data): Do not allow spurious
7522 underflow exception. Add more tests.
7523 (yn_test_data): Add more tests.
7524 * sysdeps/i386/fpu/libm-test-ulps: Update.
7525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7526
7527 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7528
7529 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7530
7531 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7532
7533 * csu/init-first.c: Fix then/than typos.
7534 * locale/programs/ld-collate.c: Likewise.
7535 * locale/programs/linereader.h: Likewise.
7536 * manual/charset.texi: Likewise.
7537 * manual/filesys.texi: Likewise.
7538 * manual/stdio.texi: Likewise.
7539 * manual/string.texi: Likewise.
7540 * stdlib/fmtmsg.c: Likewise.
7541 * sysdeps/i386/stpncpy.S: Likewise.
7542 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7543 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7544 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7545 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7546
7547 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7548
7549 * elf/dl-open.c: Fix typos.
7550 * iconvdata/gbbig5.c: Likewise.
7551 * iconvdata/iso-2022-jp.c: Likewise.
7552 * iconv/gconv_int.h: Likewise.
7553 * iconv/loop.c: Likewise.
7554 * nis/rpcsvc/nis.h: Likewise.
7555 * resolv/ns_name.c: Likewise.
7556 * stdio-common/vfscanf.c: Likewise.
7557 * streams/stropts.h: Likewise.
7558 * sunrpc/rpc_thread.c: Likewise.
7559 * sysdeps/i386/strpbrk.S: Likewise.
7560 * sysdeps/ieee754/k_standard.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7563 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7564 * sysdeps/mach/hurd/profil.c: Likewise.
7565 * sysdeps/s390/dl-procinfo.h: Likewise.
7566 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7567 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7568 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7569 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7570 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7571
7572 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7573
7574 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7575 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7576
7577 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7578
7579 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7580 aix specific files.
7581 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7582 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7583 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7584 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7585 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7586 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7587 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7588 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7589
7590 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7591 Roland McGrath <roland@hack.frob.com>
7592
7593 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7594 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7595
7596 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7597
7598 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7599 __executable_start symbol instead of _start.
7600
7601 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7602
7603 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7604 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7605 Move macros to...
7606 * sysdeps/gnu/ldsodefs.h: ... this new file.
7607
7608 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7609 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7610 instead of ELFOSABI_LINUX.
7611
7612 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7613 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7614 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7615 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7616 Likewise.
7617 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7618 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7619 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7620 Likewise.
7621 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7622 (ibm_extended_long_double): Add ieee_nan member.
7623 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7624 (do_test): New function.
7625
7626 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7627 TEST_TRUNC.
7628 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7629 functions, renamed from truncdfsf_test, trunctfsf_test,
7630 trunctfdf_test.
7631 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7632 functions.
7633 (do_test): Run all these.
7634
7635 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7636
7637 * argp/argp-help.c: Fix typos.
7638 * argp/argp-parse.c: Likewise.
7639 * debug/backtracesyms.c: Likewise.
7640 * elf/elf.h: Likewise.
7641 * malloc/malloc.c: Likewise.
7642 * nis/nis_print.c: Likewise.
7643 * resolv/res_comp.c: Likewise.
7644 * stdlib/stdlib.h: Likewise.
7645 * sunrpc/clnt_tcp.c: Likewise.
7646 * sunrpc/clnt_udp.c: Likewise.
7647 * sunrpc/clnt_unix.c: Likewise.
7648 * sysdeps/unix/bsd/ptsname.c: Likewise.
7649 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7650 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7652 Likewise.
7653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7654 Likewise.
7655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7656 Likewise.
7657 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7658
7659 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7660
7661 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7663
7664 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7665
7666 [BZ #15897]
7667 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7668 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7669 ($(objpfx)bug-dl-leaf): New rule.
7670 ($(objpfx)bug-dl-leaf.so): Likewise.
7671 ($(objpfx)bug-dl-leaf.out): Likewise.
7672 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7673 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7674 * dlfcn/bug-dl-leaf.c: New test.
7675 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7676 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7677 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7678 (dlclose): Likewise.
7679 (dlmopen): Likewise.
7680
7681 2013-08-27 Roland McGrath <roland@hack.frob.com>
7682
7683 * include/netdb.h [!_ISOMAC]:
7684 Don't include <tls.h>.
7685 (h_errno, __libc_h_errno): Move declaration and macros out of
7686 [_LIBC_REENTRANT].
7687
7688 * include/resolv.h [_RESOLV_H_]:
7689 Don't include <tls.h>.
7690 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7691 * resolv/res_libc.c: Don't include <tls.h>.
7692 (_res): Use __attribute__ ((nocommon)) in place of
7693 __attribute__ ((section (".bss"))).
7694
7695 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7696 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7697
7698 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7699
7700 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7701 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7702
7703 * resolv/res_mkquery.c: Include <sys/time.h>.
7704
7705 * inet/ifreq.c: Moved to ...
7706 * sysdeps/unix/ifreq.c: ... here.
7707 * inet/ifreq.c: New file, true stub version.
7708
7709 * socket/sa_len.c: New file.
7710 * socket/Makefile (aux): Add it.
7711 * sysdeps/unix/sysv/linux/Makefile
7712 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7713 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7714 and #include <socket/sa_len.c>.
7715 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7716 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7717
7718 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7719 * bits/socket.h: ... here.
7720
7721 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7722 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7723 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7724
7725 2013-08-27 Andreas Schwab <schwab@suse.de>
7726
7727 [BZ #15736]
7728 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7729 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7730 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7731 * string/test-strcasecmp.c (test_main): Run tests in several
7732 locales.
7733 * string/test-strncasecmp.c (test_main): Likewise.
7734
7735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7736 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7737 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7739 (__strncasecmp_ssse3) [PIC]: Likewise.
7740
7741 2013-08-26 Roland McGrath <roland@hack.frob.com>
7742
7743 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7744
7745 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7746 instead of explicitly declaring xdecrypt.
7747 * nis/nss_nis/nis-publickey.c: Likewise.
7748
7749 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7750
7751 [BZ #15890]
7752 * nscd/aicache.c: Include res_hconf.h.
7753 (addhstaiX): Initialize res_hconf.
7754
7755 2013-08-26 Andreas Schwab <schwab@suse.de>
7756
7757 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7758 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7759
7760 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7761
7762 * nscd/aicache.c (addhstaiX): Fix indentation.
7763
7764 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7765
7766 * configure.ac: Quote $build_pt_chown test.
7767 * configure: Regenerated.
7768
7769 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7770
7771 [BZ #15532]
7772 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7773 * math/s_cexpf.c (__cexpf): Likewise.
7774 * math/s_cexpl.c (__cexpl): Likewise.
7775 * math/libm-test.inc (cexp_test_data): Correct expected return
7776 value for NaN + i0. Add another test.
7777
7778 2013-08-22 David S. Miller <davem@davemloft.net>
7779
7780 * po/ca.po: Update Catalan translation from translation project.
7781 * po/uk.po: Add Ukrainian translations from translation project.
7782
7783 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7784
7785 [BZ #15797]
7786 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7787 is infinite, not alongside NaN test.
7788 * math/s_fdimf.c (__fdimf): Likewise.
7789 * math/s_fdiml.c (__fdiml): Likewise.
7790 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7791 errno is unchanged.
7792
7793 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7794
7795 * argp/argp-help.c: Fix typos.
7796 * crypt/speeds.c: Likewise.
7797 * csu/check_fds.c: Likewise.
7798 * elf/dl-load.c: Likewise.
7799 * elf/dl-open.c: Likewise.
7800 * elf/reldep3.c: Likewise.
7801 * elf/reldep.c: Likewise.
7802 * elf/sprof.c: Likewise.
7803 * iconv/iconv_charmap.c: Likewise.
7804 * iconv/skeleton.c: Likewise.
7805 * iconv/strtab.c: Likewise.
7806 * io/lockf64.c: Likewise.
7807 * libio/libioP.h: Likewise.
7808 * resolv/gai_notify.c: Likewise.
7809 * resolv/ns_name.c: Likewise.
7810 * resolv/ns_samedomain.c: Likewise.
7811 * resolv/res_send.c: Likewise.
7812 * stdlib/random.c: Likewise.
7813 * sunrpc/rpc/xdr.h: Likewise.
7814 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7815 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7816 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7817 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7819 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7821 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7822 * sysdeps/mach/hurd/check_fds.c: Likewise.
7823 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7824 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7825 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7826 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7827 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7828 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7829 * sysdeps/pthread/aio_notify.c: Likewise.
7830 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7831 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7832 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7834 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7835
7836 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7837
7838 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7839 version if bit_Slow_SSE4_2 is set.
7840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7841 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7842
7843 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844
7845 [BZ #15867]
7846 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7847 trampoline stack frame information.
7848 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7850 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7851 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7852 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7853 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7854 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7855 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7856 sa_flags value.
7857 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7858 interrupting a syscall and set with option SA_SIGINFO.
7859
7860 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7861
7862 [BZ #15531]
7863 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7864 argument is infinite.
7865 * math/s_cprojf.c (__cprojf): Likewise.
7866 * math/s_cprojl.c (__cprojl): Likewise.
7867 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7868 * math/libm-test.inc (cproj_test_data): Add more tests.
7869
7870 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7871
7872 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7873 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7874 size. Use __ffs to determine corresponding shift.
7875
7876 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7877 Roland McGrath <roland@hack.frob.com>
7878
7879 * Makefile (INSTALL): Remove trailing blank lines from output of
7880 makeinfo.
7881
7882 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7883
7884 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7885 Align 32 bit compat elf_greg to 8 bytes.
7886
7887 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7888
7889 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7890
7891 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7892
7893 * string/strcoll_l.c (coll_seq): New structure.
7894 (get_next_seq_cached): New function.
7895 (get_next_seq): New function.
7896 (do_compare): New function.
7897 (STRCOLL): Use GNU style definition. Simplify implementation
7898 by using get_next_seq, get_next_seq_cached and do_compare.
7899
7900 2013-08-16 Florian Weimer <fweimer@redhat.com>
7901
7902 [BZ #14699]
7903 CVE-2013-4237
7904 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7905 member.
7906 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7907 member.
7908 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7909 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7910 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7911 conditional.
7912 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7913 GETDENTS_64BIT_ALIGNED.
7914 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7915 * manual/filesys.texi (Reading/Closing Directory): Document
7916 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7917 strongly.
7918 * manual/conf.texi (Limits for Files): Add portability note to
7919 NAME_MAX, PATH_MAX.
7920 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7921
7922 2013-08-13 Andreas Schwab <schwab@suse.de>
7923
7924 [BZ #15749]
7925 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7926 of fabs.
7927 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7928 LDBL_MAX_EXP >= 16384]: Add tests for it.
7929
7930 2013-08-12 David S. Miller <davem@davemloft.net>
7931
7932 * version.h (RELEASE): Set to "development".
7933 (VERSION): Set to "2.18.90".
7934 * NEWS: Add 2.19 section.
7935
7936 2013-08-03 David S. Miller <davem@davemloft.net>
7937
7938 * po/ko.po: Update Korean translation from translation project.
7939
7940 2013-08-01 David S. Miller <davem@davemloft.net>
7941
7942 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7943 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7944 Bilka.
7945
7946 2013-07-30 David S. Miller <davem@davemloft.net>
7947
7948 * po/fr.po: Update French translation from translation project.
7949
7950 2013-07-28 David S. Miller <davem@davemloft.net>
7951
7952 * po/cs.po: Update Czech translation from translation project.
7953
7954 * po/sv.po: Update Swedish translation from translation project.
7955
7956 2013-07-27 David S. Miller <davem@davemloft.net>
7957
7958 * po/eo.po: Update Esperanto translation from translation project.
7959
7960 * po/vi.po: Update Vietnamese translation from translation project.
7961
7962 * po/de.po: Update German translation from translation project.
7963
7964 2013-07-26 David S. Miller <davem@davemloft.net>
7965
7966 * po/bg.po: Update Bulgarian translation from translation project.
7967
7968 * po/nl.po: Update Dutch translation from translation project.
7969 * po/pl.po: Update Polish translation from translation project.
7970 * po/ru.po: Update Russian translation from translation project.
7971
7972 2013-07-24 David S. Miller <davem@davemloft.net>
7973
7974 * po/libc.pot: Update.
7975
7976 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7977
7978 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7979 variable page size.
7980 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7982 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7983
7984 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7985
7986 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7987
7988 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7989 Andreas Schwab <schwab@suse.de>
7990 Roland McGrath <roland@hack.frob.com>
7991 Joseph Myers <joseph@codesourcery.com>
7992 Carlos O'Donell <carlos@redhat.com>
7993
7994 [BZ #15755]
7995 * config.h.in: Define HAVE_PT_CHOWN.
7996 * config.make.in (build-pt-chown): New variable.
7997 * configure.in (--enable-pt_chown): New configure option.
7998 * configure: Regenerate.
7999 * login/Makefile: Include Makeconfig. Build pt_chown only if
8000 build-pt-chown is enabled.
8001 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8002 pt_chown to fix pty ownership.
8003 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8004 CLOSE_ALL_FDS.
8005 * manual/install.texi (Configuring and compiling): Mention
8006 --enable-pt_chown. Add @findex for grantpt.
8007 * INSTALL: Regenerate.
8008
8009 2013-07-20 David S. Miller <davem@davemloft.net>
8010
8011 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8012 difference between 32-bit and 64-bit.
8013
8014 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8015
8016 [BZ #15711]
8017 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8018 Avoid system header dependency with -ffreestanding.
8019 ($(objpfx)bits/syscall%d): Likewise.
8020
8021 2013-07-13 David S. Miller <davem@davemloft.net>
8022
8023 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8024 underflows from atanl/atan2l due to bug 15319.
8025 (casinh_test_data): Likewise.
8026
8027 2013-07-07 David S. Miller <davem@davemloft.net>
8028
8029 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8030
8031 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8032
8033 * sysdeps/i386/fpu/libm-test-ulps: Update.
8034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8035
8036 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8037
8038 * configure.in (--enable-lock-elision): Fix message text.
8039 * INSTALL: Regenerate.
8040 * configure: Regenerate.
8041
8042 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8043
8044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8045
8046 2013-07-03 Andreas Jaeger <aj@suse.de>
8047
8048 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8049 define.
8050 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8051 (ptrace_peeksiginfo_args): Add.
8052 (__ptrace_peeksiginfo_flags): Add.
8053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8055 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8056
8057 2013-07-03 Allan McRae <allan@archlinux.org>
8058
8059 * sysdeps/i386/fpu/libm-test-ulps: Update.
8060
8061 2013-07-02 David S. Miller <davem@davemloft.net>
8062
8063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8064
8065 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8066
8067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8068
8069 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8070
8071 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8073
8074 2013-07-02 Andi Kleen <ak@linux.intel.com>
8075
8076 * config.h.in (ENABLE_LOCK_ELISION): Add.
8077 * configure.in (--enable-lock-elision): Add option.
8078 * manual/install.texi: Document --enable lock elision.
8079 * configure: Regenerate
8080 * INSTALL: Regenerate.
8081
8082 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8085 SSE4.2 strcasecmp for libc.a.
8086 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8087
8088 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8089
8090 [BZ #13304]
8091 * soft-fp/op-common.h (_FP_FMA): New macro.
8092 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8093 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8094 (_FP_MUL_MEAT_1_imm): ... here.
8095 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8096 (_FP_MUL_MEAT_1_wide): ... here.
8097 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8098 (_FP_MUL_MEAT_1_hard): ... here.
8099 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8100 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8101 (_FP_MUL_MEAT_2_wide): ... here.
8102 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8103 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8104 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8105 (_FP_MUL_MEAT_2_gmp): ... here.
8106 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8107 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8108 (_FP_MUL_MEAT_4_wide): ... here.
8109 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8110 (_FP_MUL_MEAT_4_gmp): ... here.
8111 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8112 (_FP_WFRACBITS_DW_S): Likewise.
8113 (_FP_WFRACXBITS_DW_S): Likewise.
8114 (_FP_HIGHBIT_DW_S): Likewise.
8115 (FP_FMA_S): Likewise.
8116 (_FP_FRAC_HIGH_DW_S): Likewise.
8117 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8118 (_FP_WFRACBITS_DW_D): Likewise.
8119 (_FP_WFRACXBITS_DW_D): Likewise.
8120 (_FP_HIGHBIT_DW_D): Likewise.
8121 (FP_FMA_D): Likewise.
8122 (_FP_FRAC_HIGH_DW_D): Likewise.
8123 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8124 (_FP_WFRACBITS_DW_E): Likewise.
8125 (_FP_WFRACXBITS_DW_E): Likewise.
8126 (_FP_HIGHBIT_DW_E): Likewise.
8127 (FP_FMA_E): Likewise.
8128 (_FP_FRAC_HIGH_DW_E): Likewise.
8129 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8130 (_FP_WFRACBITS_DW_Q): Likewise.
8131 (_FP_WFRACXBITS_DW_Q): Likewise.
8132 (_FP_HIGHBIT_DW_Q): Likewise.
8133 (FP_FMA_Q): Likewise.
8134 (_FP_FRAC_HIGH_DW_Q): Likewise.
8135 * soft-fp/fmasf4.c: New file.
8136 * soft-fp/fmadf4.c: Likewise.
8137 * soft-fp/fmatf4.c: Likewise.
8138
8139 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8140
8141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8142 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8143 Silvermont.
8144 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8145 macro.
8146 (index_Slow_SSE4_2): Likewise.
8147 (index_Prefer_PMINUB_for_stringop): Likewise.
8148 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8149 bit_Slow_SSE4_2 is set.
8150 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8151 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8152
8153 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8154
8155 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8156 rtld_global._dl_hwcap2.
8157 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8158 POWER8.
8159 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8160 POWER8 feature descriptions defined in _dl_hwcap2.
8161 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8162 string handling for POWER8 feature bits.
8163 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8164 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8165 _dl_powerpc_cap_flags.
8166 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8167 * sysdeps/powerpc/rtld-global-offsets.sym
8168 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8169 _dl_hwcap2 in the rtld_global_ro structure.
8170
8171 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8172
8173 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8174 hardware capabilities in support of AT_HWCAP2.
8175 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8176 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8177 GLRO(dl_hwcap2).
8178 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8179 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8180 explicitly the unknown a_type display mechanism is used.
8181 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8182 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8183 struct member.
8184 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8185 to macro prototype for AT_HWCAP2 support.
8186 * sysdeps/i386/dl-procinfo.h: Likewise.
8187 * sysdeps/s390/dl-procinfo.h: Likewise.
8188 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8189 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8190 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8191 return -1 for unknown a_type display fallback.
8192 * sysdeps/sparc/dl-procinfo.h: Likewise.
8193 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8194 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8195
8196 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8197
8198 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8199 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8200
8201 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8202
8203 [BZ #12492]
8204 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8205 mprotect making __stack_prot writable.
8206
8207 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8208 Joseph Myers <joseph@codesourcery.com>
8209
8210 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8211 as being properly aligned.
8212
8213 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8214
8215 * dlfcn/modstatic5.c: New file.
8216 * dlfcn/tststatic5.c: New file.
8217 * dlfcn/Makefile (tests): Add tststatic5.
8218 (tests-static): Likewise.
8219 (modules-names): Add modstatic5.
8220 (tststatic5-ENV): New variable.
8221 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8222
8223 [BZ #15022]
8224 * elf/dl-support.c (_dl_main_map): New variable.
8225 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8226 (_dl_nns, _dl_load_adds): Set to 1.
8227 (_dl_initial_searchlist): Refer to _dl_main_map.
8228 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8229 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8230 call to _dl_get_origin.
8231 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8232 around call_map.
8233 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8234 * dlfcn/modstatic3.c: New file.
8235 * dlfcn/tststatic3.c: New file.
8236 * dlfcn/tststatic4.c: New file.
8237 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8238 (tests-static): Likewise.
8239 (modules-names): Add modstatic3.
8240 (tststatic3-ENV, tststatic4-ENV): New variables.
8241 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8242 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8243
8244 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8245
8246 * configure.in (CC): Require GCC version 4.4 or later.
8247 * configure: Regenerated.
8248 * manual/install.texi (Tools for Compilation): Update GCC version
8249 requirement.
8250 * INSTALL: Regenerated.
8251
8252 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8253
8254 [BZ #15674]
8255 * string/test-memcmp.c (check2): New.
8256 (main): Call check2.
8257
8258 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8259
8260 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8261
8262 [BZ #15022]
8263 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8264 over to...
8265 (dl_open_worker) [!SHARED]: ... here.
8266
8267 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8268
8269 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8270
8271 2013-06-25 Richard Henderson <rth@redhat.com>
8272
8273 * locale/programs/locarchive.c: Include <libc-internal.h>
8274
8275 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8276
8277 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8278 trailing whitespace removed.
8279
8280 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8281
8282 [BZ #10283]
8283 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8284 * locale/programs/locarchive.c: Include libc-mmap.h.
8285 (prepare_address_space): Take two new outputs (the mmap base and len).
8286 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8287 values.
8288 (create_archive): Declare new mmap base and len values for
8289 prepare_address_space, and store the result in ah.
8290 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8291 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8292 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8293 Declare new mmap base and len values for
8294 prepare_address_space, and store the result in new_ah.
8295 (open_archive): Declare new mmap base and len values for
8296 prepare_address_space, and store the result in ah.
8297 (close_archive): If ah->mmap_base is not NULL, use that and
8298 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8299 * sysdeps/generic/libc-mmap.h: New file.
8300
8301 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8302
8303 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8304 (ALIGN_UP): Likewise.
8305 (PTR_ALIGN_DOWN): Likewise.
8306 (PTR_ALIGN_UP): Likewise.
8307
8308 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8309
8310 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8311 entry mapped to PPC_PLATFORM_POWER8.
8312 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8313 POWER8.
8314 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8315 (_dl_string_platform): Add case for exporting platform position for
8316 POWER8.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8318 search path to sysdeps/powerpc/powerpc32/power8 directory.
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8320 search path to sysdeps/powerpc/powerpc64/power8 directory.
8321 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8322 power7 directories.
8323 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8324 power7 directories.
8325
8326 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8327
8328 * INSTALL: Regenerate.
8329
8330 * nscd/connections.c (nscd_init): Fix comment.
8331
8332 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8333
8334 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8335
8336 [BZ #15667]
8337 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8338 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8339
8340 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8341
8342 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8343 DL_DST_REQ_STATIC.
8344 (DL_DST_REQ_STATIC): Remove macro.
8345
8346 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8347
8348 [BZ #7006]
8349 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8350 with a shift of 0 bits.
8351
8352 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8353
8354 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8355 $(tststatic-ENV).
8356
8357 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8358
8359 [BZ #15655]
8360 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8361
8362 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8363
8364 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8365 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8366 accepts -fno-tree-loop-distribute-patterns.
8367 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8368 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8369 recursive call.
8370 * string/memset.c (memset): Likewise.
8371 * string/test-memmove.c (simple_memmove): Disable loop transformation
8372 to library calls.
8373 * string/test-memset.c (simple_memset): Likewise.
8374 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8375 * benchtests/bench-memset.c (simple_memset): Likewise.
8376 * configure: Regenerated.
8377
8378 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8379
8380 * math/test-misc.c (main): Ignore fesetround failure when failures
8381 of subsequent rounding tests would be ignored.
8382
8383 [BZ #15654]
8384 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8385 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8386 * math/fegetenv.c (__fegetenv): Return 0.
8387 * math/fegetexcept.c (fegetexcept): Return 0.
8388 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8389 FE_TONEAREST.
8390 * math/feholdexcpt.c (feholdexcept): Return 0.
8391 * math/fesetenv.c (__fesetenv): Return 0.
8392 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8393 argument FE_TONEAREST.
8394 * math/feupdateenv.c (__feupdateenv): Return 0.
8395 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8396
8397 2013-06-18 Roland McGrath <roland@hack.frob.com>
8398
8399 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8400 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8401 ($(objpfx)rtld-%.os rules): Use them.
8402
8403 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8404
8405 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8406 fields.
8407
8408 2013-06-17 Roland McGrath <roland@hack.frob.com>
8409
8410 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8411 length of target pattern, then descending length of dependency pattern.
8412 * configure.in (AWK): Require gawk 3.1.2 or newer.
8413 * manual/install.texi (Tools for Compilation): Say that we do.
8414 * configure: Regenerated.
8415
8416 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8417 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8418 * scripts/sysd-rules.awk: ... this new script.
8419 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8420 than a glob-style pattern.
8421
8422 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8423
8424 * math/test-misc.c (main): Do not treat incorrectly rounded
8425 conversions as failure unless ROUNDING_TESTS passes.
8426
8427 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8428
8429 [BZ #15631]
8430 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8431 restore exception state around main square root computation, then
8432 check for inexactness explicitly.
8433
8434 * math/libm-test.inc (fma_test_data): Add another test.
8435
8436 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8437
8438 * manual/threads.texi (Non-POSIX Extensions): New document
8439 node. Document pthread_getattr_default_np and
8440 pthread_setattr_default_np.
8441
8442 * Versions.def (libpthread): Add GLIBC_2.18.
8443 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8445 Likewise.
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8447 Likewise.
8448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8449 Likewise.
8450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8451 Likewise.
8452 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8453 Likewise.
8454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8455 Likewise.
8456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8457 Likewise.
8458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8459 Likewise.
8460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8461 Likewise.
8462
8463 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8464
8465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8466 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8467
8468 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8469 H.J. Lu <hjl.tools@gmail.com>
8470
8471 [BZ #15627]
8472 * sysdeps/x86_64/rtld-memset.c: Remove file.
8473 * sysdeps/x86_64/rtld-memset.S: New file.
8474
8475 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8476
8477 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8478 (test_in_one_mode): Take arguments for whether the rounding mode
8479 is supported for each floating-point type.
8480 (do_test): Pass new arguments to test_in_one_mode using
8481 ROUNDING_TESTS.
8482
8483 2013-06-13 Roland McGrath <roland@hack.frob.com>
8484
8485 * posix/tst-waitid.c (do_test): Distinguish different instances of
8486 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8487 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8488 before entering the kernel for waitpid.
8489
8490 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8491
8492 * NEWS: Fix note on clock function precision. Text by Roland
8493 McGrath.
8494
8495 2013-06-13 Roland McGrath <roland@hack.frob.com>
8496
8497 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8498 it into place only when and if the sanity check passes.
8499
8500 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8501
8502 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8503 output for whether conversion result is exact. Take argument
8504 indicating whether type is IBM long double.
8505 (round_for_all): Change need_exact field to ibm_ld.
8506 * stdlib/tst-strtod-round.c (struct exactness): New type.
8507 (struct test): Change bool ld_ok field to struct exactness exact.
8508 (TEST): Update all definitions for change to field.
8509 (tests): Regenerate array contents.
8510 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8511 field value. Check for IBM long double here.
8512 (do_test): Update calls to test_in_one_mode.
8513
8514 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8515
8516 [BZ #12515]
8517 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8518 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8519
8520 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8521
8522 [BZ #15605]
8523 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8524 generated by the compiler on loop optimizations.
8525 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8526 general definitions.
8527
8528 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8529
8530 * math/bug-nextafter.c: Include <math-tests.h>.
8531 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8532 the relevant type.
8533 * math/bug-nexttoward.c: Include <math-tests.h>.
8534 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8535 the relevant type.
8536 * math/test-misc.c: Include <math-tests.h>.
8537 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8538 the relevant type.
8539
8540 2013-06-12 Andreas Jaeger <aj@suse.de>
8541
8542 * po/ia.po: Update Interlingua translation from translation
8543 project.
8544
8545 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8546
8547 * include/fenv.h: Include stdbool.h.
8548 (struct rm_ctx): New structure.
8549 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8550 Define macro.
8551 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8552 (SET_RESTORE_ROUNDF): Likewise.
8553 (SET_RESTORE_ROUNDL): Likewise.
8554 (SET_RESTORE_ROUND_NOEX): Likewise.
8555 (SET_RESTORE_ROUND_NOEXF): Likewise.
8556 (SET_RESTORE_ROUND_NOEXL): Likewise.
8557 (SET_RESTORE_ROUND_53BIT): Likewise.
8558 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8559 (libc_feresetround_noexf_ctx): Likewise.
8560 (libc_feresetround_noexl_ctx): Likewise.
8561 (libc_feholdsetround_53bit_ctx): Likewise.
8562 (libc_feresetround_53bit_ctx): Likewise.
8563 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8564 (libc_feholdexcept_setround_sse_ctx): New function.
8565 (libc_fesetenv_sse_ctx): Likewise.
8566 (libc_feupdateenv_sse_ctx): Likewise.
8567 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8568 (libc_feholdexcept_setround_387_ctx): Likewise.
8569 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8570 (libc_feholdsetround_387_prec_ctx): Likewise.
8571 (libc_feholdsetround_387_ctx): Likewise.
8572 (libc_feholdsetround_387_53bit_ctx): Likewise.
8573 (libc_feholdsetround_sse_ctx): Likewise.
8574 (libc_feresetround_sse_ctx): Likewise.
8575 (libc_feresetround_387_ctx): Likewise.
8576 (libc_feupdateenv_387_ctx): Likewise.
8577 (libc_feholdexcept_setroundf_ctx): Define macro.
8578 (libc_fesetenvf_ctx): Likewise.
8579 (libc_feupdateenvf_ctx): Likewise.
8580 (libc_feholdsetroundf_ctx): Likewise.
8581 (libc_feresetroundf_ctx): Likewise.
8582 (libc_feholdexcept_setround_ctx): Likewise.
8583 (libc_fesetenv_ctx): Likewise.
8584 (libc_feupdateenv_ctx): Likewise.
8585 (libc_feholdsetround_ctx): Likewise.
8586 (libc_feresetround_ctx): Likewise.
8587 (libc_feholdexcept_setroundl_ctx): Likewise.
8588 (libc_feupdateenvl_ctx): Likewise.
8589 (libc_feholdsetroundl_ctx): Likewise.
8590 (libc_feresetroundl_ctx): Likewise.
8591 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8592 (libc_feresetround_53bit_ctx): Likewise.
8593
8594 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8595
8596 * locale/iso-639.def: Convert to UTF-8.
8597
8598 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8599
8600 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8601 (EXCEPTION_TESTS_double): Likewise.
8602 (EXCEPTION_TESTS_long_double): Likewise.
8603 (EXCEPTION_TESTS): Likewise.
8604 * math/libm-test.inc (test_exceptions): Only test exceptions if
8605 EXCEPTION_TESTS (FLOAT).
8606
8607 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8608
8609 * benchtests/Makefile (string-bench): Add strcpy_chk and
8610 stpcpy_chk.
8611 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8612 * benchtests/bench-stpcpy_chk.c: New file.
8613 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8614 * benchtests/bench-strcpy_chk.c: New file.
8615 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8616 code.
8617 (do_test): Likewise.
8618
8619 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8620
8621 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8622 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8623 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8624 with tabs where appropriate.
8625 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8626 dl-procinfo.h.
8627 [PPC_PLATFORM_PPC440]: Likewise.
8628 [PPC_PLATFORM_PPC464]: Likewise.
8629 [PPC_PLATFORM_PPC476]: Likewise.
8630 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8631 ppc464, and ppc476 platform strings merging from ports/
8632 dl-procinfo.h.
8633
8634 2013-06-11 Andreas Schwab <schwab@suse.de>
8635
8636 [BZ #14991]
8637 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8638 (from_ucs4_idx): Regenerate.
8639 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8640 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8641 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8642 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8643 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8644 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8645 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8646 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8647 from FROM_LOOP and TO_LOOP specific macros.
8648 (BODY): Handle combining characters.
8649 * iconvdata/BIG5HKSCS.irreversible: Update.
8650 * iconvdata/BIG5HKSCS.precomposed: New file.
8651 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8652 characters.
8653 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8654
8655 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8656
8657 * include/sys/time.h: Fix indentation and add copyright header.
8658
8659 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8660 (do_test): Likewise.
8661 * string/test-memchr.c (do_one_test): Likewise.
8662 (do_test): Likewise.
8663 * string/test-memcmp.c (do_one_test): Likewise.
8664 (do_test): Likewise.
8665 * string/test-memcpy.c (do_one_test): Likewise.
8666 (do_test): Likewise.
8667 * string/test-memmem.c (do_one_test): Likewise.
8668 (do_test): Likewise.
8669 (do_random_tests): Likewise.
8670 * string/test-memmove.c (do_one_test): Likewise.
8671 (do_test): Likewise.
8672 * string/test-memset.c (do_one_test): Likewise.
8673 (do_test): Likewise.
8674 * string/test-rawmemchr.c (do_one_test): Likewise.
8675 (do_test): Likewise.
8676 * string/test-strcasecmp.c (do_one_test): Likewise.
8677 (do_test): Likewise.
8678 * string/test-strcasestr.c (do_one_test): Likewise.
8679 (do_test): Likewise.
8680 * string/test-strcat.c (do_one_test): Likewise.
8681 (do_test): Likewise.
8682 * string/test-strchr.c (do_one_test): Likewise.
8683 (do_test): Likewise.
8684 * string/test-strcmp.c (do_one_test): Likewise.
8685 (do_test): Likewise.
8686 * string/test-strcpy.c (do_one_test): Likewise.
8687 (do_test): Likewise.
8688 * string/test-string.h: Likewise.
8689 (test_init): Likewise.
8690 * string/test-strlen.c (do_one_test): Likewise.
8691 (do_test): Likewise.
8692 * string/test-strncasecmp.c (do_one_test): Likewise.
8693 (do_test): Likewise.
8694 * string/test-strncat.c (do_one_test): Likewise.
8695 (do_test): Likewise.
8696 * string/test-strncmp.c (do_one_test): Likewise.
8697 (do_test_limit): Likewise.
8698 (do_test): Likewise.
8699 * string/test-strncpy.c (do_one_test): Likewise.
8700 (do_test): Likewise.
8701 * string/test-strnlen.c (do_one_test): Likewise.
8702 (do_test): Likewise.
8703 * string/test-strpbrk.c (do_one_test): Likewise.
8704 (do_test): Likewise.
8705 * string/test-strrchr.c (do_one_test): Likewise.
8706 (do_test): Likewise.
8707 * string/test-strspn.c (do_one_test): Likewise.
8708 (do_test): Likewise.
8709 * string/test-strstr.c (do_one_test): Likewise.
8710 (do_test): Likewise.
8711
8712 * benchtests/Makefile (string-bench): Add string benchmarks.
8713 * benchtests/bench-bcopy-ifunc.c: New file.
8714 * benchtests/bench-bcopy.c: New file.
8715 * benchtests/bench-bzero-ifunc.c: New file.
8716 * benchtests/bench-bzero.c: New file.
8717 * benchtests/bench-memccpy-ifunc.c: New file.
8718 * benchtests/bench-memccpy.c: New file.
8719 * benchtests/bench-memchr-ifunc.c: New file.
8720 * benchtests/bench-memchr.c: New file.
8721 * benchtests/bench-memcmp-ifunc.c: New file.
8722 * benchtests/bench-memcmp.c: New file.
8723 * benchtests/bench-memmem-ifunc.c: New file.
8724 * benchtests/bench-memmem.c: New file.
8725 * benchtests/bench-memmove-ifunc.c: New file.
8726 * benchtests/bench-memmove.c: New file.
8727 * benchtests/bench-mempcpy-ifunc.c: New file.
8728 * benchtests/bench-mempcpy.c: New file.
8729 * benchtests/bench-memset-ifunc.c: New file.
8730 * benchtests/bench-memset.c: New file.
8731 * benchtests/bench-rawmemchr-ifunc.c: New file.
8732 * benchtests/bench-rawmemchr.c: New file.
8733 * benchtests/bench-stpcpy-ifunc.c: New file.
8734 * benchtests/bench-stpcpy.c: New file.
8735 * benchtests/bench-stpncpy-ifunc.c: New file.
8736 * benchtests/bench-stpncpy.c: New file.
8737 * benchtests/bench-strcasecmp-ifunc.c: New file.
8738 * benchtests/bench-strcasecmp.c: New file.
8739 * benchtests/bench-strcasestr-ifunc.c: New file.
8740 * benchtests/bench-strcasestr.c: New file.
8741 * benchtests/bench-strcat-ifunc.c: New file.
8742 * benchtests/bench-strcat.c: New file.
8743 * benchtests/bench-strchr-ifunc.c: New file.
8744 * benchtests/bench-strchr.c: New file.
8745 * benchtests/bench-strchrnul-ifunc.c: New file.
8746 * benchtests/bench-strchrnul.c: New file.
8747 * benchtests/bench-strcmp-ifunc.c: New file.
8748 * benchtests/bench-strcmp.c: New file.
8749 * benchtests/bench-strcpy-ifunc.c: New file.
8750 * benchtests/bench-strcpy.c: New file.
8751 * benchtests/bench-strcspn-ifunc.c: New file.
8752 * benchtests/bench-strcspn.c: New file.
8753 * benchtests/bench-strlen-ifunc.c: New file.
8754 * benchtests/bench-strlen.c: New file.
8755 * benchtests/bench-strncasecmp-ifunc.c: New file.
8756 * benchtests/bench-strncasecmp.c: New file.
8757 * benchtests/bench-strncat-ifunc.c: New file.
8758 * benchtests/bench-strncat.c: New file.
8759 * benchtests/bench-strncmp-ifunc.c: New file.
8760 * benchtests/bench-strncmp.c: New file.
8761 * benchtests/bench-strncpy-ifunc.c: New file.
8762 * benchtests/bench-strncpy.c: New file.
8763 * benchtests/bench-strnlen-ifunc.c: New file.
8764 * benchtests/bench-strnlen.c: New file.
8765 * benchtests/bench-strpbrk-ifunc.c: New file.
8766 * benchtests/bench-strpbrk.c: New file.
8767 * benchtests/bench-strrchr-ifunc.c: New file.
8768 * benchtests/bench-strrchr.c: New file.
8769 * benchtests/bench-strspn-ifunc.c: New file.
8770 * benchtests/bench-strspn.c: New file.
8771 * benchtests/bench-strstr-ifunc.c: New file.
8772 * benchtests/bench-strstr.c: New file.
8773
8774 * benchtests/Makefile: Disable parallel execution of targets.
8775 (string-bench): Add memcpy.
8776 (benchset): New variable to store a list of benchmark sets.
8777 (bench-func): Renamed from bench.
8778 (bench-set): New target.
8779 (bench): Depend on bench-func and bench-set.
8780 * benchtests/README: Add section on benchmark sets.
8781 * benchtests/bench-memcpy-ifunc.c: New file.
8782 * benchtests/bench-memcpy.c: New file.
8783 * benchtests/bench-string.h: New file.
8784
8785 2013-06-11 Andreas Schwab <schwab@suse.de>
8786
8787 [BZ #15577]
8788 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8789 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8790 values in the triple.
8791 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8792 terminator in the group key.
8793
8794 2013-06-11 Andreas Jaeger <aj@suse.de>
8795
8796 * po/zh_TW.po: Update Chinese (traditional) translation from
8797 translation project.
8798
8799 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8800
8801 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8802 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8803 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8805 (clock_getcpuclockid): Likewise.
8806 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8807 Add weak_alias and libc_hidden_def.
8808 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8809 * rt/clock_gettime.c (clock_gettime): Rename to
8810 __clock_gettime. Add weak_alias and libc_hidden_def.
8811 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8812 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8813 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8814 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8815 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8816 Likewise.
8817 * rt/clock_settime.c (clock_settime): Rename to
8818 __clock_settime. Add weak_alias and libc_hidden_def.
8819 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8820
8821 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8822
8823 * mach/err_boot.sub: Remove trailing whitespace.
8824 * mach/err_ipc.sub: Likewise.
8825 * mach/err_mach.sub: Likewise.
8826
8827 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8828 (ROUNDING_TESTS_double): Likewise.
8829 (ROUNDING_TESTS_long_double): Likewise.
8830 (ROUNDING_TESTS): Likewise.
8831 * math/libm-test.inc: Include <math-tests.h>.
8832 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8833 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8834 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8835 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8836
8837 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
8839 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8840 of assigning.
8841
8842 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8843
8844 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8845 otherwise empty TRANS lines.
8846 * sysdeps/gnu/errlist.c: Regenerated.
8847
8848 * catgets/gencat.c (error_print): Use (void) in function
8849 definition.
8850 * crypt/crypt_util.c (__init_des): Likewise.
8851 * crypt/speeds.c (Stop): Likewise.
8852 (main): Likewise.
8853 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8854 * inet/ruserpass.c (token): Likewise.
8855 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8856 * intl/localealias.c (extend_alias_table): Likewise.
8857 * intl/plural-exp.c (init_germanic_plural): Likewise.
8858 * libio/fcloseall.c (__fcloseall): Likewise.
8859 * libio/genops.c (_IO_flush_all): Likewise.
8860 (_IO_flush_all_linebuffered): Likewise.
8861 (_IO_cleanup): Likewise.
8862 (_IO_iter_begin): Likewise.
8863 (_IO_iter_end): Likewise.
8864 (_IO_list_lock): Likewise.
8865 (_IO_list_unlock): Likewise.
8866 (_IO_list_resetlock): Likewise.
8867 * libio/getchar.c (getchar): Likewise.
8868 * libio/getchar_u.c (getchar_unlocked): Likewise.
8869 * libio/getwchar.c (getwchar): Likewise.
8870 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8871 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8872 * login/getpt.c (__getpt): Likewise.
8873 * login/tst-utmp.c (main): Likewise.
8874 * malloc/hooks.c (__malloc_check_init): Likewise.
8875 * malloc/malloc.c (__malloc_stats): Likewise.
8876 * malloc/mtrace.c (tr_break): Likewise.
8877 (mtrace): Likewise.
8878 (muntrace): Likewise.
8879 * misc/fstab.c (endfsent): Likewise.
8880 * misc/getclktck.c (__getclktck): Likewise.
8881 * misc/getdtsz.c (__getdtablesize): Likewise.
8882 * misc/gethostid.c (gethostid): Likewise.
8883 * misc/getpagesize.c (__getpagesize): Likewise.
8884 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8885 (__get_nprocs): Likewise.
8886 (__get_phys_pages): Likewise.
8887 (__get_avphys_pages): Likewise.
8888 * misc/getttyent.c (getttyent): Likewise.
8889 (setttyent): Likewise.
8890 (endttyent): Likewise.
8891 * misc/getusershell.c (getusershell): Likewise.
8892 (endusershell): Likewise.
8893 (setusershell): Likewise.
8894 (initshells): Likewise.
8895 * misc/hsearch.c (__hdestroy): Likewise.
8896 * misc/sync.c (sync): Likewise.
8897 * misc/syslog.c (closelog_internal): Likewise.
8898 (closelog): Likewise.
8899 * misc/ttyslot.c (ttyslot): Likewise.
8900 * misc/vhangup.c (vhangup): Likewise.
8901 * posix/fork.c (__fork): Likewise.
8902 * posix/getegid.c (__getegid): Likewise.
8903 * posix/geteuid.c (__geteuid): Likewise.
8904 * posix/getgid.c (__getgid): Likewise.
8905 * posix/getpid.c (__getpid): Likewise.
8906 * posix/getppid.c (__getppid): Likewise.
8907 * posix/getuid.c (__getuid): Likewise.
8908 * posix/pause.c (pause): Likewise.
8909 * posix/setpgrp.c (setpgrp): Likewise.
8910 * posix/setsid.c (__setsid): Likewise.
8911 * posix/test-vfork.c (noop): Likewise.
8912 * resolv/gethnamaddr.c (_endhtent): Likewise.
8913 (_gethtent): Likewise.
8914 (ht_endhostent): Likewise.
8915 (gethostent): Likewise.
8916 (dns_service): Likewise.
8917 * stdlib/drand48.c (drand48): Likewise.
8918 * stdlib/lrand48.c (lrand48): Likewise.
8919 * stdlib/mrand48.c (mrand48): Likewise.
8920 * stdlib/rand.c (rand): Likewise.
8921 * stdlib/random.c (__random): Likewise.
8922 * stdlib/setenv.c (clearenv): Likewise.
8923 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8924 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8925 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8926 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8927 (__get_nprocs): Likewise.
8928 (__get_phys_pages): Likewise.
8929 (__get_avphys_pages): Likewise.
8930 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8931 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8932 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8933 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8934 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8935 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8936 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8937 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8938 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8939 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8940 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8941 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8942 * sysdeps/posix/clock.c (clock): Likewise.
8943 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8944 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8945 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8946 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8947 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8948 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8949 (__get_nprocs_conf): Likewise.
8950 (__get_phys_pages): Likewise.
8951 (__get_avphys_pages): Likewise.
8952 * time/clock.c (clock): Likewise.
8953 * time/tzset.c (__tzname_max): Likewise.
8954
8955 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8956
8957 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8958 (__bswap_32): Do not use "register".
8959 * crypt/crypt.c (_ufc_doit_r): Likewise.
8960 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8961 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8962 * gmon/gmon.c (__monstartup): Likewise.
8963 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8964 * hurd/hurdmalloc.c (more_memory): Likewise.
8965 (malloc): Likewise.
8966 (free): Likewise.
8967 (realloc): Likewise.
8968 (malloc_fork_prepare): Likewise.
8969 (malloc_fork_parent): Likewise.
8970 (malloc_fork_child): Likewise.
8971 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8972 (_svcauth_des): Likewise.
8973 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8974 * inet/inet_net.c (inet_network): Likewise.
8975 * inet/inet_netof.c (inet_netof): Likewise.
8976 * inet/rcmd.c (__validuser2_sa): Likewise.
8977 * io/fts.c (fts_open): Likewise.
8978 (fts_load): Likewise.
8979 (fts_close): Likewise.
8980 (fts_read): Likewise.
8981 (fts_children): Likewise.
8982 (fts_build): Likewise.
8983 (fts_stat): Likewise.
8984 (fts_sort): Likewise.
8985 (fts_alloc): Likewise.
8986 (fts_lfree): Likewise.
8987 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8988 (_IO_file_xsgetn): Likewise.
8989 (_IO_file_xsgetn_mmap): Likewise.
8990 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8991 (_IO_cookie_write): Likewise.
8992 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8993 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8994 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8995 * malloc/obstack.c (_obstack_begin): Likewise.
8996 (_obstack_begin_1): Likewise.
8997 (_obstack_newchunk): Likewise.
8998 (_obstack_allocated_p): Likewise.
8999 (obstack_free): Likewise.
9000 (_obstack_memory_used): Likewise.
9001 * misc/getttyent.c (getttynam): Likewise.
9002 (getttyent): Likewise.
9003 (skip): Likewise.
9004 (value): Likewise.
9005 * misc/getusershell.c (initshells): Likewise.
9006 * misc/syslog.c (__vsyslog_chk): Likewise.
9007 * misc/ttyslot.c (ttyslot): Likewise.
9008 * nis/nis_hash.c (__nis_hash): Likewise.
9009 * posix/fnmatch_loop.c (FCT): Likewise.
9010 * posix/getconf.c (print_all): Likewise.
9011 (main): Likewise.
9012 * posix/getopt.c (exchange): Likewise.
9013 * posix/glob.c (globfree): Likewise.
9014 (prefix_array): Likewise.
9015 (__glob_pattern_type): Likewise.
9016 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9017 (NS_GET32): Likewise.
9018 (NS_PUT16): Likewise.
9019 (NS_PUT32): Likewise.
9020 * resolv/gethnamaddr.c (getanswer): Likewise.
9021 (gethostbyname2): Likewise.
9022 (gethostbyaddr): Likewise.
9023 (_gethtent): Likewise.
9024 (_gethtbyname2): Likewise.
9025 (_gethtbyaddr): Likewise.
9026 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9027 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9028 * resolv/res_init.c (__res_vinit): Likewise.
9029 (net_mask): Likewise.
9030 * resolv/res_mkquery.c (outchar): Likewise.
9031 (PRINT): Likewise.
9032 * stdio-common/printf_fp.c (outchar): Likewise.
9033 (PRINT): Likewise.
9034 * stdio-common/printf_fphex.c (outchar): Likewise.
9035 (PRINT): Likewise.
9036 * stdio-common/printf_size.c (outchar): Likewise.
9037 (PRINT): Likewise.
9038 * stdio-common/test_rdwr.c (main): Likewise.
9039 * stdio-common/tfformat.c (matches): Likewise.
9040 * stdio-common/vfprintf.c (outchar): Likewise.
9041 (printf_unknown): Likewise.
9042 (buffered_vfprintf): Likewise.
9043 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9044 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9045 (ReadFile): Likewise.
9046 * stdlib/qsort.c (SWAP): Likewise.
9047 (_quicksort): Likewise.
9048 * stdlib/setenv.c (__add_to_environ): Likewise.
9049 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9050 * stdlib/strtol_l.c (__strtol_l): Likewise.
9051 * stdlib/tst-strtod.c (main): Likewise.
9052 * stdlib/tst-strtol.c (main): Likewise.
9053 * stdlib/tst-strtoll.c (main): Likewise.
9054 * string/bits/string2.h (__strcmp_cc): Likewise.
9055 (__strcmp_cg): Likewise.
9056 (__strcspn_c1): Likewise.
9057 (__strcspn_c2): Likewise.
9058 (__strcspn_c3): Likewise.
9059 (__strspn_c1): Likewise.
9060 (__strspn_c2): Likewise.
9061 (__strspn_c3): Likewise.
9062 (__strsep_1c): Likewise.
9063 (__strsep_2c): Likewise.
9064 (__strsep_3c): Likewise.
9065 * string/memccpy.c (__memccpy): Likewise.
9066 * string/stpcpy.c (__stpcpy): Likewise.
9067 * string/strcmp.c (strcmp): Likewise.
9068 * string/strrchr.c (strrchr): Likewise.
9069 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9070 Likewise.
9071 * sysdeps/mach/hurd/getcwd.c
9072 (_hurd_canonicalize_directory_name_internal): Likewise.
9073 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9074 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9075 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9076 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9077 Likewise, in both definitions.
9078 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9079 definitions.
9080 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9081 64] (__bswap_64): Likewise.
9082 * time/test_time.c (main): Likewise.
9083 * time/tzfile.c (__tzfile_read): Likewise.
9084 (__tzfile_compute): Likewise.
9085 * time/tzset.c (__tzset_parse_tz): Likewise.
9086 (tzset_internal): Likewise.
9087 (compute_change): Likewise.
9088 * wcsmbs/wcscat.c (__wcscat): Likewise.
9089 * wcsmbs/wcschr.c (wcschr): Likewise.
9090 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9091 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9092 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9093 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9094 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9095 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9096 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9097 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9098 * wcsmbs/wmemset.c (wmemset): Likewise.
9099
9100 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9101
9102 * scripts/config.guess: Update to version 2013-05-16.
9103 * scripts/config.sub: Update to version 2013-04-24.
9104 * scripts/install-sh: Update to version 2011-11-20.07.
9105 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9106 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9107
9108 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9109
9110 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9111 * elf/sln.c: Likewise.
9112 * hurd/hurd/ioctl.h: Likewise.
9113 * hurd/hurdmalloc.c: Likewise.
9114 * hurd/xattr.c: Likewise.
9115 * include/shlib-compat.h: Likewise.
9116 * inet/ruserpass.c: Likewise.
9117 * libio/iofgets_u.c: Likewise.
9118 * libio/iofgetws_u.c: Likewise.
9119 * locale/programs/ld-identification.c: Likewise.
9120 * locale/programs/ld-time.c: Likewise.
9121 * mach/msg-destroy.c: Likewise.
9122 * nss/nss_files/files-netgrp.c: Likewise.
9123 * resolv/res_data.c: Likewise.
9124 * soft-fp/op-1.h: Likewise.
9125 * soft-fp/op-2.h: Likewise.
9126 * soft-fp/op-4.h: Likewise.
9127 * soft-fp/op-common.h: Likewise.
9128 * stdio-common/printf_fphex.c: Likewise.
9129 * stdlib/strtod_l.c: Likewise.
9130 * sunrpc/rpc/clnt.h: Likewise.
9131 * sysdeps/generic/framestate.c: Likewise.
9132 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9133 * sysdeps/i386/bsd-setjmp.S: Likewise.
9134 * sysdeps/i386/__longjmp.S: Likewise.
9135 * sysdeps/i386/setjmp.S: Likewise.
9136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9137 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9138 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9154 * sysdeps/ieee754/support.c: Likewise.
9155 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9156 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9157 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9158 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9159 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9160 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9161 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9162 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9163 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9164 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9165 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9166 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9167 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9168 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9169 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9170 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9171 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9173
9174 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9175
9176 * posix/transbug.c: Remove executable mode.
9177
9178 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9179
9180 * crypt/speeds.c: Remove trailing whitespace.
9181 * dlfcn/default.c: Likewise.
9182 * elf/ifuncdep2.c: Likewise.
9183 * elf/ifuncmain1.c: Likewise.
9184 * elf/ifuncmain1vis.c: Likewise.
9185 * elf/testobj.h: Likewise.
9186 * elf/tst-stackguard1.c: Likewise.
9187 * gmon/sys/gmon.h: Likewise.
9188 * hurd/hurdmsg.c: Likewise.
9189 * hurd/new-fd.c: Likewise.
9190 * hurd/ports-get.c: Likewise.
9191 * iconvdata/ibm1008_420.c: Likewise.
9192 * inet/tst-getni1.c: Likewise.
9193 * inet/tst-getni2.c: Likewise.
9194 * libio/ioungetc.c: Likewise.
9195 * libio/wfiledoalloc.c: Likewise.
9196 * manual/libm-err-tab.pl: Likewise.
9197 * math/w_dremf.c: Likewise.
9198 * misc/ftruncate.c: Likewise.
9199 * posix/bug-glob2.c: Likewise.
9200 * posix/tst-pcre.c: Likewise.
9201 * posix/wait4.c: Likewise.
9202 * resolv/README: Likewise.
9203 * resolv/res_debug.h: Likewise.
9204 * resolv/tst-inet_ntop.c: Likewise.
9205 * setjmp/bug269-setjmp.c: Likewise.
9206 * soft-fp/extended.h: Likewise.
9207 * soft-fp/op-1.h: Likewise.
9208 * soft-fp/op-2.h: Likewise.
9209 * soft-fp/op-4.h: Likewise.
9210 * soft-fp/op-8.h: Likewise.
9211 * soft-fp/testit.c: Likewise.
9212 * stdio-common/bug16.c: Likewise.
9213 * stdlib/random.c: Likewise.
9214 * sunrpc/rpcsvc/rquota.x: Likewise.
9215 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9216 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9217 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9218 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9219 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9220 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9221 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9222 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9224 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9225 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9233 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9234 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9236 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9239 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9244 * sysdeps/ieee754/s_lib_version.c: Likewise.
9245 * sysdeps/mach/hurd/check_fds.c: Likewise.
9246 * sysdeps/mach/hurd/getsockname.c: Likewise.
9247 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9248 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9249 * sysdeps/powerpc/bits/link.h: Likewise.
9250 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9251 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9252 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9253 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9254 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9255 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9256 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9257 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9258 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9259 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9260 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9261 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9262 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9263 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9264 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9266 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9267 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9268 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9269 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9270 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9271 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9273 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9274 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9275 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9276 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9277 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9278 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9279 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9280 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9281 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9282 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9283 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9284 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9285 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9286 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9287 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9288 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9289 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9290 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9291 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9292 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9293 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9294 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9295 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9296 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9297 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9298 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9299 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9302 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9303 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9304 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9305 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9306 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9307 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9308 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9309 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9310 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9311 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9312 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9313 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9314 * sysdeps/powerpc/sysdep.h: Likewise.
9315 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9316 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9317 * sysdeps/sh/dl-trampoline.S: Likewise.
9318 * sysdeps/sh/memset.S: Likewise.
9319 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9320 * sysdeps/sh/strlen.S: Likewise.
9321 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9322 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9323 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9324 * sysdeps/sparc/sparc32/rem.S: Likewise.
9325 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9326 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9327 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9328 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9329 * sysdeps/sparc/sparc32/urem.S: Likewise.
9330 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9331 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9332 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9333 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9334 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9335 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9336 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9337 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9338 * sysdeps/unix/bsd/times.c: Likewise.
9339 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9340 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9344 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9345 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9346 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9347 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9348 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9349 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9350 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9351 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9352 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9353 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9354 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9355 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9356 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9357 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9358 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9359 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9360 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9361 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9362 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9363 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9364 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9365 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9366 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9367 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9368 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9369 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9370 * sysdeps/x86_64/strcspn.S: Likewise.
9371
9372 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9373
9374 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9375 generated file. Regenerate properly from gen-translit.pl.
9376 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9377 locale/C-translit.h.
9378
9379 2013-06-05 Andreas Schwab <schwab@suse.de>
9380
9381 [BZ #15100]
9382 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9383 week as 6 instead of -1.
9384 * time/tst-strptime.c (day_tests): Add test case.
9385
9386 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9387
9388 * sysdeps/generic/math_private.h
9389 (libc_feholdexcept_setround_53bit): Replace with
9390 libc_feholdsetround_53bit.
9391 (libc_feupdateenv_53bit): Replace with
9392 libc_feresetround_53bit.
9393 (SET_RESTORE_ROUND_53BIT): Adjust.
9394
9395 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9396
9397 * string/test-strchrnul.c: Add copyright header.
9398
9399 * posix/tst-getaddrinfo4.c: Increase test timeout.
9400
9401 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9402
9403 [BZ #15536]
9404 * math/libm-test.inc (MAX_EXP): Remove
9405 (MIN_EXP): Define.
9406 (ulp): Use MIN_EXP - MANT_DIG.
9407 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9408
9409 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9410
9411 * po/be.po: Revert last change.
9412 * po/zh_CN.po: Likewise.
9413 * po/header.pot: Likewise.
9414
9415 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9416
9417 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9418 link-libc-deps to empty as target-specific variable.
9419 * Makerules (link-libc-args): New variable.
9420 (libc-for-link): Likewise.
9421 (link-libc-deps): Likewise.
9422 (lib%.so): Depend on $(link-libc-deps). Link with
9423 $(link-libc-args).
9424 (build-module): Link with $(link-libc-args).
9425 (build-module-asneeded): Likewise.
9426 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9427 list of objects.
9428 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9429 target-specific variable.
9430 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9431 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9432 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9433 libc.
9434 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9435 libc and ld.so.
9436 ($(objpfx)libpcprofile.so): Likewise.
9437 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9438 libc_nonshared.a.
9439 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9440 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9441 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9442 $(link-libc-deps).
9443 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9444 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9445 * login/Makefile ($(objpfx)libutil.so): Likewise.
9446 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9447 * math/Makefile ($(objpfx)libm.so): Likewise.
9448 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9449 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9450 variable instead of depending directly on libc.
9451 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9452 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9453 $(link-libc-deps).
9454 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9455 libc.
9456 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9457 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9458 ($(objpfx)libanl.so): Likewise.
9459 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9460 ld.so.
9461 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9462 $(link-libc-deps).
9463 * sysdeps/i386/fpu/Makefile: Remove file.
9464 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9465 ($(objpfx)libm.so): Remove dependency on ld.so.
9466
9467 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9468
9469 [BZ # 15553]
9470 * nis/yp_xdr.c (XDRMAXNAME): Define.
9471 (XDRMAXRECORD): Define.
9472 (xdr_domainname): Use XDRMAXNAME.
9473 (xdr_mapname): Likewise.
9474 (xdr_peername): Likewise.
9475 (xdr_keydat): Use XDRMAXRECORD.
9476 (xdr_valdat): Likewise.
9477
9478 2013-05-30 Jeff Law <law@redhat.com>
9479
9480 [BZ #14256]
9481 * manual/errno.texi (ESTALE): Update to account for more than
9482 just NFS file systems.
9483 * sysdeps/gnu/errlist.c: Regenerated.
9484
9485 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9486
9487 [BZ #15465]
9488 * elf/Makefile (tests): Add tst-null-argv.
9489 (modules-names): Add tst-null-argv-lib.
9490 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9491 (tst-null-argv-ENV): Set environment for tst-null-argv.
9492 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9493 (RTLD_PROGNAME): New macro.
9494 * elf/tst-null-argv.c: New test case.
9495 * elf/tst-null-argv-lib.c: Library for test case.
9496 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9497 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9498 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9499 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9500 * elf/dl-init.c (call_init): Likewise.
9501 (_dl_init): Likewise.
9502 * elf/dl-load.c (print_search_path): Likewise.
9503 (_dl_map_object): Likewise.
9504 * elf/dl-lookup.c (do_lookup_x): Likewise.
9505 (add_dependency): Likewise.
9506 (_dl_lookup_symbol_x): Likewise.
9507 (_dl_debug_bindings): Likewise.
9508 * elf/dl-open.c (_dl_show_scope): Likewise.
9509 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9510 * elf/dl-version.c (match_symbol): Likewise.
9511 (_dl_check_map_versions): Likewise.
9512 * elf/rtld.c (dl_main): Likewise.
9513 (print_unresolved): Use RTLD_PROGNAME.
9514 (print_missing_version): Likewise.
9515 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9516 (elf_machine_rela): Likewise.
9517 * sysdeps/powerpc/powerpc32/dl-machine.c
9518 (__process_machine_rela): Likewise.
9519 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9520 Likewise.
9521 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9522 Likewise.
9523 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9524 Likewise.
9525 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9526 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9527 Likewise.
9528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9529 Likewise.
9530 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9531
9532 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9533
9534 * po/be.po: Add descriptive title.
9535 * po/zh_CN.po: Likewise.
9536 * po/header.pot: Likewise.
9537
9538 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9539
9540 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9541 error message.
9542 (enlarge_archive): Likewise.
9543
9544 2013-05-28 Ben North <ben@redfrontdoor.org>
9545
9546 * manual/arith.texi (frexp): It is the magnitude of the return
9547 value which lies in [0.5, 1), not the return value itself.
9548
9549 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9550
9551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9552
9553 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9554
9555 * stdio-common/bug26.c (main): Correct fscanf template.
9556
9557 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9558 declare _dl_skip_args.
9559
9560 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9561 Don't declare.
9562
9563 * manual/platform.texi: Add missing @end deftypefun.
9564
9565 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9566
9567 [BZ #15529]
9568 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9569 bit of mantissa of 2^16382.
9570 * math/libm-test.inc (hypot_test_data): Add more tests.
9571
9572 * math/libm-test.inc: Add drem and pow10 to list of tested
9573 functions.
9574 (pow10_test): New function.
9575 (drem_test): Likewise.
9576 (drem_test_tonearest): Likewise.
9577 (drem_test_towardzero): Likewise.
9578 (drem_test_downward): Likewise.
9579 (drem_test_upward): Likewise.
9580 (main): Call the new functions.
9581
9582 * math/libm-test.inc (finite_test_data): Remove.
9583 (finite_test): Run tests from isfinite_test_data.
9584 (gamma_test_data): Remove.
9585 (gamma_test): Run tests from lgamma_test_data.
9586 * sysdeps/i386/fpu/libm-test-ulps: Update.
9587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9588
9589 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9590
9591 * manual/platform.texi: Add PowerPC PPR function set documentation.
9592 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9593 implementation.
9594
9595 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9596
9597 * math/libm-test.inc (MAX_EXP): Define.
9598 (ULPDIFF): Define.
9599 (ulp): New function.
9600 (check_float_internal): Use ULPDIFF.
9601 (cpow_test): Disable failing test.
9602 (check_ulp): Test ulp() implemetnation.
9603 (main): Call check_ulp before starting tests.
9604
9605 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9606
9607 * math/gen-libm-test.pl (generate_testfile): Do not handle
9608 START_DATA and END_DATA.
9609 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9610 END_DATA.
9611 (acos_tonearest_test_data): Likewise.
9612 (acos_towardzero_test_data): Likewise.
9613 (acos_downward_test_data): Likewise.
9614 (acos_upward_test_data): Likewise.
9615 (acosh_test_data): Likewise.
9616 (asin_test_data): Likewise.
9617 (asin_tonearest_test_data): Likewise.
9618 (asin_towardzero_test_data): Likewise.
9619 (asin_downward_test_data): Likewise.
9620 (asin_upward_test_data): Likewise.
9621 (asinh_test_data): Likewise.
9622 (atan_test_data): Likewise.
9623 (atanh_test_data): Likewise.
9624 (atan2_test_data): Likewise.
9625 (cabs_test_data): Likewise.
9626 (cacos_test_data): Likewise.
9627 (cacosh_test_data): Likewise.
9628 (carg_test_data): Likewise.
9629 (casin_test_data): Likewise.
9630 (casinh_test_data): Likewise.
9631 (catan_test_data): Likewise.
9632 (catanh_test_data): Likewise.
9633 (cbrt_test_data): Likewise.
9634 (ccos_test_data): Likewise.
9635 (ccosh_test_data): Likewise.
9636 (ceil_test_data): Likewise.
9637 (cexp_test_data): Likewise.
9638 (cimag_test_data): Likewise.
9639 (clog_test_data): Likewise.
9640 (clog10_test_data): Likewise.
9641 (conj_test_data): Likewise.
9642 (copysign_test_data): Likewise.
9643 (cos_test_data): Likewise.
9644 (cos_tonearest_test_data): Likewise.
9645 (cos_towardzero_test_data): Likewise.
9646 (cos_downward_test_data): Likewise.
9647 (cos_upward_test_data): Likewise.
9648 (cosh_test_data): Likewise.
9649 (cosh_tonearest_test_data): Likewise.
9650 (cosh_towardzero_test_data): Likewise.
9651 (cosh_downward_test_data): Likewise.
9652 (cosh_upward_test_data): Likewise.
9653 (cpow_test_data): Likewise.
9654 (cproj_test_data): Likewise.
9655 (creal_test_data): Likewise.
9656 (csin_test_data): Likewise.
9657 (csinh_test_data): Likewise.
9658 (csqrt_test_data): Likewise.
9659 (ctan_test_data): Likewise.
9660 (ctan_tonearest_test_data): Likewise.
9661 (ctan_towardzero_test_data): Likewise.
9662 (ctan_downward_test_data): Likewise.
9663 (ctan_upward_test_data): Likewise.
9664 (ctanh_test_data): Likewise.
9665 (ctanh_tonearest_test_data): Likewise.
9666 (ctanh_towardzero_test_data): Likewise.
9667 (ctanh_downward_test_data): Likewise.
9668 (ctanh_upward_test_data): Likewise.
9669 (erf_test_data): Likewise.
9670 (erfc_test_data): Likewise.
9671 (exp_test_data): Likewise.
9672 (exp_tonearest_test_data): Likewise.
9673 (exp_towardzero_test_data): Likewise.
9674 (exp_downward_test_data): Likewise.
9675 (exp_upward_test_data): Likewise.
9676 (exp10_test_data): Likewise.
9677 (exp2_test_data): Likewise.
9678 (expm1_test_data): Likewise.
9679 (fabs_test_data): Likewise.
9680 (fdim_test_data): Likewise.
9681 (finite_test_data): Likewise.
9682 (floor_test_data): Likewise.
9683 (fma_test_data): Likewise.
9684 (fma_towardzero_test_data): Likewise.
9685 (fma_downward_test_data): Likewise.
9686 (fma_upward_test_data): Likewise.
9687 (fmax_test_data): Likewise.
9688 (fmin_test_data): Likewise.
9689 (fmod_test_data): Likewise.
9690 (fpclassify_test_data): Likewise.
9691 (frexp_test_data): Likewise.
9692 (gamma_test_data): Likewise.
9693 (hypot_test_data): Likewise.
9694 (ilogb_test_data): Likewise.
9695 (isfinite_test_data): Likewise.
9696 (isgreater_test_data): Likewise.
9697 (isgreaterequal_test_data): Likewise.
9698 (isinf_test_data): Likewise.
9699 (isless_test_data): Likewise.
9700 (islessequal_test_data): Likewise.
9701 (islessgreater_test_data): Likewise.
9702 (isnan_test_data): Likewise.
9703 (isnormal_test_data): Likewise.
9704 (issignaling_test_data): Likewise.
9705 (isunordered_test_data): Likewise.
9706 (j0_test_data): Likewise.
9707 (j1_test_data): Likewise.
9708 (jn_test_data): Likewise.
9709 (ldexp_test_data): Likewise.
9710 (lgamma_test_data): Likewise.
9711 (lrint_test_data): Likewise.
9712 (lrint_tonearest_test_data): Likewise.
9713 (lrint_towardzero_test_data): Likewise.
9714 (lrint_downward_test_data): Likewise.
9715 (lrint_upward_test_data): Likewise.
9716 (llrint_test_data): Likewise.
9717 (llrint_tonearest_test_data): Likewise.
9718 (llrint_towardzero_test_data): Likewise.
9719 (llrint_downward_test_data): Likewise.
9720 (llrint_upward_test_data): Likewise.
9721 (log_test_data): Likewise.
9722 (log10_test_data): Likewise.
9723 (log1p_test_data): Likewise.
9724 (log2_test_data): Likewise.
9725 (logb_test_data): Likewise.
9726 (logb_downward_test_data): Likewise.
9727 (lround_test_data): Likewise.
9728 (llround_test_data): Likewise.
9729 (modf_test_data): Likewise.
9730 (nearbyint_test_data): Likewise.
9731 (nextafter_test_data): Likewise.
9732 (nexttoward_test_data): Likewise.
9733 (pow_test_data): Likewise.
9734 (pow_tonearest_test_data): Likewise.
9735 (pow_towardzero_test_data): Likewise.
9736 (pow_downward_test_data): Likewise.
9737 (pow_upward_test_data): Likewise.
9738 (remainder_test_data): Likewise.
9739 (remainder_tonearest_test_data): Likewise.
9740 (remainder_towardzero_test_data): Likewise.
9741 (remainder_downward_test_data): Likewise.
9742 (remainder_upward_test_data): Likewise.
9743 (remquo_test_data): Likewise.
9744 (rint_test_data): Likewise.
9745 (rint_tonearest_test_data): Likewise.
9746 (rint_towardzero_test_data): Likewise.
9747 (rint_downward_test_data): Likewise.
9748 (rint_upward_test_data): Likewise.
9749 (round_test_data): Likewise.
9750 (scalb_test_data): Likewise.
9751 (scalbn_test_data): Likewise.
9752 (scalbln_test_data): Likewise.
9753 (signbit_test_data): Likewise.
9754 (sin_test_data): Likewise.
9755 (sin_tonearest_test_data): Likewise.
9756 (sin_towardzero_test_data): Likewise.
9757 (sin_downward_test_data): Likewise.
9758 (sin_upward_test_data): Likewise.
9759 (sincos_test_data): Likewise.
9760 (sinh_test_data): Likewise.
9761 (sinh_tonearest_test_data): Likewise.
9762 (sinh_towardzero_test_data): Likewise.
9763 (sinh_downward_test_data): Likewise.
9764 (sinh_upward_test_data): Likewise.
9765 (sqrt_test_data): Likewise.
9766 (tan_test_data): Likewise.
9767 (tan_tonearest_test_data): Likewise.
9768 (tan_towardzero_test_data): Likewise.
9769 (tan_downward_test_data): Likewise.
9770 (tan_upward_test_data): Likewise.
9771 (tanh_test_data): Likewise.
9772 (tgamma_test_data): Likewise.
9773 (trunc_test_data): Likewise.
9774 (y0_test_data): Likewise.
9775 (y1_test_data): Likewise.
9776 (yn_test_data): Likewise.
9777 (significand_test_data): Likewise.
9778
9779 * math/gen-libm-test.pl (@functions): Remove variable.
9780 (generate_testfile): Don't handle START and END lines.
9781 * math/libm-test.inc (START): New macro.
9782 (END): Likewise.
9783 (END_COMPLEX): Likewise.
9784 (acos_test): Use END macro without arguments.
9785 (acos_test_tonearest): Likewise.
9786 (acos_test_towardzero): Likewise.
9787 (acos_test_downward): Likewise.
9788 (acos_test_upward): Likewise.
9789 (acosh_test): Likewise.
9790 (asin_test): Likewise.
9791 (asin_test_tonearest): Likewise.
9792 (asin_test_towardzero): Likewise.
9793 (asin_test_downward): Likewise.
9794 (asin_test_upward): Likewise.
9795 (asinh_test): Likewise.
9796 (atan_test): Likewise.
9797 (atanh_test): Likewise.
9798 (atan2_test): Likewise.
9799 (cabs_test): Likewise.
9800 (cacos_test): Use END_COMPLEX macro without arguments.
9801 (cacosh_test): Likewise.
9802 (carg_test): Use END macro without arguments.
9803 (casin_test): Use END_COMPLEX macro without arguments.
9804 (casinh_test): Likewise.
9805 (catan_test): Likewise.
9806 (catanh_test): Likewise.
9807 (cbrt_test): Use END macro without arguments.
9808 (ccos_test): Use END_COMPLEX macro without arguments.
9809 (ccosh_test): Likewise.
9810 (ceil_test): Use END macro without arguments.
9811 (cexp_test): Use END_COMPLEX macro without arguments.
9812 (cimag_test): Use END macro without arguments.
9813 (clog_test): Use END_COMPLEX macro without arguments.
9814 (clog10_test): Likewise.
9815 (conj_test): Likewise.
9816 (copysign_test): Use END macro without arguments.
9817 (cos_test): Likewise.
9818 (cos_test_tonearest): Likewise.
9819 (cos_test_towardzero): Likewise.
9820 (cos_test_downward): Likewise.
9821 (cos_test_upward): Likewise.
9822 (cosh_test): Likewise.
9823 (cosh_test_tonearest): Likewise.
9824 (cosh_test_towardzero): Likewise.
9825 (cosh_test_downward): Likewise.
9826 (cosh_test_upward): Likewise.
9827 (cpow_test): Use END_COMPLEX macro without arguments.
9828 (cproj_test): Likewise.
9829 (creal_test): Use END macro without arguments.
9830 (csin_test): Use END_COMPLEX macro without arguments.
9831 (csinh_test): Likewise.
9832 (csqrt_test): Likewise.
9833 (ctan_test): Likewise.
9834 (ctan_test_tonearest): Likewise.
9835 (ctan_test_towardzero): Likewise.
9836 (ctan_test_downward): Likewise.
9837 (ctan_test_upward): Likewise.
9838 (ctanh_test): Likewise.
9839 (ctanh_test_tonearest): Likewise.
9840 (ctanh_test_towardzero): Likewise.
9841 (ctanh_test_downward): Likewise.
9842 (ctanh_test_upward): Likewise.
9843 (erf_test): Use END macro without arguments.
9844 (erfc_test): Likewise.
9845 (exp_test): Likewise.
9846 (exp_test_tonearest): Likewise.
9847 (exp_test_towardzero): Likewise.
9848 (exp_test_downward): Likewise.
9849 (exp_test_upward): Likewise.
9850 (exp10_test): Likewise.
9851 (exp2_test): Likewise.
9852 (expm1_test): Likewise.
9853 (fabs_test): Likewise.
9854 (fdim_test): Likewise.
9855 (finite_test): Likewise.
9856 (floor_test): Likewise.
9857 (fma_test): Likewise.
9858 (fma_test_towardzero): Likewise.
9859 (fma_test_downward): Likewise.
9860 (fma_test_upward): Likewise.
9861 (fmax_test): Likewise.
9862 (fmin_test): Likewise.
9863 (fmod_test): Likewise.
9864 (fpclassify_test): Likewise.
9865 (frexp_test): Likewise.
9866 (gamma_test): Likewise.
9867 (hypot_test): Likewise.
9868 (ilogb_test): Likewise.
9869 (isfinite_test): Likewise.
9870 (isgreater_test): Likewise.
9871 (isgreaterequal_test): Likewise.
9872 (isinf_test): Likewise.
9873 (isless_test): Likewise.
9874 (islessequal_test): Likewise.
9875 (islessgreater_test): Likewise.
9876 (isnan_test): Likewise.
9877 (isnormal_test): Likewise.
9878 (issignaling_test): Likewise.
9879 (isunordered_test): Likewise.
9880 (j0_test): Likewise.
9881 (j1_test): Likewise.
9882 (jn_test): Likewise.
9883 (ldexp_test): Likewise.
9884 (lgamma_test): Likewise.
9885 (lrint_test): Likewise.
9886 (lrint_test_tonearest): Likewise.
9887 (lrint_test_towardzero): Likewise.
9888 (lrint_test_downward): Likewise.
9889 (lrint_test_upward): Likewise.
9890 (llrint_test): Likewise.
9891 (llrint_test_tonearest): Likewise.
9892 (llrint_test_towardzero): Likewise.
9893 (llrint_test_downward): Likewise.
9894 (llrint_test_upward): Likewise.
9895 (log_test): Likewise.
9896 (log10_test): Likewise.
9897 (log1p_test): Likewise.
9898 (log2_test): Likewise.
9899 (logb_test): Likewise.
9900 (logb_test_downward): Likewise.
9901 (lround_test): Likewise.
9902 (llround_test): Likewise.
9903 (modf_test): Likewise.
9904 (nearbyint_test): Likewise.
9905 (nextafter_test): Likewise.
9906 (nexttoward_test): Likewise.
9907 (pow_test): Likewise.
9908 (pow_test_tonearest): Likewise.
9909 (pow_test_towardzero): Likewise.
9910 (pow_test_downward): Likewise.
9911 (pow_test_upward): Likewise.
9912 (remainder_test): Likewise.
9913 (remainder_test_tonearest): Likewise.
9914 (remainder_test_towardzero): Likewise.
9915 (remainder_test_downward): Likewise.
9916 (remainder_test_upward): Likewise.
9917 (remquo_test): Likewise.
9918 (rint_test): Likewise.
9919 (rint_test_tonearest): Likewise.
9920 (rint_test_towardzero): Likewise.
9921 (rint_test_downward): Likewise.
9922 (rint_test_upward): Likewise.
9923 (round_test): Likewise.
9924 (scalb_test): Likewise.
9925 (scalbn_test): Likewise.
9926 (scalbln_test): Likewise.
9927 (signbit_test): Likewise.
9928 (sin_test): Likewise.
9929 (sin_test_tonearest): Likewise.
9930 (sin_test_towardzero): Likewise.
9931 (sin_test_downward): Likewise.
9932 (sin_test_upward): Likewise.
9933 (sincos_test): Likewise.
9934 (sinh_test): Likewise.
9935 (sinh_test_tonearest): Likewise.
9936 (sinh_test_towardzero): Likewise.
9937 (sinh_test_downward): Likewise.
9938 (sinh_test_upward): Likewise.
9939 (sqrt_test): Likewise.
9940 (tan_test): Likewise.
9941 (tan_test_tonearest): Likewise.
9942 (tan_test_towardzero): Likewise.
9943 (tan_test_downward): Likewise.
9944 (tan_test_upward): Likewise.
9945 (tanh_test): Likewise.
9946 (tgamma_test): Likewise.
9947 (trunc_test): Likewise.
9948 (y0_test): Likewise.
9949 (y1_test): Likewise.
9950 (yn_test): Likewise.
9951 (significand_test): Likewise.
9952
9953 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9954
9955 [BZ #15381]
9956 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9957
9958 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9959
9960 [BZ #14894]
9961 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9962 __ppc_mdoio and __ppc_mdoom.
9963 * manual/platform.texi: Document new functions __ppc_yield,
9964 __ppc_mdoio and __ppc_mdoom.
9965
9966 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9967
9968 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9969 (main): Mention "tls" pseudo-hwcap is legacy.
9970 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9971
9972 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9973
9974 * math/gen-libm-test.pl (parse_args): Output only string of
9975 arguments as text for test name, not full call or descriptions of
9976 tests for extra outputs.
9977 (generate_testfile): Do not pass function name to parse_args.
9978 Generate this_func variable from START.
9979 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9980 field to arg_str.
9981 (struct test_ff_f_data): Likewise.
9982 (test_ff_f_data_nexttoward): Likewise.
9983 (struct test_fi_f_data): Likewise.
9984 (struct test_fl_f_data): Likewise.
9985 (struct test_if_f_data): Likewise.
9986 (struct test_fff_f_data): Likewise.
9987 (struct test_c_f_data): Likewise.
9988 (struct test_f_f1_data): Likewise. Remove field extra_name.
9989 (struct test_fF_f1_data): Likewise.
9990 (struct test_ffI_f1_data): Likewise.
9991 (struct test_c_c_data): Rename test_name field to arg_str.
9992 (struct test_cc_c_data): Likewise.
9993 (struct test_f_i_data): Likewise.
9994 (struct test_ff_i_data): Likewise.
9995 (struct test_f_l_data): Likewise.
9996 (struct test_f_L_data): Likewise.
9997 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9998 and extra2_name.
9999 (COMMON_TEST_SETUP): New macro.
10000 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10001 (COMMON_TEST_CLEANUP): Likewise.
10002 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10003 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10004 macros.
10005 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10006 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10007 macros.
10008 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10009 (RUN_TEST_fff_f): Take argument string. Call new setup and
10010 cleanup macros.
10011 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10012 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10013 macros.
10014 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10015 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10016 macros.
10017 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10018 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10019 cleanup macros.
10020 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10021 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10022 cleanup macros.
10023 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10024 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10025 cleanup macros.
10026 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10027 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10028 macros.
10029 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10030 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10031 macros.
10032 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10033 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10034 macros.
10035 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10036 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10037 cleanup macros.
10038 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10039 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10040 cleanup macros.
10041 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10042 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10043 macros.
10044 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10045 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10046 cleanup macros.
10047 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10048 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10049 macros.
10050 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10051 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10052 macros.
10053 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10054 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10055 cleanup macros.
10056 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10057
10058 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10059
10060 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10061 to _sifields.sigfault.
10062 (si_addr_lsb): Define new macro.
10063 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10065 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10066
10067 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10068
10069 [BZ #15441]
10070 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10071 returns -1.
10072 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10073 null return -1.
10074 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10075 loading the domain.
10076
10077 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10078
10079 * math/gen-libm-test.pl (parse_args): Do not include expected
10080 result in test name.
10081 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10083 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10084 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10085 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10087
10088 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10089
10090 * benchtests/Makefile: Sort function entries.
10091
10092 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10093 tanh, asinh, acosh, atanh.
10094 * benchtests/acos-inputs: New file.
10095 * benchtests/acosh-inputs: New file.
10096 * benchtests/asin-inputs: New file.
10097 * benchtests/asinh-inputs: New file.
10098 * benchtests/atanh-inputs: New file.
10099 * benchtests/cosh-inputs: New file.
10100 * benchtests/log-inputs: New file.
10101 * benchtests/sinh-inputs: New file.
10102 * benchtests/tanh-inputs: New file.
10103
10104 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10105
10106 [BZ #15339]
10107 * posix/tst-getaddrinfo4.c: New test.
10108 * posix/Makefile (tests): Add it.
10109
10110 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10111
10112 [BZ #15339]
10113 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10114 when no services were used.
10115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10116 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10117
10118 2013-05-21 Andreas Schwab <schwab@suse.de>
10119
10120 [BZ #15014]
10121 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10122 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10123 successful.
10124 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10125 redundant variable declarations and reallocation of buffer when
10126 parsing as IPv6 address. Always set NSS status when called from
10127 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10128 buffer too small. Correct computation of needed size.
10129 * nss/Makefile (tests): Add test-digits-dots.
10130 * nss/test-digits-dots.c: New test.
10131
10132 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10133
10134 * benchtests/Makefile: Remove instructions for adding
10135 benchmark tests.
10136 * benchtests/README: New file to explain how to execute and
10137 enhance the benchmark tests.
10138
10139 2013-05-21 Andreas Schwab <schwab@suse.de>
10140
10141 [BZ #15493]
10142 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10143 * setjmp/tst-sigsetjmp.c: New test.
10144
10145 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10146
10147 * sysdeps/x86_64/memset.S (memset): New implementation.
10148 (__bzero): Likewise.
10149 (__memset_tail): New function.
10150
10151 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10152
10153 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10154 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10155 __memcpy_sse2_unaligned ifunc selection.
10156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10157 Add memcpy-sse2-unaligned.S.
10158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10159 Add: __memcpy_sse2_unaligned.
10160
10161 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10162
10163 [BZ #15490]
10164 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10165 math_force_eval before restoring floating-point envrionment.
10166 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10167 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10168 Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10170 <math_private.h>.
10171 (__nearbyintl): Use math_force_eval before restoring
10172 floating-point environment.
10173 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10174
10175 * math/gen-libm-test.pl (special_functions): Remove.
10176 (parse_args): Don't handle TEST_extra. Handle functions with no
10177 return value.
10178 * math/libm-test.inc (struct test_sincos_data): Replace with
10179 struct test_fFF_11_data.
10180 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10181 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10182 (sincos_test_data): Change element type to struct
10183 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10184 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10185 RUN_TEST_LOOP_sincos.
10186 * math/README.libm-test: Don't mention special handling of
10187 individual functions.
10188 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10189 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10190 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10191 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10192 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10194
10195 * math/gen-libm-test.pl (get_variable): Remove function.
10196 (parse_args): Don't show pointer parameters to call in test
10197 names. Use "extra output N" in test names for extra outputs
10198 rather than naming variables.
10199
10200 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10201
10202 [BZ #15488]
10203 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10204 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10205 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10206 double tests.
10207 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10208 disable.
10209 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10210 check_long_double.
10211
10212 * math/gen-libm-test.pl (@tests): Remove variable.
10213 ($count): Likewise.
10214 (new_test): Remove function.
10215 (show_exceptions): New function.
10216 (special_functions): Use show_exceptions instead of new_test.
10217 (parse_args): Likewise.
10218 (generate_testfile): Pass only function name in generated call to
10219 print_max_error or print_complex_max_error.
10220 (get_ulps): Do not handle complex tests specially.
10221 (output_test): Rename to ...
10222 (get_all_ulps_for_test): ... this. Return a string rather than
10223 printing to a file. Require ulps to be present.
10224 (output_ulps): Generate arrays rather than #defines.
10225 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10226 (struct ulp_data): New type.
10227 (BUILD_COMPLEX_ULP): Remove macro.
10228 (compare_ulp_data): New function.
10229 (find_ulps): Likewise.
10230 (find_test_ulps): Likewise.
10231 (find_function_ulps): Likewise.
10232 (find_complex_function_ulps): Likewise.
10233 (print_max_error): Determine allowed ulps using
10234 find_function_ulps.
10235 (print_complex_max_error): Determine allowed ulps using
10236 find_complex_function_ulps.
10237 (check_float_internal): Determine max ulps using find_test_ulps.
10238 (check_float): Do not take max_ulp parameter. Update call to
10239 check_float_internal.
10240 (check_complex): Likewise.
10241 (check_int): Do not take max_ulp parameter.
10242 (check_long): Likewise.
10243 (check_bool): Likewise.
10244 (check_longlong): Likewise.
10245 (struct test_f_f_data): Remove max_ulp field.
10246 (struct test_ff_f_data): Likewise.
10247 (struct test_ff_f_data_nexttoward): Likewise.
10248 (struct test_fi_f_data): Likewise.
10249 (struct test_fl_f_data): Likewise.
10250 (struct test_if_f_data): Likewise.
10251 (struct test_fff_f_data): Likewise.
10252 (struct test_c_f_data): Likewise.
10253 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10254 (struct test_fF_f1_data): Likewise.
10255 (struct test_ffI_f1_data): Likewise.
10256 (struct test_c_c_data): Remove max_ulp field.
10257 (struct test_cc_c_data): Likewise.
10258 (struct test_f_i_data): Likewise.
10259 (struct test_ff_i_data): Likewise.
10260 (struct test_f_l_data): Likewise.
10261 (struct test_f_L_data): Likewise.
10262 (struct test_sincos_data): Likewise.
10263 (RUN_TEST_f_f): Do not handle ulps.
10264 (RUN_TEST_LOOP_f_f): Likewise.
10265 (RUN_TEST_2_f): Likewise.
10266 (RUN_TEST_LOOP_2_f): Likewise.
10267 (RUN_TEST_fff_f): Likewise.
10268 (RUN_TEST_LOOP_fff_f): Likewise.
10269 (RUN_TEST_c_f): Likewise.
10270 (RUN_TEST_LOOP_c_f): Likewise.
10271 (RUN_TEST_f_f1): Likewise.
10272 (RUN_TEST_LOOP_f_f1): Likewise.
10273 (RUN_TEST_fF_f1): Likewise.
10274 (RUN_TEST_LOOP_fF_f1): Likewise.
10275 (RUN_TEST_fI_f1): Likewise.
10276 (RUN_TEST_LOOP_fI_f1): Likewise.
10277 (RUN_TEST_ffI_f1): Likewise.
10278 (RUN_TEST_LOOP_ffI_f1): Likewise.
10279 (RUN_TEST_c_c): Likewise.
10280 (RUN_TEST_LOOP_c_c): Likewise.
10281 (RUN_TEST_cc_c): Likewise.
10282 (RUN_TEST_LOOP_cc_c): Likewise.
10283 (RUN_TEST_f_i): Likewise.
10284 (RUN_TEST_LOOP_f_i): Likewise.
10285 (RUN_TEST_f_i_tg): Likewise.
10286 (RUN_TEST_LOOP_f_i_tg): Likewise.
10287 (RUN_TEST_ff_i_tg): Likewise.
10288 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10289 (RUN_TEST_f_b): Likewise.
10290 (RUN_TEST_LOOP_f_b): Likewise.
10291 (RUN_TEST_f_b_tg): Likewise.
10292 (RUN_TEST_LOOP_f_b_tg): Likewise.
10293 (RUN_TEST_f_l): Likewise.
10294 (RUN_TEST_LOOP_f_l): Likewise.
10295 (RUN_TEST_f_L): Likewise.
10296 (RUN_TEST_LOOP_f_L): Likewise.
10297 (RUN_TEST_sincos): Likewise.
10298 (RUN_TEST_LOOP_sincos): Likewise.
10299
10300 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10301
10302 [BZ #15480]
10303 [BZ #15485]
10304 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10305 main case of finite arguments, set rounding mode to FE_TONEAREST
10306 and discard exceptions.
10307 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10308 exceptions.
10309 (remainder_tonearest_test_data): New variable.
10310 (remainder_test_tonearest): New function.
10311 (remainder_towardzero_test_data): New variable.
10312 (remainder_test_towardzero): New function.
10313 (remainder_downward_test_data): New variable.
10314 (remainder_test_downward): New function.
10315 (remainder_upward_test_data): New variable.
10316 (remainder_test_upward): New function.
10317 (main): Call the new test functions.
10318
10319 * math/libm-test.inc (struct test_f_f1_data): Remove field
10320 extra_init.
10321 (struct test_fF_f1_data): Likewise.
10322 (struct test_ffI_f1_data): Likewise.
10323 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10324 based on value of EXTRA_EXPECTED.
10325 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10326 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10327 EXTRA_VAR based on value of EXTRA_EXPECTED.
10328 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10329 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10330 EXTRA_VAR based on value of EXTRA_EXPECTED.
10331 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10332 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10333 EXTRA_VAR based on value of EXTRA_EXPECTED.
10334 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10335 * math/gen-libm-test.pl (parse_args): Don't output initializers
10336 for extra output values.
10337
10338 * math/libm-test.inc (check_int): Expect result to be exactly
10339 equal to expected value and do not handle ulps.
10340 (check_long): Likewise.
10341 (check_longlong): Likewise.
10342
10343 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10344 exceptions.
10345 (cimag_test_data): Likewise.
10346 (conj_test_data): Likewise.
10347 (copysign_test_data): Likewise.
10348 (cproj_test_data): Likewise.
10349 (creal_test_data): Likewise.
10350 (fabs_test_data): Likewise.
10351 (fdim_test_data): Likewise.
10352 (finite_test_data): Likewise.
10353 (floor_test_data): Likewise.
10354 (fmax_test_data): Likewise.
10355 (fmin_test_data): Likewise.
10356 (fmod_test_data): Likewise.
10357 (fpclassify_test_data): Likewise.
10358 (frexp_test_data): Likewise.
10359 (ilogb_test_data): Likewise.
10360 (isfinite_test_data): Likewise.
10361 (isgreater_test_data): Likewise.
10362 (isgreaterequal_test_data): Likewise.
10363 (isinf_test_data): Likewise.
10364 (isless_test_data): Likewise.
10365 (islessequal_test_data): Likewise.
10366 (islessgreater_test_data): Likewise.
10367 (isnan_test_data): Likewise.
10368 (isnormal_test_data): Likewise.
10369 (issignaling_test_data): Likewise.
10370 (isunordered_test_data): Likewise.
10371 (ldexp_test_data): Likewise.
10372 (lrint_test_data): Likewise.
10373 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10374 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10375 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10376 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10377 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10378 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10379 test input.
10380 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10381 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10382 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10383 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10384 that test input.
10385 (lrint_downward_test_data): Test for "inexact" exceptions.
10386 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10387 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10388 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10389 test input.
10390 (lrint_upward_test_data): Test for "inexact" exceptions.
10391 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10392 test input.
10393 (llrint_test_data): Test for "inexact" exceptions.
10394 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10395 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10396 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10397 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10398 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10399 (llrint_downward_test_data): Test for "inexact" exceptions.
10400 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10401 (llrint_upward_test_data): Test for "inexact" exceptions.
10402 (logb_test_data): Likewise.
10403 (logb_downward_test_data): Likewise.
10404 (nextafter_test_data): Likewise.
10405 (nexttoward_test_data): Likewise.
10406 (remainder_test_data): Likewise.
10407 (remquo_test_data): Likewise.
10408 (scalbn_test_data): Likewise.
10409 (scalbln_test_data): Likewise.
10410 (signbit_test_data): Likewise.
10411 (sqrt_test_data): Likewise.
10412 (significand_test_data): Likewise.
10413
10414 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10415
10416 [BZ #15424]
10417 * benchtests/bench-modf.c (struct args): Mark arg0 as
10418 volatile.
10419 * scripts/bench.pl: Mark members of struct args as volatile.
10420
10421 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10422
10423 [BZ # 15497]
10424 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10425 negative infinity on POWER6 or lower.
10426 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10427
10428 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10429
10430 [BZ #15442]
10431 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10432 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10433 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10434 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10435 (_FP_SETQNAN): New macro.
10436 (_FP_SETQNAN_SEMIRAW): Likewise.
10437 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10438 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10439 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10440 (FP_EXTEND): Use _FP_FRAC_SNANP.
10441 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10442 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10443 into account.
10444 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10445 New macro.
10446 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10447 Likewise.
10448
10449 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10450
10451 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10452 with DIVIDE_BY_ZERO_EXCEPTION.
10453 (gamma_test_data): Likewise.
10454 (lgamma_test_data): Likewise.
10455 (log_test_data): Likewise.
10456 (log10_test_data): Likewise.
10457 (log2_test_data): Likewise.
10458 (tgamma_test_data): Likewise.
10459
10460 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10461 (acos_test_tonearest): Likewise.
10462 (acos_test_towardzero): Likewise.
10463 (acos_test_downward): Likewise.
10464 (acos_test_upward): Likewise.
10465 (acosh_test): Likewise.
10466 (asin_test): Likewise.
10467 (asin_test_tonearest): Likewise.
10468 (asin_test_towardzero): Likewise.
10469 (asin_test_downward): Likewise.
10470 (asin_test_upward): Likewise.
10471 (asinh_test): Likewise.
10472 (atan_test): Likewise.
10473 (atanh_test): Likewise.
10474 (atan2_test): Likewise.
10475 (cabs_test): Likewise.
10476 (cacos_test): Likewise.
10477 (cacosh_test): Likewise.
10478 (casin_test): Likewise.
10479 (casinh_test): Likewise.
10480 (catan_test): Likewise.
10481 (catanh_test): Likewise.
10482 (cbrt_test): Likewise.
10483 (ccos_test): Likewise.
10484 (ccosh_test): Likewise.
10485 (cexp_test): Likewise.
10486 (clog_test): Likewise.
10487 (clog10_test): Likewise.
10488 (cos_test): Likewise.
10489 (cos_test_tonearest): Likewise.
10490 (cos_test_towardzero): Likewise.
10491 (cos_test_downward): Likewise.
10492 (cos_test_upward): Likewise.
10493 (cosh_test): Likewise.
10494 (cosh_test_tonearest): Likewise.
10495 (cosh_test_towardzero): Likewise.
10496 (cosh_test_downward): Likewise.
10497 (cosh_test_upward): Likewise.
10498 (cpow_test): Likewise.
10499 (csin_test): Likewise.
10500 (csinh_test): Likewise.
10501 (csqrt_test): Likewise.
10502 (ctan_test): Likewise.
10503 (ctan_test_tonearest): Likewise.
10504 (ctan_test_towardzero): Likewise.
10505 (ctan_test_downward): Likewise.
10506 (ctan_test_upward): Likewise.
10507 (ctanh_test): Likewise.
10508 (ctanh_test_tonearest): Likewise.
10509 (ctanh_test_towardzero): Likewise.
10510 (ctanh_test_downward): Likewise.
10511 (ctanh_test_upward): Likewise.
10512 (erf_test): Likewise.
10513 (erfc_test): Likewise.
10514 (exp_test): Likewise.
10515 (exp_test_tonearest): Likewise.
10516 (exp_test_towardzero): Likewise.
10517 (exp_test_downward): Likewise.
10518 (exp_test_upward): Likewise.
10519 (exp10_test): Likewise.
10520 (exp2_test): Likewise.
10521 (expm1_test): Likewise.
10522 (fmod_test): Likewise.
10523 (gamma_test): Likewise.
10524 (hypot_test): Likewise.
10525 (j0_test): Likewise.
10526 (j1_test): Likewise.
10527 (jn_test): Likewise.
10528 (lgamma_test): Likewise.
10529 (log_test): Likewise.
10530 (log10_test): Likewise.
10531 (log1p_test): Likewise.
10532 (log2_test): Likewise.
10533 (logb_test_downward): Likewise.
10534 (pow_test): Likewise.
10535 (pow_test_tonearest): Likewise.
10536 (pow_test_towardzero): Likewise.
10537 (pow_test_downward): Likewise.
10538 (pow_test_upward): Likewise.
10539 (remainder_test): Likewise.
10540 (remquo_test): Likewise.
10541 (sin_test): Likewise.
10542 (sin_test_tonearest): Likewise.
10543 (sin_test_towardzero): Likewise.
10544 (sin_test_downward): Likewise.
10545 (sin_test_upward): Likewise.
10546 (sincos_test): Likewise.
10547 (sinh_test): Likewise.
10548 (sinh_test_tonearest): Likewise.
10549 (sinh_test_towardzero): Likewise.
10550 (sinh_test_downward): Likewise.
10551 (sinh_test_upward): Likewise.
10552 (sqrt_test): Likewise.
10553 (tan_test): Likewise.
10554 (tan_test_tonearest): Likewise.
10555 (tan_test_towardzero): Likewise.
10556 (tan_test_downward): Likewise.
10557 (tan_test_upward): Likewise.
10558 (tanh_test): Likewise.
10559 (tgamma_test): Likewise.
10560 (y0_test): Likewise.
10561 (y1_test): Likewise.
10562 (yn_test): Likewise.
10563
10564 * math/gen-libm-test.pl (adjust_arg): Remove function.
10565 (special_function): Remove argument $in_func. Only handle
10566 generating output for tables of tests, not inside functions.
10567 (parse_args): Likewise.
10568 (generate_testfile): Remove variable $in_func. Update call to
10569 parse_args.
10570 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10571 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10572 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10573 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10574 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10575 (MAX_VALUE_INIT): Rename macro to max_value.
10576 (MIN_VALUE_INIT): Rename macro to min_value.
10577 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10578 (plus_zero): Remove variable.
10579 (minus_zero): Likewise.
10580 (plus_infty): Likewise.
10581 (minus_infty): Likewise.
10582 (qnan_value): Likewise.
10583 (max_value): Likewise.
10584 (min_value): Likewise.
10585 (min_subnorm_value): Likewise.
10586
10587 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10588
10589 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10590 uint64_t or uint32_t usage.
10591 * crypt/sha256-block.c: Likewise.
10592 * crypt/sha256-crypt.c: Likewise.
10593 * crypt/sha256.c: Likewise.
10594 * crypt/sha512-block.c: Likewise.
10595 * crypt/sha512-crypt.c: Likewise.
10596 * crypt/sha512.c: Likewise.
10597 * debug/backtrace-tst.c: Likewise.
10598 * debug/pcprofiledump.c: Likewise.
10599 * elf/cache.c: Likewise.
10600 * elf/dl-cache.c: Likewise.
10601 * elf/dl-misc.c: Likewise.
10602 * elf/dl-profile.c: Likewise.
10603 * elf/dl-support.c: Likewise.
10604 * elf/ldconfig.c: Likewise.
10605 * elf/sprof.c: Likewise.
10606 * iconv/dummy-repertoire.c: Likewise.
10607 * iconv/iconv_charmap.c: Likewise.
10608 * iconv/skeleton.c: Likewise.
10609 * iconvdata/8bit-generic.c: Likewise.
10610 * iconvdata/cp737.h: Likewise.
10611 * iconvdata/cp775.h: Likewise.
10612 * iconvdata/ibm1008.h: Likewise.
10613 * iconvdata/ibm1025.h: Likewise.
10614 * iconvdata/ibm1046.h: Likewise.
10615 * iconvdata/ibm1097.h: Likewise.
10616 * iconvdata/ibm1112.h: Likewise.
10617 * iconvdata/ibm1122.h: Likewise.
10618 * iconvdata/ibm1123.h: Likewise.
10619 * iconvdata/ibm1124.h: Likewise.
10620 * iconvdata/ibm1129.h: Likewise.
10621 * iconvdata/ibm1130.h: Likewise.
10622 * iconvdata/ibm1132.h: Likewise.
10623 * iconvdata/ibm1133.h: Likewise.
10624 * iconvdata/ibm1137.h: Likewise.
10625 * iconvdata/ibm1140.h: Likewise.
10626 * iconvdata/ibm1141.h: Likewise.
10627 * iconvdata/ibm1142.h: Likewise.
10628 * iconvdata/ibm1143.h: Likewise.
10629 * iconvdata/ibm1144.h: Likewise.
10630 * iconvdata/ibm1145.h: Likewise.
10631 * iconvdata/ibm1146.h: Likewise.
10632 * iconvdata/ibm1147.h: Likewise.
10633 * iconvdata/ibm1148.h: Likewise.
10634 * iconvdata/ibm1149.h: Likewise.
10635 * iconvdata/ibm1153.h: Likewise.
10636 * iconvdata/ibm1154.h: Likewise.
10637 * iconvdata/ibm1155.h: Likewise.
10638 * iconvdata/ibm1156.h: Likewise.
10639 * iconvdata/ibm1157.h: Likewise.
10640 * iconvdata/ibm1158.h: Likewise.
10641 * iconvdata/ibm1160.h: Likewise.
10642 * iconvdata/ibm1161.h: Likewise.
10643 * iconvdata/ibm1162.h: Likewise.
10644 * iconvdata/ibm1163.h: Likewise.
10645 * iconvdata/ibm1164.h: Likewise.
10646 * iconvdata/ibm1166.h: Likewise.
10647 * iconvdata/ibm1167.h: Likewise.
10648 * iconvdata/ibm12712.h: Likewise.
10649 * iconvdata/ibm1390.h: Likewise.
10650 * iconvdata/ibm1399.h: Likewise.
10651 * iconvdata/ibm16804.h: Likewise.
10652 * iconvdata/ibm4517.h: Likewise.
10653 * iconvdata/ibm4899.h: Likewise.
10654 * iconvdata/ibm4909.h: Likewise.
10655 * iconvdata/ibm4971.h: Likewise.
10656 * iconvdata/ibm5347.h: Likewise.
10657 * iconvdata/ibm803.h: Likewise.
10658 * iconvdata/ibm856.h: Likewise.
10659 * iconvdata/ibm901.h: Likewise.
10660 * iconvdata/ibm902.h: Likewise.
10661 * iconvdata/ibm9030.h: Likewise.
10662 * iconvdata/ibm9066.h: Likewise.
10663 * iconvdata/ibm921.h: Likewise.
10664 * iconvdata/ibm922.h: Likewise.
10665 * iconvdata/ibm9448.h: Likewise.
10666 * iconvdata/isiri-3342.h: Likewise.
10667 * iconvdata/jis0201.h: Likewise.
10668 * include/link.h: Likewise.
10669 * include/netdb.h: Likewise.
10670 * inet/check_native.c: Likewise.
10671 * inet/check_pf.c: Likewise.
10672 * inet/getipv4sourcefilter.c: Likewise.
10673 * inet/getnameinfo.c: Likewise.
10674 * inet/getsourcefilter.c: Likewise.
10675 * inet/htonl.c: Likewise.
10676 * inet/setipv4sourcefilter.c: Likewise.
10677 * inet/setsourcefilter.c: Likewise.
10678 * inet/test-inet6_opt.c: Likewise.
10679 * inet/tst-network.c: Likewise.
10680 * locale/C-collate.c: Likewise.
10681 * locale/C-ctype.c: Likewise.
10682 * locale/C-time.c: Likewise.
10683 * locale/C-translit.h: Likewise.
10684 * locale/loadarchive.c: Likewise.
10685 * locale/programs/3level.h: Likewise.
10686 * locale/programs/charmap.c: Likewise.
10687 * locale/programs/charmap.h: Likewise.
10688 * locale/programs/ld-address.c: Likewise.
10689 * locale/programs/ld-collate.c: Likewise.
10690 * locale/programs/ld-ctype.c: Likewise.
10691 * locale/programs/ld-identification.c: Likewise.
10692 * locale/programs/ld-measurement.c: Likewise.
10693 * locale/programs/ld-messages.c: Likewise.
10694 * locale/programs/ld-monetary.c: Likewise.
10695 * locale/programs/ld-name.c: Likewise.
10696 * locale/programs/ld-numeric.c: Likewise.
10697 * locale/programs/ld-paper.c: Likewise.
10698 * locale/programs/ld-telephone.c: Likewise.
10699 * locale/programs/ld-time.c: Likewise.
10700 * locale/programs/linereader.c: Likewise.
10701 * locale/programs/locale.c: Likewise.
10702 * locale/programs/locarchive.c: Likewise.
10703 * locale/programs/locfile.h: Likewise.
10704 * locale/programs/repertoire.c: Likewise.
10705 * locale/programs/simple-hash.c: Likewise.
10706 * locale/programs/simple-hash.h: Likewise.
10707 * malloc/memusage.c: Likewise.
10708 * malloc/memusagestat.c: Likewise.
10709 * nis/nis_defaults.c: Likewise.
10710 * nis/nis_hash.c: Likewise.
10711 * nis/nis_print.c: Likewise.
10712 * nis/nis_xdr.c: Likewise.
10713 * nscd/connections.c: Likewise.
10714 * nscd/hstcache.c: Likewise.
10715 * nscd/nscd_gethst_r.c: Likewise.
10716 * nscd/nscd_getserv_r.c: Likewise.
10717 * nscd/nscd_helper.c: Likewise.
10718 * nscd/servicescache.c: Likewise.
10719 * nss/makedb.c: Likewise.
10720 * nss/nss_db/db-XXX.c: Likewise.
10721 * nss/nss_db/db-initgroups.c: Likewise.
10722 * nss/nss_db/db-netgrp.c: Likewise.
10723 * nss/nss_files/files-network.c: Likewise.
10724 * nss/nss_files/files-parse.c: Likewise.
10725 * posix/bug-regex5.c: Likewise.
10726 * posix/fnmatch_loop.c: Likewise.
10727 * posix/regcomp.c: Likewise.
10728 * posix/regexec.c: Likewise.
10729 * posix/tst-rfc3484-2.c: Likewise.
10730 * posix/tst-rfc3484-3.c: Likewise.
10731 * posix/tst-rfc3484.c: Likewise.
10732 * resolv/nss_dns/dns-canon.c: Likewise.
10733 * resolv/nss_dns/dns-network.c: Likewise.
10734 * resolv/res_init.c: Likewise.
10735 * resolv/res_mkquery.c: Likewise.
10736 * resolv/tst-aton.c: Likewise.
10737 * stdlib/cxa_atexit.c: Likewise.
10738 * stdlib/cxa_finalize.c: Likewise.
10739 * stdlib/gen-fpioconst.c: Likewise.
10740 * stdlib/strtol_l.c: Likewise.
10741 * string/tst-endian.c: Likewise.
10742 * sunrpc/auth_des.c: Likewise.
10743 * sunrpc/clnt_udp.c: Likewise.
10744 * sunrpc/rtime.c: Likewise.
10745 * sunrpc/svcauth_des.c: Likewise.
10746 * sunrpc/xdr.c: Likewise.
10747 * sunrpc/xdr_intXX_t.c: Likewise.
10748 * sunrpc/xdr_rec.c: Likewise.
10749 * sysdeps/generic/ldconfig.h: Likewise.
10750 * sysdeps/generic/ldsodefs.h: Likewise.
10751 * sysdeps/generic/memusage.h: Likewise.
10752 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10755 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10762 * sysdeps/posix/getaddrinfo.c: Likewise.
10763 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10764 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10765 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10766 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10767 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10768 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10769 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10770 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10771 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10772 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10773 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10774 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10775 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10776 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10777 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10778 * sysdeps/x86_64/dl-tls.h: Likewise.
10779 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10780 * time/alt_digit.c: Likewise.
10781 * time/era.c: Likewise.
10782 * wcsmbs/tst-c16c32-1.c: Likewise.
10783
10784 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10785
10786 * math/libm-test.inc (struct test_sincos_data): New type.
10787 (RUN_TEST_LOOP_sincos): New macro.
10788 (sincos_test_data): New variable.
10789 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10790
10791 2013-05-16 Richard Henderson <rth@redhat.com>
10792
10793 * math/atest-exp2.c (LIMB64): New macro.
10794 (CONSTSZ): New macro.
10795 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10796 (hexdig): Move ...
10797 (print_mpn_fp): ... to function scope.
10798 (read_mpn_hex): Remove.
10799 (get_log2): Remove.
10800 (exp2_mpn): Use mp_log2.
10801 (main): Use mp_exp1.
10802
10803 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10804
10805 * math/libm-test.inc: Remove comment about not testing "inexact"
10806 exceptions.
10807 (INEXACT_EXCEPTION): New macro.
10808 (NO_INEXACT_EXCEPTION): Likewise.
10809 (INVALID_EXCEPTION_OK): Update value.
10810 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10811 (OVERFLOW_EXCEPTION_OK): Likewise.
10812 (UNDERFLOW_EXCEPTION_OK): Likewise.
10813 (IGNORE_ZERO_INF_SIGN): Likewise.
10814 (ERRNO_UNCHANGED): Likewise.
10815 (ERRNO_EDOM): Likewise.
10816 (ERRNO_ERANGE): Likewise.
10817 (test_exceptions): Handle testing "inexact" exceptions.
10818 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10819 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10820 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10821 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10822 INEXACT_EXCEPTION.
10823 (rint_towardzero_test_data): Likewise.
10824 (rint_downward_test_data): Likewise.
10825 (rint_upward_test_data): Likewise.
10826
10827 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10828 with OVERFLOW_EXCEPTION.
10829 (exp10_test_data): Likewise.
10830 (exp2_test_data): Likewise.
10831 (expm1_test_data): Likewise.
10832 (lgamma_test_data): Likewise.
10833 (pow_test_data): Likewise.
10834 (tgamma_test_data): Likewise.
10835 (yn_test_data): Remove duplicate test of overflow.
10836
10837 * math/libm-test.inc (struct test_cc_c_data): New type.
10838 (RUN_TEST_LOOP_cc_c): New macro.
10839 (cpow_test_data): New variable.
10840 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10841
10842 * math/libm-test.inc (struct test_f_L_data): New type.
10843 (RUN_TEST_LOOP_f_L): New macro.
10844 (llrint_test_data): New variable.
10845 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10846 (llrint_tonearest_test_data): New variable.
10847 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10848 (llrint_towardzero_test_data): New variable.
10849 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10850 (llrint_downward_test_data): New variable.
10851 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10852 (llrint_upward_test_data): New variable.
10853 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10854 (llround_test_data): New variable.
10855 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10856
10857 2013-05-13 Peter Collingbourne <pcc@google.com>
10858
10859 * math/atest-exp2.c (get_log2): Remove const attribute.
10860
10861 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10862
10863 * math/libm-test.inc (struct test_f_l_data): New type.
10864 (RUN_TEST_LOOP_f_l): New macro.
10865 (lrint_test_data): New variable.
10866 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10867 (lrint_tonearest_test_data): New variable.
10868 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10869 (lrint_towardzero_test_data): New variable.
10870 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10871 (lrint_downward_test_data): New variable.
10872 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10873 (lrint_upward_test_data): New variable.
10874 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10875 (lround_test_data): New variable.
10876 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10877
10878 2013-05-15 Peter Collingbourne <pcc@google.com>
10879
10880 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10881 (EXTRACT_WORDS64) Use where appropriate.
10882 (INSERT_WORDS64) Likewise.
10883
10884 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10885 constraints with x constraints.
10886 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10887
10888 * malloc/obstack.c (_obstack_compat): Add initializer.
10889
10890 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10891
10892 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10893 si_trapno and add si_addr_lsb to _sifields.sigfault.
10894 (si_trapno): Remove macro.
10895 (si_addr_lsb): Define new macro.
10896 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10897
10898 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10899
10900 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10901 instead of TEST_f_l.
10902 (llrint_test_tonearest): Likewise.
10903 (llrint_test_towardzero): Likewise.
10904 (llrint_test_downward): Likewise.
10905 (llrint_test_upward): Likewise.
10906 (llround_test): Likewise.
10907
10908 * math/libm-test.inc (struct test_f_i_data): Add comment.
10909 (RUN_TEST_LOOP_f_b): New macro.
10910 (RUN_TEST_LOOP_f_b_tg): Likewise.
10911 (finite_test_data): New variable.
10912 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10913 (isfinite_test_data): New variable.
10914 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10915 (isinf_test_data): New variable.
10916 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10917 (isnan_test_data): New variable.
10918 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10919 (isnormal_test_data): New variable.
10920 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10921 (issignaling_test_data): New variable.
10922 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10923 (signbit_test_data): New variable.
10924 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10925
10926 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10927 with INVALID_EXCEPTION.
10928 (acosh_test_data): Likewise.
10929 (asin_test_data): Likewise.
10930 (atanh_test_data): Likewise.
10931 (fmod_test_data): Likewise.
10932 (log_test_data): Likewise.
10933 (log10_test_data): Likewise.
10934 (log2_test_data): Likewise.
10935 (pow_test_data): Likewise.
10936 (sqrt_test_data): Likewise.
10937 (y0_test_data): Likewise.
10938 (y1_test_data): Likewise.
10939 (yn_test_data): Likewise.
10940
10941 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10942 function contents.
10943
10944 * math/libm-test.inc (struct test_ff_i_data): New type.
10945 (RUN_TEST_LOOP_ff_i_tg): New macro.
10946 (isgreater_test_data): New variable.
10947 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10948 (isgreaterequal_test_data): New variable.
10949 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10950 (isless_test_data): New variable.
10951 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10952 (islessequal_test_data): New variable.
10953 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10954 (islessgreater_test_data): New variable.
10955 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10956 (isunordered_test_data): New variable.
10957 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10958
10959 2013-05-14 David S. Miller <davem@davemloft.net>
10960
10961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10962
10963 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10964
10965 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10966
10967 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10968 extra_test to int.
10969 (struct test_f_i_data): Change type of max_ulp to int.
10970
10971 * math/libm-test.inc (test_ffI_f1_data): New type.
10972 (RUN_TEST_LOOP_ffI_f1): New macro.
10973 (remquo_test_data): New variable.
10974 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10975
10976 * setjmp/tst-setjmp-fp.c: New file.
10977 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10978 (link-libm): New variable.
10979 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10980
10981 * math/libm-test.inc (struct test_f_i_data): New type.
10982 (RUN_TEST_LOOP_f_i): New macro.
10983 (RUN_TEST_LOOP_f_i_tg): Likewise.
10984 (fpclassify_test_data): New variable.
10985 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10986 (ilogb_test_data): New variable.
10987 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10988
10989 * math/libm-test.inc (scalbln_test): Correct function name in END
10990 call.
10991
10992 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10993 (RUN_TEST_LOOP_fI_f1): New macro.
10994 (frexp_test_data): New variable.
10995 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10996
10997 * math/libm-test.inc (struct test_fF_f1_data): New type.
10998 (RUN_TEST_LOOP_fF_f1): New macro.
10999 (modf_test_data): New variable.
11000 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11001
11002 * math/libm-test.inc (struct test_f_f1_data): New type.
11003 (RUN_TEST_LOOP_f_f1): New macro.
11004 (gamma_test_data): New variable.
11005 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11006 (lgamma_test_data): New variable.
11007 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11008
11009 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11010
11011 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11012 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11013 (main): Comment "tls" pseudo-hwcap.
11014
11015 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11016
11017 * math/libm-test.inc (struct test_fl_f_data): New type.
11018 (RUN_TEST_LOOP_fl_f): New variable.
11019 (scalbln_test_data): New variable.
11020 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11021
11022 * math/libm-test.inc (struct test_fi_f_data): New type.
11023 (RUN_TEST_LOOP_fi_f): New macro.
11024 (ldexp_test_data): New variable.
11025 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11026 (scalbn_test_data): New variable.
11027 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11028
11029 * math/libm-test.inc (struct test_c_f_data): New type.
11030 (RUN_TEST_LOOP_c_f): New macro.
11031 (cabs_test_data): New variable.
11032 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11033 (carg_test_data): New variable.
11034 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11035 (cimag_test_data): New variable.
11036 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11037 (creal_test_data): New variable.
11038 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11039
11040 * math/libm-test.inc (struct test_if_f_data): New type.
11041 (RUN_TEST_LOOP_if_f): New macro.
11042 (jn_test_data): New variable.
11043 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11044 (yn_test_data): New variable.
11045 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11046
11047 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11048
11049 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11050
11051 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11052 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11053
11054 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11055
11056 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11057 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11058 (bench-deps): Add bench-timing.h.
11059 * benchtests-bench-skeleton.c: Include bench-timing.h.
11060 (main): Use TIMING_* macros instead of clock_gettime.
11061 * benchtests/bench-timing.h: New file.
11062
11063 [BZ #14582]
11064 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11065 Renamed from _LIB_VERSION.
11066 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11067
11068 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11069
11070 * math/libm-test.inc (struct test_fff_f_data): New type.
11071 (RUN_TEST_LOOP_fff_f): New macro.
11072 (fma_test_data): New variable.
11073 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11074 (fma_towardzero_test_data): New variable.
11075 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11076 (fma_downward_test_data): New variable.
11077 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11078 (fma_upward_test_data): New variable.
11079 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11080
11081 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11082 (struct test_c_c_data): New type.
11083 (RUN_TEST_LOOP_c_c): New macro.
11084 (cacos_test_data): New variable.
11085 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11086 (cacosh_test_data): New variable.
11087 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11088 (casin_test_data): New variable.
11089 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11090 (casinh_test_data): New variable.
11091 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11092 (catan_test_data): New variable.
11093 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11094 (catanh_test_data): New variable.
11095 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11096 (ccos_test_data): New variable.
11097 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11098 (ccosh_test_data): New variable.
11099 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11100 (cexp_test_data): New variable.
11101 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11102 (clog_test_data): New variable.
11103 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11104 (clog10_test_data): New variable.
11105 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11106 (conj_test_data): New variable.
11107 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11108 (cproj_test_data): New variable.
11109 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11110 (csin_test_data): New variable.
11111 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11112 (csinh_test_data): New variable.
11113 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11114 (csqrt_test_data): New variable.
11115 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11116 (ctan_test_data): New variable.
11117 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11118 (ctan_tonearest_test_data): New variable.
11119 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11120 (ctan_towardzero_test_data): New variable.
11121 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11122 (ctan_downward_test_data): New variable.
11123 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11124 (ctan_upward_test_data): New variable.
11125 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11126 (ctanh_test_data): New variable.
11127 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11128 (ctanh_tonearest_test_data): New variable.
11129 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11130 (ctanh_towardzero_test_data): New variable.
11131 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11132 (ctanh_downward_test_data): New variable.
11133 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11134 (ctanh_upward_test_data): New variable.
11135 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11136 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11137 of BUILD_COMPLEX.
11138
11139 * math/libm-test.inc (struct test_ff_f_data): New type.
11140 (struct test_ff_f_data_nexttoward): Likewise.
11141 (RUN_TEST_LOOP_2_f): New macro.
11142 (RUN_TEST_LOOP_ff_f): Likewise.
11143 (atan2_test_data): New variable.
11144 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11145 (copysign_test_data): New variable.
11146 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11147 (fdim_test_data): New variable.
11148 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11149 (fmax_test_data): New variable.
11150 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11151 (fmin_test_data): New variable.
11152 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11153 (fmod_test_data): New variable.
11154 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11155 (hypot_test_data): New variable.
11156 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11157 (nextafter_test_data): New variable.
11158 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11159 (nexttoward_test_data): New variable.
11160 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11161 (pow_test_data): New variable.
11162 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11163 (pow_tonearest_test_data): New variable.
11164 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11165 (pow_towardzero_test_data): New variable.
11166 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11167 (pow_downward_test_data): New variable.
11168 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11169 (pow_upward_test_data): New variable.
11170 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11171 (remainder_test_data): New variable.
11172 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11173 (scalb_test_data): New variable.
11174 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11175 * sysdeps/i386/fpu/libm-test-ulps: Update.
11176
11177 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11178
11179 * math/libm-test.inc (fma_test): Use max_value instead of local
11180 variable fltmax.
11181 (nextafter_test): Likewise.
11182
11183 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11184 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11185 (acos_downward_test_data): New variable.
11186 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11187 (acos_upward_test_data): New variable.
11188 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11189 (acosh_test_data): New variable.
11190 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11191 (asin_test_data): New variable.
11192 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11193 (asin_tonearest_test_data): New variable.
11194 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11195 (asin_towardzero_test_data): New variable.
11196 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11197 (asin_downward_test_data): New variable.
11198 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11199 (asin_upward_test_data): New variable.
11200 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11201 (asinh_test_data): New variable.
11202 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11203 (atan_test_data): New variable.
11204 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11205 (atanh_test_data): New variable.
11206 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11207 (cbrt_test_data): New variable.
11208 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11209 (ceil_test_data): New variable.
11210 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11211 (cos_test_data): New variable.
11212 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11213 (cos_tonearest_test_data): New variable.
11214 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11215 (cos_towardzero_test_data): New variable.
11216 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11217 (cos_downward_test_data): New variable.
11218 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11219 (cos_upward_test_data): New variable.
11220 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11221 (cosh_test_data): New variable.
11222 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11223 (cosh_tonearest_test_data): New variable.
11224 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11225 (cosh_towardzero_test_data): New variable.
11226 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11227 (cosh_downward_test_data): New variable.
11228 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11229 (cosh_upward_test_data): New variable.
11230 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11231 (erf_test_data): New variable.
11232 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11233 (erfc_test_data): New variable.
11234 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11235 (exp_test_data): New variable.
11236 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11237 (exp_tonearest_test_data): New variable.
11238 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11239 (exp_towardzero_test_data): New variable.
11240 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11241 (exp_downward_test_data): New variable.
11242 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11243 (exp_upward_test_data): New variable.
11244 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11245 (exp10_test_data): New variable.
11246 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11247 (exp2_test_data): New variable.
11248 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11249 (expm1_test_data): New variable.
11250 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11251 (fabs_test_data): New variable.
11252 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11253 (floor_test_data): New variable.
11254 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11255 (j0_test_data): New variable.
11256 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11257 (j1_test_data): New variable.
11258 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11259 (log_test_data): New variable.
11260 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11261 (log10_test_data): New variable.
11262 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11263 (log1p_test_data): New variable.
11264 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11265 (log2_test_data): New variable.
11266 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11267 (logb_test_data): New variable.
11268 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11269 (logb_downward_test_data): New variable.
11270 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11271 (nearbyint_test_data): New variable.
11272 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11273 (rint_test_data): New variable.
11274 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11275 (rint_tonearest_test_data): New variable.
11276 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11277 (rint_towardzero_test_data): New variable.
11278 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11279 (rint_downward_test_data): New variable.
11280 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11281 (rint_upward_test_data): New variable.
11282 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11283 (round_test_data): New variable.
11284 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11285 (sin_test_data): New variable.
11286 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11287 (sin_tonearest_test_data): New variable.
11288 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11289 (sin_towardzero_test_data): New variable.
11290 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11291 (sin_downward_test_data): New variable.
11292 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11293 (sin_upward_test_data): New variable.
11294 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11295 (sinh_test_data): New variable.
11296 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11297 (sinh_tonearest_test_data): New variable.
11298 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11299 (sinh_towardzero_test_data): New variable.
11300 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11301 (sinh_downward_test_data): New variable.
11302 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11303 (sinh_upward_test_data): New variable.
11304 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11305 (sqrt_test_data): New variable.
11306 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11307 (tan_test_data): New variable.
11308 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11309 (tan_tonearest_test_data): New variable.
11310 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11311 (tan_towardzero_test_data): New variable.
11312 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11313 (tan_downward_test_data): New variable.
11314 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11315 (tan_upward_test_data): New variable.
11316 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11317 (tanh_test_data): New variable.
11318 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11319 (tgamma_test_data): New variable.
11320 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11321 (trunc_test_data): New variable.
11322 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11323 (y0_test_data): New variable.
11324 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11325 (y1_test_data): New variable.
11326 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11327 (significand_test_data): New variable.
11328 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11329
11330 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11331
11332 [BZ #12387]
11333 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11334
11335 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11336
11337 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11338
11339 2013-05-10 Andreas Jaeger <aj@suse.de>
11340
11341 [BZ #15448]
11342 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11343 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11344
11345 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11346
11347 * math/gen-libm-test.pl (adjust_arg): New function.
11348 (special_functions): Handle generating output in both functions
11349 and arrays.
11350 (parse_args): Likewise.
11351 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11352 $in_func argument to parse_args.
11353 * math/libm-test.inc (struct test_f_f_data): New type.
11354 (IF_ROUND_INIT_): New macro.
11355 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11356 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11357 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11358 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11359 (ROUND_RESTORE_): Likewise.
11360 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11361 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11362 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11363 (ROUND_RESTORE_FE_UPWARD): Likewise.
11364 (RUN_TEST_LOOP_f_f): New macro.
11365 (acos_test_data): New variable.
11366 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11367 (acos_tonearest_test_data): New variable.
11368 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11369
11370 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11371
11372 * benchtests/bench-skeleton.c (startup): Fix coding style.
11373
11374 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11375
11376 [BZ #6809]
11377 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11378 negative infinity argument.
11379 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11380 negative infinity argument.
11381 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11382 negative infinity argument.
11383 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11384 domain errors.
11385
11386 2013-05-10 Florian Weimer <fweimer@redhat.com>
11387
11388 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11389 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11390 * iconv/iconv_prog.c (main): Likewise.
11391 * locale/programs/charmap-dir.c (charmap_readdir)
11392 (fopen_uncompressed): Likewise.
11393 * locale/programs/locfile.c (siblings_uncached)
11394 (write_locale_data): Use lstat64 instead of lstat.
11395 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11396 stat.
11397
11398 2013-05-10 Andreas Jaeger <aj@suse.de>
11399
11400 [BZ #15395]
11401 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11402 localization.
11403 Include <locale.h>.
11404
11405 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11406
11407 * elf/dl-close.c (_dl_close_worker): Add comments.
11408
11409 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11410
11411 [BZ #15359]
11412 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11413 high part of pi/2.
11414 (__ieee754_rem_pio2l): Update comments.
11415
11416 [BZ #15429]
11417 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11418 high part of pi/2.
11419 (__ieee754_rem_pio2l): Update comments.
11420
11421 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11422 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11423
11424 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11425 M_PI_4l.
11426
11427 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11428 (M_PI_34_LOG10El): Likewise.
11429 (M_PI2_LOG10El): Likewise.
11430 (M_PI4_LOG10El): Likewise.
11431 (M_PI_LOG10El): Likewise.
11432
11433 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11434
11435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11436
11437 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11438
11439 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11440 (MINUS_ZERO_INIT): Likewise.
11441 (PLUS_INFTY_INIT): Likewise.
11442 (MINUS_INFTY_INIT): Likewise.
11443 (QNAN_VALUE_INIT): Likewise.
11444 (MAX_VALUE_INIT): Likewise.
11445 (MIN_VALUE_INIT): Likewise.
11446 (MIN_SUBNORM_VALUE_INIT): Likewise.
11447 (plus_zero): Initialize with PLUS_ZERO_INIT.
11448 (minus_zero): Initialize with MINUS_ZERO_INIT.
11449 (plus_infty): Initialize with PLUS_INFTY_INIT.
11450 (minus_infty): Initialize with MINUS_INFTY_INIT.
11451 (qnan_value): Initialize with QNAN_VALUE_INIT.
11452 (max_value): Initialize with MAX_VALUE_INIT.
11453 (min_value): Initialize with MIN_VALUE_INIT.
11454 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11455
11456 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11457 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11458 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11459 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11460
11461 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11462 (RUN_TEST_2_f): Likewise.
11463 (RUN_TEST_ff_f): Likewise.
11464 (RUN_TEST_fi_f): Likewise.
11465 (RUN_TEST_fl_f): Likewise.
11466 (RUN_TEST_fff_f): Likewise.
11467 (RUN_TEST_c_f): Likewise.
11468 (RUN_TEST_f_f1): Likewise.
11469 (RUN_TEST_fF_f1): Likewise.
11470 (RUN_TEST_fI_f1): Likewise.
11471 (RUN_TEST_ffI_f1): Likewise.
11472 (RUN_TEST_c_c): Likewise.
11473 (RUN_TEST_cc_c): Likewise.
11474 (RUN_TEST_f_i): Likewise.
11475 (RUN_TEST_f_i_tg): Likewise.
11476 (RUN_TEST_ff_i_tg): Likewise.
11477 (RUN_TEST_f_b): Likewise.
11478 (RUN_TEST_f_b_tg): Likewise.
11479 (RUN_TEST_f_l): Likewise.
11480 (RUN_TEST_f_L): Likewise.
11481 (RUN_TEST_sincos): Likewise.
11482 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11483 whether to show exceptions. Do not include ");\n" in return
11484 value.
11485 (special_functions): Output call to RUN_TEST_sincos instead of
11486 check_float calls. Update calls to new_test.
11487 (parse_args): Output call to single RUN_TEST_* macro instead of
11488 check_* calls and other assignments. Update calls to new_test.
11489
11490 [BZ #2546]
11491 [BZ #2560]
11492 [BZ #5159]
11493 [BZ #15426]
11494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11495 input to result for tgamma overflow.
11496 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11497 (gamma_coeff): New variable.
11498 (NCOEFF): New macro.
11499 (gamma_positive): New function.
11500 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11501 underflow here. Use gamma_positive instead of exp (lgamma) for
11502 other arguments.
11503 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11504 (gamma_coeff): New variable.
11505 (NCOEFF): New macro.
11506 (gammaf_positive): New function.
11507 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11508 underflow here. Use gamma_positive instead of exp (lgamma) for
11509 other arguments.
11510 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11511 (gamma_coeff): New variable.
11512 (NCOEFF): New macro.
11513 (gammal_positive): New function.
11514 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11515 underflow here. Use gamma_positive instead of exp (lgamma) for
11516 other arguments.
11517 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11518 (gamma_coeff): New variable.
11519 (NCOEFF): New macro.
11520 (gammal_positive): New function.
11521 (__ieee754_gammal_r): Handle positive infinity, overflow and
11522 underflow here. Handle NaN the same as positive infinity. Remove
11523 check x < 0xffffffff for negative integers. Use gamma_positive
11524 instead of exp (lgamma) for other arguments.
11525 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11526 (gamma_coeff): New variable.
11527 (NCOEFF): New macro.
11528 (gammal_positive): New function.
11529 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11530 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11534 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11535 * sysdeps/generic/math_private.h (__gamma_productf): New
11536 prototype.
11537 (__gamma_product): Likewise.
11538 (__gamma_productl): Likewise.
11539 * math/Makefile (libm-calls): Add gamma_product.
11540 * math/libm-test.inc (tgamma_test): Add more tests.
11541 * sysdeps/i386/fpu/libm-test-ulps: Update.
11542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11543
11544 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11545
11546 * benchtests/bench-skeleton.c (main): Preheat CPU.
11547
11548 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11549
11550 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11551
11552 2013-05-07 Roland McGrath <roland@hack.frob.com>
11553
11554 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11555 and _dl_skip_args_internal.
11556
11557 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11558
11559 * manual/message.texi (Message Translation): Talk about users.
11560 Message to key mapping impacts design.
11561
11562 2013-05-06 Roland McGrath <roland@hack.frob.com>
11563
11564 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11565
11566 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11567
11568 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11569 * sysdeps/wordsize-64/glob64.c: ... here.
11570
11571 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11572 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11573 New macros.
11574
11575 * debug/getlogin_r_chk.c: Moved to ...
11576 * login/getlogin_r_chk.c: ... here.
11577 * debug/Makefile (routines): Move getlogin_r_chk to ...
11578 * login/Makefile (routines): ... here.
11579 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11580 * login/Versions (libc: GLIBC_2.4): ... here.
11581
11582 * io/poll.c (__poll): Renamed from poll.
11583 Add libc_hidden_def.
11584 (poll): Define as weak alias.
11585
11586 * debug/ptsname_r_chk.c: Moved to ...
11587 * login/ptsname_r_chk.c: ... here.
11588 * debug/Makefile (routines): Move ptsname_r_chk to ...
11589 * login/Makefile (routines): ... here.
11590 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11591 * login/Versions (libc: GLIBC_2.4): ... here.
11592
11593 * posix/getlogin.c: Moved to ...
11594 * login/getlogin.c: ... here.
11595 * posix/getlogin_r.c: Moved to ...
11596 * login/getlogin_r.c: ... here.
11597 * posix/getlogin_r.c: Moved to ...
11598 * login/getlogin_r.c: ... here.
11599 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11600 * login/Makefile (routines): ... here.
11601 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11602 * login/Versions (libc: GLIBC_2.0): ... here.
11603
11604 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11605 (setrlimit): Define as weak alias.
11606
11607 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11608 Call __ names for open, ftruncate, and close.
11609 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11610 (truncate): Define as weak alias.
11611
11612 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11613
11614 * math/gen-libm-test.pl (parse_args): Initialize x before each
11615 test of frexp, modf and remquo.
11616
11617 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11618 test signgam value.
11619
11620 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11621
11622 [BZ #15418]
11623 [BZ #15419]
11624 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11625 internal tests.
11626 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11627
11628 2013-05-06 Roland McGrath <roland@hack.frob.com>
11629
11630 * elf/dl-writev.h: New file.
11631 * elf/dl-misc.c: Include it.
11632 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11633 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11634
11635 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11636
11637 * math/libm-test.inc (noXFails): Remove variable.
11638 (noXPasses): Likewise.
11639 (BUILD_COMPLEX_INT): Remove macro.
11640 (print_screen): Remove xfail argument.
11641 (print_screen_max_error): Likewise.
11642 (update_stats): Likewise.
11643 (print_max_error): Likewise. Update calls to other affected
11644 functions.
11645 (print_complex_max_error): Likewise.
11646 (test_single_exception): Update calls to print_screen.
11647 (test_single_errno): Likewise.
11648 (check_float_internal): Remove xfail argument. Update calls to
11649 other affected functions.
11650 (check_float): Likewise.
11651 (check_complex): Likewise.
11652 (check_int): Likewise.
11653 (check_long): Likewise.
11654 (check_bool): Likewise.
11655 (check_longlong): Likewise.
11656 (main): Don't print noXFails and noXPasses.
11657 * math/gen-libm-test.pl (top level): Don't mention expected
11658 failure handling in comment.
11659 (new_test): Don't handle expected failures.
11660 (parse_args): Don't mention expected failure handling in comment.
11661 (generate_testfile): Don't handle expected failures.
11662 (parse_ulps): Likewise.
11663 (print_ulps_file): Likewise.
11664 (get_failure): Remove function.
11665 (output_test): Don't handle expected failures.
11666 * make/README.libm-test: Don't mention expected failure handling.
11667
11668 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11669 (minus_zero): Likewise.
11670 (plus_infty): Likewise.
11671 (minus_infty): Likewise.
11672 (qnan_value): Likewise.
11673 (max_value): Likewise.
11674 (min_value): Likewise.
11675 (min_subnorm_value): Likewise.
11676 (initialize): Do not initialize those variables dynamically.
11677
11678 2013-05-03 Roland McGrath <roland@hack.frob.com>
11679
11680 * io/open.c (__open_2): Moved to ...
11681 * io/open_2.c: ... this new file.
11682 * io/open64.c (__open64_2): Moved to ...
11683 * io/open64_2.c: ... this new file.
11684 * io/openat.c (__openat_2): Moved to ...
11685 * io/openat_2.c: ... this new file.
11686 * io/openat64.c (__openat64_2): Moved to ...
11687 * io/openat64_2.c: ... this new file.
11688 * io/Makefile (routines): Add them.
11689 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11690 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11691 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11692 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11693 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11694 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11695 (__openat64): Add hidden_ver.
11696 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11697 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11698
11699 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11700 Separately conditionalize setting of GLRO(dl_sysinfo) so
11701 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11702 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11703
11704 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11705
11706 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11708 definition.
11709 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11710 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11711 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11712 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11713 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11714
11715 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11716
11717 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11718 test signgam value.
11719
11720 * math/libm-test.inc (hypot_test): Do not use
11721 IGNORE_ZERO_INF_SIGN.
11722
11723 2013-05-03 Andreas Jaeger <aj@suse.de>
11724
11725 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11726 Linux 3.9.
11727 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11728 (PF_MAX): Adjust for VSOCK change.
11729
11730 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11731
11732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11733
11734 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11735
11736 [BZ #15264]
11737 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11738 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11739 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11740
11741 2013-05-02 David S. Miller <davem@davemloft.net>
11742
11743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11744
11745 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11746
11747 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11748
11749 2013-05-01 Roland McGrath <roland@hack.frob.com>
11750
11751 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11752
11753 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11754
11755 [BZ #14952]
11756 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11757 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11758 Use __attribute__ ((__gnu_inline__)).
11759 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11760 Don't use __attribute__ ((__gnu_inline__)).
11761
11762 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11763
11764 [BZ #15423]
11765 * math/s_catan.c (__catan): Handle small real or imaginary part of
11766 input specially to avoid spurious underflow.
11767 * math/s_catanf.c (__catanf): Likewise.
11768 * math/s_catanh.c (__catanh): Likewise.
11769 * math/s_catanhf.c (__catanhf): Likewise.
11770 * math/s_catanhl.c (__catanhl): Likewise.
11771 * math/s_catanl.c (__catanl): Likewise.
11772 * math/libm-test.inc (catan_test): Add more tests.
11773 (catanh_test): Likewise.
11774 * sysdeps/i386/fpu/libm-test-ulps: Update.
11775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11776
11777 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11778
11779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11780
11781 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11782
11783 [BZ #15416]
11784 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11785 accurately for denominator in atan2.
11786 * math/s_catanf.c (__catanf): Likewise.
11787 * math/s_catanh.c (__catanh): Likewise.
11788 * math/s_catanhf.c (__catanhf): Likewise.
11789 * math/s_catanhl.c (__catanhl): Likewise.
11790 * math/s_catanl.c (__catanl): Likewise.
11791 * math/libm-test.inc (catan_test): Add more tests.
11792 (catanh_test): Likewise.
11793 * sysdeps/i386/fpu/libm-test-ulps: Update.
11794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11795
11796 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11797
11798 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11799
11800 * benchtests/Makefile (bench): Remove slow benchmarks.
11801 * benchtests/atan-inputs: Add slow benchmark inputs.
11802 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11803 (BENCH_FUNC): Accept variant offset.
11804 (VARIANT): Define.
11805 * benchtests/bench-skeleton.c (main): Run benchmark for each
11806 variant.
11807 * benchtests/cos-inputs: Add slow benchmark inputs.
11808 * benchtests/exp-inputs: Likewise.
11809 * benchtests/pow-inputs: Likewise.
11810 * benchtests/sin-inputs: Likewise.
11811 * benchtests/slowatan-inputs: Remove.
11812 * benchtests/slowatan.c: Remove.
11813 * benchtests/slowcos-inputs: Remove.
11814 * benchtests/slowcos.c: Remove.
11815 * benchtests/slowexp-inputs: Remove.
11816 * benchtests/slowexp.c: Remove.
11817 * benchtests/slowpow-inputs: Remove.
11818 * benchtests/slowpow.c: Remove.
11819 * benchtests/slowsin-inputs: Remove.
11820 * benchtests/slowsin.c: Remove.
11821 * benchtests/slowtan-inputs: Remove.
11822 * benchtests/slowtan.c: Remove.
11823 * benchtests/tan-inputs: Add slow benchmark inputs.
11824 * scripts/bench.pl: Parse comments and directives.
11825
11826 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11827 in CPPFLAGS.
11828 ($(objpfx)bench-%.c): Remove *-ITER.
11829 * benchtests/bench-modf.c: Remove definition of ITER.
11830 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11831 (main): Loop for DURATION seconds instead of fixed number of
11832 iterations.
11833 * scripts/bench.pl: Don't expect iterations in parameters.
11834
11835 2013-04-29 Roland McGrath <roland@hack.frob.com>
11836
11837 * io/fchdir.c (__fchdir): Renamed from fchdir.
11838 (fchdir): Define as weak alias.
11839
11840 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11841
11842 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11843 (ERRNO_EDOM): Likewise.
11844 (ERRNO_ERANGE): Likewise.
11845 (noErrnoTests): New variable.
11846 (init_max_error): Set errno to 0.
11847 (test_single_errno): New function.
11848 (test_errno): Likewise.
11849 (check_float_internal): Call test_errno. Set errno to 0.
11850 (check_complex): Refer to errno tests in comment.
11851 (check_int): Call test_errno. Set errno to 0.
11852 (check_long): Likewise.
11853 (check_bool): Likewise.
11854 (check_longlong): Likewise.
11855 (cos_test): Use ERRNO_* flags for errno tests instead of
11856 check_int.
11857 (expm1_test): Likewise.
11858 (fmod_test): Likewise.
11859 (ilogb_test): Likewise.
11860 (lgamma_test): Likewise.
11861 (pow_test): Likewise.
11862 (remainder_test): Likewise.
11863 (sin_test): Likewise.
11864 (tan_test): Likewise.
11865 (yn_test): Likewise.
11866 (initialize): Set errno to 0.
11867 (main): Print number of errno tests.
11868 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11869
11870 2013-04-29 Andreas Jaeger <aj@suse.de>
11871
11872 [BZ #15084]
11873 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11874 and RES_USEVC.
11875
11876 [BZ #15085]
11877 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11878 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11879 unimplemented.
11880
11881 [BZ #15380]
11882 * stdlib/random.c (__initstate): Return NULL if
11883 __initstate fails.
11884
11885 [BZ #15086]
11886 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11887 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11888 RES_SNGLKUPREOP.
11889
11890 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11891
11892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11893
11894 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11895
11896 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11897 of individual tests.
11898 (casin_test): Likewise.
11899 (casinh_test): Likewise.
11900
11901 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11902
11903 [BZ #15409]
11904 * math/s_catan.c (__catan): Handle arguments with large real or
11905 imaginary part separately without squaring.
11906 * math/s_catanf.c (__catanf): Likewise.
11907 * math/s_catanh.c (__catanh): Likewise.
11908 * math/s_catanhf.c (__catanhf): Likewise.
11909 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11910 and redefine.
11911 (__catanhl): Handle arguments with large real or imaginary part
11912 separately without squaring.
11913 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11914 and redefine.
11915 (__catanl): Handle arguments with large real or imaginary part
11916 separately without squaring.
11917 * math/libm-test.inc (catan_test): Add more tests.
11918 (catanh_test): Likewise.
11919 * sysdeps/i386/fpu/libm-test-ulps: Update.
11920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11921
11922 2013-04-27 Andreas Jaeger <aj@suse.de>
11923
11924 [BZ #15007]
11925 * stdlib/stdlib.h: Update guards for qecvt.
11926 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11927 <stdlib.h>.
11928
11929 2013-04-27 Allan McRae <allan@archlinux.org>
11930
11931 * sysdeps/i386/fpu/libm-test-ulps: Update.
11932
11933 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11934
11935 [BZ #15406]
11936 * math/s_catan.c: Include <float.h>.
11937 (__catan): Ensure underflow exception occurs for underflowed
11938 result.
11939 * math/s_catanf.c: Include <float.h>.
11940 (__catanf): Ensure underflow exception occurs for underflowed
11941 result.
11942 * math/s_catanh.c: Include <float.h>.
11943 (__catanh): Ensure underflow exception occurs for underflowed
11944 result.
11945 * math/s_catanhf.c: Include <float.h>.
11946 (__catanhf): Ensure underflow exception occurs for underflowed
11947 result.
11948 * math/s_catanhl.c: Include <float.h>.
11949 (__catanhl): Ensure underflow exception occurs for underflowed
11950 result.
11951 * math/s_catanl.c: Include <float.h>.
11952 (__catanl): Ensure underflow exception occurs for underflowed
11953 result.
11954 * math/libm-test.inc (catan_test): Add more tests.
11955 (catanh_test): Likewise.
11956
11957 [BZ #15405]
11958 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11959 underflowed result.
11960 * math/s_ccoshf.c (__ccoshf): Likewise.
11961 * math/s_ccoshl.c (__ccoshl): Likewise.
11962 * math/s_csin.c (__csin): Likewise.
11963 * math/s_csinf.c (__csinf): Likewise.
11964 * math/s_csinh.c (__csinh): Likewise.
11965 * math/s_csinhf.c (__csinhf): Likewise.
11966 * math/s_csinhl.c (__csinhl): Likewise.
11967 * math/s_csinl.c (__csinl): Likewise.
11968 * math/libm-test.inc (ccos_test): Add more tests.
11969 (ccosh_test): Likewise.
11970 (csin_test): Likewise.
11971 (csinh_test): Likewise.
11972
11973 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11974
11975 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11976 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11977 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11978 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11979 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11980 powerpc/power5+/fpu folders.
11981 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11982
11983
11984 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11985
11986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11987
11988 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11989
11990 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11991 additions to variable.
11992 [$(config-machine) = x86_64] (modules-names): Likewise.
11993 ($(objpfx)tst-audit3): Remove dependency.
11994 ($(objpfx)tst-audit3.out): Likewise.
11995 ($(objpfx)tst-audit4): Likewise.
11996 ($(objpfx)tst-audit4.out): Likewise.
11997 ($(objpfx)tst-audit5): Likewise.
11998 ($(objpfx)tst-audit5.out): Likewise.
11999 ($(objpfx)tst-audit6): Likewise.
12000 ($(objpfx)tst-audit6.out): Likewise.
12001 ($(objpfx)tst-audit7): Likewise.
12002 ($(objpfx)tst-audit7.out): Likewise.
12003 (tst-audit3-ENV): Remove variable.
12004 (tst-audit4-ENV): Likewise.
12005 (tst-audit5-ENV): Likewise.
12006 (tst-audit6-ENV): Likewise.
12007 (tst-audit7-ENV): Likewise.
12008 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12009 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12010 addition to variable.
12011 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12012 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12013 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12014 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12015 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12016 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12017 tst-audit3, tst-audit4 and tst-audit5.
12018 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12019 tst-audit6 and tst-audit7.
12020 [$(subdir) = elf] (modules-names): Add audit modules for those
12021 tests.
12022 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12023 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12024 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12025 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12026 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12027 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12028 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12029 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12030 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12031 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12032 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12033 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12034 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12035 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12036 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12037 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12038 Likewise.
12039 [$(subdir) = elf && $(config-cflags-avx) = yes]
12040 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12041 [$(subdir) = elf && $(config-cflags-avx) = yes]
12042 (CFLAGS-tst-auditmod4a.c): Likewise.
12043 [$(subdir) = elf && $(config-cflags-avx) = yes]
12044 (CFLAGS-tst-auditmod4b.c): Likewise.
12045 [$(subdir) = elf && $(config-cflags-avx) = yes]
12046 (CFLAGS-tst-auditmod6b.c): Likewise.
12047 [$(subdir) = elf && $(config-cflags-avx) = yes]
12048 (CFLAGS-tst-auditmod6c.c): Likewise.
12049 [$(subdir) = elf && $(config-cflags-avx) = yes]
12050 (CFLAGS-tst-auditmod7b.c): Likewise.
12051 * elf/tst-audit3.c: Move to ...
12052 * sysdeps/x86_64/tst-audit3.c: ... here.
12053 * elf/tst-audit4.c: Move to ...
12054 * sysdeps/x86_64/tst-audit4.c: ... here.
12055 * elf/tst-audit5.c: Move to ...
12056 * sysdeps/x86_64/tst-audit5.c: ... here.
12057 * elf/tst-audit6.c: Move to ...
12058 * sysdeps/x86_64/tst-audit6.c: ... here.
12059 * elf/tst-audit7.c: Move to ...
12060 * sysdeps/x86_64/tst-audit7.c: ... here.
12061 * elf/tst-auditmod3a.c: Move to ...
12062 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12063 * elf/tst-auditmod3b.c: Move to ...
12064 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12065 * elf/tst-auditmod4a.c: Move to ...
12066 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12067 * elf/tst-auditmod4b.c: Move to ...
12068 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12069 * elf/tst-auditmod5a.c: Move to ...
12070 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12071 * elf/tst-auditmod5b.c: Move to ...
12072 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12073 * elf/tst-auditmod6a.c: Move to ...
12074 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12075 * elf/tst-auditmod6b.c: Move to ...
12076 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12077 * elf/tst-auditmod6c.c: Move to ...
12078 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12079 * elf/tst-auditmod7a.c: Move to ...
12080 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12081 * elf/tst-auditmod7b.c: Move to ...
12082 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12083
12084 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12085
12086 [BZ #15366]
12087 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12088 define unconditionally.
12089 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12090 define unconditionally.
12091 (INT8_C, INT16_C, etc.): Likewise.
12092
12093 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12094
12095 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12096 __ehdr_start with hidden visibility.
12097
12098 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12099
12100 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12101
12102 * math/libm-test.inc (cos_test): Use accurate hex constants.
12103 (sincost_test): Likewise.
12104
12105 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12106
12107 * math/libm-test.inc (catan_test): Add more tests.
12108 (catanh_test): Likewise.
12109
12110 * math/s_catanf.c (__catanf): Use suffixed floating-point
12111 constants.
12112 * math/s_catanhf.c (__catanhf): Likewise.
12113 * math/s_catanhl.c (__catanhl): Likewise.
12114 * math/s_catanl.c (__catanl): Likewise.
12115
12116 [BZ #15394]
12117 * math/s_catan.c (__catan): Calculate imaginary part of result
12118 with log1p not log unless computing log of number close to 0.
12119 * math/s_catanf.c (__catanf): Likewise.
12120 * math/s_catanl.c (__catanl): Likewise.
12121 * math/s_catanh.c (__catanh): Calculate real part of result with
12122 log1p not log unless computing log of number close to 0.
12123 * math/s_catanhf.c (__catanhf): Likewise.
12124 * math/s_catanhl.c (__catanhl): Likewise.
12125 * math/libm-test.inc (catan_test): Add more tests.
12126 (catanh_test): Likewise.
12127 * sysdeps/i386/fpu/libm-test-ulps: Update.
12128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12129
12130 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12131
12132 * benchtests/Makefile: Mention files in which fast and slow
12133 paths of math functions are implemented.
12134
12135 2013-04-23 Roland McGrath <roland@hack.frob.com>
12136
12137 * sysdeps/posix/timespec_get.c: New file.
12138
12139 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12140
12141 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12142 POWER.
12143 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12144 for POWER.
12145 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12146 powerpc/power5/fpu folders.
12147 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12148 * benchtests/Makefile: Add modf testcase.
12149 * benchtests/bench-modf.c: New file: Benchmark test for mo
12150
12151 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12152
12153 [BZ #14888]
12154 * time/Makefile (tests): Add tst-strptime-whitespace.
12155 * time/strptime_l.c (get_number): Use ISSPACE.
12156 (__strptime_internal): Likewise.
12157 * time/tst-strptime-whitespace.c: New test case.
12158
12159 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12160
12161 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12162 member.
12163 (_nss_files_init): Set it here.
12164
12165 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12166
12167 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12168 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12169 unsigned.
12170
12171 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12172
12173 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12174
12175 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12176
12177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12178 size just once.
12179
12180 2013-04-21 David S. Miller <davem@davemloft.net>
12181
12182 * po/ru.po: Update Russion translation from translation project.
12183
12184 2013-04-17 Adam Conrad <adconrad@0c3.net>
12185
12186 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12187 and setfsgid.
12188
12189 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12190
12191 * configure.in: Remove i386 configure warning. Remove i386 case.
12192 * configure: Regenerate.
12193 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12194 Add example to error message.
12195 * sysdeps/i386/configure: Regenerate.
12196
12197 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12198
12199 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12200 slowtan.
12201 * benchtests/cos-inputs: New file.
12202 * benchtests/slowcos-inputs: New file.
12203 * benchtests/slowcos.c: New file.
12204 * benchtests/slowtan-inputs: New file.
12205 * benchtests/slowtan.c: New file.
12206 * benchtests/tan-inputs: New file.
12207
12208 2013-04-16 Roland McGrath <roland@hack.frob.com>
12209
12210 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12211 considered kosher.
12212
12213 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12214
12215 * benchtests/Makefile: Include cppflags-iterator.mk to add
12216 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12217
12218 * Makefile.in (bench-clean): New target.
12219 * benchtests/Makefile (bench-clean): Likewise.
12220
12221 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12222
12223 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12224
12225 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12226
12227 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12228
12229 2013-04-15 Andreas Schwab <schwab@suse.de>
12230
12231 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12233 * nscd/pwdcache.c (cache_addpw): Likewise.
12234 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12235 more than recsize.
12236
12237 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12238
12239 * benchtests/Makefile (bench): Write all output to
12240 bench-out.tmp together.
12241
12242 2013-04-15 Andreas Schwab <schwab@suse.de>
12243
12244 * nscd/nscd.c (main): Don't fork again after closing files.
12245
12246 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12247
12248 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12249
12250 * benchtests/Rules (bench-deps): Collect dependencies into a
12251 single variable. Add Makefile to dependencies.
12252 ($(objpfx)bench-%.c): Depend on bench-deps.
12253
12254 2013-04-12 Roland McGrath <roland@hack.frob.com>
12255 Xavier Roche <roche+kml2@exalead.com>
12256
12257 [BZ #15361]
12258 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12259 just that it's a file descriptor.
12260 * manual/llio.texi (Synchronizing AIO Operations): Update description
12261 for EBADF error from aio_fsync.
12262
12263 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12264
12265 * Rules (bench): Move target definition...
12266 * benchtests/Makefile: ... here.
12267
12268 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12269
12270 * math/libm-test.inc (cos_test): Fix PI/2 test.
12271 (sincos_test): Likewise.
12272 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12273 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12274
12275 2013-04-11 Andreas Schwab <schwab@suse.de>
12276
12277 [BZ #13988]
12278 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12279 accept exponent character only when digits were seen.
12280 * stdio-common/Makefile (tests): Add bug26.
12281 * stdio-common/bug26.c: New file.
12282
12283 [BZ #14293]
12284 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12285 non-freeable.
12286
12287 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12288
12289 * Makeconfig (rtld-prefix): Define built linker prefix.
12290 * Rules (run-bench): Use it.
12291 * math/Makefile (run-regen-ulps): Likewise.
12292
12293 * Rules (bench): Remove eval.
12294
12295 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12296 Roland McGrath <roland@hack.frob.com>
12297 Ondrej Bilka <neleai@seznam.cz>
12298
12299 [BZ #15346]
12300 * time/getdate.c: Include ctype.h and alloca.h.
12301 (__getdate_r): Trim leading and trailing spaces of input.
12302 * time/tst-getdate.c (tests): Add tests with leading and
12303 trailing spaces.
12304
12305 2013-04-08 Roland McGrath <roland@hack.frob.com>
12306
12307 [BZ #14280]
12308 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12309 when computing value.
12310
12311 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12312
12313 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12314 Use testrun.sh to run libm tests.
12315
12316 [BZ #15309]
12317 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12318
12319 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12320
12321 [BZ #15264]
12322 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12323
12324 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12325
12326 * Makefile.in (regen-ulps): New target.
12327 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12328 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12329 [ifneq (no,$(PERL)] (regen-ulps): New target.
12330 [ifeq (no,$(PERL)] (regen-ulps): New target.
12331 * math/libm-test.inc (ulps_file_name): Define.
12332 (output_dir): New variable.
12333 (options): Add "output-dir" option.
12334 (parse_opt): Handle 'o' case.
12335 (main): If output_dir is non-NULL use it as a prefix
12336 otherwise use "".
12337 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12338
12339 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12340
12341 [BZ #10060, #10062]
12342 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12343 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12344 fail configure if __sync_val_compare_and_swap is not inlined.
12345 * sysdeps/i386/configure: Regenerate.
12346 * configure.in: Build for i686 when configured for i386.
12347 * configure: Regenerate.
12348 * README: Remove i386 reference.
12349
12350 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12351
12352 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12353 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12354
12355 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12356
12357 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12358 (lmsnanval): New variables.
12359 (F): Add conversion tests.
12360 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12361 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12362
12363 * stdio-common/tstdiomisc.c (F): Properly collect individual
12364 tests' results.
12365
12366 [BZ #14686, #15336]
12367 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12368 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12369 Instead, use input NaN values or generate a qNaN by arithmetic
12370 operation. Also fix bugs to comply with the standard.
12371 * math/libm-test.inc (remainder_test): Add more tests.
12372
12373 [BZ #15335, #15342]
12374 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12376 input NaN values or generate a qNaN by arithmetic operation.
12377
12378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12379 unreachable code.
12380
12381 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12382 definitions.
12383
12384 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12385
12386 [BZ #14478]
12387 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12388 underflowed result.
12389 * math/s_cexpf.c (__cexpf): Likewise.
12390 * math/s_cexpl.c (__cexpl): Likewise.
12391 * math/libm-test.inc (cexp_test): Add more tests.
12392
12393 2013-04-03 Andreas Schwab <schwab@suse.de>
12394
12395 [BZ #15330]
12396 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12397 order arrays from heap if bigger than alloca cutoff.
12398
12399 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12400
12401 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12402 (SNAN_TESTS_double): Refer to GCC PR56831.
12403 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12404 GCC PR56828.
12405
12406 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12407
12408 * Rules (bench): Move bench.out after the run is complete.
12409
12410 * Rules (bench): Echo currently running benchmark.
12411
12412 * benchtests/Makefile (bench): Add atan and slowatan.
12413 * benchtests/atan-inputs: New file.
12414 * benchtests/slowatan-inputs: New file.
12415 * benchtests/slowatan.c: New file.
12416
12417 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12418 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12419 its value.
12420
12421 [BZ #15305]
12422 * sysdeps/unix/sysv/linux/kernel-features.h
12423 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12424 __ASSUME_XFS_RESTRICTED_CHOWN.
12425 * sysdeps/unix/sysv/linux/pathconf.c
12426 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12427 Save and restore errno.
12428
12429 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12430
12431 [BZ #15327]
12432 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12433 arguments using __kernel_casinh.
12434 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12435 arguments using __kernel_casinhf.
12436 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12437 arguments using __kernel_casinhl.
12438 * math/libm-test.inc (cacosh_test): Add more tests.
12439 * sysdeps/i386/fpu/libm-test-ulps: Update.
12440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12441
12442 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12443
12444 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12446
12447 * bench/Makefile (bench): Add sin and slowsin.
12448 * benchtests/sin-inputs: New file.
12449 * benchtests/slowsin-inputs: New file.
12450 * benchtests/slowsin.c: New file.
12451
12452 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12453 (bench): Add slowexp and slowpow.
12454 (exp-ITER): Increase iterations.
12455 (pow-ITER): Likewise.
12456 * benchtests/exp-inputs: Change input.
12457 * benchtests/pow-inputs: Likewise.
12458 * benchtests/slowexp-inputs: New file.
12459 * benchtests/slowexp.c: New file.
12460 * benchtests/slowpow-inputs: New file.
12461 * benchtests/slowpow.c: New file.
12462
12463 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12464
12465 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12466 instructions.
12467 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12468 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12469 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12470 * benchtests/Makefile: Add rint benchtest.
12471 * benchtests/rint-inputs: Input for rint benchtest.
12472
12473 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12474
12475 * Versions.def (libm): Add GLIBC_2.18.
12476 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12477 hidden libm prototypes.
12478 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12479 * math/Makefile (libm-calls): Add s_issignaling.
12480 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12481 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12482 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12483 declaration.
12484 * math/math.h [__USE_GNU] (issignaling): New macro.
12485 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12486 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12487 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12488 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12491 * manual/arith.texi (issignaling): New section.
12492 * manual/libm-err-tab.pl (@all_functions): Update comment.
12493 * math/gen-libm-test.pl (parse_args): Apply special handling for
12494 issignaling.
12495 * math/libm-test.inc (print_float, issignaling_test): New
12496 functions.
12497 (check_float_internal): Add issignaling checks.
12498 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12499 default definition.
12500 * sysdeps/powerpc/math-tests.h: New file.
12501 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12502 tests.
12503 * math/test-snan.c (TEST_FUNC): Likewise.
12504
12505 2013-03-30 David S. Miller <davem@davemloft.net>
12506
12507 * po/de.po: Update from translation team.
12508
12509 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12510
12511 [BZ #10357]
12512 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12513 imaginary part less than 1.0 and real part less than 0.5
12514 specially.
12515 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12516 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12517 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12518 (cacos_test): Add more tests.
12519 (casin_test): Likewise.
12520 (casinh_test): Likewise.
12521 * sysdeps/i386/fpu/libm-test-ulps: Update.
12522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12523
12524 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12525
12526 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12527 ONE with its value.
12528
12529 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12530 (__pow_mp): Replace ONE and MONE with their values.
12531 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12532 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12533 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12534 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12535 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12536 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12537
12538 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12539
12540 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12541 (__pow_mp): Replace ZERO and MZERO with their values.
12542 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12543 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12544 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12546 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12547 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12548 (__sqr): Likewise.
12549
12550 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12551
12552 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12553
12554 2013-03-28 Roland McGrath <roland@hack.frob.com>
12555
12556 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12557 Declare with __attribute__ ((weak)).
12558 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12559 Call __call_tls_dtors only if it's not NULL.
12560
12561 2013-03-28 Roland McGrath <roland@hack.frob.com>
12562
12563 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12564 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12565 magic __ehdr_start linker symbol if it's defined.
12566 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12567 them up here if it was already done.
12568
12569 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12570 (_dl_aux_init): Use const in cast when setting it.
12571 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12572 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12573 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12574
12575 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12576 Declare them here.
12577 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12578 * csu/libc-tls.c: Nor here.
12579 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12580
12581 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12582 (__libc_message): Never call vsyslog.
12583
12584 2013-03-28 Alan Modra <amodra@gmail.com>
12585
12586 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12587 Define as empty.
12588 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12589 Likewise.
12590
12591 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12592
12593 [BZ #15214]
12594 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12595 underflow.
12596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12597
12598 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12599
12600 [BZ #15304]
12601 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12602 Don't add gid passed as argument.
12603
12604 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12605
12606 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12607
12608 [BZ #15307]
12609 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12610 imaginary part between 1.0 and 1.5 and real part less than 0.5
12611 specially.
12612 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12613 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12614 * math/libm-test.inc (cacos_test): Add more tests.
12615 (casin_test): Likewise.
12616 (casinh_test): Likewise.
12617 * sysdeps/i386/fpu/libm-test-ulps: Update.
12618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12619
12620 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12621
12622 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12623 constants.
12624 (norm): Likewise.
12625 (denorm): Likewise.
12626 (__dbl_mp): Likewise.
12627 (add_magnitudes): Likewise.
12628 (sub_magnitudes): Likewise.
12629 (__add): Likewise.
12630 (__sub): Likewise.
12631 (__mul): Likewise.
12632 (__sqr): Likewise.
12633 (__inv): Likewise.
12634 (__dvd): Likewise.
12635
12636 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12637 commented code.
12638 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12639 (__dubcos): Likewise.
12640 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12641 (__ieee754_acos): Likewise.
12642 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12643 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12644 (__exp1): Likewise.
12645 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12647 (log1): Likewise.
12648 (my_log2): Likewise.
12649 (checkint): Likewise.
12650 * sysdeps/ieee754/dbl-64/e_remainder.c
12651 (__ieee754_remainder): Likewise.
12652 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12653 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12654 (bsloww): Likewise.
12655 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12656
12657 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12658 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12659 MANTISSA_STORE_T to store computations on mantissa. Use
12660 macros for rounding and division.
12661 (denorm): Likewise.
12662 (__dbl_mp): Likewise.
12663 (add_magnitudes): Likewise.
12664 (sub_magnitudes): Likewise.
12665 (__mul): Likewise.
12666 (__sqr): Likewise.
12667 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12668 powers of two in terms of TWOPOW macro.
12669 (mp_no): Make type of mantissa as MANTISSA_T.
12670 [!RADIXI]: Define RADIXI.
12671 [!TWO52]: Define TWO52.
12672 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12673
12674 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12675
12676 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12677 llroundl symbol when building for PPC32.
12678
12679 2013-03-24 Mark H Weaver <mhw@netris.org>
12680
12681 * manual/arith.texi (Normalization Functions): Fix prototypes for
12682 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12683
12684 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12685
12686 [BZ #13889]
12687 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12688 high value to check if expl overflow.
12689 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12690 to check for underflow and overflow.
12691 * math/libm-test.inc: Add exp test.
12692
12693 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12694
12695 [BZ #11120]
12696 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12697 with NOT_IN_libc.
12698
12699 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12700
12701 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12702 symbol.
12703
12704 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12705
12706 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12707 wrap blocks consisting of several statements.
12708
12709 * sysdeps/generic/math-tests.h: New file.
12710 * sysdeps/i386/fpu/math-tests.h: Likewise.
12711 * math/test-snan.c: Include it.
12712 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12713
12714 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12715
12716 [BZ #15285]
12717 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12718 (__ieee754_j0l): Do not improve calculations using cos of twice
12719 input for inputs above LDBL_MAX / 2.0L.
12720 (__ieee754_y0l): Likewise.
12721 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12722 (__ieee754_j1l): Do not improve calculations using cos of twice
12723 input for inputs above LDBL_MAX / 2.0L.
12724 (__ieee754_y1l): Likewise.
12725 * math/libm-test.inc (j0_test): Add another test.
12726 (j1_test): Likewise.
12727 (y0_test): Likewise.
12728 (y1_test): Likewise.
12729 * sysdeps/i386/fpu/libm-test-ulps: Update.
12730
12731 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12732
12733 * Rules ($(objpfx)bench-%.c): Include code from a C source
12734 file.
12735
12736 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12737
12738 [BZ #15287]
12739 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12740 imaginary part 1.0 and real part less than 0.5 specially.
12741 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12742 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12743 * math/libm-test.inc (cacos_test): Add more tests.
12744 (casin_test): Likewise.
12745 (casinh_test): Likewise.
12746 * sysdeps/i386/fpu/libm-test-ulps: Update.
12747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12748
12749 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12750
12751 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12752 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12753
12754 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12755
12756 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12757 * config.make.in (config-cflags-sse4): Remove variable.
12758 (config-cflags-avx): Likewise.
12759 (config-cflags-sse2avx): Likewise.
12760 (config-cflags-novzeroupper): Likewise.
12761 (config-asflags-i686): Likewise.
12762 (have-mfma4): Likewise.
12763 (have-as-vis3): Likewise.
12764 (MIG): Likewise.
12765 * configure.in (MIG): Do not AC_SUBST.
12766 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12767 (libc_cv_cc_sse4): Do not AC_SUBST.
12768 (libc_cv_cc_avx): Likewise.
12769 (libc_cv_cc_sse2avx): Likewise.
12770 (libc_cv_cc_novzeroupper): Likewise.
12771 (libc_cv_cc_fma4): Likewise.
12772 (libc_cv_as_i686): Likewise.
12773 (libc_cv_sparc_as_vis3): Likewise.
12774 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12775 LIBC_CONFIG_VAR.
12776 (config-asflags-i686): Likewise.
12777 (config-cflags-avx): Likewise.
12778 (config-cflags-sse2avx): Likewise.
12779 (have-mfma4): Likewise.
12780 (config-cflags-novzeroupper): Likewise.
12781 * sysdeps/mach/configure.in (MIG): Likewise.
12782 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12783 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12784 LIBC_CONFIG_VAR.
12785 (config-cflags-avx): Likewise.
12786 (config-cflags-sse2avx): Likewise.
12787 (have-mfma4): Likewise.
12788 (config-cflags-novzeroupper): Likewise.
12789 * configure: Regenerated.
12790 * sysdeps/i386/configure: Likewise.
12791 * sysdeps/mach/configure: Likewise.
12792 * sysdeps/sparc/configure: Likewise.
12793 * sysdeps/x86_64/configure: Likewise.
12794
12795 2013-03-20 Roland McGrath <roland@hack.frob.com>
12796
12797 [BZ #14812]
12798 * locale/programs/localedef.c (options): Put N_ translation marker
12799 on argument names, not just descriptions.
12800
12801 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12802
12803 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12804
12805 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12806
12807 [BZ #14176]
12808 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12809
12810 2013-03-19 Roland McGrath <roland@hack.frob.com>
12811
12812 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12813 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12814 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12815 [!BEFORE_ABORT] (before_abort): New function.
12816 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12817 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12818 (writev_for_fatal): New function.
12819 (WRITEV_FOR_FATAL): New macro; call that.
12820 (backtrace_and_maps): New function.
12821 (BEFORE_ABORT): New macro; call that.
12822 (struct str_list): Type removed.
12823 (__libc_message, __libc_fatal): Functions removed.
12824 Include <sysdeps/posix/libc_fatal.c> instead.
12825
12826 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12827
12828 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12829 constants.
12830 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12831 double constants.
12832
12833 2013-03-19 Andreas Schwab <schwab@suse.de>
12834
12835 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12836 * sysdeps/gnu/configure: Regenerate.
12837
12838 * configure.in: Substitute libc_cv_rtlddir.
12839 * configure: Regenerate.
12840 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12841 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12842 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12843 * elf/Makefile (install-others, CFLAGS-interp.c)
12844 (ldso_install, common-ldd-rewrite): Likewise.
12845 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12846 $(inst_slibdir)/$(rtld-installed-name).
12847 * scripts/rellns-sh: Add -p option.
12848 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12849 for source.
12850
12851 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12852
12853 * manual/nptl.texi: Renamed to ...
12854 * manual/threads.texi: ... this.
12855 * manual/Makefile (chapters): Update.
12856
12857 2013-03-18 Roland McGrath <roland@hack.frob.com>
12858
12859 [BZ #14812]
12860 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12861 on argument names, not just descriptions.
12862 * malloc/memusagestat.c (options): Likewise.
12863 * nss/getent.c (options): Likewise.
12864
12865 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12866
12867 [BZ #14812]
12868 * iconv/iconv_prog.c (options): Put N_ translation marker
12869 on argument names, not just descriptions.
12870 * iconv/iconvconfig.c (options): Likewise.
12871
12872 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12873
12874 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12875 implementation which is faster on all x86_64 architectures.
12876 Tested on AMD, Intel Nehalem, SNB, IVB.
12877 * sysdeps/x86_64/strnlen.S: Likewise.
12878
12879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12880 Remove all multiarch strlen and strnlen versions.
12881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12882 Remove strlen and strnlen related parts.
12883
12884 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12885 Inline strlen part.
12886 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12887
12888 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12889 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12890 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12891 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12892 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12893 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12894
12895 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12896
12897 * manual/memory.texi (Malloc Tunable Parameters):
12898 Sort parameters alphabetically. Add comments for missing entries.
12899
12900 2013-03-17 David S. Miller <davem@davemloft.net>
12901
12902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12903
12904 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12905
12906 [BZ #15283]
12907 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12908 for arguments at most half maximum finite value.
12909 * math/libm-test.inc (j0_test): Add more tests.
12910 (j1_test): Likewise.
12911 (y0_test): Likewise.
12912 (y1_test): Likewise.
12913 * sysdeps/i386/fpu/libm-test-ulps: Update.
12914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12915
12916 [BZ #14155]
12917 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12918 1 / x and functions P and Q for arguments above 0x1p256L.
12919 (__ieee754_y0l): Likewise.
12920 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12921 (__ieee754_y1l): Likewise.
12922 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12923 (j1_test): Likewise.
12924 (y0_test): Likewise.
12925 (y1_test): Likewise.
12926
12927 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12928
12929 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12930 variable.
12931
12932 2013-03-15 Roland McGrath <roland@hack.frob.com>
12933
12934 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12935 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12936 zero since it's initialized to EXEC_PAGESIZE.
12937
12938 * sysdeps/unix/sysv/linux/ldsodefs.h
12939 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12940 * sysdeps/generic/ldsodefs.h: ... here.
12941
12942 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12943
12944 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12945
12946 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12947 math/test-snan.c.
12948 * math/test-snan.c: Renamed from
12949 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12950 * math/Makefile (tests): Add test-snan.
12951 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12952 test-powerpc-snan.
12953
12954 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12955 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12956 functions.
12957 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12958 __builtin_nan family of functions.
12959 * math/libm-test.inc (initialize): Initialize qnan_value with
12960 __builtin_nan family of functions.
12961 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12962 Remove variables.
12963 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12964 Remove functions.
12965 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12966 storage class. Initialize qNaN_var and sNaN_var with
12967 __builtin_nan and __builtin_nans families of functions,
12968 respectively.
12969
12970 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12971 (sqrt_test): Remove duplicate test with qNaN input.
12972 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12973 (round_test, signbit_test, significand_test): Note missing +/-Inf
12974 as well as qNaN tests.
12975
12976 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12977 qNaN_var. Fix a few strings, too.
12978 * math/libm-test.inc (nan_value): Rename to qnan_value.
12979 * math/gen-libm-test.pl (%beautify): Adjust to that.
12980 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12981 * math/test-misc.c (main): Likewise.
12982 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12983 to __qnan_bytes, and __qnan_union, respectively.
12984 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12985 Likewise.
12986 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12987 and lqnanval, respectively.
12988 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12989 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12990 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12991 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12992
12993 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12994 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12995 doubles.
12996
12997 * math/test-misc.c (main): Fix copy'n'pastos.
12998 * misc/tst-efgcvt.c (special): Likewise.
12999
13000 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13001 Remove declarations.
13002
13003 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13004
13005 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13006 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13007 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13008 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13009
13010 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13011
13012 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13013 macro to return vdso values correctly in IFUNC implementations.
13014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13015 Optimization by using IFUNC.
13016
13017 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13018 Richard Henderson <rth@redhat.com>
13019 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13020
13021 * Makefile.in (bench): New target.
13022 * NEWS: Mention the benchmark framework.
13023 * Rules (bench): Likewise.
13024 (binaries-bench): Generate binaries for functions to
13025 benchmark.
13026 * benchtests/Makefile: New makefile for benchmark tests.
13027 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13028 programs.
13029 * benchtests/exp-inputs: New input file for EXP function.
13030 * benchtests/pow-inputs: New input file for POW function.
13031 * scripts/bench.pl: New script to generate source files for
13032 benchmark programs.
13033
13034 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13035
13036 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13037 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13038 computations on mantissa. Use macros for rounding and
13039 division.
13040 (denorm): Likewise.
13041 (__dbl_mp): Likewise.
13042 (add_magnitudes): Likewise.
13043 (sub_magnitudes): Likewise.
13044 (__mul): Likewise.
13045 (__sqr): Likewise.
13046 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13047 powers of two in terms of TWOPOW macro.
13048 (mp_no): Make type of mantissa as MANTISSA_T.
13049 [!RADIXI]: Define RADIXI.
13050 [!TWO52]: Define TWO52.
13051 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13052
13053 * manual/nptl.texi (cindex): Modify threads to pthreads.
13054
13055 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13056
13057 * sysdeps/x86_64/preconfigure: Regenerated.
13058
13059 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13060
13061 [BZ #14155]
13062 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13063 0x1p28 and above.
13064 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13065 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13066 0x1p28 and above.
13067 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13068 * math/libm-test.inc (j0_test): Do not allow one spurious
13069 underflow exception.
13070 (y1_test): Likewise.
13071
13072 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13073
13074 * manual/Makefile (chapters): Add nptl.
13075 * manual/debug.texi (Debugging Support): Add link to Threads
13076 chapter.
13077 * manual/nptl.texi: New file.
13078
13079 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13080
13081 2013-03-14 Petr Baudis <pasky@ucw.cz>
13082
13083 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13084 for non-NULL pointer before the memory validity test. Pointed
13085 out by Holger Brunck <holger.brunck@keymile.com>.
13086
13087 2013-03-13 Andreas Schwab <schwab@suse.de>
13088
13089 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13090 instead of .os.
13091
13092 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13093
13094 * timezone/zic.c: Update from tzcode 2013b.
13095
13096 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13097
13098 * manual/install.texi (Configuring and compiling):
13099 Mention i686 and i586.
13100 * INSTALL: Regenerate.
13101
13102 2013-03-12 Roland McGrath <roland@hack.frob.com>
13103
13104 * sysdeps/init_array/elf-init.c: New file.
13105 * csu/elf-init.c
13106 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13107 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13108
13109 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13110 __gmon_start__ as global, but as static with a .preinit_array pointer.
13111 * sysdeps/init_array/gmon-start.c: New file. Use that.
13112 * sysdeps/init_array/crti.S: New file, empty except for comments.
13113 * sysdeps/init_array/crtn.S: Likewise.
13114
13115 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13116
13117 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13118 definining bcopy.
13119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13120 Remove Prefer_SSE_for_memop.
13121 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13122 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13123 HAS_PREFER_SSE_FOR_MEMOP.
13124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13125 memset-x86-64.
13126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13127 Remove bzero, memset ifunc support.
13128 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13129 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13130 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13131 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13132
13133 2013-03-11 Andreas Schwab <schwab@suse.de>
13134
13135 [BZ #15234]
13136 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13137 by SHLIB_COMPAT.
13138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13139 (GLIBC_2.16): Remove pthread_atfork.
13140
13141 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13142
13143 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13144 (ptestcases.h): Likewise.
13145
13146 2013-03-08 Roland McGrath <roland@hack.frob.com>
13147
13148 * Makeconfig ($(common-objpfx)config.status): Depend on
13149 sysdeps/*/preconfigure{,.in} too.
13150
13151 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13152
13153 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13154 (__free_hook): Use void * instead of __malloc_ptr_t.
13155 (__malloc_hook): Likewise.
13156 (__realloc_hook): Likewise.
13157 (__memalign_hook): Likewise.
13158 (__after_morecore_hook): Likewise.
13159 * malloc/arena.c (save_malloc_hook): Likewise.
13160 (save_free_hook): Likewise.
13161 * malloc/hooks.c (malloc_hook_ini): Likewise.
13162 (realloc_hook_ini): Likewise.
13163 (memalign_hook_ini): Likewise.
13164 * malloc/malloc.c (malloc_hook_ini): Likewise.
13165 (realloc_hook_ini): Likewise.
13166 (memalign_hook_ini): Likewise.
13167 (__free_hook): Likewise.
13168 (__malloc_hook): Likewise.
13169 (__realloc_hook): Likewise.
13170 (__memalign_hook): Likewise.
13171 (__libc_malloc): Likewise.
13172 (__libc_free): Likewise.
13173 (__libc_realloc): Likewise.
13174 (__libc_memalign): Likewise.
13175 (__libc_valloc): Likewise.
13176 (__libc_pvalloc): Likewise.
13177 (__libc_calloc): Likewise.
13178 (__posix_memalign): Likewise.
13179 * malloc/morecore.c (__sbrk): Likewise.
13180 (__default_morecore): Likewise.
13181
13182 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13183
13184 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13185 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13186 __malloc_ptrdiff_t.
13187
13188 * malloc/malloc.h (__malloc_size_t): Remove macro.
13189 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13190 __malloc_size_t.
13191 (old_memalign_hook): Likewise.
13192 (old_realloc_hook): Likewise.
13193 (struct hdr): Likewise.
13194 (flood): Likewise.
13195 (mallochook): Likewise.
13196 (memalignhook): Likewise.
13197 (reallochook): Likewise.
13198 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13199 (tr_old_realloc_hook): Likewise.
13200 (tr_old_memalign_hook): Likewise.
13201 (tr_mallochook): Likewise.
13202 (tr_reallochook): Likewise.
13203 (tr_memalignhook): Likewise.
13204
13205 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13206
13207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13208 default_ldbl_pack and using as default implementation.
13209 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13210 implementation.
13211 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13212 redundant definition.
13213 (ldbl_insert_mantissa): Likewise.
13214 (ldbl_canonicalize): Likewise.
13215 (ldbl_nearbyint): Likewise.
13216 (ldbl_pack): Rename to ldbl_pack_ppc.
13217 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13218 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13219 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13220
13221 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13222
13223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13224 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13225 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13226 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13228 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13229 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13230 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13231
13232 2013-03-07 Andreas Jaeger <aj@suse.de>
13233
13234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13235 bits/mman-linux.h.
13236
13237 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13238
13239 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13240 Include mpa.h and declare __MPEXP.
13241 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13242 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13243 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13244 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13245 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13246 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13247 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13248
13249 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13250 (__slowpow): Use long double EXPL and LOGL functions to
13251 compute POW.
13252 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13253 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13254 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13255 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13256 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13257 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13258
13259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13260 intermediate variable to calculate exponent.
13261 (__sqr): Likewise.
13262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13263 Likewise.
13264 (__sqr): Likewise.
13265
13266 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13267 [!NO__SQR]: Define __sqr.
13268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13269 and NO__SQR. Remove all code except __mul and __sqr. Include
13270 sysdeps/ieee754/dbl-64/mpa.c.
13271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13272
13273 [BZ #12723]
13274 * posix/Makefile (tests): Add tst-pathconf.
13275 * posix/tst-pathconf.c: New test case.
13276 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13277 _PC_PIPE_BUF.
13278 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13279
13280 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13281
13282 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13283
13284 2013-03-06 Andreas Jaeger <aj@suse.de>
13285
13286 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13287 definition via __MAP_ANONYMOUS.
13288
13289 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13290 it's not part of Linux headers.
13291
13292 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13293 (MAP_HUGE_MASK): Define.
13294
13295 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13296 Define.
13297 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13299 Define.
13300 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13301 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13302 Define.
13303 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13304 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13305 Define.
13306 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13307
13308 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13309 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13310 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13311 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13312 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13313 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13314
13315 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13316 Handle f2fs.
13317
13318 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13319 Handle f2fs and efivarfs.
13320
13321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13322 f2fs.
13323
13324 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13325 (EFIVARFS_MAGIC): Add.
13326 (F2FS_LINK_MAX): Add.
13327
13328 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13329
13330 * stdio-common/vfprintf.c: Replace __builtin_expect with
13331 __glibc_unlikely.
13332
13333 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13334
13335 [BZ #13550]
13336 * sysdeps/generic/bp-sym.h: Remove file.
13337 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13338 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13339 <bp-sym.h> and <bp-asm.h>.
13340 (__longjmp): Don't use BP_SYM.
13341 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13342 and <bp-asm.h>.
13343 (memcpy): Don't use BP_SYM.
13344 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13345 <bp-sym.h> and <bp-asm.h>.
13346 (memcpy): Don't use BP_SYM.
13347 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13348 <bp-asm.h>.
13349 (memcpy): Don't use BP_SYM.
13350 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13351 <bp-asm.h>.
13352 (memset): Don't use BP_SYM.
13353 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13354 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13355 (__bzero): Don't use BP_SYM.
13356 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13357 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13358 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13359 <bp-sym.h> and <bp-asm.h>.
13360 (memcmp): Don't use BP_SYM. Remove comment about bounded
13361 pointers.
13362 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13363 <bp-sym.h> and <bp-asm.h>.
13364 (memcpy): Don't use BP_SYM.
13365 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13366 <bp-sym.h> and <bp-asm.h>.
13367 (memset): Don't use BP_SYM.
13368 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13369 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13370 (__bzero): Don't use BP_SYM.
13371 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13372 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13373 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13374 <bp-sym.h> and <bp-asm.h>.
13375 (strncmp): Don't use BP_SYM. Remove comment about bounded
13376 pointers.
13377 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13378 <bp-sym.h> and <bp-asm.h>.
13379 (memcpy): Don't use BP_SYM.
13380 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13381 <bp-sym.h> and <bp-asm.h>.
13382 (memset): Don't use BP_SYM.
13383 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13384 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13385 (__bzero): Don't use BP_SYM.
13386 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13387 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13388 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13389 <bp-sym.h> and <bp-asm.h>.
13390 (__memchr): Don't use BP_SYM.
13391 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13392 <bp-sym.h> and <bp-asm.h>.
13393 (memcmp): Don't use BP_SYM. Remove comment about bounded
13394 pointers.
13395 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13396 <bp-sym.h> and <bp-asm.h>.
13397 (memcpy): Don't use BP_SYM.
13398 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13399 <bp-sym.h> and <bp-asm.h>.
13400 (__mempcpy): Don't use BP_SYM.
13401 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13402 <bp-sym.h> and <bp-asm.h>.
13403 (__memrchr): Don't use BP_SYM.
13404 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13405 <bp-sym.h> and <bp-asm.h>.
13406 (memset): Don't use BP_SYM.
13407 (__bzero): Likewise.
13408 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13409 <bp-sym.h> and <bp-asm.h>.
13410 (__rawmemchr): Don't use BP_SYM.
13411 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13412 <bp-sym.h> and <bp-asm.h>.
13413 (__STRCMP): Don't use BP_SYM.
13414 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13415 <bp-sym.h> and <bp-asm.h>.
13416 (strchr): Don't use BP_SYM.
13417 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13418 <bp-sym.h> and <bp-asm.h>.
13419 (__strchrnul): Don't use BP_SYM.
13420 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13421 <bp-sym.h> and <bp-asm.h>.
13422 (strlen): Don't use BP_SYM.
13423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13424 <bp-sym.h> and <bp-asm.h>.
13425 (strncmp): Don't use BP_SYM. Remove comment about bounded
13426 pointers.
13427 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13428 <bp-sym.h> and <bp-asm.h>.
13429 (__strnlen): Don't use BP_SYM.
13430 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13431 <bp-sym.h> and <bp-asm.h>.
13432 (__GI__setjmp): Don't use BP_SYM.
13433 (_setjmp): Likewise.
13434 (__sigsetjmp): Likewise.
13435 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13436 (L(start_addresses)): Don't use BP_SYM.
13437 (_start): Likewise.
13438 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13439 <bp-asm.h>.
13440 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13441 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13442 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13443 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13444 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13445 <bp-asm.h>.
13446 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13447 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13448 about bounded pointers.
13449 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13450 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13451 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13452 <bp-asm.h>.
13453 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13454 about bounded pointers. Remove GKM FIXME comments.
13455 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13456 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13457 <bp-asm.h>.
13458 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13459 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13460 Remove GKM FIXME comments.
13461 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13462 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13463 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13464 <bp-asm.h>.
13465 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13466 about bounded pointers. Remove GKM FIXME comment.
13467 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13468 and <bp-asm.h>.
13469 (strncmp): Don't use BP_SYM. Remove comment about bounded
13470 pointers.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13472 <bp-sym.h> and <bp-asm.h>.
13473 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13475 <bp-sym.h> and <bp-asm.h>.
13476 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13477 comment.
13478
13479 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13480
13481 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13482 call free(NULL).
13483
13484 2013-03-05 David S. Miller <davem@davemloft.net>
13485
13486 * po/es.po: Update from translation team.
13487
13488 2013-03-05 Andreas Jaeger <aj@suse.de>
13489
13490 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13491 <bits/mman-linux.h>.
13492 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13493 is fine.
13494 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13495 <bits/mman-linux.h> to end of file.
13496 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13497 is fine.
13498 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13499 <bits/mman-linux.h> to end of file.
13500 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13501 is fine.
13502 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13503 <bits/mman-linux.h> to end of file.
13504
13505 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13506 (MCL_CURRENT, MCL_FUTURE): Define here.
13507
13508 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13509
13510 [BZ #15232]
13511 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13512 attribute_hidden.
13513 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13514
13515 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13516
13517 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13518 fourth parameter needed for rt_sigprocmask syscall.
13519 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13520 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13521 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13522 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13523 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13524 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13525
13526 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13527
13528 [BZ #13550]
13529 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13530 comment about bounded pointers.
13531 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13532 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13533
13534 2013-03-04 Andreas Jaeger <aj@suse.de>
13535
13536 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13537 common definitions.
13538
13539 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13540 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13541 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13542 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13545
13546 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13547
13548 [BZ #15055]
13549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13550 __ieee754_sqrl instead of __sqrl.
13551
13552 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13553
13554 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13555 * sysdeps/powerpc/fpu_control.h: ... here.
13556 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13557 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13558 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13559 * sysdeps/powerpc/bits/mathinline.h: ... here.
13560
13561 2013-03-01 Roland McGrath <roland@hack.frob.com>
13562
13563 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13564 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13565 to just [NEED_DL_SYSINFO_DSO].
13566 * elf/dl-support.c: Likewise.
13567 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13568 * elf/rtld.c (dl_main): Likewise.
13569 * elf/setup-vdso.h (setup_vdso): Likewise.
13570 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13571 * sysdeps/unix/sysv/linux/dl-sysdep.c
13572 (_dl_discover_osversion): Likewise.
13573
13574 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13575
13576 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13577 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13578
13579 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13580
13581 * NEWS: Mention libm performance improvements and non-x86 PI
13582 futex support.
13583
13584 * csu/libc-start.c (__pthread_initialize_minimal): Change
13585 function arguments.
13586 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13587
13588 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13589
13590 [BZ #13550]
13591 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13592 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13593 <bp-sym.h> and <bp-asm.h>.
13594 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13595 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13596 and <bp-asm.h>.
13597 (memcpy): Don't use BP_SYM.
13598 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13599 <bp-asm.h>.
13600 (__mpn_add_n): Don't use BP_SYM.
13601 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13602 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13603 and <bp-asm.h>.
13604 (__mpn_addmul_1): Don't use BP_SYM.
13605 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13606 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13607 <bp-sym.h>.
13608 (_setjmp): Don't use BP_SYM.
13609 (__novmx_setjmp): Likewise.
13610 (__GI__setjmp): Likewise.
13611 (__vmx_setjmp): Likewise.
13612 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13613 <bp-sym.h>.
13614 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13615 (__bzero): Don't use BP_SYM.
13616 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13617 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13618 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13619 <bp-sym.h> and <bp-asm.h>.
13620 (memcpy): Don't use BP_SYM.
13621 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13622 <bp-sym.h> and <bp-asm.h>.
13623 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13624 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13625 <bp-sym.h> and <bp-asm.h>.
13626 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13627 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13628 <bp-asm.h>.
13629 (__mpn_lshift): Don't use BP_SYM.
13630 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13631 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13632 <bp-asm.h>.
13633 (memset): Don't use BP_SYM.
13634 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13635 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13636 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13637 <bp-asm.h>.
13638 (__mpn_mul_1): Don't use BP_SYM.
13639 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13640 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13641 <bp-sym.h> and <bp-asm.h>.
13642 (memcmp): Don't use BP_SYM.
13643 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13644 <bp-sym.h> and <bp-asm.h>.
13645 (memcpy): Don't use BP_SYM.
13646 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13647 <bp-sym.h> and <bp-asm.h>.
13648 (memset): Don't use BP_SYM.
13649 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13650 <bp-sym.h> and <bp-asm.h>.
13651 (strncmp): Don't use BP_SYM.
13652 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13653 <bp-sym.h> and <bp-asm.h>.
13654 (memcpy): Don't use BP_SYM.
13655 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13656 <bp-sym.h> and <bp-asm.h>.
13657 (memset): Don't use BP_SYM.
13658 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13659 <bp-sym.h> and <bp-asm.h>.
13660 (__memchr): Don't use BP_SYM.
13661 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13662 <bp-sym.h> and <bp-asm.h>.
13663 (memcmp): Don't use BP_SYM.
13664 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13665 <bp-sym.h> and <bp-asm.h>.
13666 (memcpy): Don't use BP_SYM.
13667 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13668 <bp-sym.h> and <bp-asm.h>.
13669 (__mempcpy): Don't use BP_SYM.
13670 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13671 <bp-sym.h> and <bp-asm.h>.
13672 (__memrchr): Don't use BP_SYM.
13673 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13674 <bp-sym.h> and <bp-asm.h>.
13675 (memset): Don't use BP_SYM.
13676 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13677 <bp-sym.h> and <bp-asm.h>.
13678 (__rawmemchr): Don't use BP_SYM.
13679 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13680 <bp-sym.h> and <bp-asm.h>.
13681 (__STRCMP): Don't use BP_SYM.
13682 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13683 <bp-sym.h> and <bp-asm.h>.
13684 (strchr): Don't use BP_SYM.
13685 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13686 <bp-sym.h> and <bp-asm.h>.
13687 (__strchrnul): Don't use BP_SYM.
13688 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13689 <bp-sym.h> and <bp-asm.h>.
13690 (strlen): Don't use BP_SYM.
13691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13692 <bp-sym.h> and <bp-asm.h>.
13693 (strncmp): Don't use BP_SYM.
13694 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13695 <bp-sym.h> and <bp-asm.h>.
13696 (__strnlen): Don't use BP_SYM.
13697 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13698 <bp-asm.h>.
13699 (__mpn_rshift): Don't use BP_SYM.
13700 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13701 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13702 <bp-sym.h> and <bp-asm.h>.
13703 (__sigsetjmp): Don't use BP_SYM.
13704 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13705 (L(start_addresses)): Don't use BP_SYM.
13706 (_start): Likewise.
13707 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13708 <bp-asm.h>.
13709 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13710 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13711 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13712 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13713 <bp-asm.h>.
13714 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13715 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13716 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13717 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13718 <bp-asm.h>.
13719 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13720 comments.
13721 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13722 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13723 <bp-asm.h>.
13724 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13725 FIXME comments.
13726 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13727 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13728 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13729 <bp-asm.h>.
13730 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13731 comment.
13732 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13733 and <bp-asm.h>.
13734 (strncmp): Don't use BP_SYM,
13735 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13736 <bp-asm.h>.
13737 (__mpn_sub_n): Don't use BP_SYM.
13738 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13739 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13740 and <bp-asm.h>.
13741 (__mpn_submul_1): Don't use BP_SYM.
13742 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13744 <bp-sym.h> and <bp-asm.h>.
13745 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13747 <bp-sym.h> and <bp-asm.h>.
13748 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13749 comment.
13750
13751 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13752
13753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13754 Use ZK to minimize writes to Z.
13755 (sub_magnitudes): Simplify code a bit.
13756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13757 Use ZK to minimize writes to Z.
13758 (sub_magnitudes): Simplify code a bit.
13759
13760 2013-02-27 Roland McGrath <roland@hack.frob.com>
13761
13762 * csu/gmon-start.c: Add special exception to license text.
13763
13764 2013-02-27 Richard Henderson <rth@redhat.com>
13765
13766 * scripts/config.guess: Update from config.git.
13767 * scripts/config.sub: Likewise.
13768
13769 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13770
13771 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13772
13773 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13774
13775 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13776
13777 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13778
13779 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13780
13781 2013-02-26 Roland McGrath <roland@hack.frob.com>
13782
13783 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13784 [$(build-shared = yes].
13785
13786 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13787
13788 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13789 (__mul): Reduce iterations for calculating mantissa.
13790
13791 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13792 MPTWO.
13793 (__mpranred): Likewise.
13794
13795 [BZ #15160]
13796 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13797 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13798
13799 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13800
13801 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13802 Define __attribute__.
13803
13804 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13805
13806 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13807 unused.
13808 * posix/regex_internal.h (__attribute): Remove.
13809 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13810 (re_string_context_at): Likewise.
13811 (bitset_not): Use __attribute__ and mark function as possibly
13812 unused.
13813 (bitset_merge): Likewise.
13814 (bitset_mask): Likewise.
13815 (re_string_char_size_at): Likewise.
13816 (re_string_wchar_at): Likewise.
13817 (re_string_elem_size_at): Likewise.
13818
13819 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13820
13821 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13822 code.
13823 (cc32): Likewise.
13824
13825 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13826 (__acr): Likewise.
13827 (__cpy): Likewise.
13828 (norm): Likewise.
13829 (denorm): Likewise.
13830 (__dbl_mp): Likewise.
13831 (add_magnitudes): Likewise.
13832 (sub_magnitudes): Likewise.
13833 (__mul): Likewise.
13834 (__inv): Likewise.
13835
13836 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13837 style.
13838
13839 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13840 style.
13841
13842 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13843 code.
13844
13845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13846 up changes with default code.
13847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13848 Likewise.
13849
13850 2013-02-24 Allan McRae <allan@archlinux.org>
13851
13852 * manual/socket.texi (The Internet Namespace): Order menu items
13853 to match that in the file.
13854
13855 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13856 node listing of the info page menu.
13857
13858 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13859
13860 [BZ #13550]
13861 * sysdeps/i386/bp-asm.h: Remove file.
13862 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13863 (PARMS): Do not use macros from bp-asm.h.
13864 (S1): Likewise.
13865 (S2): Likewise.
13866 (SIZE): Likewise.
13867 (__mpn_add_n): Do not use BP_SYM
13868 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13869 "bp-asm.h".
13870 (PARMS): Do not use macros from bp-asm.h.
13871 (S1): Likewise.
13872 (SIZE): Likewise.
13873 (__mpn_addmul_1): Do not use BP_SYM
13874 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13875 "bp-asm.h".
13876 (PARMS): Do not use macros from bp-asm.h.
13877 (SIGMSK): Likewise.
13878 (_setjmp): Likewise. Do not use BP_SYM.
13879 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13880 "bp-asm.h".
13881 (PARMS): Do not use macros from bp-asm.h.
13882 (SIGMSK): Likewise.
13883 (setjmp): Likewise. Do not use BP_SYM.
13884 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13885 "bp-asm.h".
13886 (PARMS): Do not use macros from bp-asm.h.
13887 (__frexp): Do not use BP_SYM.
13888 (frexp): Likewise.
13889 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13890 "bp-asm.h".
13891 (PARMS): Do not use macros from bp-asm.h.
13892 (__frexpf): Do not use BP_SYM.
13893 (frexpf): Likewise.
13894 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13895 "bp-asm.h".
13896 (PARMS): Do not use macros from bp-asm.h.
13897 (__frexpl): Do not use BP_SYM.
13898 (frexpl): Likewise.
13899 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13900 "bp-asm.h".
13901 (PARMS): Do not use macros from bp-asm.h.
13902 (__remquo): Do not use BP_SYM.
13903 (remquo): Likewise.
13904 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13905 "bp-asm.h".
13906 (PARMS): Do not use macros from bp-asm.h.
13907 (__remquof): Do not use BP_SYM.
13908 (remquof): Likewise.
13909 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13910 "bp-asm.h".
13911 (PARMS): Do not use macros from bp-asm.h.
13912 (__remquol): Do not use BP_SYM.
13913 (remquol): Likewise.
13914 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13915 "bp-asm.h".
13916 (PARMS): Do not use macros from bp-asm.h.
13917 (DEST): Likewise.
13918 (SRC): Likewise.
13919 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13920 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13921 "bp-asm.h".
13922 (PARMS): Do not use macros from bp-asm.h.
13923 (strlen): Do not use BP_SYM.
13924 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13925 "bp-asm.h".
13926 (PARMS): Do not use macros from bp-asm.h.
13927 (S1): Likewise.
13928 (S2): Likewise.
13929 (SIZE): Likewise.
13930 (__mpn_add_n): Do not use BP_SYM.
13931 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13932 "bp-asm.h".
13933 (PARMS): Do not use macros from bp-asm.h.
13934 (S1): Likewise.
13935 (SIZE): Likewise.
13936 (__mpn_addmul_1): Do not use BP_SYM.
13937 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13938 weak_alias.
13939 (bzero): Likewise.
13940 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13941 "bp-asm.h".
13942 (PARMS): Do not use macros from bp-asm.h.
13943 (S): Likewise.
13944 (SIZE): Likewise.
13945 (__mpn_lshift): Do not use BP_SYM.
13946 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13947 "bp-asm.h".
13948 (PARMS): Do not use macros from bp-asm.h.
13949 (DEST): Likewise.
13950 (SRC): Likewise.
13951 (LEN): Likewise.
13952 (memcpy): Likewise. Do not use BP_SYM.
13953 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13954 libc_hidden_def and weak_alias.
13955 (mempcpy): Do not use BP_SYM in weak_alias.
13956 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13957 "bp-asm.h".
13958 (PARMS): Do not use macros from bp-asm.h.
13959 (DEST): Likewise.
13960 (LEN): Likewise.
13961 [!BZERO_P] (CHR): Likewise.
13962 (memset): Likewise. Do not use BP_SYM.
13963 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13964 "bp-asm.h".
13965 (PARMS): Do not use macros from bp-asm.h.
13966 (S1): Likewise.
13967 (SIZE): Likewise.
13968 (__mpn_mul_1): Do not use BP_SYM.
13969 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13970 "bp-asm.h".
13971 (PARMS): Do not use macros from bp-asm.h.
13972 (S): Likewise.
13973 (SIZE): Likewise.
13974 (__mpn_rshift): Do not use BP_SYM.
13975 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13976 "bp-asm.h".
13977 (PARMS): Do not use macros from bp-asm.h.
13978 (STR): Likewise.
13979 (CHR): Likewise.
13980 (strchr): Likewise. Do not use BP_SYM.
13981 (index): Do not use BP_SYM in weak_alias.
13982 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13983 "bp-asm.h".
13984 (PARMS): Do not use macros from bp-asm.h.
13985 (DEST): Likewise.
13986 (SRC): Likewise.
13987 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13988 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13989 "bp-asm.h".
13990 (PARMS): Do not use macros from bp-asm.h.
13991 (strlen): Do not use BP_SYM.
13992 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13993 "bp-asm.h".
13994 (PARMS): Do not use macros from bp-asm.h.
13995 (S1): Likewise.
13996 (S2): Likewise.
13997 (SIZE): Likewise.
13998 (__mpn_sub_n): Do not use BP_SYM.
13999 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14000 "bp-asm.h".
14001 (PARMS): Do not use macros from bp-asm.h.
14002 (S1): Likewise.
14003 (SIZE): Likewise.
14004 (__mpn_submul_1): Do not use BP_SYM.
14005 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14006 "bp-asm.h".
14007 (PARMS): Do not use macros from bp-asm.h.
14008 (S1): Likewise.
14009 (S2): Likewise.
14010 (SIZE): Likewise.
14011 (__mpn_add_n): Do not use BP_SYM.
14012 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14013 weak_alias.
14014 (bzero): Likewise.
14015 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14016 "bp-asm.h".
14017 (PARMS): Do not use macros from bp-asm.h.
14018 (BLK2): Likewise.
14019 (LEN): Likewise.
14020 (memcmp): Do not use BP_SYM.
14021 (bcmp): Do not use BP_SYM in weak_alias.
14022 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14023 "bp-asm.h".
14024 (PARMS): Do not use macros from bp-asm.h.
14025 (DEST): Likewise.
14026 (SRC): Likewise.
14027 (LEN): Likewise.
14028 (memcpy): Likewise. Do not use BP_SYM.
14029 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14030 "bp-asm.h".
14031 (PARMS): Do not use macros from bp-asm.h.
14032 (DEST): Likewise.
14033 (SRC): Likewise.
14034 (LEN): Likewise.
14035 (memmove): Likewise. Do not use BP_SYM.
14036 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14037 "bp-asm.h".
14038 (PARMS): Do not use macros from bp-asm.h.
14039 (DEST): Likewise.
14040 (SRC): Likewise.
14041 (LEN): Likewise.
14042 (__mempcpy): Likewise. Do not use BP_SYM.
14043 (mempcpy): Do not use BP_SYM in weak_alias.
14044 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14045 "bp-asm.h".
14046 (PARMS): Do not use macros from bp-asm.h.
14047 (DEST): Likewise.
14048 (LEN): Likewise.
14049 [!BZERO_P] (CHR): Likewise.
14050 (memset): Likewise. Do not use BP_SYM.
14051 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14052 "bp-asm.h".
14053 (PARMS): Do not use macros from bp-asm.h.
14054 (STR2): Likewise.
14055 (strcmp): Do not use BP_SYM.
14056 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14057 "bp-asm.h".
14058 (PARMS): Do not use macros from bp-asm.h.
14059 (STR): Likewise.
14060 (DELIM): Likewise.
14061 [USE_AS_STRTOK_R] (SAVE): Likewise.
14062 (FUNCTION): Likewise. Do not use BP_SYM.
14063 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14064 aliases.
14065 (strtok_r): Likewise.
14066 (__GI___strtok_r): Likewise.
14067 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14068 (PARMS): Do not use macros from bp-asm.h.
14069 (S): Likewise.
14070 (SIZE): Likewise.
14071 (__mpn_lshift): Do not use BP_SYM.
14072 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14073 (PARMS): Do not use macros from bp-asm.h.
14074 (STR): Likewise.
14075 (CHR): Likewise.
14076 (__memchr): Do not use BP_SYM.
14077 (memchr): Do not use BP_SYM in weak_alias.
14078 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14079 (PARMS): Do not use macros from bp-asm.h.
14080 (BLK2): Likewise.
14081 (LEN): Likewise.
14082 (memcmp): Do not use BP_SYM.
14083 (bcmp): Do not use BP_SYM in weak_alias.
14084 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14085 (PARMS): Do not use macros from bp-asm.h.
14086 (S1): Likewise.
14087 (SIZE): Likewise.
14088 (__mpn_mul_1): Do not use BP_SYM.
14089 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14090 "bp-asm.h".
14091 (PARMS): Do not use macros from bp-asm.h.
14092 (STR): Likewise.
14093 (CHR): Likewise.
14094 (__rawmemchr): Do not use BP_SYM.
14095 (rawmemchr): Do not use BP_SYM in weak_alias.
14096 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14097 (PARMS): Do not use macros from bp-asm.h.
14098 (S): Likewise.
14099 (SIZE): Likewise.
14100 (__mpn_rshift): Do not use BP_SYM.
14101 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14102 (PARMS): Do not use macros from bp-asm.h.
14103 (SIGMSK): Likewise.
14104 (__sigsetjmp): Likewise. Do not use BP_SYM.
14105 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14106 (_start): Do not use BP_SYM.
14107 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14108 (PARMS): Do not use macros from bp-asm.h.
14109 (DEST): Likewise.
14110 (SRC): Likewise.
14111 (__stpcpy): Likewise. Do not use BP_SYM.
14112 (stpcpy): Do not use BP_SYM in weak_alias.
14113 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14114 "bp-asm.h".
14115 (PARMS): Do not use macros from bp-asm.h.
14116 (DEST): Likewise.
14117 (SRC): Likewise.
14118 (LEN): Likewise.
14119 (__stpncpy): Likewise. Do not use BP_SYM.
14120 (stpncpy): Do not use BP_SYM in weak_alias.
14121 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14122 (PARMS): Do not use macros from bp-asm.h.
14123 (STR): Likewise.
14124 (CHR): Likewise.
14125 (strchr): Likewise. Do not use BP_SYM.
14126 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14127 "bp-asm.h".
14128 (PARMS): Do not use macros from bp-asm.h.
14129 (STR): Likewise.
14130 (CHR): Likewise.
14131 (__strchrnul): Likewise. Do not use BP_SYM.
14132 (strchrnul): Do not use BP_SYM in weak_alias.
14133 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14134 "bp-asm.h".
14135 (PARMS): Do not use macros from bp-asm.h.
14136 (STOP): Likewise.
14137 (strcspn): Do not use BP_SYM.
14138 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14139 "bp-asm.h".
14140 (PARMS): Do not use macros from bp-asm.h.
14141 (STR): Likewise.
14142 (STOP): Likewise.
14143 (strpbrk): Likewise. Do not use BP_SYM.
14144 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14145 "bp-asm.h".
14146 (PARMS): Do not use macros from bp-asm.h.
14147 (STR): Likewise.
14148 (CHR): Likewise.
14149 (strrchr): Likewise. Do not use BP_SYM.
14150 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14151 (PARMS): Do not use macros from bp-asm.h.
14152 (SKIP): Likewise.
14153 (strspn): Do not use BP_SYM.
14154 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14155 (PARMS): Do not use macros from bp-asm.h.
14156 (STR): Likewise.
14157 (DELIM): Likewise.
14158 (SAVE): Likewise.
14159 (FUNCTION): Likewise. Do not use BP_SYM.
14160 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14161 aliases.
14162 (strtok_r): Likewise.
14163 (__GI___strtok_r): Likewise.
14164 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14165 (PARMS): Do not use macros from bp-asm.h.
14166 (S1): Likewise.
14167 (S2): Likewise.
14168 (SIZE): Likewise.
14169 (__mpn_sub_n): Do not use BP_SYM.
14170 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14171 "bp-asm.h".
14172 (PARMS): Do not use macros from bp-asm.h.
14173 (S1): Likewise.
14174 (SIZE): Likewise.
14175 (__mpn_submul_1): Do not use BP_SYM.
14176 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14177 <bp-sym.h>.
14178 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14179 and <bp-asm.h>.
14180 (PARMS): Do not use macros from bp-asm.h.
14181 (FLAGS): Likewise.
14182 (PTID): Likewise.
14183 (TLS): Likewise.
14184 (CTID): Likewise.
14185 (__clone): Do not use BP_SYM.
14186 (clone): Do not use BP_SYM in weak_alias.
14187 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14188 and <bp-asm.h>.
14189 (PARMS): Do not use macros from bp-asm.h.
14190 (LEN): Likewise.
14191 (__mmap64): Do not use BP_SYM.
14192 (mmap64): Do not use BP_SYM in weak_alias.
14193 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14194 <bp-sym.h> and <bp-asm.h>.
14195 (PARMS): Do not use macros from bp-asm.h.
14196 (__posix_fadvise64_l64): Do not use BP_SYM.
14197 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14198 (PARMS): Do not use macros from bp-asm.h.
14199 (NSOPS): Likewise.
14200 (semtimedop): Do not use BP_SYM.
14201 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14202 and <bp-asm.h>.
14203
14204 2013-02-21 Allan McRae <allan@archlinux.org>
14205
14206 * manual/message.texi (Charset conversion in gettext):
14207 Move @end statement to beginning of line.
14208
14209 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14210
14211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14212 static.
14213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14214 Likewise.
14215
14216 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14217 (denorm): Likewise.
14218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14220
14221 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14222
14223 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14224 tail-call to the resolved function if pltexit isn't needed.
14225
14226 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14227
14228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14229 or Y being zero as being unlikely.
14230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14231 Likewise.
14232
14233 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14234
14235 * manual/nss.texi (System Databases and Name Service Switch):
14236 Remove frobnicate @pxref.
14237
14238 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14239
14240 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14241 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14242
14243 2013-02-20 Petr Machata <pmachata@redhat.com>
14244
14245 * elf/elf.h (R_ARM_TARGET1): New macro.
14246 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14247 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14248 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14249 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14250 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14251 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14252 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14253 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14254 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14255 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14256 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14257 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14258 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14259 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14260 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14261 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14262 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14263 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14264 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14265 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14266 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14267 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14268 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14269 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14270 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14271 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14272 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14273 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14274 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14275 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14276 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14277 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14278 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14279 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14280 (R_ARM_THM_GOT_BREL12): Likewise.
14281 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14282 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14283 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14284 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14285 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14286 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14287 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14288 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14289 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14290
14291 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14292
14293 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14294 __attribute_used__ to __attribute__ ((unused)).
14295
14296 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14297
14298 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14299 powerpc mpa.c.
14300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14301 comment formatting.
14302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14303
14304 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14305
14306 [BZ #13550]
14307 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14308 Remove macro.
14309 (ENTER): Remove both macro definitions.
14310 (LEAVE): Likewise.
14311 (CHECK_BOUNDS_LOW): Likewise.
14312 (CHECK_BOUNDS_HIGH): Likewise.
14313 (CHECK_BOUNDS_BOTH): Likewise.
14314 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14315 (RETURN_BOUNDED_POINTER): Likewise.
14316 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14317 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14318 (POP_ERRNO_LOCATION_RETURN): Likewise.
14319 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14320 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14321 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14322 macros.
14323 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14324 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14325 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14326 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14327 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14328 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14329 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14330 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14331 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14332 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14333 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14334 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14335 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14336 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14337 removed macros.
14338 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14339 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14340 macros.
14341 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14342 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14343 * sysdeps/i386/i586/memset.S (memset): Likewise.
14344 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14345 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14346 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14347 macros.
14348 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14349 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14350 Change uses of L(2) to L(out).
14351 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14352 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14353 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14354 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14355 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14356 removed macros.
14357 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14358 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14359 macros.
14360 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14361 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14362 (RETURN): Do not use macro LEAVE.
14363 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14364 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14365 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14366 * sysdeps/i386/i686/memset.S (memset): Likewise.
14367 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14368 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14369 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14370 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14371 Likewise.
14372 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14373 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14374 L(1_2) and L(1_3) into L(1).
14375 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14376 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14377 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14378 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14379 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14380 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14381 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14382 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14383 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14384 macros.
14385 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14386 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14387 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14388 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14389 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14390 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14391 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14392 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14393 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14394 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14395 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14396 * sysdeps/i386/strspn.S (strspn): Likewise.
14397 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14398 conditional code.
14399 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14400 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14401 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14402 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14403 L(1_3) into L(1_1).
14404 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14405 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14406 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14407 macros.
14408 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14409
14410 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14411
14412 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14413 macro.
14414
14415 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14416
14417 * math/atest-exp.c (exp_mpn): Remove ROUND.
14418 * math/atest-exp2.c (exp_mpn): Likewise.
14419 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14420
14421 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14422 * stdlib/tst-tls-atexit-lib.c: Likewise.
14423 * stdlib/tst-tls-atexit.c: Likewise.
14424
14425 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14426
14427 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14428 and __attribute_alloc_size__.
14429
14430 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14431
14432 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14433 __attribute_alloc_size__.
14434 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14435 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14436
14437 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14438
14439 * include/programs/xmalloc.h: New file.
14440 * catgets/gencat.c: Include it.
14441 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14442 * elf/pldd.c: Likewise.
14443 * iconv/iconv_charmap.c: Likewise.
14444 * iconv/iconvconfig.c: Likewise.
14445 * iconv/strtab.c: Likewise.
14446 * locale/programs/locale.c: Likewise.
14447 * locale/programs/localedef.h: Likewise.
14448 * locale/programs/simple-hash.c: Likewise.
14449 * nscd/nscd.h: Likewise.
14450 * nss/makedb.c: Likewise.
14451 * sysdeps/generic/ldconfig.h: Likewise.
14452
14453 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14454
14455 * Versions.def: Add GLIBC_2.18.
14456 * include/link.h (struct link_map): New member l_tls_dtor_count.
14457 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14458 (__call_tls_dtors): Likewise.
14459 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14460 __cxa_thread_atexit_impl.
14461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14462 Likewise.
14463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14464 Likewise.
14465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14466 Likewise.
14467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14468 Likewise.
14469 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14471 Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14473 Likewise.
14474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14476 Likewise.
14477 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14478 (tests): Add test case tst-tls-atexit.
14479 (modules-names): Add shared library for tst-tls-atexit.
14480 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14481 (GLIBC_PRIVATE): Add __call_tls_dtors.
14482 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14483 for libstdc++.
14484 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14485 * stdlib/tst-tls-atexit.c: New test case.
14486 * stdlib/tst-tls-atexit-lib.c: New test case.
14487
14488 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14489
14490 * elf/Versions (ld): Add _dl_find_dso_for_object.
14491 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14492 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14493 (dl_open_worker): Use _dl_find_dso_for_object.
14494 * elf/dl-sym.c (do_sym): Likewise.
14495 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14496
14497 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14498
14499 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14500 Syntactic changes only.
14501 (_dl_runtime_profile): Do a tail-call to the resolved function.
14502
14503 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14504
14505 [BZ #13550]
14506 * sysdeps/x86_64/bp-asm.h: Remove file.
14507 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14508 <bp-sym.h> and <bp-asm.h>.
14509 (__clone): Do not use BP_SYM.
14510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14511 <bp-sym.h> and <bp-asm.h>.
14512 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14513 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14514 "bp-asm.h".
14515 (_setjmp): Do not use BP_SYM.
14516 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14517 "bp-asm.h".
14518 (setjmp): Do not use BP_SYM.
14519 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14520 libc_hidden_def.
14521 (mempcpy): Do not use BP_SYM in weak_alias.
14522 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14523 "bp-asm.h".
14524 (strchr): Do not use BP_SYM.
14525 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14526 "bp-asm.h".
14527 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14528 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14529 (_start): Do not use BP_SYM.
14530 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14531 "bp-asm.h".
14532 (strcat): Do not use BP_SYM.
14533 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14534 "bp-asm.h".
14535 (STRCMP): Do not use BP_SYM.
14536 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14537 "bp-asm.h".
14538 (STRCPY): Do not use BP_SYM.
14539 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14540 "bp-asm.h".
14541 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14542 "bp-asm.h".
14543 (FUNCTION): Do not use BP_SYM.
14544 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14545 weak_alias.
14546 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14547
14548 2013-02-17 Andreas Jaeger <aj@suse.de>
14549
14550 * time/Versions: Sort entries.
14551 * string/Versions: Likewise.
14552 * resolv/Versions: Likewise.
14553 * posix/Versions: Likewise.
14554 * iconv/Versions: Likewise.
14555 * elf/Versions: Likewise.
14556 * wcsmbs/Versions: Likewise.
14557
14558 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14559
14560 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14561 loop termination condition.
14562
14563 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14564 variable to calculate EZ.
14565 (__sqr): Likewise.
14566
14567 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14568 the lower precision input.
14569
14570 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14571
14572 [BZ #13550]
14573 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14574 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14575 (run-via-rtld-prefix): Do not handle %-bp tests.
14576 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14577 (all-object-suffixes): Remove .ob.
14578 (bppfx): Remove variable.
14579 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14580 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14581 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14582 [$(build-bounded) = yes] (libtype.ob): Likewise.
14583 * Makerules (elide-routines.ob): Remove variable.
14584 (do-tests-clean): Do not handle *-bp.out.
14585 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14586 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14587 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14588 (tests): Do not include $(tests-bp.out).
14589 (xtests): Do not include $(xtests-bp.out).
14590 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14591 [$(build-bounded) = yes] ($(addprefix
14592 $(objpfx),$(binaries-bounded))): Remove rule.
14593 ($(objpfx)%-bp.out): Remove rule.
14594 * config.make.in (build-bounded): Remove variable.
14595 * crypt/Makefile [$(build-bounded) = yes]
14596 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14597 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14598 append to variable.
14599 [$(build-bounded) = yes] (install-lib): Likewise.
14600 [$(build-bounded) = yes] (generated): Likewise.
14601 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14602 Remove rule.
14603 * intl/Makefile [$(build-bounded) = yes]
14604 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14605 * math/Makefile [$(build-bounded) = yes]
14606 ($(tests:%=$(objpfx)%-bp): Likewise.
14607 * misc/Makefile [$(build-bounded) = yes]
14608 ($(objpfx)tst-tsearch-bp): Likewise.
14609 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14610 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14611 Remove dependency.
14612 * string/Makefile (o-objects.ob): Remove variable.
14613 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14614 (CFLAGS-.ob): Remove variable.
14615 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14616 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14617 both definitions of variable.
14618 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14619 (ASFLAGS-.ob): Remove variable.
14620
14621 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14622
14623 [BZ #13550]
14624 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14625 Remove __BOUNDED_POINTERS__ from condition.
14626 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14627 * string/bits/string2.h [!__NO_STRING_INLINES &&
14628 !__BOUNDED_POINTERS__]: Likewise.
14629 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14630 Likewise.
14631 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14632 Remove conditional code.
14633 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14634 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14635 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14636 condition.
14637
14638 [BZ #13550]
14639 * csu/libc-start.c: Do not include <bp-sym.h>.
14640 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14641 * elf/dl-open.c: Do not include <bp-sym.h>.
14642 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14643 * math/fegetenv.c: Do not include <bp-sym.h>.
14644 (fegetenv): Do not use BP_SYM in versioned symbols.
14645 * nptl/sysdeps/pthread/bits/libc-lockP.h
14646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14647 <bp-sym.h>.
14648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14649 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14651 (__pthread_mutex_destroy): Likewise.
14652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14653 (__pthread_mutex_lock): Likewise.
14654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14655 (__pthread_mutex_trylock): Likewise.
14656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14657 (__pthread_mutex_unlock): Likewise.
14658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14659 (__pthread_mutexattr_init): Likewise.
14660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14661 (__pthread_mutexattr_destroy): Likewise.
14662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14663 (__pthread_mutexattr_settype): Likewise.
14664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14665 (__pthread_rwlock_init): Likewise.
14666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14667 (__pthread_rwlock_destroy): Likewise.
14668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14669 (__pthread_rwlock_rdlock): Likewise.
14670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14671 (__pthread_rwlock_tryrdlock): Likewise.
14672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14673 (__pthread_rwlock_wrlock): Likewise.
14674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14675 (__pthread_rwlock_trywrlock): Likewise.
14676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14677 (__pthread_rwlock_unlock): Likewise.
14678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14679 (__pthread_key_create): Likewise.
14680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14681 (__pthread_setspecific): Likewise.
14682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14683 (__pthread_getspecific): Likewise.
14684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14685 Likewise.
14686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14687 (_pthread_cleanup_push_defer): Likewise.
14688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14689 (_pthread_cleanup_pop_restore): Likewise.
14690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14691 (pthread_setcancelstate): Likewise.
14692 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14693 <bp-sym.h>.
14694 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14695 (memchr): Do not use BP_SYM in weak_alias.
14696 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14697 (fegetenv): Do not use BP_SYM in versioned symbols.
14698 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14699 (fesetenv): Do not use BP_SYM in versioned symbols.
14700 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14701 (feupdateenv): Do not use BP_SYM in versioned symbols.
14702 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14703 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14704 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14705 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14706 (open64): Do not use BP_SYM in weak_alias.
14707 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14708 (fegetenv): Do not use BP_SYM in versioned symbols.
14709 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14710 (fesetenv): Do not use BP_SYM in versioned symbols.
14711 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14712 (feupdateenv): Do not use BP_SYM in versioned symbols.
14713 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14714 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14715 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14716 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14717 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14718 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14719 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14720 <bp-sym.h>.
14721 (__libc_start_main): Do not use BP_SYM.
14722
14723 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14724
14725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14726 redundant return line.
14727 (norm): Likewise.
14728 (denorm): Likewise.
14729 (dbl_mp): Likewise.
14730 (sub_magnitudes): Likewise.
14731 (__add): Likewise.
14732 (__sub): Likewise.
14733 (__mul): Likewise.
14734 (__inv): Likewise.
14735 (__dvd): Likewise.
14736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14737 (norm): Likewise.
14738 (denorm): Likewise.
14739 (dbl_mp): Likewise.
14740 (sub_magnitudes): Likewise.
14741 (__add): Likewise.
14742 (__sub): Likewise.
14743 (__mul): Likewise.
14744 (__inv): Likewise.
14745 (__dvd): Likewise.
14746
14747 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14748 instead of __mul.
14749 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14750 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14751 (cc32): Likewise.
14752
14753 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14754 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14756 of __mul for squares.
14757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14758 function
14759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14760 Likewise.
14761 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14762 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14763
14764 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14765
14766 [BZ #13550]
14767 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14768 code.
14769 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14770 prototype or function definition. Rename ubp_* variables and
14771 parameters. Remove argv definitions conditional on
14772 [__BOUNDED_POINTERS__].
14773 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14774 * elf/dl-runtime.c (_dl_fixup): Likewise.
14775 * include/set-hooks.h (RUN_HOOK): Likewise.
14776 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14777 definition.
14778 * string/strcpy.c (strcpy): Do not use __unbounded.
14779 * sysdeps/generic/frame.h (struct layout): Likewise.
14780 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14781 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14782 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14783 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14784 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14785 (__backtrace): Likewise.
14786 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14787 use __ptrvalue.
14788 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14789 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14790 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14791 Likewise.
14792 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14793 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14794 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14795 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14796 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14797 Do not use __unbounded.
14798 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14799 Rename __unboundedrlimits parameter to rlimits in prototype.
14800 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14801 Do not use __unbounded.
14802 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14803 not use __ptrvalue.
14804 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14805 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14806 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14807 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14808 __ptrvalue or __unbounded.
14809 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14810 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14811 use __unbounded.
14812 (__new_msgctl): Do not use __ptrvalue.
14813 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14814 __unbounded.
14815 (__libc_msgrcv): Do not use __ptrvalue.
14816 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14817 startup_info): Do not use __unbounded.
14818 (__libc_start_main): Likewise. Rename ubp_* variables and
14819 parameters. Remove argv definitions conditional on
14820 [__BOUNDED_POINTERS__].
14821 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14822 __ptrvalue.
14823 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14824 use __unbounded.
14825 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14826 or __ptrvalue.
14827 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14828 use __unbounded.
14829 (__new_shmctl): Do not use __ptrvalue.
14830 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14831 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14832 Likewise.
14833 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14835 (__libc_sigaction): Likewise.
14836 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14837 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14838 Likewise.
14839 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14840
14841 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14842
14843 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14844
14845 * string/mempcpy.c: Implement by calling memcpy.
14846
14847 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14848
14849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14850
14851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14852 evaluation.
14853
14854 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14855 values in the mantissa.
14856
14857 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14858 minimize writes to Z.
14859 (sub_magnitudes): Simplify code a bit.
14860
14861 2013-02-12 Roland McGrath <roland@hack.frob.com>
14862
14863 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14864 from the message. The linker prefixes all warnings with that already.
14865
14866 2013-02-12 Andreas Schwab <schwab@suse.de>
14867
14868 [BZ #15078]
14869 * posix/regexec.c (extend_buffers): Add parameter min_len.
14870 (check_matching): Pass minimum needed length.
14871 (clean_state_log_if_needed): Likewise.
14872 (get_subexp): Likewise.
14873 * posix/Makefile (tests): Add bug-regex34.
14874 (bug-regex34-ENV): Define.
14875 * posix/bug-regex34.c: New file.
14876
14877 [BZ #11561]
14878 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14879 elements compare against the byte sequence of it, not its name.
14880 * posix/Makefile (tests): Add bug-regex35.
14881 (bug-regex35-ENV): Define.
14882 * posix/bug-regex35.c: New file.
14883
14884 2013-02-11 Tom de Vries <tom@codesourcery.com>
14885
14886 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14887 comment.
14888 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14889 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14890 (CHECK_EOL): Add undef.
14891
14892 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14893
14894 * bits/stdlib-bsearch.h: New file.
14895 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14896 * stdlib/stdlib.h: Likewise.
14897
14898 2013-02-11 Roland McGrath <roland@hack.frob.com>
14899
14900 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14901 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14902 declaration.
14903 * manual/search.texi (Array Search Function): Add missing const in
14904 lfind prototype.
14905 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14906 declaration to use rlim_t.
14907 (Basic Scheduling Functions): Remove erroneous const from
14908 sched_getparam prototype. Remove erroneous * from
14909 sched_get_priority_max and sched_get_priority_min prototypes.
14910 (Resource Usage): Fix summary @comment on vtimes to refer to
14911 sys/vtimes.h rather than vtimes.h.
14912 Add missing *s in vtimes prototype.
14913 (Limits on Resources): Fix ulimit prototype to return long int.
14914 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14915 prototypes to use long int rather than double.
14916 (BSD Random): Fix initstate and setstate to use char *, not void *.
14917 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14918 prototype to make second argument 'struct aiocb64 *const[]'.
14919 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14920 (Status of AIO Operations): Remove erroneous const in aio_return and
14921 aio_return64 prototypes.
14922 (Synchronizing I/O): Fix sync prototype to return void.
14923 * manual/startup.texi (Suboptions): Remove an erroneous const in
14924 getsubopt prototype.
14925 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14926 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14927 use size_t rather than int.
14928 (Scanning All Users): Likewise for getpwent_r.
14929 (Setting Groups): Add missing const to setgroups prototype.
14930 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14931 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14932 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14933 'const void *' rather than 'const char *'.
14934 (Host Address Functions): Likewise for inet_ntop.
14935 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14936 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14937 ssize_t for return value.
14938 (Sending Data): Likewise for send, sendto, sendmsg.
14939 (Socket Option Functions): Add a missing const in setsockopt prototype.
14940 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14941 use wchar_t for the argument.
14942 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14943 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14944 take no arguments.
14945 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14946 double/float/long double for second argument.
14947 Fix return types of significand, significandf, significandl.
14948 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14949 argument in fchmod prototype.
14950 (File Owner): Use uid_t and gid_t in fchown prototype.
14951 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14952 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14953 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14954 use 'const struct dirent **' as argument types to CMP function pointer
14955 argument.
14956 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14957 (File Times): Fix summary magic @comment for struct utimbuf and utime
14958 to refer to utime.h, not time.h.
14959 * manual/string.texi (Argz Functions): Add missing const in
14960 argz_extract and argz_next prototypes.
14961 (Finding Tokens in a String): Likewise for basename.
14962 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14963 (Copying and Concatenation): Fix typo in wmemmove prototype.
14964 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14965 (Signal Stack): Remove erroneous const in sigstack prototype.
14966 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14967 prototype.
14968 (Simple Calendar Time): Likewise for stime.
14969 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14970 prototype.
14971 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14972 say sys/sysctl.h instead.
14973 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14974 and vsyslog prototypes.
14975
14976 2013-02-11 Tom de Vries <tom@codesourcery.com>
14977
14978 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14979 Remove.
14980
14981 2013-02-11 Roland McGrath <roland@hack.frob.com>
14982
14983 * misc/sys/mman.h: Fix typo in mremap comment.
14984
14985 2013-02-08 Roland McGrath <roland@hack.frob.com>
14986
14987 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14988 the '\0' terminator.
14989
14990 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14991
14992 [BZ #13550]
14993 * debug/segfault.c: Don't include <bp-checks.h>.
14994 * sysdeps/generic/bp-checks.h: Remove file.
14995 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14996 (__GETDENTS): Don't use CHECK_N.
14997 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14998 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14999 (__getgroups): Don't use CHECK_N.
15000 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15001 (setgroups): Don't use CHECK_N.
15002 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15003 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15004 (__libc_msgrcv): Don't use CHECK_N.
15005 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15006 (__libc_msgsnd): Don't use CHECK_N.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15008 <bp-checks.h>.
15009 (__libc_pread): Don't use CHECK_N.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15011 include <bp-checks.h>.
15012 (__libc_pread64): Don't use CHECK_N.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15014 include <bp-checks.h>.
15015 (__libc_pwrite): Don't use CHECK_N.
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15017 include <bp-checks.h>.
15018 (__libc_pwrite64): Don't use CHECK_N.
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15020 <bp-checks.h>.
15021 (__libc_pread): Don't use CHECK_N.
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15023 include <bp-checks.h>.
15024 (__libc_pread64): Don't use CHECK_N.
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15026 include <bp-checks.h>.
15027 (__libc_pwrite): Don't use CHECK_N.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15029 include <bp-checks.h>.
15030 (__libc_pwrite64): Don't use CHECK_N.
15031 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15032 (do_pread): Don't use CHECK_N.
15033 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15034 (do_pread64): Don't use CHECK_N.
15035 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15036 (do_pwrite): Don't use CHECK_N.
15037 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15038 (do_pwrite64): Don't use CHECK_N.
15039 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15040 (__libc_readv): Don't use CHECK_N.
15041 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15042 (semop): Don't use CHECK_N.
15043 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15044 <bp-checks.h>.
15045 (semtimedop): Don't use CHECK_N.
15046 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15047 (__libc_pread): Don't use CHECK_N.
15048 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15049 <bp-checks.h>.
15050 (__libc_pread64): Don't use CHECK_N.
15051 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15052 <bp-checks.h>.
15053 (__libc_pwrite): Don't use CHECK_N.
15054 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15055 <bp-checks.h>.
15056 (__libc_pwrite64): Don't use CHECK_N.
15057 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15058 <bp-checks.h>.
15059 (__libc_msgrcv): Don't use CHECK_N.
15060 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15061 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15062 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15063 (__libc_writev): Don't use CHECK_N.
15064
15065 2013-02-08 Roland McGrath <roland@hack.frob.com>
15066
15067 * string/strcpy.c: Removed unused variable.
15068
15069 * Makeconfig (+sysdep-includes): Define with := rather than =.
15070 Use an existing include/ subdir of each sysdeps dir before it.
15071
15072 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15073
15074 * nscd/connection.c (register_traced_file): Comment function.
15075 [HAVE_INOTIFY] (union __inev): Define.
15076 [HAVE_INOTIFY] (inotify_check_files): New function.
15077 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15078 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15079 clear_db_cache.
15080 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15081
15082 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15083
15084 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15085 loaded if not already and that a failure is permanent.
15086
15087 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15088
15089 [BZ #15006]
15090 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15091 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15092
15093 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15094
15095 [BZ #13550]
15096 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15097 (CHECK_1_NULL_OK): Likewise.
15098 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15099 (__fxstat): Do not use CHECK_1.
15100 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15101 <bp-checks.h>.
15102 (___fxstat64): Do not use CHECK_1.
15103 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15104 <bp-checks.h>.
15105 (__fxstatat): Do not use CHECK_1.
15106 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15107 <bp-checks.h>.
15108 (__fxstatat64): Do not use CHECK_1.
15109 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15110 <bp-checks.h>.
15111 (__fxstat): Do not use CHECK_1.
15112 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15113 <bp-checks.h>.
15114 (__fxstatat): Do not use CHECK_1.
15115 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15116 <bp-checks.h>.
15117 (__getresgid): Do not use CHECK_1.
15118 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15119 <bp-checks.h>.
15120 (__getresuid): Do not use CHECK_1.
15121 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15122 <bp-checks.h>.
15123 (__lxstat): Do not use CHECK_1.
15124 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15125 <bp-checks.h>.
15126 (__old_msgctl): Do not use CHECK_1.
15127 (__new_msgctl): Likewise.
15128 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15129 <bp-checks.h>.
15130 (__new_setrlimit): Do not use CHECK_1.
15131 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15132 <bp-checks.h>.
15133 (__old_shmctl): Do not use CHECK_1.
15134 (__new_shmctl): Likewise.
15135 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15136 <bp-checks.h>.
15137 (__xstat): Do not use CHECK_1.
15138 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15139 (__lxstat): Do not use CHECK_1.
15140 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15141 <bp-checks.h>.
15142 (___lxstat64): Do not use CHECK_1.
15143 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15144 (__old_msgctl): Do not use CHECK_1.
15145 (__new_msgctl): Likewise.
15146 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15147 <bp-checks.h>.
15148 (__gettimeofday): Do not use CHECK_1.
15149 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15150 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15151 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15152 <bp-checks.h>.
15153 (__gettimeofday): Do not use CHECK_1.
15154 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15155 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15156 (__new_shmctl): Do not use CHECK_1.
15157 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15158 <bp-checks.h>.
15159 (do_sigtimedwait): Do not use CHECK_1.
15160 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15161 <bp-checks.h>.
15162 (do_sigwaitinfo): Do not use CHECK_1.
15163 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15164 <bp-checks.h>.
15165 (msgctl): Do not use CHECK_1.
15166 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15167 <bp-checks.h>.
15168 (shmctl): Do not use CHECK_1.
15169 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15170 (ustat): Do not use CHECK_1.
15171 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15172 <bp-checks.h>.
15173 (__fxstat): Do not use CHECK_1.
15174 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15175 <bp-checks.h>.
15176 (__fxstatat): Do not use CHECK_1.
15177 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15178 <bp-checks.h>.
15179 (__lxstat): Do not use CHECK_1.
15180 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15181 <bp-checks.h>.
15182 (__xstat): Do not use CHECK_1.
15183 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15184 (__xstat): Do not use CHECK_1.
15185 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15186 (___xstat64): Do not use CHECK_1.
15187
15188 [BZ #13550]
15189 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15190 definitions.
15191 (CHECK_BOUNDS_HIGH): Likewise.
15192 * string/strcpy.c: Do not include <bp-checks.h>.
15193 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15194
15195 2013-02-07 Roland McGrath <roland@hack.frob.com>
15196
15197 * nscd/nscd-client.h (__nscd_drop_map_ref):
15198 Add __attribute__ ((unused)).
15199 * nis/nss-nisplus.h (niserr2nss): Likewise.
15200
15201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15202 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15203
15204 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15205 Remove inline keyword.
15206 * include/rounding-mode.h (round_away): Likewise.
15207 * libio/wfileops.c (adjust_wide_data): Likewise.
15208 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15209 (__m128i_strloadu_tolower): Likewise.
15210 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15211 (__m128i_strloadu_tolower): Likewise.
15212 * time/mktime.c (ydhms_diff): Likewise.
15213 * locale/elem-hash.h (elem_hash): Likewise.
15214 * locale/setlocale.c (setdata): Likewise.
15215 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15216 (re_string_wchar_at): Likewise.
15217 (bitset_not, bitset_merge, bitset_mask): Likewise.
15218 [!(__GNUC__ > 3)] (inline): Remove macro.
15219 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15220 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15221 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15222 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15223 * string/memcmp.c (memcmp_bytes): Likewise.
15224 * locale/programs/locarchive.c (compute_hashval): Likewise.
15225 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15226 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15227 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15228 * nss/getent.c (print_rpc, print_protocols): Likewise.
15229 (print_passwd, print_group, print_aliases): Likewise.
15230 * nis/nss-nisplus.h (niserr2nss): Likewise.
15231 * nscd/connections.c (restart_p): Likewise.
15232 Change return type to bool.
15233
15234 2013-02-05 Roland McGrath <roland@hack.frob.com>
15235
15236 * Makeconfig (all-Depend-files): Add existing
15237 $(sorted-subdirs:=/Depend) files.
15238 (all-subdirs): Remove nss.
15239 * sysdeps/unix/inet/Subdirs: Add it here instead.
15240 * hesiod/Depend: New file.
15241
15242 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15243 instead of calling alloca.
15244
15245 * io/lseek.c (__lseek): Rename to __libc_lseek.
15246 Define __lseek as an alias.
15247
15248 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15249
15250 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15251
15252 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15253 else clause and remove check for non-standard endianness.
15254
15255 2013-02-04 David S. Miller <davem@davemloft.net>
15256
15257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15258
15259 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15260
15261 [BZ #13550]
15262 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15263 (__ubp_memchr): Remove prototype.
15264 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15265 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15266 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15267 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15268 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15269 Remove alias.
15270 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15271 (__ubp_memchr): Likewise.
15272 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15273 (__ubp_memchr): Likewise.
15274 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15275 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15276 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15277 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15278 CHECK_STRING.
15279 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15280 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15281 (__getcwd): Do not use CHECK_STRING.
15282 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15283 <bp-checks.h>.
15284 (__real_chown): Do not use CHECK_STRING.
15285 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15286 <bp-checks.h>.
15287 (fchownat): Do not use CHECK_STRING.
15288 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15289 CHECK_STRING.
15290 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15291 <bp-checks.h>.
15292 (__lchown): Do not use CHECK_STRING.
15293 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15294 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15295 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15296 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15298 include <bp-checks.h>.
15299 (truncate64): Do not use CHECK_STRING.
15300 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15301 <bp-checks.h>.
15302 (__real_chown): Do not use CHECK_STRING.
15303 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15304 <bp-checks.h>.
15305 (__lchown): Do not use CHECK_STRING.
15306 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15307 <bp-checks.h>.
15308 (__chown): Do not use CHECK_STRING.
15309 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15310 <bp-checks.h>.
15311 (truncate64): Do not use CHECK_STRING.
15312 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15313 Likewise.
15314 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15315 (__xmknod): Do not use CHECK_STRING.
15316 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15317 <bp-checks.h>.
15318 (__xmknodat): Do not use CHECK_STRING.
15319 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15320 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15321
15322 2013-02-04 Andreas Schwab <schwab@suse.de>
15323
15324 [BZ #14142]
15325 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15326 * include/netdb.h: Likewise for h_errno.
15327 * elf/tst-stackguard1.c: Include <tls.h>.
15328
15329 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15330
15331 * elf/link.h (struct link_map): Extend the l_addr comment.
15332 * include/link.h (struct link_map): Likewise.
15333
15334 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15335
15336 [BZ #13550]
15337 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15338 (BOUNDED_1): Remove macro.
15339 * debug/backtrace.c: Don't include <bp-checks.h>.
15340 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15341 (__backtrace): Likewise.
15342 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15343 <bp-checks.h>.
15344 (__backtrace): Don't use BOUNDED_1.
15345 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15346 <bp-checks.h>.
15347 (__backtrace): Don't use BOUNDED_1.
15348 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15349 (__backtrace): Don't use BOUNDED_1.
15350 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15351 (shmat): Don't use BOUNDED_N.
15352
15353 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15354
15355 [BZ #13550]
15356 * sysdeps/generic/bp-start.h: Remove file.
15357 * csu/libc-start.c: Don't include <bp-start.h>.
15358 (LIBC_START_MAIN): Set up __environ directly instead of using
15359 INIT_ARGV_and_ENVIRON.
15360 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15361 <bp-start.h>.
15362
15363 [BZ #13550]
15364 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15365 definitions.
15366 (CHECK_FCNTL): Likewise.
15367 (CHECK_N_PAGES): Likewise.
15368
15369 [BZ #13550]
15370 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15371 definitions.
15372 (CHECK_SIGSET_NULL_OK): Likewise.
15373 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15374 <bp-checks.h>.
15375 (sigpending): Don't use CHECK_SIGSET.
15376 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15377 <bp-checks.h>.
15378 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15379 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15380 <bp-checks.h>.
15381 (do_sigsuspend): Don't use CHECK_SIGSET.
15382 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15383 use CHECK_SIGSET.
15384 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15385 (do_sigwait): Don't use CHECK_SIGSET.
15386 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15387 use CHECK_SIGSET.
15388 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15389 include <bp-checks.h>.
15390 (sigpending): Don't use CHECK_SIGSET.
15391 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15392 include <bp-checks.h>.
15393 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15394 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15395 <bp-checks.h>.
15396 (sigpending): Don't use CHECK_SIGSET.
15397 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15398 <bp-checks.h>.
15399 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15400
15401 [BZ #13550]
15402 * sysdeps/generic/bp-semctl.h: Remove file.
15403 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15404 <bp-checks.h> and <bp-semctl.h>.
15405 (__old_semctl): Don't use CHECK_SEMCTL.
15406 (__new_semctl): Likewise.
15407 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15408 and <bp-semctl.h>.
15409 (__old_semctl): Don't use CHECK_SEMCTL.
15410 (__new_semctl): Likewise.
15411 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15412 <bp-checks.h> and <bp-semctl.h>.
15413 (__old_semctl): Don't use CHECK_SEMCTL.
15414 (__new_semctl): Likewise.
15415 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15416 <bp-checks.h> and <bp-semctl.h>.
15417 (semctl): Don't use CHECK_SEMCTL.
15418
15419 [BZ #13550]
15420 * Makerules (elide-bp-thunks): Remove variable.
15421 (elide-routines.oS): Don't use $(elide-bp-thunks).
15422 (elide-routines.os): Likewise.
15423 (elide-routines.o): Likewise.
15424 (elide-routines.op): Likewise.
15425 (elide-routines.og): Likewise.
15426 (objects): Don't use $(bp-thunks).
15427 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15428 include.
15429 (common-generated): Do not add s-proto-bp.d.
15430 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15431 (int): Likewise.
15432 (typ): Likewise.
15433 Do not generate makefile rules for bounded-pointer thunks.
15434 * sysdeps/generic/bp-thunks.h: Remove file.
15435 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15436 * sysdeps/unix/s-proto-bp.S: Likewise.
15437
15438 [BZ #15062]
15439 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15440 parts of result separately when argument is not close to line from
15441 -i to i and one part of argument is small.
15442 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15443 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15444 * math/libm-test.inc (cacos_test): Add more tests.
15445 (casin_test): Likewise.
15446 (casinh_test): Likewise.
15447 * sysdeps/i386/fpu/libm-test-ulps: Update.
15448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15449
15450 2013-01-31 David S. Miller <davem@davemloft.net>
15451
15452 * po/de.po: Update from translation team.
15453
15454 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15455
15456 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15457
15458 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15459
15460 * configure.in (_AC_PROG_CC_C89): New definition.
15461 * configure: Regenerate.
15462
15463 * configure.in (AC_PROG_CPP): New definition.
15464 * configure: Regenerate.
15465
15466 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15467
15468 * debug/tst-backtrace.h: New file.
15469 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15470 (ret): Remove variable.
15471 (x): Likewise.
15472 (FAIL): Remove macro.
15473 (NO_INLINE): Likewise.
15474 (fn1): Use match function instead of strstr.
15475 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15476 (ret): Remove variable.
15477 (x): Likewise.
15478 (FAIL): Remove macro.
15479 (NO_INLINE): Likewise.
15480 (fn): Use match function instead of strstr.
15481 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15482 (ret): Remove variable.
15483 (x): Likewise.
15484 (FAIL): Remove macro.
15485 (NO_INLINE): Likewise.
15486 (handle_signal): Use match function instead of strstr.
15487 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15488 (ret): Remove variable.
15489 (x): Likewise.
15490 (FAIL): Remove macro.
15491 (NO_INLINE): Likewise.
15492 (handle_signal): Use match function instead of strstr.
15493
15494 2013-01-23 Roland McGrath <roland@hack.frob.com>
15495
15496 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15497
15498 2013-01-23 David S. Miller <davem@davemloft.net>
15499
15500 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15501 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15502 argument of CAS if possible.
15503 * sysdeps/sparc/sparc64/bits/atomic.h
15504 (__arch_compare_and_exchange_val_32_acq): Likewise.
15505 (__arch_compare_and_exchange_val_64_acq): Likewise.
15506
15507 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15508
15509 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15510 * sysdeps/posix/ulimit.c: ... this.
15511 Include <limits.h>.
15512 * sysdeps/unix/bsd/ulimit.c: Remove file.
15513
15514 2013-01-23 Adam Conrad <adconrad@0c3.net>
15515
15516 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15517 (LDFLAGS-tst-array5): Likewise.
15518
15519 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15520
15521 [BZ #15036]
15522 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15523 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15524 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15525 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15526
15527 2013-01-21 David S. Miller <davem@davemloft.net>
15528
15529 * sysdeps/sparc/backtrace.c: New file.
15530 * sysdeps/sparc/sparc32/backtrace.h: New file.
15531 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15532 * sysdeps/sparc/sparc64/backtrace.h: New file.
15533 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15534 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15535 -funwind-tables.
15536
15537 2013-01-21 Andreas Schwab <schwab@suse.de>
15538
15539 [BZ #15020]
15540 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15541 closed its stdout.
15542
15543 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15544
15545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15546 "mpa2.h".
15547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15548
15549 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15550 Mark Mitchell <mark@codesourcery.com>
15551 Tom de Vries <tom@codesourcery.com>
15552 Paul Pluzhnikov <ppluzhnikov@google.com>
15553
15554 * debug/tst-backtrace2.c: New file.
15555 * debug/tst-backtrace3.c: Likewise.
15556 * debug/tst-backtrace4.c: Likewise.
15557 * debug/tst-backtrace5.c: Likewise.
15558 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15559 (CFLAGS-tst-backtrace3.c): Likewise.
15560 (CFLAGS-tst-backtrace4.c): Likewise.
15561 (CFLAGS-tst-backtrace5.c): Likewise.
15562 (LDFLAGS-tst-backtrace2): Likewise.
15563 (LDFLAGS-tst-backtrace3): Likewise.
15564 (LDFLAGS-tst-backtrace4): Likewise.
15565 (LDFLAGS-tst-backtrace5): Likewise.
15566 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15567 tst-backtrace4 and tst-backtrace5.
15568
15569 2013-01-18 Anton Blanchard <anton@samba.org>
15570 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15571
15572 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15573 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15574 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15575 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15577 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15578 "+r" and remove output regs list as redundant. Add explicit inline
15579 asm to specify register of return val to work around compiler codegen
15580 bug. Remove (int) cast on return value. Add return type parameter to
15581 use in macro so that this macro does not truncate return value for
15582 64-bit values.
15583 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15584 pass to INTERNAL_VSYSCALL_NCS.
15585 (INLINE_VSYSCALL): Add 'long int' as return type to
15586 INTERNAL_VSYSCALL_NCS macro invocation.
15587 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15588 INTERNAL_VSYSCALL_NCS macro invocation.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15590
15591 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15592
15593 [BZ #14496]
15594 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15595 Fix application of SIMD FP exception mask.
15596
15597 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15598 mp_no from a power of two.
15599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15600 __mpexp_twomm1. Use __pow_mp.
15601
15602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15603 multiplication.
15604
15605 2013-01-17 David S. Miller <davem@davemloft.net>
15606
15607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15608
15609 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15610
15611 [BZ #15023]
15612 * include/complex.h: Condition contents on [!_COMPLEX_H].
15613 (__kernel_casinhf): New prototype.
15614 (__kernel_casinh): Likewise.
15615 (__kernel_casinhl): Likewise.
15616 * math/Makefile (libm_calls): Add k_casinh.
15617 * math/k_casinh.c: New file.
15618 * math/k_casinhf.c: Likewise.
15619 * math/k_casinhl.c: Likewise.
15620 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15621 finite nonzero arguments.
15622 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15623 finite nonzero arguments.
15624 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15625 finite nonzero arguments.
15626 * math/s_casinh.c: Do not include <float.h>.
15627 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15628 * math/s_casinhf.c: Do not include <float.h>.
15629 (__casinhf): Move code for finite nonzero arguments to
15630 k_casinhf.c.
15631 * math/s_casinhl.c: Do not include <float.h>.
15632 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15633 redefine.
15634 (__casinhl): Move code for finite nonzero arguments to
15635 k_casinhl.c.
15636 * math/libm-test.inc (cacos_test): Add more tests.
15637 * sysdeps/i386/fpu/libm-test-ulps: Update.
15638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15639
15640 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15641
15642 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15643 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15644 [!HAVE_MREMAP]: Remove [defined linux] case.
15645 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15646
15647 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15648
15649 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15650
15651 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15652
15653 * elf/elf.h (R_386_SIZE32): New relocation.
15654 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15655 R_386_SIZE32.
15656 (elf_machine_rela): Likewise.
15657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15658 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15659
15660 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15661
15662 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15663 (FP_FAST_FMA): Do not define.
15664 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15665 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15666 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15667 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15668 !_SOFT_FLOAT]: Likewise.
15669 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15670 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15671 value.
15672 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15673 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15674 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15675 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15676 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15677 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15678 file.
15679
15680 2013-01-16 Andreas Schwab <schwab@suse.de>
15681
15682 [BZ #14327]
15683 * include/stdlib.h (__mktemp): Add declaration.
15684 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15685 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15686
15687 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15688
15689 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15690 definitions.
15691 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15692 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15693 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15694 definitions here.
15695 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15696 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15697 definitions.
15698 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15699 and ONE.
15700 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15701 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15702 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15703 definitions.
15704 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15705 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15706 definitions.
15707 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15708
15709 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15710
15711 2013-01-15 David S. Miller <davem@davemloft.net>
15712
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15714 trunc{,f} to libm-sysdep_routes.
15715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15717 file.
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15720 file.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15722 file.
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15725 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15726 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15727 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15728 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15729 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15730 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15731
15732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15733 nearbyint{,f} to libm-sysdep_routes.
15734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15736 New file.
15737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15738 file.
15739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15740 New file.
15741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15742 file.
15743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15745 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15746 file.
15747 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15748 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15749 file.
15750 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15751 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15752 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15753
15754 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15755 libc_feholdexcept and libc_fesetenv.
15756
15757 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15758
15759 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15760
15761 2013-01-14 David S. Miller <davem@davemloft.net>
15762
15763 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15764 (SPARC_ASM_VIS2_IFUNC): Likewise.
15765 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15767 use of 'siam' instruction.
15768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15769 Likewise.
15770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15771 Likewise.
15772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15773 Likewise.
15774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15779 file.
15780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15781 file.
15782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15783 file.
15784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15785 file.
15786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15791 new VIS2 routines.
15792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15795 Likewise.
15796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15801 routines to libm-sysdep_routines.
15802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15803
15804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15805 fdim/fdimf to libm-sysdep_routines.
15806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15807 file.
15808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15810 file.
15811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15814 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15815 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15816 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15817 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15818
15819 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15820
15821 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15822 to optimize copies.
15823
15824 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15827
15828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15829 local variable MPTWO.
15830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15831 Likewise.
15832
15833 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15834
15835 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15836 GLOB_NOESCAPE.
15837
15838 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15839
15840 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15841
15842 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15843
15844 * manual/pattern.texi (glob_t): Document gl_flags.
15845 (glob64_t): Likewise.
15846
15847 2013-01-11 David S. Miller <davem@davemloft.net>
15848
15849 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15850 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15851 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15852 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15853 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15854 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15855 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15856 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15857 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15858 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15859 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15860 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15861 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15862
15863 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15864 sparc V9 rather than using V8 code.
15865 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15866 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15867
15868 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15869 Move to...
15870 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15871 Here.
15872
15873 2013-01-11 Roland McGrath <roland@hack.frob.com>
15874
15875 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15876 not in the main loop.
15877 * configure: Regenerated.
15878
15879 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15880
15881 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15882 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15883 to just #else.
15884 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15885 [!__GLIBC_HAVE_LONG_LONG] case.
15886 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15887 condition to just #else.
15888 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15889 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15890 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15891 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15892 unconditional.
15893 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15894 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15895 #elif condition to just #else.
15896 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15897 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15898 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15899 #elif condition to just #else.
15900
15901 2013-01-11 Steve Ellcey <sellcey@mips.com>
15902
15903 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15904 (EF_MIPS_ARCH_64): Fix value.
15905 (EF_MIPS_ARCH_32R2): New.
15906 (EF_MIPS_ARCH_64R2): New.
15907
15908 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15909
15910 * Makeconfig (+link-pie-before-libc): New.
15911 (+link-pie-after-libc): Likewise.
15912 (+link-pie-tests): Likewise.
15913 (+link-pie): Rewritten.
15914 (link-before-libc): Remove $(config-LDFLAGS).
15915 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15916 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15917 (config-LDFLAGS): Renamed to ...
15918 (rtld-LDFLAGS): This.
15919 (rtld-tests-LDFLAGS): New macro.
15920 (link-libc-rpath-link): Likewise.
15921 (link-libc-tests-rpath-link): Likewise.
15922 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15923 (link-libc): Prepand $(link-libc-rpath-link).
15924 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15925 (test-program-prefix): New macro.
15926 (test-via-rtld-prefix): Likewise.
15927 (test-program-cmd): Likewise.
15928 (host-test-program-cmd): Likewise.
15929 * Makefile ($(common-objpfx)testrun.sh): Replace
15930 $(run-program-prefix) with $(test-program-prefix).
15931 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15932 $(rtld-LDFLAGS).
15933 ($(common-objpfx)shlib.lds): Likewise.
15934 (build-module-helper): Likewise.
15935 ($(common-objpfx)format.lds): Likewise.
15936 * Rules (binaries-pie-tests): New.
15937 (binaries-pie-notests): Likewise.
15938 (binaries-pie): Rewritten.
15939 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15940 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15941 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15942 (make-test-out): Replace $(host-built-program-cmd) with
15943 $(host-test-program-cmd).
15944 * config.make.in (build-hardcoded-path-in-tests): New variable.
15945 * configure.in (--enable-hardcoded-path-in-tests): New configure
15946 option.
15947 (hardcoded_path_in_tests): New AC_SUBST.
15948 * configure: Regenerated.
15949 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15950 $(built-program-cmd) with $(test-program-cmd).
15951 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15952 (test_program_cmd): This.
15953 * elf/Makefile ($(objpfx)order.out): Run test with
15954 $(test-program-prefix).
15955 ($(objpfx)order2.out): Likewise.
15956 ($(objpfx)tst-initorder.out): Likewise.
15957 ($(objpfx)tst-initorder2.out): Likewise.
15958 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15959 $(test-program-cmd).
15960 ($(objpfx)tst-array1-static.out): Likewise.
15961 ($(objpfx)tst-array2.out): Likewise.
15962 ($(objpfx)tst-array3.out): Likewise.
15963 ($(objpfx)tst-array4.out): Likewise.
15964 ($(objpfx)tst-array5.out): Likewise.
15965 ($(objpfx)tst-array5-static.out): Likewise.
15966 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15967 $(test-program-cmd).
15968 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15969 $(run-program-prefix) with $(test-program-prefix).
15970 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15971 (test_program_prefix): This.
15972 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15973 $(run-program-prefix) with $(test-program-prefix).
15974 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15975 (test_program_prefix): This.
15976 * iconvdata/tst-tables.sh: Likewise.
15977 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15978 $(run-program-prefix) with $(test-program-prefix).
15979 ($(objpfx)tst-translit.out): Likewise.
15980 ($(objpfx)tst-gettext2.out): Likewise.
15981 ($(objpfx)tst-gettext4.out): Likewise.
15982 ($(objpfx)tst-gettext6.out): Likewise.
15983 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15984 (test_program_prefix): This.
15985 * intl/tst-gettext2.sh: Likewise.
15986 * intl/tst-gettext4.sh Likewise.
15987 * intl/tst-gettext6.sh: Likewise.
15988 * intl/tst-translit.sh: Likewise.
15989 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15990 with $(test-program-cmd).
15991 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15992 $(run-program-prefix) with $(test-program-prefix).
15993 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15994 (test_program_prefix): This.
15995 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15996 $(run-program-prefix) with $(test-program-prefix).
15997 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15998 (test_program_prefix): This.
15999 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16000 * posix/Makefile ($(objpfx)globtest.out): Replace
16001 $(run-via-rtld-prefix) and $(test-wrapper) with
16002 $(test-program-prefix) and $(test-via-rtld-prefix).
16003 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16004 $(test-program-prefix).
16005 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16006 $(host-test-program-cmd).
16007 (tst-spawn-ARGS): Likewise.
16008 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16009 $(test-program-prefix).
16010 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16011 (test_via_rtld_prefix): This.
16012 (test_wrapper): Renamed to ...
16013 (test_program_prefix): This.
16014 (run_program_prefix): Replaced by test_program_prefix.
16015 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16016 (test_program_prefix): This.
16017 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16018 with $(host-test-program-cmd).
16019 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16020 $(run-program-prefix) with $(test-program-prefix).
16021 ($(objpfx)tst-printf.out): Likewise.
16022 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16023 $(test-program-cmd).
16024 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16025 (test_program_prefix): This.
16026 * stdio-common/tst-unbputc.sh: Likewise.
16027 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16028 $(run-program-prefix) with $(test-program-prefix).
16029 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16030 (test_program_prefix): This.
16031 * string/Makefile ($(objpfx)tst-svc.out): Replace
16032 $(built-program-cmd) with $(test-program-cmd).
16033
16034 2013-01-11 Andreas Jaeger <aj@suse.de>
16035
16036 [BZ #15003]
16037 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16038 value. Sync with Linux 3.7.
16039
16040 2013-01-10 David S. Miller <davem@davemloft.net>
16041
16042 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16043 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16044 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16045
16046 2013-01-10 Roland McGrath <roland@hack.frob.com>
16047
16048 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16049 never set.
16050 * configure: Regenerated.
16051
16052 2013-01-10 David S. Miller <davem@davemloft.net>
16053
16054 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16055 sparc V9 rather than using V8 code.
16056 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16057 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16058
16059 2013-01-10 Roland McGrath <roland@hack.frob.com>
16060
16061 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16062 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16063 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16064 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16065 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16066 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16067 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16068 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16069 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16070 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16071 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16072 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16073 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16074 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16075 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16076 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16077 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16078 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16079 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16080 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16081 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16082 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16083 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16084 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16085 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16086 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16087 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16088
16089 2013-01-10 David S. Miller <davem@davemloft.net>
16090
16091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16092
16093 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16094
16095 * posix/Makefile (tests-static): New variable.
16096 (tests): Add $(tests-static).
16097 (tst-exec-static-ARGS): New variable.
16098 (tst-spawn-static-ARGS): Likewise.
16099 * posix/tst-exec-static.c: New file.
16100 * posix/tst-spawn-static.c: Likewise.
16101 * posix/tst-exec.c: Support run directly.
16102 * posix/tst-spawn.c: Likewise.
16103
16104 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16105
16106 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16107 long.
16108 * math/bits/mathcalls.h (llrint): Likewise.
16109 (llround): Likewise.
16110 * stdlib/stdlib.h (struct drand48_data): Likewise.
16111 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16112 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16113 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16114 Likewise.
16115 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16116 Likewise.
16117 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16118 (elf_greg_t): Likewise.
16119 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16120 (__jmp_buf): Likewise.
16121 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16122 definitions.
16123 (llrint): Likewise, for all definitions.
16124 (llrintl): Likewise.
16125
16126 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16127 Remove [__GNUC__] condition.
16128 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16129 condition to just [__USE_ISOC99].
16130 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16131
16132 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16133
16134 [BZ #14200]
16135 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16136 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16137 defined.
16138 (_POSIX_V6_ILP32_OFF32): Likewise.
16139 (_XBS5_ILP32_OFF32): Likewise.
16140 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16141 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16142
16143 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16144
16145 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16146
16147 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16148 doubles __mpexp_twomm1. Adjust usage.
16149 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16150 Remove.
16151
16152 2013-01-10 Andreas Schwab <schwab@suse.de>
16153
16154 [BZ #14964]
16155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16156 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16157
16158 2013-01-09 David S. Miller <davem@davemloft.net>
16159
16160 [BZ #15003]
16161 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16162 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16163 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16164 TCP_FASTOPEN): Define.
16165 (tcp_repair_opt): New structure.
16166 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16167 enum values.
16168 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16169 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16170 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16171 (tcp_cookie_transactions): New structure.
16172
16173 2013-01-09 Anton Blanchard <anton@samba.org>
16174
16175 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16176 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16177 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16178 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16179
16180 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16181
16182 * include/features.h (__USE_ANSI): Remove.
16183
16184 2013-01-09 Roland McGrath <roland@hack.frob.com>
16185
16186 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16187
16188 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16189
16190 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16191
16192 * sysdeps/s390/fpu/libm-test-ulps: Update.
16193
16194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16195
16196 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16197 (__acr): Likewise.
16198 (__cpy): Likewise.
16199 (norm): Likewise.
16200 (denorm): Likewise.
16201 (__mp_dbl): Likewise.
16202 (__dbl_mp): Likewise.
16203 (add_magnitudes): Likewise.
16204 (sub_magnitudes): Likewise.
16205 (__add): Likewise.
16206 (__sub): Likewise.
16207 (__mul): Likewise.
16208 (__inv): Likewise.
16209 (__dvd): Likewise.
16210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16211 (__acr): Likewise.
16212 (__cpy): Likewise.
16213 (norm): Likewise.
16214 (denorm): Likewise.
16215 (__mp_dbl): Likewise.
16216 (__dbl_mp): Likewise.
16217 (add_magnitudes): Likewise.
16218 (sub_magnitudes): Likewise.
16219 (__add): Likewise.
16220 (__sub): Likewise.
16221 (__mul): Likewise.
16222 (__inv): Likewise.
16223 (__dvd): Likewise.
16224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16225 (__acr): Likewise.
16226 (__cpy): Likewise.
16227 (norm): Likewise.
16228 (denorm): Likewise.
16229 (__mp_dbl): Likewise.
16230 (__dbl_mp): Likewise.
16231 (add_magnitudes): Likewise.
16232 (sub_magnitudes): Likewise.
16233 (__add): Likewise.
16234 (__sub): Likewise.
16235 (__mul): Likewise.
16236 (__inv): Likewise.
16237 (__dvd): Likewise.
16238
16239 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16240
16241 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16242 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16243 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16244 2 && __USE_EXTERN_INLINES]: Likewise.
16245
16246 2013-01-08 Andreas Jaeger <aj@suse.de>
16247
16248 [BZ# 14985]
16249 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16250 Remove.
16251 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16252 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16253
16254 2013-01-07 Anton Blanchard <anton@samba.org>
16255
16256 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16257 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16258 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16259 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16260 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16261 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16262 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16263 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16265 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16266 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16267 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16268 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16269 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16270 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16271 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16272 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16273 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16274 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16275 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16276 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16277 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16278 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16279 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16280 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16281 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16282 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16283 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16285 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16286 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16288 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16289 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16290 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16291 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16292 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16293 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16294 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16295 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16296 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16298 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16299
16300 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16301
16302 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16303 (__MALLOC_PMT): Likewise.
16304 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16305 [__GNUC__], only on [_LIBC].
16306 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16307 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16308 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16309 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16310 forward declaration.
16311 (realloc_hook_ini): Likewise.
16312 (memalign_hook_ini): Likewise.
16313 (__libc_memalign): Do not use __MALLOC_PMT in variable
16314 declaration.
16315 (__libc_valloc): Likewise.
16316 (__libc_pvalloc): Likewise.
16317 (__libc_calloc): Likewise.
16318 (__posix_memalign): Likewise.
16319
16320 [BZ #14996]
16321 * math/s_casinh.c: Include <float.h>.
16322 (__casinh): Do not do computation with squaring and square root
16323 for large arguments.
16324 * math/s_casinhf.c: Include <float.h>.
16325 (__casinhf): Do not do computation with squaring and square root
16326 for large arguments.
16327 * math/s_casinhl.c: Include <float.h>.
16328 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16329 (__casinhl): Do not do computation with squaring and square root
16330 for large arguments.
16331 * math/libm-test.inc (casin_test): Add more tests.
16332 (casinh_test): Likewise.
16333 * sysdeps/i386/fpu/libm-test-ulps: Update.
16334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16335
16336 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16337
16338 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16339 (__x86_64_raw_data_cache_size): Likewise.
16340 (__x86_64_data_cache_size_half): Likewise.
16341 (__x86_64_raw_data_cache_size_half): Likewise.
16342 (__x86_64_shared_cache_size): Likewise.
16343 (__x86_64_raw_shared_cache_size): Likewise.
16344 (__x86_64_shared_cache_size_half): Likewise.
16345 (__x86_64_raw_shared_cache_size_half): Likewise.
16346 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16347 to ...
16348 (__x86_data_cache_size): This.
16349 (__x86_64_raw_data_cache_size): Renamed to ...
16350 (__x86_raw_data_cache_size): This.
16351 (__x86_64_data_cache_size_half): Renamed to ...
16352 (__x86_data_cache_size_half): This.
16353 (__x86_64_raw_data_cache_size_half): Renamed to ...
16354 (__x86_raw_data_cache_size_half): This.
16355 (__x86_64_shared_cache_size): Renamed to ...
16356 (__x86_shared_cache_size): This.
16357 (__x86_64_raw_shared_cache_size): Renamed to ...
16358 (__x86_raw_shared_cache_size): This.
16359 (__x86_64_shared_cache_size_half): Renamed to ...
16360 (__x86_shared_cache_size_half): This.
16361 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16362 (__x86_raw_shared_cache_size_half): This.
16363 * sysdeps/x86_64/memcpy.S: Updated.
16364 * sysdeps/x86_64/memset.S: Likewise.
16365 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16366 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16367 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16368
16369 2013-01-04 David S. Miller <davem@davemloft.net>
16370
16371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16372
16373 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16374
16375 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16376 1 to avoid redefinition warning.
16377 (__USE_GNU): Don't define.
16378 (init_signaling_nan): Protoize.
16379
16380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16381
16382 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16383
16384 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16386 (__cpymn): Likewise.
16387 (norm): Remove commented code.
16388 (denorm): Likewise.
16389 (__mp_dbl): Likewise.
16390 (__inv): Likewise.
16391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16392 (__cpymn): Likewise.
16393 (norm): Remove commented code.
16394 (denorm): Likewise.
16395 (__mp_dbl): Likewise.
16396 (__inv): Likewise.
16397
16398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16399 mp_no value for 1.0 and 2.0.
16400 (norm): Use RADIXI instead of radixi.d.
16401 (denorm): Likewise.
16402 (__mul): Use 0.0 instead of zero.d.
16403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16404 mp_no value for 1.0 and 2.0.
16405 (norm): Use RADIXI instead of radixi.d.
16406 (denorm): Likewise.
16407 (__mul): Use 0.0 instead of zero.d.
16408
16409 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16410
16411 [BZ #14994]
16412 * math/s_casinh.c (__casinh): Reduce finite argument to first
16413 quadrant then set signs of results at the end.
16414 * math/s_casinhf.c (__casinhf): Likewise.
16415 * math/s_casinhl.c (__casinhl): Likewise.
16416 * math/libm-test.inc (casin_test): Add more tests.
16417 (casinh_test): Likewise.
16418 * sysdeps/i386/fpu/libm-test-ulps: Update.
16419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16420
16421 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16422
16423 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16424
16425 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16426
16427 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16428 declarations.
16429 (denorm): Likewise.
16430 (__mp_dbl): Likewise.
16431 (__inv): Likewise.
16432
16433 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16434 and adjust the header comment.
16435
16436 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16437 variable name from declaration.
16438
16439 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16440
16441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16442 Initialize COMMON_CPUID_INDEX_7 element.
16443 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16444 (CPUID_RTM): Likewise.
16445 (HAS_RTM): Likewise.
16446 (COMMON_CPUID_INDEX_7): New enum.
16447
16448 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16449
16450 [BZ #14981]
16451 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16452 size is zero, record memory as freed.
16453
16454 2013-01-03 Andreas Jaeger <aj@suse.de>
16455
16456 * po/ia.po: Add new Interlingua translation.
16457
16458 2012-01-03 Allan McRae <allan@archlinux.org>
16459
16460 * locale/programs/localedef.c: Fix description of '--posix' flag.
16461
16462 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16463
16464 * NEWS: Update dates in second copyright notice.
16465 * README: Update copyright dates in example.
16466 * manual/libc.texinfo: Update copyright dates.
16467 * scripts/test-installation.pl: Update copyright date in --version
16468 output.
16469
16470 * hurd/ctty-input.c: Fix copyright notice formatting.
16471 * hurd/ctty-output.c: Likewise.
16472 * hurd/dtable.c: Likewise.
16473 * hurd/hurd-raise.c: Likewise.
16474 * hurd/hurdprio.c: Likewise.
16475 * hurd/msgportdemux.c: Likewise.
16476 * misc/sys/file.h: Likewise.
16477 * misc/sys/ioctl.h: Likewise.
16478 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16479 * sysdeps/mach/hurd/chdir.c: Likewise.
16480 * sysdeps/mach/hurd/fchdir.c: Likewise.
16481 * sysdeps/mach/hurd/rename.c: Likewise.
16482 * sysdeps/mach/hurd/rmdir.c: Likewise.
16483 * sysdeps/mach/hurd/seekdir.c: Likewise.
16484 * sysdeps/mach/hurd/setsid.c: Likewise.
16485 * sysdeps/posix/wait3.c: Likewise.
16486
16487 * All files with FSF copyright notices: Update copyright dates
16488 using scripts/update-copyrights.
16489 * intl/plural.c: Regenerated.
16490 * locale/programs/charmap-kw.h: Likewise.
16491 * locale/programs/locfile-kw.h: Likewise.
16492
16493 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16494
16495 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16496 four values.
16497
16498 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16499 calculation loop and add branch prediction.
16500
16501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16502 check access beyond bounds of m1np.
16503
16504 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16505 MPTWO.
16506 (__inv): Remove local variable MPTWO to use the global
16507 constant.
16508 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16509 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16510 variable MPTWO.
16511 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16512 MP3HALFS static const.
16513
16514 2013-01-01 David S. Miller <davem@davemloft.net>
16515
16516 * po/ca.po: Update from translation team.
16517
16518 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16519
16520 * scripts/update-copyrights: New file.
16521 * Makeconfig: Reformat copyright notice.
16522 * ctype/ctype.h: Likewise.
16523 * debug/swprintf_chk.c: Likewise.
16524 * elf/dl-cache.c: Likewise.
16525 * elf/dl-debug.c: Likewise.
16526 * elf/dl-object.c: Likewise.
16527 * grp/initgroups.c: Likewise.
16528 * hurd/Makefile: Likewise.
16529 * hurd/hurd/signal.h: Likewise.
16530 * hurd/hurdfault.c: Likewise.
16531 * hurd/hurdioctl.c: Likewise.
16532 * hurd/hurdlookup.c: Likewise.
16533 * hurd/intr-msg.c: Likewise.
16534 * iconv/gconv_open.c: Likewise.
16535 * libio/swprintf.c: Likewise.
16536 * locale/lc-ctype.c: Likewise.
16537 * locale/nl_langinfo.c: Likewise.
16538 * mach/Machrules: Likewise.
16539 * mach/Makefile: Likewise.
16540 * malloc/obstack.h: Likewise.
16541 * manual/Makefile: Likewise.
16542 * manual/tsort.awk: Likewise.
16543 * misc/bits/stab.def: Likewise.
16544 * nis/nis_print_group_entry.c: Likewise.
16545 * nis/nis_table.c: Likewise.
16546 * nis/nss_compat/compat-pwd.c: Likewise.
16547 * nis/nss_compat/compat-spwd.c: Likewise.
16548 * po/Makefile: Likewise.
16549 * posix/fnmatch.c: Likewise.
16550 * posix/regex.h: Likewise.
16551 * resolv/Makefile: Likewise.
16552 * resolv/nss_dns/dns-network.c: Likewise.
16553 * resolv/res_hconf.c: Likewise.
16554 * scripts/gen-sorted.awk: Likewise.
16555 * soft-fp/soft-fp.h: Likewise.
16556 * stdio-common/printf.h: Likewise.
16557 * stdlib/monetary.h: Likewise.
16558 * stdlib/random.c: Likewise.
16559 * stdlib/random_r.c: Likewise.
16560 * sysdeps/generic/Makefile: Likewise.
16561 * sysdeps/gnu/Makefile: Likewise.
16562 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16569 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16572 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16573 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16574 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16575 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16577 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16578 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16579 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16580 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16582 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16583 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16584 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16585 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16586 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16587 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16588 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16589 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16590 * sysdeps/mach/hurd/errnos.awk: Likewise.
16591 * sysdeps/mach/hurd/fork.c: Likewise.
16592 * sysdeps/mach/hurd/getcwd.c: Likewise.
16593 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16594 * sysdeps/mach/hurd/mmap.c: Likewise.
16595 * sysdeps/mach/hurd/utimes.c: Likewise.
16596 * sysdeps/mach/hurd/xmknod.c: Likewise.
16597 * sysdeps/posix/profil.c: Likewise.
16598 * sysdeps/posix/readdir_r.c: Likewise.
16599 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16600 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16601 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16602 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16604 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16605 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16606 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16608 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16609 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16610 * sysdeps/pthread/lio_listio.c: Likewise.
16611 * sysdeps/sparc/dl-procinfo.h: Likewise.
16612 * sysdeps/unix/i386/sysdep.S: Likewise.
16613 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16614 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16615 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16616 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16618 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16619 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16620 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16621 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16622 * sysdeps/wordsize-32/divdi3.c: Likewise.
16623 * time/sys/time.h: Likewise.
16624 * wcsmbs/Makefile: Likewise.
16625
16626 2013-01-01 David S. Miller <davem@davemloft.net>
16627
16628 * po/fr.po: Update from translation team.
16629
16630 * catgets/gencat.c: Update copyright year.
16631 * csu/version.c: Likewise.
16632 * debug/catchsegv.sh: Likewise.
16633 * debug/pcprofiledump.c: Likewise.
16634 * debug/xtrace.sh: Likewise.
16635 * elf/ldconfig.c: Likewise.
16636 * elf/ldd.bash.in: Likewise.
16637 * elf/pldd.c: Likewise.
16638 * elf/sotruss.ksh: Likewise.
16639 * elf/sprof.c: Likewise.
16640 * iconv/iconv_prog.c: Likewise.
16641 * iconv/iconvconfig.c: Likewise.
16642 * locale/programs/locale.c: Likewise.
16643 * locale/programs/localedef.c: Likewise.
16644 * login/programs/pt_chown.c: Likewise.
16645 * malloc/memusage.sh: Likewise.
16646 * malloc/memusagestat.c: Likewise.
16647 * malloc/mtrace.pl: Likewise.
16648 * nscd/nscd.c: Likewise.
16649 * nss/getent.c: Likewise.
16650 * nss/makedb.c: Likewise.
16651 * posix/getconf.c: Likewise.
16652
16653 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16654
16655 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16656 numbers.
16657
16658 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16659
16660 * math/bits/mathcalls.h (modf): Use __nonnull.
16661
16662 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16663
16664 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16665 (split): Use macro CN instead of the bare value.
16666 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16667 could be used.
16668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16669 instead of the bare value.
16670 (power1): Likewise.
16671
16672 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16673
16674 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16675 __ATAN_TWOM.
16676 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16677
16678 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16679 their values.
16680 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16681 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16682 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16683 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16684
16685 2012-12-28 Andreas Jaeger <aj@suse.de>
16686
16687 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16688 values are from Linux 3.7.
16689
16690 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16691 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16692
16693 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16694
16695 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16696 TRUE case.
16697
16698 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16699 (norm): Likewise.
16700 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16701 variables with preprocessor constants.
16702 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16703 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16704 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16705
16706 2012-12-27 Bruno Haible <bruno@clisp.org>
16707
16708 [BZ #14317]
16709 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16710 only if needed.
16711
16712 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16713
16714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16715 and use variable directly.
16716 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16717
16718 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16719 MPONE.
16720 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16722 variable MPONE.
16723 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16725 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16726 include directive. Remove local variable MPONE.
16727 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16728 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16729 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16730
16731 2012-12-25 David S. Miller <davem@davemloft.net>
16732
16733 * version.h (RELEASE): Set to "development".
16734 (VERSION): Set to "2.17.90".
16735 * NEWS: Add 2.18 section.
16736
16737 2012-12-21 David S. Miller <davem@davemloft.net>
16738
16739 * po/hr.po: Update from translation team.
16740
16741 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16742
16743 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16744
16745 2012-12-19 Steve Ellcey <sellcey@mips.com>
16746
16747 * NEWS: Mention new memcpy for MIPS.
16748
16749 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16750
16751 * manual/contrib.texi (Contributors): Spelling correction.
16752
16753 2012-12-15 David S. Miller <davem@davemloft.net>
16754
16755 * po/ru.po: Update from translation team.
16756
16757 2012-12-13 David S. Miller <davem@davemloft.net>
16758
16759 * NEWS: Mention IFUNC testsuite enhancements.
16760
16761 * po/pl.po: Update from translation team.
16762 * po/bg.po: Likewise.
16763
16764 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16765 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16766
16767 2012-12-11 David S. Miller <davem@davemloft.net>
16768
16769 * po/sv.po: Update from translation team.
16770
16771 * po/vi.po: Update from translation team.
16772
16773 * po/cs.po: Update from translation team.
16774
16775 * po/de.po: Update from translation team.
16776 * po/eo.po: Likewise.
16777 * po/nl.po: Likewise.
16778
16779 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16780
16781 [BZ #14246]
16782 * manual/argp.texi (Argp Helper Functions): Move node to follow
16783 Argp Parsing State.
16784
16785 [BZ #14872]
16786 * manual/conf.texi (Limits on File System Capacity): Mention if
16787 terminating null is included in the max size.
16788
16789 2012-12-10 Andreas Jaeger <aj@suse.de>
16790
16791 * po/cs.po: Update from translation team.
16792
16793 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16794
16795 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16796 void pointer and cast to uintptr_t.
16797 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16798 path.
16799 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16800 * sysdeps/s390/s390-64/memset.S: Likewise.
16801
16802 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16803
16804 [BZ #14833]
16805 * menual/message.texi (Message Translation): Fix typos.
16806 (Helper programs for gettext): Likewise.
16807
16808 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16809
16810 [BZ #14898]
16811 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16812 Change to -1.
16813
16814 2012-12-07 David S. Miller <davem@davemloft.net>
16815
16816 * po/libc.pot: Update.
16817
16818 2012-12-07 Richard Henderson <rth@redhat.com>
16819
16820 [BZ #10114]
16821 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16822 normal/normal case to before the switch.
16823 (_FP_DIV): Likewise.
16824
16825 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16826 Mike Frysinger <vapier@gentoo.org>
16827
16828 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16829 check for __NR_fadvise64_64.
16830
16831 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16832
16833 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16834 0, not just to plain "0" as a statement.
16835 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16836 with cw.
16837
16838 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16839
16840 * NEWS: Use sourceware.org in Bugzilla URL.
16841
16842 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16843
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16845 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16846
16847 * stdio-common/tst-put-error.c (do_test): Add newline to the
16848 padded test to ensure flush.
16849
16850 2012-12-05 Jeff Law <law@redhat.com>
16851
16852 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16853
16854 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16855
16856 * README: Don't refer to ports add-on as distributed separately.
16857 Mention AArch64 in list of systems supported in the ports add-on.
16858
16859 * LICENSES: Add more non-FSF copyright and license notices.
16860
16861 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16862 ((unused)).
16863
16864 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16865
16866 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16867 10000 as width of padded output.
16868
16869 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16870
16871 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16872
16873 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16874 variable LX with __attribute__ ((unused)).
16875 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16876 Likewise.
16877 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16879 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16880 with __attribute__ ((unused)).
16881
16882 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16883
16884 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16885
16886 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16887
16888 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16889 (CFLAGS-nldbl-acos.c): New variable.
16890 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16891 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16892 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16893 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16894 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16895 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16896 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16897 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16898 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16899 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16900 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16901 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16902 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16903 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16904 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16905 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16906 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16907 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16908 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16909 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16910 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16911 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16912 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16913 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16914 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16915 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16916 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16917 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16918 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16919 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16920 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16921 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16922 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16923 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16924 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16925 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16926 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16927 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16928 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16929 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16930 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16931 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16932 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16933 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16934 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16935 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16936 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16937 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16938 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16939 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16940 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16941 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16942 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16943 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16944 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16945 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16946 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16947 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16948 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16949 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16950 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16951 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16952 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16953 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16954 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16955 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16956 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16957 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16958 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16959 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16960 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16961 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16962 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16963 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16964 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16965 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16966 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16967 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16968 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16969 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16970 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16971 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16972 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16973 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16974 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16975 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16976 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16977 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16978 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16979 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16980 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16981 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16982 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16983 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16984 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16985 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16986 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16987
16988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16989 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16990
16991 [BZ #14914]
16992 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16993 whole low double instead of just low 47 bits when splitting values
16994 into two parts.
16995
16996 2012-12-03 Allan McRae <allan@archlinux.org>
16997
16998 * manual/stdio.texi (Predefined Printf Handlers): Remove
16999 @hsep and @vsep usage.
17000
17001 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17002
17003 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17004 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17005
17006 2012-12-03 Jeff Law <law@redhat.com>
17007
17008 * time/sys/time.h (settimeofday): Do not mark TV argument
17009 as __nonnull.
17010
17011 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17012
17013 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17014 when currently writing and seek to current position when not.
17015 * libio/Makefile (tests): Remove bug-fclose1.
17016 * libio/bug-fclose1.c: Delete.
17017
17018 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17019
17020 * manual/arith.texi (feenableexcept): Fix typo.
17021 (fedisableexcept): Likewise.
17022
17023 2012-11-30 Roland McGrath <roland@hack.frob.com>
17024
17025 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17026 second, differently-typed declaration, rather than a cast.
17027
17028 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17029
17030 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17031 * include/rpc/svc.h: ... here.
17032
17033 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17034
17035 [BZ #13013]
17036 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17037 depending n and resplen2 to catch cases where answer
17038 equals answerp2.
17039
17040 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17041
17042 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17043 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17044
17045 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17046
17047 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17048
17049 2012-11-29 Roland McGrath <roland@hack.frob.com>
17050
17051 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17052
17053 2012-11-28 Jeff Law <law@redhat.com>
17054
17055 [BZ #13761]
17056 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17057 dataset_temporary. Track alloca usage into alloca_used.
17058 If dataset is large allocate and release it via malloc/free.
17059
17060 2012-06-04 Florian Weimer <fweimer@redhat.com>
17061
17062 [BZ #14197]
17063 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17064
17065 2012-11-28 David S. Miller <davem@davemloft.net>
17066
17067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17068
17069 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17070
17071 [BZ #14803]
17072 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17073 of pi/2 rounded to nearest to 64 bits.
17074 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17075 nearest to 64 bits.
17076 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17077 bits.
17078
17079 2012-11-28 Jeff Law <law@redhat.com>
17080 Martin Osvald <mosvald@redhat.com>
17081
17082 [BZ #14889]
17083 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17084 * sunrpc/svc.c: Include time.h.
17085 (__svc_accept_failed): New function.
17086 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17087 any reason other than EINTR, call __svc_accept_failed.
17088 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17089 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17090
17091 2012-11-28 Andreas Schwab <schwab@suse.de>
17092
17093 * scripts/abilist.awk: Also handle indirect functions in .opd
17094 section.
17095
17096 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17097
17098 [BZ #13881]
17099 * sysdeps/x86/fpu/powl_helper.c: New file.
17100 * sysdeps/x86/fpu/Makefile: Likewise.
17101 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17102 (p3): New object.
17103 (__ieee754_powl): Use __powl_helper for finite arguments except
17104 integer exponents below 8.
17105 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17106 (p3): New object.
17107 (__ieee754_powl): Use __powl_helper for finite arguments except
17108 integer exponents below 8.
17109 * math/libm-test.inc (pow_test): Add more tests and enable some
17110 previously disabled tests.
17111 * sysdeps/i386/fpu/libm-test-ulps: Update.
17112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17113
17114 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17115 Carlos O'Donell <carlos_odonell@mentor.com>
17116
17117 * nss/makedb.c (is_prime): Assert that input is odd and greater
17118 than 4. Note that fact in a comment too.
17119 (next_prime): Add 4 to input.
17120
17121 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17122
17123 [BZ #11741]
17124 * libio/Makefile (tests): Add test case tst-fwrite-error.
17125 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17126 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17127 * libio/tst-fwrite-error.c: New test case.
17128
17129 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17130
17131 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17132 before casting to void *.
17133 * include/libc-internal.h (__pointer_type): New macro.
17134 (__integer_if_pointer_type_sub): Likewise.
17135 (__integer_if_pointer_type): Likewise.
17136 (cast_to_integer): Likewise.
17137 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17138 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17139 before casting to atomic64_t.
17140 (atomic_exchange_acq): Likewise.
17141 (__arch_exchange_and_add_body): Likewise.
17142 (__arch_add_body): Likewise.
17143 (atomic_add_negative): Likewise.
17144 (atomic_add_zero): Likewise.
17145
17146 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17147
17148 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17149 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17150 (add_fdes): Likewise.
17151 (linear_search_fdes): Likewise.
17152 (binary_search_unencoded_fdes): Likewise.
17153
17154 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17155
17156 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17157
17158 2012-11-24 Adam Conrad <adconrad@0c3.net>
17159
17160 * configure.in: Autodetect C++ header directories.
17161 * configure: Regenerated.
17162
17163 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17164
17165 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17166
17167 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17168
17169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17170
17171 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17172
17173 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17174 LDBL_MANT_DIG == 106]: Disable some tests.
17175 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17176 Likewise.
17177 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17178 Likewise.
17179
17180 [BZ #14871]
17181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17182 input for small inputs. Return +/- pi/2 for large inputs.
17183 * math/libm-test.inc (atan_test): Add more tests.
17184
17185 * sysdeps/generic/unwind-dw2-fde-glibc.c
17186 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17187 __attribute__ ((unused)).
17188
17189 [BZ #14645]
17190 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17191 x * y if x and y are nonzero and z is zero.
17192
17193 [BZ #14811]
17194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17195 nonzero exponents with absolute value below 0x1p-117 to +/-
17196 0x1p-117.
17197
17198 [BZ #14869]
17199 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17200 up arguments below 2**-450, not just those below 2**-500.
17201 * math/libm-test.inc (hypot_test): Add another test.
17202
17203 [BZ #14868]
17204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17205 Return a+b for ratio over 2**120, not 2**60.
17206 * math/libm-test.inc (hypot_test): Add another test.
17207
17208 * math/libm-test.inc (clog_test): Use
17209 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17210 (clog10_test): Likewise.
17211
17212 [BZ #6778]
17213 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17214
17215 2012-11-22 Andreas Schwab <schwab@suse.de>
17216
17217 * sysdeps/i386/fpu/libm-test-ulps: Update.
17218
17219 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17220
17221 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17222 printf output with newline.
17223
17224 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17225
17226 [BZ #14865]
17227 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17228 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17229 -z nodlopen, -z initfirst and -z execstack support.
17230 * configure: Regenerated.
17231
17232 * elf/elf.h (DF_1_NODIRECT): New macro.
17233 (DF_1_IGNMULDEF): Likewise.
17234 (DF_1_NOKSYMS): Likewise.
17235 (DF_1_NOHDR): Likewise.
17236 (DF_1_EDITED): Likewise.
17237 (DF_1_NORELOC): Likewise.
17238 (DF_1_SYMINTPOSE): Likewise.
17239 (DF_1_GLOBAUDIT): Likewise.
17240 (DF_1_SINGLETON): Likewise.
17241 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17242 DT_1_SUPPORTED_MASK bits.
17243 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17244
17245 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17246
17247 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17248
17249 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17250
17251 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17252 macro.
17253
17254 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17255 (sendmmsg): Move declarations...
17256 * socket/sys/socket.h: ... here.
17257 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17258 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17259 include it from...
17260 * socket/recvmmsg.c: ... this new file.
17261 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17262 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17263 definition of __sendmmsg hidden.
17264 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17265 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17266 Move ENOSYS stub into and include it from...
17267 * socket/sendmmsg.c: ... this new file.
17268 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17269 (sysdep_routines): Move recvmmsg and sendmmsg...
17270 * socket/Makefile (routines): ... here.
17271 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17272 (GLIBC_PRIVATE): Add __sendmmsg.
17273 * include/sys/socket.h (__sendmmsg): Add declarations.
17274 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17275 sendmmsg.
17276
17277 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17278
17279 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17280 variable I1 with __attribute__ ((unused)).
17281 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17282
17283 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17284
17285 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17286 DUMMY variables with __attribute__ ((unused)).
17287
17288 * bits/byteswap.h: Include <bits/types.h>.
17289 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17290
17291 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17292
17293 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17294 string_t. Do not manually set errno.
17295 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17296 length with __strnlen. Make sure to both set errno and return it on
17297 failure.
17298
17299 2012-11-19 David S. Miller <davem@davemloft.net>
17300
17301 With help from Joseph Myers.
17302 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17303 very large arguments properly.
17304 * math/libm-test.inc (atan_test): New tests.
17305 (atan2_test): New tests.
17306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17308
17309 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17310
17311 [BZ #14856]
17312 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17313 Define to 3.
17314
17315 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17316 [POSIX] (EADDRNOTAVAIL): Likewise.
17317 [POSIX] (EAFNOSUPPORT): Likewise.
17318 [POSIX] (EALREADY): Likewise.
17319 [POSIX] (ECONNABORTED): Likewise.
17320 [POSIX] (ECONNREFUSED): Likewise.
17321 [POSIX] (ECONNRESET): Likewise.
17322 [POSIX] (EDESTADDRREQ): Likewise.
17323 [POSIX] (EDQUOT): Likewise.
17324 [POSIX] (EHOSTUNREACH): Likewise.
17325 [POSIX] (EIDRM): Likewise.
17326 [POSIX] (EISCONN): Likewise.
17327 [POSIX] (ELOOP): Likewise.
17328 [POSIX] (EMULTIHOP): Likewise.
17329 [POSIX] (ENETDOWN): Likewise.
17330 [POSIX] (ENETUNREACH): Likewise.
17331 [POSIX] (ENOBUFS): Likewise.
17332 [POSIX] (ENODATA): Likewise.
17333 [POSIX] (ENOLINK): Likewise.
17334 [POSIX] (ENOMSG): Likewise.
17335 [POSIX] (ENOPROTOOPT): Likewise.
17336 [POSIX] (ENOSR): Likewise.
17337 [POSIX] (ENOSTR): Likewise.
17338 [POSIX] (ENOTCONN): Likewise.
17339 [POSIX] (ENOTSOCK): Likewise.
17340 [POSIX] (EOPNOTSUPP): Likewise.
17341 [POSIX] (EOVERFLOW): Likewise.
17342 [POSIX] (EPROTO): Likewise.
17343 [POSIX] (EPROTONOSUPPORT): Likewise.
17344 [POSIX] (EPROTOTYPE): Likewise.
17345 [POSIX] (ESTALE): Likewise.
17346 [POSIX] (ETIME): Likewise.
17347 [POSIX] (ETXTBSY): Likewise.
17348 [POSIX] (EWOULDBLOCK): Likewise.
17349 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17350 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17351 [POSIX] (SEEK_CUR): Likewise.
17352 [POSIX] (SEEK_END): Likewise.
17353 [POSIX || UNIX98] (mode_t): Do not require.
17354 [POSIX] (off_t): Likewise.
17355 [POSIX] (pid_t): Likewise.
17356 [POSIX] (sys/stat.h): Do not allow header.
17357 [POSIX] (unistd.h): Likewise.
17358 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17359 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17360 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17361 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17362 require.
17363 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17364 sigevent): Specify elements.
17365 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17366 entry.
17367 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17368 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17369
17370 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17371 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17372 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17373 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17374 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17375 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17376 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17377 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17378 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17379 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17380 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17381 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17382 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17383 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17384 Likewise.
17385 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17386 Likewise.
17387 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17388 Likewise.
17389 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17390 Likewise.
17391 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17392 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17393 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17394 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17395 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17396 Specify lower bound on value.
17397 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17398 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17399 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17400 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17401 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17402 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17403 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17404 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17405 value.
17406 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17407 as optional.
17408 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17409 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17410 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17411 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17412 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17413 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17414 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17415 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17416 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17417 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17418 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17419 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17420 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17421 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17422 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17423 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17424 entry.
17425 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17426 optional.
17427 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17428 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17429 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17430 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17431 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17432 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17433 Likewise.
17434 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17435 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17436 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17437 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17438 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17439 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17440 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17441 as optional.
17442 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17443 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17444 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17445 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17446 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17447 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17448 specify as optional.
17449 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17450 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17451 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17452 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17453 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17454 [XPG3] (NL_LANGMAX): Likewise.
17455 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17456 [POSIX || XPG3] (NL_NMAX): Likewise.
17457 [POSIX || XPG3] (NL_SETMAX): Likewise.
17458 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17459 [XPG3] (NZERO): Likewise.
17460 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17461 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17462 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17463 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17464 (REG_ERANGE): Expect.
17465 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17466 optional-constant.
17467 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17468 Use (void) in prototype.
17469 [POSIX] (*_t): Allow.
17470 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17471 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17472 (WRDE_BADVAL): Expect.
17473
17474 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17475 expect.
17476 [XPG3 || XPG4] (O_RSYNC): Likewise.
17477 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17478 Likewise.
17479 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17480 [XPG3 || XPG4] (sigqueue): Likewise.
17481 [XPG3 || XPG4] (sigtimedwait): Likewise.
17482 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17483 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17484 [XPG3 || XPG4] (vsnprintf): Likewise.
17485 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17486 Likewise.
17487 [XPG3 || XPG4] (blksize_t): Likewise.
17488 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17489 Likewise.
17490 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17491 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17492 [XPG3 || XPG4] (struct itimerspec): Likewise.
17493 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17494 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17495 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17496 [XPG3 || XPG4] (clockid_t): Likewise.
17497 [XPG3 || XPG4] (timer_t): Likewise.
17498 [XPG3 || XPG4] (clock_getres): Likewise.
17499 [XPG3 || XPG4] (clock_gettime): Likewise.
17500 [XPG3 || XPG4] (clock_settime): Likewise.
17501 [XPG3 || XPG4] (nanosleep): Likewise.
17502 [XPG3 || XPG4] (timer_create): Likewise.
17503 [XPG3 || XPG4] (timer_delete): Likewise.
17504 [XPG3 || XPG4] (timer_gettime): Likewise.
17505 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17506 [XPG3 || XPG4] (timer_settime): Likewise.
17507 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17508 [XPG3 || XPG4] (getlogin_r): Likewise.
17509 [XPG3 || XPG4] (pread): Likewise.
17510 [XPG3 || XPG4] (pthread_atfork): Likewise.
17511 [XPG3 || XPG4] (pwrite): Likewise.
17512
17513 [BZ #14835]
17514 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17515 <bits/siginfo.h>.
17516
17517 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17518
17519 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17520 finalizing MALLSTREAM.
17521
17522 * sysdeps/mach/hurd/syncfs.c: New file.
17523
17524 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17525
17526 [BZ #14719]
17527 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17528 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17529 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17530 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17531 (_nss_dns_gethostbyname4_r): Likewise.
17532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17533 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17534
17535 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17536
17537 [BZ #13763]
17538 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17539
17540 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17541
17542 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17543 * elf/cache.c (print_entry): Print ",AArch64" for
17544 FLAG_AARCH64_LIB64
17545
17546 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17547 * elf/cache.c (print_entry): Print ",hard-float" for
17548 FLAG_ARM_LIBHF.
17549
17550 2012-11-18 David S. Miller <davem@davemloft.net>
17551
17552 With help from Joseph Myers.
17553 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17554 cutoff to 2**-13.
17555 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17556 cutoff to 2**-25.
17557 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17558 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17559 small.
17560 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17561 * math/libm-test.inc (y0_test): New tests.
17562 (y1_test): New tests.
17563 * sysdeps/i386/fpu/libm-test-ulps: Update.
17564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17566
17567 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17568
17569 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17570 64-bit targets.
17571 * configure: Regenerated.
17572
17573 2012-11-17 David S. Miller <davem@davemloft.net>
17574
17575 [BZ #14811]
17576 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17577 nonzero exponents with absolute value below 0x1p-128 to +/-
17578 0x1p-128.
17579
17580 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17581
17582 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17583
17584 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17585
17586 * posix/getconf-speclist.c: New file.
17587 * posix/posix-envs.def: Likewise.
17588 * posix/confstr.c (START_ENV_GROUP): New macro.
17589 (END_ENV_GROUP): Likewise.
17590 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17591 (KNOWN_PRESENT_ENV_STRING): Likewise.
17592 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17593 (UNKNOWN_ENVIRONMENT): Likewise.
17594 (confstr): Include posix-envs.def instead of handling
17595 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17596 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17597 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17598 (END_ENV_GROUP): Likewise.
17599 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17600 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17601 (UNKNOWN_ENVIRONMENT): Likewise.
17602 (__sysconf): Include posix-envs.def instead of handling associated
17603 cases directly here.
17604 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17605 preprocessing getconf-speclist.c rather than running getconf or
17606 generating empty file.
17607
17608 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17609
17610 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17611
17612 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17613
17614 [BZ #14672]
17615 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17616
17617 2012-11-16 David S. Miller <davem@davemloft.net>
17618
17619 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17620 smaller than LDBL_EPSILON/2.0L, just return xm1.
17621
17622 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17623
17624 * elf/tst-array1.c (init): Set constructor priority to 1000.
17625 (fini): Set destructor priority to 1000.
17626 * elf/tst-array2dep.c: Likewise.
17627
17628 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17629
17630 [BZ #11741]
17631 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17632 (_IO_new_file_xsputn): Also return EOF if none of the input
17633 data was written when overflow failed.
17634 * libio/iopadn.c (_IO_padn): Likewise.
17635 * libio/iowpadn.c (_IO_wpadn): Likewise.
17636 * stdio-common/tst-put-error.c: Add copyright notice.
17637 (do_test): Add case for printing padded string.
17638 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17639 _IO_padn returned error.
17640 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17641 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17642 return EOF.
17643
17644 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17645
17646 * libio/libioP.h: Add comment note that the references to C++
17647 bits are now obsolete.
17648
17649 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17650
17651 * math/libm-test.inc (check_complex): Use asprintf.
17652
17653 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17654
17655 * debug/pcprofiledump.c (print_version): Update copyright year.
17656 * malloc/memusagestat.c (print_version): Likewise.
17657
17658 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17659
17660 [BZ #14831]
17661 * elf/Makefile (tests): Add tst-audit8.
17662 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17663 ($(objpfx)tst-audit8.out): New target.
17664 (tst-audit8-ENV): New variable.
17665 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17666 audit if l_reloc_result is NULL.
17667 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17668 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17669 * elf/tst-audit8.c: New file.
17670
17671 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17672
17673 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17674 * misc/Makefile (CFLAGS-select.c): Define.
17675 * posix/Makefile (CFLAGS-pause.c): Define.
17676
17677 2012-11-13 David S. Miller <davem@davemloft.net>
17678
17679 * crypt/Makefile: Move test targets after toplevel Rules
17680 inclusion. Grab any necessary sysdep routines when linking.
17681 * crypt/md5.c (md5_process_block): Remove define, we will always
17682 name it __md5_process_block.
17683 (md5_finish_ctx): Update md5_process_block call.
17684 (md5_stream): Likewise.
17685 (md5_process_bytes): Likewise.
17686 (md5_process_block): Rename to __md5_process_block and move to ...
17687 * crypt/md5-block.c: ... here.
17688 * crypt/sha256.c (sha256_process_block): Move to ...
17689 * crypt/sha256-block.c: ... here.
17690 * crypt/sha512.c (sha512_process_block): Move to ...
17691 * crypt/sha512-block.c: ... here.
17692 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17693 path.
17694 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17695 * sysdeps/sparc/sparc64/multiarch/Makefile
17696 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17697 crypt subdir.
17698 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17699 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17700 multiarch changes.
17701 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17702 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17703 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17704 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17705 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17706 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17707 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17708 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17709 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17710 file.
17711 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17712 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17713 file.
17714 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17715
17716 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17717
17718 * timezone/tzselect.ksh: Update from tzcode git revision
17719 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17720 * timezone/zdump.c: Likewise.
17721 * timezone/zic.c: Likewise.
17722 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17723 in TZVERSION setting, not $(PKGVERSION).
17724 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17725 REPORT_BUGS_TO settings.
17726
17727 [BZ #14838]
17728 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17729 macro.
17730
17731 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17732
17733 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17734 detection to immediately after _FP_ROUND().
17735 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17736 bits are 0.
17737
17738 2012-11-11 David S. Miller <davem@davemloft.net>
17739
17740 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17741 inttypes.h
17742 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17743 __close rather than their public counterparts.
17744
17745 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17746
17747 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17748 file.
17749 [UNIX98] (sem_timedwait): Do not expect.
17750 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17751 [XPG4 || UNIX98] (sockatmark): Do not expect.
17752 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17753 (clock_getcpuclockid): Do not expect.
17754 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17755 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17756 Do not expect.
17757 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17758 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17759 [UNIX98] (vwscanf): Likewise.
17760 [UNIX98] (vswscanf): Likewise.
17761
17762 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17763
17764 * timezone/version.h: Remove file.
17765 * timezone/README: Do not refer to version.h.
17766 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17767 $(objpfx)version.h.
17768 ($(objpfx)zdump.o): Likewise.
17769 ($(objpfx)version.h): New target.
17770
17771 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17772 2012i.
17773 * timezone/README: Don't mention modification to tzselect.ksh.
17774 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17775 work on unmodified tzselect.ksh. Substitute version numbers in
17776 tzselect.ksh.
17777
17778 * Makefile (format-me): Remove.
17779 (INSTALL): Adjust indentation. Use commands directly instead of
17780 using $(format-me).
17781
17782 * aclocal.m4 (ACX_PKGVERSION): New macro.
17783 (ACX_BUGURL): Likewise.
17784 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17785 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17786 (REPORT_BUGS_TO): Likewise.
17787 * configure: Regenerated.
17788 * config.h.in (PKGVERSION): New macro.
17789 (REPORT_BUGS_TO): Likewise.
17790 * config.make.in (PKGVERSION): New variable.
17791 (PKGVERSION_TEXI): Likewise.
17792 (REPORT_BUGS_TO): Likewise.
17793 (REPORT_BUGS_TEXI): Likewise.
17794 * Makefile (format-me): Use -I$(common-objpfx)manual.
17795 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17796 ($(common-objpfx)manual/%): New target.
17797 (manual/%): Remove target.
17798 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17799 (print_version): Use PKGVERSION.
17800 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17801 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17802 and REPORT_BUGS_TO.
17803 ($(objpfx)xtrace): Likewise.
17804 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17805 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17806 (print_version): Use PKGVERSION.
17807 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17808 (do_version): Use PKGVERSION.
17809 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17810 REPORT_BUGS_TO.
17811 (common-ldd-rewrite): Likewise.
17812 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17813 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17814 (print_version): Use PKGVERSION.
17815 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17816 * elf/pldd.c (argp_program_bug_address): Remove variable.
17817 (more_help): New function.
17818 (argp): Use more_help.
17819 (print_version): Use PKGVERSION.
17820 * elf/sln.c (main): Use PKGVERSION.
17821 (usage): Use REPORT_BUGS_TO.
17822 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17823 (top level): Use PKGVERSION.
17824 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17825 (print_version): Use PKGVERSION.
17826 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17827 (print_version): Use PKGVERSION.
17828 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17829 (print_version): Use PKGVERSION.
17830 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17831 (print_version): Use PKGVERSION.
17832 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17833 (print_version): Use PKGVERSION.
17834 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17835 (print_version): Use PKGVERSION.
17836 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17837 and BUGURL.
17838 ($(objpfx)memusage): Likewise.
17839 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17840 (do_version): Use PKGVERSION.
17841 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17842 (print_version): Use PKGVERSION.
17843 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17844 ($PKGVERSION): New variable.
17845 ($REPORT_BUGS_TO): Likewise.
17846 (usage): Use $REPORT_BUGS_TO.
17847 (top level): Use $PKGVERSION.
17848 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17849 ($(objpfx)pkgvers.texi): New rule.
17850 ($(objpfx)stamp-pkgvers): Likewise.
17851 * manual/install.texi: Include pkgvers.texi.
17852 (--with-pkgversion): Document new configure option.
17853 (--with-bugurl): Likewise.
17854 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17855 than necessarily for this particular distribution. Use
17856 REPORT_BUGS_TO for where to report bugs.
17857 * INSTALL: Regenerated.
17858 * manual/libc.texinfo: Include pkgvers.texi.
17859 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17860 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17861 (print_version): Use PKGVERSION.
17862 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17863 (print_version): Use PKGVERSION.
17864 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17865 (print_version): Use PKGVERSION.
17866 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17867 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17868 macro.
17869 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17870 (print_version): Use PKGVERSION.
17871 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17872 (print_version): Use PKGVERSION.
17873 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17874 and PKGVERSION.
17875
17876 * timezone/checktab.awk: Update from tzcode 2012i.
17877 * timezone/ialloc.c: Likewise.
17878 * timezone/private.h: Likewise.
17879 * timezone/scheck.c: Likewise.
17880 * timezone/tzfile.h: Likewise.
17881 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17882 (TZVERSION): Hardcode tzcode version number.
17883 * timezone/zdump.c: Update from tzcode 2012i.
17884 * timezone/zic.c: Likewise.
17885 * timezone/version.h: New file.
17886 * timezone/README: Describe version.h. Update upstream location.
17887
17888 [BZ #14824]
17889 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17890 (mktemp): Enable declaration.
17891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17895 Likewise.
17896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17897 Likewise.
17898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17899 Likewise.
17900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17901 Likewise.
17902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17903 Likewise.
17904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17905 Likewise.
17906
17907 [BZ #14821]
17908 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17909 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17910 for copies of such integer values.
17911 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17912 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17913
17914 2012-11-09 Andreas Jaeger <aj@suse.de>
17915
17916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17917 definitions and declarations that are provided by
17918 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17919
17920 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17921
17922 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17923 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17924 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17925 definition.
17926
17927 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17928
17929 * elf/elf.h: Update comment before AArch64 relocations.
17930
17931 2012-11-07 David S. Miller <davem@davemloft.net>
17932
17933 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17934 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17935 (__start_context): Declare.
17936 (__makecontext_ret): Delete.
17937 (__makecontext): Hook up __start_context instead of
17938 __makecontext_ret.
17939 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17940 (sysdep_routines): Add __start_context when in stdlib.
17941
17942 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17943
17944 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17945 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17946 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17947 hardcoded "nm".
17948 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17949 (READELF): New variable. Use it instead of hardcoded "readelf".
17950
17951 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17952
17953 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17954 * sysdeps/x86/Makefile: Here.
17955 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17956 * sysdeps/x86/tst-xmmymm.sh: This.
17957
17958 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17959
17960 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17961 expectations.
17962 [UNIX98] (pthread_barrier_t): Do not expect.
17963 [UNIX98] (pthread_barrierattr_t): Likewise.
17964 [UNIX98] (pthread_spinlock_t): Likewise.
17965 [UNIX98] (pthread_barrier_destroy): Likewise.
17966 [UNIX98] (pthread_barrier_init): Likewise.
17967 [UNIX98] (pthread_barrier_wait): Likewise.
17968 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17969 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17970 [UNIX98] (pthread_barrierattr_init): Likewise.
17971 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17972 [UNIX98] (pthread_getcpuclockid): Likewise.
17973 [UNIX98] (pthread_mutex_timedlock): Likewise.
17974 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17975 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17976 [UNIX98] (pthread_sigmask): Likewise.
17977 [UNIX98] (pthread_spin_destroy): Likewise.
17978 [UNIX98] (pthread_spin_init): Likewise.
17979 [UNIX98] (pthread_spin_lock): Likewise.
17980 [UNIX98] (pthread_spin_trylock): Likewise.
17981 [UNIX98] (pthread_spin_unlock): Likewise.
17982 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17983 Do not expect.
17984 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17985 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17986 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17987 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17988 [XPG3 || XPG4] (pthread_key_t): Likewise.
17989 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17990 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17991 [XPG3 || XPG4] (pthread_once_t): Likewise.
17992 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17993 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17994 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17995 [XPG3 || XPG4] (pthread_t): Likewise.
17996
17997 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17998 not expect.
17999 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18000
18001 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18002 Change function return type to int.
18003
18004 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18005 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18006 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18007 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18008 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18009 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18010 [!POSIX] (posix_madvise): Likewise.
18011 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18012 && !UNIX98].
18013 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18014 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18015 (mode_t): Likewise.
18016 (posix_mem_offset): Likewise.
18017 (posix_typed_mem_get_info): Likewise.
18018 (posix_typed_mem_open): Likewise.
18019
18020 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18021 Change condition to [XOPEN2K8].
18022
18023 * conform/conformtest.pl: Preprocess allow-header data with -x c
18024 instead of from stdin.
18025 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18026 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18027 [C99-based standards] (cerfc): Likewise.
18028 [C99-based standards] (cexp2): Likewise.
18029 [C99-based standards] (cexpm1): Likewise.
18030 [C99-based standards] (clog10): Likewise.
18031 [C99-based standards] (clog1p): Likewise.
18032 [C99-based standards] (clog2): Likewise.
18033 [C99-based standards] (clgamma): Likewise.
18034 [C99-based standards] (ctgamma): Likewise.
18035 [C99-based standards] (cerff): Likewise.
18036 [C99-based standards] (cerfcf): Likewise.
18037 [C99-based standards] (cexp2f): Likewise.
18038 [C99-based standards] (cexpm1f): Likewise.
18039 [C99-based standards] (clog10f): Likewise.
18040 [C99-based standards] (clog1pf): Likewise.
18041 [C99-based standards] (clog2f): Likewise.
18042 [C99-based standards] (clgammaf): Likewise.
18043 [C99-based standards] (ctgammaf): Likewise.
18044 [C99-based standards] (cerfl): Likewise.
18045 [C99-based standards] (cerfcl): Likewise.
18046 [C99-based standards] (cexp2l): Likewise.
18047 [C99-based standards] (cexpm1l): Likewise.
18048 [C99-based standards] (clog10l): Likewise.
18049 [C99-based standards] (clog1pl): Likewise.
18050 [C99-based standards] (clog2l): Likewise.
18051 [C99-based standards] (clgammal): Likewise.
18052 [C99-based standards] (ctgammal): Likewise.
18053 * conform/data/inttypes.h-data [C99-based standards]: Include
18054 stdint.h-data. Remove all expectations for stdint.h contents.
18055 [C99-based standards] (PRI*): Do not allow.
18056 [C99-based standards] (SCN*): Likewise.
18057 [C99-based standards] (*_t): Likewise.
18058 [C99-based-standards] (PRId8): Expect macro.
18059 [C99-based-standards] (PRIi8): Likewise.
18060 [C99-based-standards] (PRIo8): Likewise.
18061 [C99-based-standards] (PRIu8): Likewise.
18062 [C99-based-standards] (PRIx8): Likewise.
18063 [C99-based-standards] (PRIX8): Likewise.
18064 [C99-based-standards] (SCNd8): Likewise.
18065 [C99-based-standards] (SCNi8): Likewise.
18066 [C99-based-standards] (SCNo8): Likewise.
18067 [C99-based-standards] (SCNu8): Likewise.
18068 [C99-based-standards] (SCNx8): Likewise.
18069 [C99-based-standards] (PRIdLEAST8): Likewise.
18070 [C99-based-standards] (PRIiLEAST8): Likewise.
18071 [C99-based-standards] (PRIoLEAST8): Likewise.
18072 [C99-based-standards] (PRIuLEAST8): Likewise.
18073 [C99-based-standards] (PRIxLEAST8): Likewise.
18074 [C99-based-standards] (PRIXLEAST8): Likewise.
18075 [C99-based-standards] (SCNdLEAST8): Likewise.
18076 [C99-based-standards] (SCNiLEAST8): Likewise.
18077 [C99-based-standards] (SCNoLEAST8): Likewise.
18078 [C99-based-standards] (SCNuLEAST8): Likewise.
18079 [C99-based-standards] (SCNxLEAST8): Likewise.
18080 [C99-based-standards] (PRIdFAST8): Likewise.
18081 [C99-based-standards] (PRIiFAST8): Likewise.
18082 [C99-based-standards] (PRIoFAST8): Likewise.
18083 [C99-based-standards] (PRIuFAST8): Likewise.
18084 [C99-based-standards] (PRIxFAST8): Likewise.
18085 [C99-based-standards] (PRIXFAST8): Likewise.
18086 [C99-based-standards] (SCNdFAST8): Likewise.
18087 [C99-based-standards] (SCNiFAST8): Likewise.
18088 [C99-based-standards] (SCNoFAST8): Likewise.
18089 [C99-based-standards] (SCNuFAST8): Likewise.
18090 [C99-based-standards] (SCNxFAST8): Likewise.
18091 [C99-based-standards] (PRId16): Likewise.
18092 [C99-based-standards] (PRIi16): Likewise.
18093 [C99-based-standards] (PRIo16): Likewise.
18094 [C99-based-standards] (PRIu16): Likewise.
18095 [C99-based-standards] (PRIx16): Likewise.
18096 [C99-based-standards] (PRIX16): Likewise.
18097 [C99-based-standards] (SCNd16): Likewise.
18098 [C99-based-standards] (SCNi16): Likewise.
18099 [C99-based-standards] (SCNo16): Likewise.
18100 [C99-based-standards] (SCNu16): Likewise.
18101 [C99-based-standards] (SCNx16): Likewise.
18102 [C99-based-standards] (PRIdLEAST16): Likewise.
18103 [C99-based-standards] (PRIiLEAST16): Likewise.
18104 [C99-based-standards] (PRIoLEAST16): Likewise.
18105 [C99-based-standards] (PRIuLEAST16): Likewise.
18106 [C99-based-standards] (PRIxLEAST16): Likewise.
18107 [C99-based-standards] (PRIXLEAST16): Likewise.
18108 [C99-based-standards] (SCNdLEAST16): Likewise.
18109 [C99-based-standards] (SCNiLEAST16): Likewise.
18110 [C99-based-standards] (SCNoLEAST16): Likewise.
18111 [C99-based-standards] (SCNuLEAST16): Likewise.
18112 [C99-based-standards] (SCNxLEAST16): Likewise.
18113 [C99-based-standards] (PRIdFAST16): Likewise.
18114 [C99-based-standards] (PRIiFAST16): Likewise.
18115 [C99-based-standards] (PRIoFAST16): Likewise.
18116 [C99-based-standards] (PRIuFAST16): Likewise.
18117 [C99-based-standards] (PRIxFAST16): Likewise.
18118 [C99-based-standards] (PRIXFAST16): Likewise.
18119 [C99-based-standards] (SCNdFAST16): Likewise.
18120 [C99-based-standards] (SCNiFAST16): Likewise.
18121 [C99-based-standards] (SCNoFAST16): Likewise.
18122 [C99-based-standards] (SCNuFAST16): Likewise.
18123 [C99-based-standards] (SCNxFAST16): Likewise.
18124 [C99-based-standards] (PRId32): Likewise.
18125 [C99-based-standards] (PRIi32): Likewise.
18126 [C99-based-standards] (PRIo32): Likewise.
18127 [C99-based-standards] (PRIu32): Likewise.
18128 [C99-based-standards] (PRIx32): Likewise.
18129 [C99-based-standards] (PRIX32): Likewise.
18130 [C99-based-standards] (SCNd32): Likewise.
18131 [C99-based-standards] (SCNi32): Likewise.
18132 [C99-based-standards] (SCNo32): Likewise.
18133 [C99-based-standards] (SCNu32): Likewise.
18134 [C99-based-standards] (SCNx32): Likewise.
18135 [C99-based-standards] (PRIdLEAST32): Likewise.
18136 [C99-based-standards] (PRIiLEAST32): Likewise.
18137 [C99-based-standards] (PRIoLEAST32): Likewise.
18138 [C99-based-standards] (PRIuLEAST32): Likewise.
18139 [C99-based-standards] (PRIxLEAST32): Likewise.
18140 [C99-based-standards] (PRIXLEAST32): Likewise.
18141 [C99-based-standards] (SCNdLEAST32): Likewise.
18142 [C99-based-standards] (SCNiLEAST32): Likewise.
18143 [C99-based-standards] (SCNoLEAST32): Likewise.
18144 [C99-based-standards] (SCNuLEAST32): Likewise.
18145 [C99-based-standards] (SCNxLEAST32): Likewise.
18146 [C99-based-standards] (PRIdFAST32): Likewise.
18147 [C99-based-standards] (PRIiFAST32): Likewise.
18148 [C99-based-standards] (PRIoFAST32): Likewise.
18149 [C99-based-standards] (PRIuFAST32): Likewise.
18150 [C99-based-standards] (PRIxFAST32): Likewise.
18151 [C99-based-standards] (PRIXFAST32): Likewise.
18152 [C99-based-standards] (SCNdFAST32): Likewise.
18153 [C99-based-standards] (SCNiFAST32): Likewise.
18154 [C99-based-standards] (SCNoFAST32): Likewise.
18155 [C99-based-standards] (SCNuFAST32): Likewise.
18156 [C99-based-standards] (SCNxFAST32): Likewise.
18157 [C99-based-standards] (PRId64): Likewise.
18158 [C99-based-standards] (PRIi64): Likewise.
18159 [C99-based-standards] (PRIo64): Likewise.
18160 [C99-based-standards] (PRIu64): Likewise.
18161 [C99-based-standards] (PRIx64): Likewise.
18162 [C99-based-standards] (PRIX64): Likewise.
18163 [C99-based-standards] (SCNd64): Likewise.
18164 [C99-based-standards] (SCNi64): Likewise.
18165 [C99-based-standards] (SCNo64): Likewise.
18166 [C99-based-standards] (SCNu64): Likewise.
18167 [C99-based-standards] (SCNx64): Likewise.
18168 [C99-based-standards] (PRIdLEAST64): Likewise.
18169 [C99-based-standards] (PRIiLEAST64): Likewise.
18170 [C99-based-standards] (PRIoLEAST64): Likewise.
18171 [C99-based-standards] (PRIuLEAST64): Likewise.
18172 [C99-based-standards] (PRIxLEAST64): Likewise.
18173 [C99-based-standards] (PRIXLEAST64): Likewise.
18174 [C99-based-standards] (SCNdLEAST64): Likewise.
18175 [C99-based-standards] (SCNiLEAST64): Likewise.
18176 [C99-based-standards] (SCNoLEAST64): Likewise.
18177 [C99-based-standards] (SCNuLEAST64): Likewise.
18178 [C99-based-standards] (SCNxLEAST64): Likewise.
18179 [C99-based-standards] (PRIdFAST64): Likewise.
18180 [C99-based-standards] (PRIiFAST64): Likewise.
18181 [C99-based-standards] (PRIoFAST64): Likewise.
18182 [C99-based-standards] (PRIuFAST64): Likewise.
18183 [C99-based-standards] (PRIxFAST64): Likewise.
18184 [C99-based-standards] (PRIXFAST64): Likewise.
18185 [C99-based-standards] (SCNdFAST64): Likewise.
18186 [C99-based-standards] (SCNiFAST64): Likewise.
18187 [C99-based-standards] (SCNoFAST64): Likewise.
18188 [C99-based-standards] (SCNuFAST64): Likewise.
18189 [C99-based-standards] (SCNxFAST64): Likewise.
18190 [C99-based-standards] (PRIdMAX): Likewise.
18191 [C99-based-standards] (PRIiMAX): Likewise.
18192 [C99-based-standards] (PRIoMAX): Likewise.
18193 [C99-based-standards] (PRIuMAX): Likewise.
18194 [C99-based-standards] (PRIxMAX): Likewise.
18195 [C99-based-standards] (PRIXMAX): Likewise.
18196 [C99-based-standards] (SCNdMAX): Likewise.
18197 [C99-based-standards] (SCNiMAX): Likewise.
18198 [C99-based-standards] (SCNoMAX): Likewise.
18199 [C99-based-standards] (SCNuMAX): Likewise.
18200 [C99-based-standards] (SCNxMAX): Likewise.
18201 [C99-based-standards] (PRIdPTR): Likewise.
18202 [C99-based-standards] (PRIiPTR): Likewise.
18203 [C99-based-standards] (PRIoPTR): Likewise.
18204 [C99-based-standards] (PRIuPTR): Likewise.
18205 [C99-based-standards] (PRIxPTR): Likewise.
18206 [C99-based-standards] (PRIXPTR): Likewise.
18207 [C99-based-standards] (SCNdPTR): Likewise.
18208 [C99-based-standards] (SCNiPTR): Likewise.
18209 [C99-based-standards] (SCNoPTR): Likewise.
18210 [C99-based-standards] (SCNuPTR): Likewise.
18211 [C99-based-standards] (SCNxPTR): Likewise.
18212 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18213 allow.
18214 * conform/data/stdint.h-data: Update comments to clarify
18215 requirements.
18216 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18217 type.
18218 [C99-based standards] (INT8_MAX): Likewise.
18219 [C99-based standards] (INT16_MIN): Likewise.
18220 [C99-based standards] (INT16_MAX): Likewise.
18221 [C99-based standards] (INT32_MIN): Likewise.
18222 [C99-based standards] (INT32_MAX): Likewise.
18223 [C99-based standards] (INT64_MIN): Likewise.
18224 [C99-based standards] (INT64_MAX): Likewise.
18225 [C99-based standards] (UINT8_MAX): Likewise.
18226 [C99-based standards] (UINT16_MAX): Likewise.
18227 [C99-based standards] (UINT32_MAX): Likewise.
18228 [C99-based standards] (UINT64_MAX): Likewise.
18229 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18230 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18231 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18232 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18233 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18234 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18235 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18236 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18237 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18238 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18239 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18240 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18241 [C99-based standards] (INT_FAST8_MIN): Likewise.
18242 [C99-based standards] (INT_FAST8_MAX): Likewise.
18243 [C99-based standards] (INT_FAST16_MIN): Likewise.
18244 [C99-based standards] (INT_FAST16_MAX): Likewise.
18245 [C99-based standards] (INT_FAST32_MIN): Likewise.
18246 [C99-based standards] (INT_FAST32_MAX): Likewise.
18247 [C99-based standards] (INT_FAST64_MIN): Likewise.
18248 [C99-based standards] (INT_FAST64_MAX): Likewise.
18249 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18250 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18251 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18252 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18253 [C99-based standards] (INTPTR_MIN): Likewise.
18254 [C99-based standards] (INTPTR_MAX): Likewise.
18255 [C99-based standards] (UINTPTR_MAX): Likewise.
18256 [C99-based standards] (INTMAX_MIN): Likewise.
18257 [C99-based standards] (INTMAX_MAX): Likewise.
18258 [C99-based standards] (UINTMAX_MAX): Likewise.
18259 [C99-based standards] (PTRDIFF_MIN): Likewise.
18260 [C99-based standards] (PTRDIFF_MAX): Likewise.
18261 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18262 [C99-based standards] (SIZE_MAX): Likewise.
18263 [C99-based standards] (WCHAR_MAX): Likewise.
18264 [C99-based standards] (WINT_MAX): Likewise.
18265 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18266 constraint on value.
18267 [C99-based standards] (WCHAR_MIN): Likewise.
18268 [C99-based standards] (WINT_MIN): Likewise.
18269 [C99-based standards] (*_t): Allow.
18270 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18271 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18272 Include math.h-data and complex.h-data. Remove all expectations
18273 of math.h and complex.h contents.
18274 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18275 at end of line.
18276 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18277 (struct tm): Expect tag.
18278 [C99-based-standards] (wcstof): Expect function.
18279 [C99-based-standards] (wcstold): Likewise.
18280 [C99-based-standards] (wcstoll): Likewise.
18281 [C99-based-standards] (wcstoull): Likewise.
18282 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18283 macro-int-constant. Specify type.
18284 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18285 constraint on value.
18286 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18287 Specify type.
18288 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18289 Specify value.
18290 [ISO C standards]: Do not allow headers.
18291 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18292 wcs[abcdefghijklmnopqrstuvwxyz]*.
18293 [ISO C standards] (*_t): Do not allow.
18294 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18295 Expect function.
18296 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18297 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18298 Specify type.
18299 [ISO C standards]: Do not allow headers.
18300 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18301 is[abcdefghijklmnopqrstuvwxyz]*.
18302 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18303 to[abcdefghijklmnopqrstuvwxyz]*.
18304 [ISO C standards] (*_t): Do not allow.
18305 * conform/data/stdalign.h-data: New file.
18306 * conform/data/stdbool.h-data: Likewise.
18307 * conform/data/stdnoreturn.h-data: Likewise.
18308
18309 2012-11-07 Roland McGrath <roland@hack.frob.com>
18310
18311 [BZ #14815]
18312 * manual/filesys.texi (Directory Entries): Typo fix.
18313 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18314
18315 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18316
18317 * elf/elf.h (EM_AARCH64): New macro.
18318 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18319 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18320 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18321 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18322 (R_AARCH64_TLSDESC): Likewise.
18323 (NT_ARM_TLS): Likewise.
18324 (NT_ARM_HW_BREAK): Likewise.
18325 (NT_ARM_HW_WATCH): Likewise.
18326
18327 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18328
18329 [BZ #14811]
18330 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18331 (__ieee754_powl): Saturate nonzero exponents with absolute value
18332 below 0x1p-79 to +/- 0x1p-79.
18333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18334 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18335 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18336 nonzero exponents with absolute value below 0x1p-32 to +/-
18337 0x1p-32.
18338 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18339 (__ieee754_powl): Saturate nonzero exponents with absolute value
18340 below 0x1p-79 to +/- 0x1p-79.
18341 * math/libm-test.inc (pow_test): Add more tests.
18342
18343 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18344
18345 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18346 _dl_s390_cap_flags with kernel. Increase string length.
18347 (_dl_s390_platforms): Add z196 and zEC12.
18348
18349 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18350
18351 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18352 Change XOPEN21K to XOPEN2K.
18353
18354 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18355
18356 * string/memmove.c: Use memcpy when possible.
18357
18358 2012-11-06 Andreas Jaeger <aj@suse.de>
18359
18360 * po/eo.po: Update from translation team.
18361
18362 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18363
18364 [BZ #14793]
18365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18366 exponent and small x and y exponents, scale x or y up. Increase
18367 by 2 the exponent used in scaling up.
18368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18370 * math/libm-test.inc (fma_test): Add more tests.
18371 (fma_test_towardzero): Likewise.
18372 (fma_test_downward): Likewise.
18373 (fma_test_upward): Likewise.
18374
18375 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18376
18377 [BZ #14805]
18378 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18379 fenv_t *.
18380
18381 [BZ #14801]
18382 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18383 namespace for names of struct fields.
18384 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18385 fenv_t fields.
18386 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18387 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18388
18389 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18390
18391 [BZ #3665]
18392 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18393
18394 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18395
18396 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18397 PTR_DEMANGLE.
18398
18399 [BZ #5246]
18400 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18401 PTR_DEMANGLE.
18402
18403 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18404
18405 [BZ #14797]
18406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18407 definitely overflow as x * y not x * y + z.
18408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18410 * math/libm-test.inc (fma_test): Add more tests.
18411 (fma_test_towardzero): Likewise.
18412 (fma_test_downward): Likewise.
18413 (fma_test_upward): Likewise.
18414
18415 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18416
18417 [BZ #157]
18418
18419 * include/stub-tag.h: Remove file.
18420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18421 '#include' of it.
18422 * manual/maint.texi (Porting): Don't reference it.
18423 * Makerules ($(objpfx)stubs): Likewise.
18424 * dirent/closedir.c: Don't include <stub-tag.h>.
18425 * dirent/dirfd.c: Likewise.
18426 * dirent/fdopendir.c: Likewise.
18427 * dirent/getdents.c: Likewise.
18428 * dirent/getdents64.c: Likewise.
18429 * dirent/opendir.c: Likewise.
18430 * dirent/readdir.c: Likewise.
18431 * dirent/readdir64.c: Likewise.
18432 * dirent/readdir64_r.c: Likewise.
18433 * dirent/readdir_r.c: Likewise.
18434 * dirent/rewinddir.c: Likewise.
18435 * dirent/seekdir.c: Likewise.
18436 * dirent/telldir.c: Likewise.
18437 * gmon/profil.c: Likewise.
18438 * grp/setgroups.c: Likewise.
18439 * inet/if_index.c: Likewise.
18440 * io/access.c: Likewise.
18441 * io/chdir.c: Likewise.
18442 * io/chmod.c: Likewise.
18443 * io/chown.c: Likewise.
18444 * io/close.c: Likewise.
18445 * io/dup.c: Likewise.
18446 * io/dup2.c: Likewise.
18447 * io/dup3.c: Likewise.
18448 * io/euidaccess.c: Likewise.
18449 * io/faccessat.c: Likewise.
18450 * io/fchdir.c: Likewise.
18451 * io/fchmod.c: Likewise.
18452 * io/fchmodat.c: Likewise.
18453 * io/fchown.c: Likewise.
18454 * io/fchownat.c: Likewise.
18455 * io/fcntl.c: Likewise.
18456 * io/flock.c: Likewise.
18457 * io/fstatfs.c: Likewise.
18458 * io/fstatfs64.c: Likewise.
18459 * io/fstatvfs.c: Likewise.
18460 * io/fstatvfs64.c: Likewise.
18461 * io/futimens.c: Likewise.
18462 * io/fxstat.c: Likewise.
18463 * io/fxstat64.c: Likewise.
18464 * io/fxstatat.c: Likewise.
18465 * io/fxstatat64.c: Likewise.
18466 * io/getcwd.c: Likewise.
18467 * io/isatty.c: Likewise.
18468 * io/lchmod.c: Likewise.
18469 * io/lchown.c: Likewise.
18470 * io/link.c: Likewise.
18471 * io/linkat.c: Likewise.
18472 * io/lseek.c: Likewise.
18473 * io/lseek64.c: Likewise.
18474 * io/lxstat64.c: Likewise.
18475 * io/mkdir.c: Likewise.
18476 * io/mkdirat.c: Likewise.
18477 * io/mkfifo.c: Likewise.
18478 * io/mkfifoat.c: Likewise.
18479 * io/open.c: Likewise.
18480 * io/open64.c: Likewise.
18481 * io/openat.c: Likewise.
18482 * io/openat64.c: Likewise.
18483 * io/pipe.c: Likewise.
18484 * io/pipe2.c: Likewise.
18485 * io/poll.c: Likewise.
18486 * io/posix_fadvise.c: Likewise.
18487 * io/posix_fadvise64.c: Likewise.
18488 * io/posix_fallocate.c: Likewise.
18489 * io/posix_fallocate64.c: Likewise.
18490 * io/read.c: Likewise.
18491 * io/readlink.c: Likewise.
18492 * io/readlinkat.c: Likewise.
18493 * io/rmdir.c: Likewise.
18494 * io/sendfile.c: Likewise.
18495 * io/sendfile64.c: Likewise.
18496 * io/statfs.c: Likewise.
18497 * io/statfs64.c: Likewise.
18498 * io/statvfs.c: Likewise.
18499 * io/statvfs64.c: Likewise.
18500 * io/symlink.c: Likewise.
18501 * io/symlinkat.c: Likewise.
18502 * io/ttyname.c: Likewise.
18503 * io/ttyname_r.c: Likewise.
18504 * io/umask.c: Likewise.
18505 * io/unlink.c: Likewise.
18506 * io/unlinkat.c: Likewise.
18507 * io/utime.c: Likewise.
18508 * io/utimensat.c: Likewise.
18509 * io/write.c: Likewise.
18510 * io/xmknod.c: Likewise.
18511 * io/xmknodat.c: Likewise.
18512 * io/xstat.c: Likewise.
18513 * io/xstat64.c: Likewise.
18514 * login/getpt.c: Likewise.
18515 * login/grantpt.c: Likewise.
18516 * login/unlockpt.c: Likewise.
18517 * math/e_acoshl.c: Likewise.
18518 * math/e_acosl.c: Likewise.
18519 * math/e_asinl.c: Likewise.
18520 * math/e_atan2l.c: Likewise.
18521 * math/e_atanhl.c: Likewise.
18522 * math/e_coshl.c: Likewise.
18523 * math/e_expl.c: Likewise.
18524 * math/e_fmodl.c: Likewise.
18525 * math/e_gammal_r.c: Likewise.
18526 * math/e_hypotl.c: Likewise.
18527 * math/e_j0l.c: Likewise.
18528 * math/e_j1l.c: Likewise.
18529 * math/e_jnl.c: Likewise.
18530 * math/e_lgammal_r.c: Likewise.
18531 * math/e_log10l.c: Likewise.
18532 * math/e_log2l.c: Likewise.
18533 * math/e_logl.c: Likewise.
18534 * math/e_powl.c: Likewise.
18535 * math/e_rem_pio2l.c: Likewise.
18536 * math/e_sinhl.c: Likewise.
18537 * math/e_sqrtl.c: Likewise.
18538 * math/fclrexcpt.c: Likewise.
18539 * math/fedisblxcpt.c: Likewise.
18540 * math/feenablxcpt.c: Likewise.
18541 * math/fegetenv.c: Likewise.
18542 * math/fegetexcept.c: Likewise.
18543 * math/fegetround.c: Likewise.
18544 * math/feholdexcpt.c: Likewise.
18545 * math/fesetenv.c: Likewise.
18546 * math/fesetround.c: Likewise.
18547 * math/feupdateenv.c: Likewise.
18548 * math/fgetexcptflg.c: Likewise.
18549 * math/fraiseexcpt.c: Likewise.
18550 * math/fsetexcptflg.c: Likewise.
18551 * math/ftestexcept.c: Likewise.
18552 * math/k_cosl.c: Likewise.
18553 * math/k_rem_pio2l.c: Likewise.
18554 * math/k_sinl.c: Likewise.
18555 * math/k_tanl.c: Likewise.
18556 * math/s_asinhl.c: Likewise.
18557 * math/s_atanl.c: Likewise.
18558 * math/s_cbrtl.c: Likewise.
18559 * math/s_erfl.c: Likewise.
18560 * math/s_expm1l.c: Likewise.
18561 * math/s_log1pl.c: Likewise.
18562 * math/s_tanhl.c: Likewise.
18563 * misc/acct.c: Likewise.
18564 * misc/brk.c: Likewise.
18565 * misc/chflags.c: Likewise.
18566 * misc/chroot.c: Likewise.
18567 * misc/fchflags.c: Likewise.
18568 * misc/fgetxattr.c: Likewise.
18569 * misc/flistxattr.c: Likewise.
18570 * misc/fremovexattr.c: Likewise.
18571 * misc/fsetxattr.c: Likewise.
18572 * misc/fsync.c: Likewise.
18573 * misc/ftruncate.c: Likewise.
18574 * misc/futimes.c: Likewise.
18575 * misc/futimesat.c: Likewise.
18576 * misc/getdomain.c: Likewise.
18577 * misc/getdtsz.c: Likewise.
18578 * misc/gethostid.c: Likewise.
18579 * misc/gethostname.c: Likewise.
18580 * misc/getloadavg.c: Likewise.
18581 * misc/getpagesize.c: Likewise.
18582 * misc/getsysstats.c: Likewise.
18583 * misc/getxattr.c: Likewise.
18584 * misc/gtty.c: Likewise.
18585 * misc/ioctl.c: Likewise.
18586 * misc/lgetxattr.c: Likewise.
18587 * misc/listxattr.c: Likewise.
18588 * misc/llistxattr.c: Likewise.
18589 * misc/lremovexattr.c: Likewise.
18590 * misc/lsetxattr.c: Likewise.
18591 * misc/lutimes.c: Likewise.
18592 * misc/madvise.c: Likewise.
18593 * misc/mincore.c: Likewise.
18594 * misc/mlock.c: Likewise.
18595 * misc/mlockall.c: Likewise.
18596 * misc/mmap.c: Likewise.
18597 * misc/mprotect.c: Likewise.
18598 * misc/msync.c: Likewise.
18599 * misc/munlock.c: Likewise.
18600 * misc/munlockall.c: Likewise.
18601 * misc/munmap.c: Likewise.
18602 * misc/preadv.c: Likewise.
18603 * misc/preadv64.c: Likewise.
18604 * misc/ptrace.c: Likewise.
18605 * misc/pwritev.c: Likewise.
18606 * misc/pwritev64.c: Likewise.
18607 * misc/readv.c: Likewise.
18608 * misc/reboot.c: Likewise.
18609 * misc/remap_file_pages.c: Likewise.
18610 * misc/removexattr.c: Likewise.
18611 * misc/revoke.c: Likewise.
18612 * misc/select.c: Likewise.
18613 * misc/setdomain.c: Likewise.
18614 * misc/setegid.c: Likewise.
18615 * misc/seteuid.c: Likewise.
18616 * misc/sethostid.c: Likewise.
18617 * misc/sethostname.c: Likewise.
18618 * misc/setregid.c: Likewise.
18619 * misc/setreuid.c: Likewise.
18620 * misc/setxattr.c: Likewise.
18621 * misc/sstk.c: Likewise.
18622 * misc/stty.c: Likewise.
18623 * misc/swapoff.c: Likewise.
18624 * misc/swapon.c: Likewise.
18625 * misc/sync.c: Likewise.
18626 * misc/syncfs.c: Likewise.
18627 * misc/syscall.c: Likewise.
18628 * misc/truncate.c: Likewise.
18629 * misc/ualarm.c: Likewise.
18630 * misc/usleep.c: Likewise.
18631 * misc/ustat.c: Likewise.
18632 * misc/utimes.c: Likewise.
18633 * misc/vhangup.c: Likewise.
18634 * misc/writev.c: Likewise.
18635 * posix/_exit.c: Likewise.
18636 * posix/alarm.c: Likewise.
18637 * posix/execve.c: Likewise.
18638 * posix/fexecve.c: Likewise.
18639 * posix/fork.c: Likewise.
18640 * posix/fpathconf.c: Likewise.
18641 * posix/getaddrinfo.c: Likewise.
18642 * posix/getegid.c: Likewise.
18643 * posix/geteuid.c: Likewise.
18644 * posix/getgid.c: Likewise.
18645 * posix/getgroups.c: Likewise.
18646 * posix/getlogin.c: Likewise.
18647 * posix/getlogin_r.c: Likewise.
18648 * posix/getpgid.c: Likewise.
18649 * posix/getpid.c: Likewise.
18650 * posix/getppid.c: Likewise.
18651 * posix/getresgid.c: Likewise.
18652 * posix/getresuid.c: Likewise.
18653 * posix/getsid.c: Likewise.
18654 * posix/getuid.c: Likewise.
18655 * posix/glob64.c: Likewise.
18656 * posix/nanosleep.c: Likewise.
18657 * posix/pathconf.c: Likewise.
18658 * posix/pause.c: Likewise.
18659 * posix/posix_madvise.c: Likewise.
18660 * posix/pread.c: Likewise.
18661 * posix/pread64.c: Likewise.
18662 * posix/pwrite.c: Likewise.
18663 * posix/pwrite64.c: Likewise.
18664 * posix/sched_getaffinity.c: Likewise.
18665 * posix/sched_getp.c: Likewise.
18666 * posix/sched_gets.c: Likewise.
18667 * posix/sched_primax.c: Likewise.
18668 * posix/sched_primin.c: Likewise.
18669 * posix/sched_rr_gi.c: Likewise.
18670 * posix/sched_setaffinity.c: Likewise.
18671 * posix/sched_setp.c: Likewise.
18672 * posix/sched_sets.c: Likewise.
18673 * posix/sched_yield.c: Likewise.
18674 * posix/setgid.c: Likewise.
18675 * posix/setlogin.c: Likewise.
18676 * posix/setpgid.c: Likewise.
18677 * posix/setresgid.c: Likewise.
18678 * posix/setresuid.c: Likewise.
18679 * posix/setsid.c: Likewise.
18680 * posix/setuid.c: Likewise.
18681 * posix/sleep.c: Likewise.
18682 * posix/spawni.c: Likewise.
18683 * posix/sysconf.c: Likewise.
18684 * posix/times.c: Likewise.
18685 * posix/wait.c: Likewise.
18686 * posix/wait3.c: Likewise.
18687 * posix/wait4.c: Likewise.
18688 * posix/waitpid.c: Likewise.
18689 * resolv/gai_sigqueue.c: Likewise.
18690 * resource/getpriority.c: Likewise.
18691 * resource/getrlimit.c: Likewise.
18692 * resource/getrusage.c: Likewise.
18693 * resource/nice.c: Likewise.
18694 * resource/setpriority.c: Likewise.
18695 * resource/setrlimit.c: Likewise.
18696 * resource/ulimit.c: Likewise.
18697 * rt/aio_cancel.c: Likewise.
18698 * rt/aio_fsync.c: Likewise.
18699 * rt/aio_read.c: Likewise.
18700 * rt/aio_sigqueue.c: Likewise.
18701 * rt/aio_suspend.c: Likewise.
18702 * rt/aio_write.c: Likewise.
18703 * rt/clock_getres.c: Likewise.
18704 * rt/clock_gettime.c: Likewise.
18705 * rt/clock_nanosleep.c: Likewise.
18706 * rt/clock_settime.c: Likewise.
18707 * rt/lio_listio.c: Likewise.
18708 * rt/mq_close.c: Likewise.
18709 * rt/mq_getattr.c: Likewise.
18710 * rt/mq_notify.c: Likewise.
18711 * rt/mq_open.c: Likewise.
18712 * rt/mq_receive.c: Likewise.
18713 * rt/mq_send.c: Likewise.
18714 * rt/mq_setattr.c: Likewise.
18715 * rt/mq_timedreceive.c: Likewise.
18716 * rt/mq_timedsend.c: Likewise.
18717 * rt/mq_unlink.c: Likewise.
18718 * rt/shm_open.c: Likewise.
18719 * rt/shm_unlink.c: Likewise.
18720 * rt/timer_create.c: Likewise.
18721 * rt/timer_delete.c: Likewise.
18722 * rt/timer_getoverr.c: Likewise.
18723 * rt/timer_gettime.c: Likewise.
18724 * rt/timer_settime.c: Likewise.
18725 * setjmp/__longjmp.c: Likewise.
18726 * setjmp/setjmp.c: Likewise.
18727 * signal/kill.c: Likewise.
18728 * signal/killpg.c: Likewise.
18729 * signal/raise.c: Likewise.
18730 * signal/sigaction.c: Likewise.
18731 * signal/sigaltstack.c: Likewise.
18732 * signal/sigblock.c: Likewise.
18733 * signal/sigignore.c: Likewise.
18734 * signal/sigintr.c: Likewise.
18735 * signal/signal.c: Likewise.
18736 * signal/sigpause.c: Likewise.
18737 * signal/sigpending.c: Likewise.
18738 * signal/sigqueue.c: Likewise.
18739 * signal/sigreturn.c: Likewise.
18740 * signal/sigset.c: Likewise.
18741 * signal/sigsetmask.c: Likewise.
18742 * signal/sigstack.c: Likewise.
18743 * signal/sigsuspend.c: Likewise.
18744 * signal/sigtimedwait.c: Likewise.
18745 * signal/sigvec.c: Likewise.
18746 * signal/sigwait.c: Likewise.
18747 * signal/sigwaitinfo.c: Likewise.
18748 * signal/sysv_signal.c: Likewise.
18749 * socket/accept.c: Likewise.
18750 * socket/accept4.c: Likewise.
18751 * socket/bind.c: Likewise.
18752 * socket/connect.c: Likewise.
18753 * socket/getpeername.c: Likewise.
18754 * socket/getsockname.c: Likewise.
18755 * socket/getsockopt.c: Likewise.
18756 * socket/isfdtype.c: Likewise.
18757 * socket/listen.c: Likewise.
18758 * socket/recv.c: Likewise.
18759 * socket/recvfrom.c: Likewise.
18760 * socket/recvmsg.c: Likewise.
18761 * socket/send.c: Likewise.
18762 * socket/sendmsg.c: Likewise.
18763 * socket/sendto.c: Likewise.
18764 * socket/setsockopt.c: Likewise.
18765 * socket/shutdown.c: Likewise.
18766 * socket/sockatmark.c: Likewise.
18767 * socket/socket.c: Likewise.
18768 * socket/socketpair.c: Likewise.
18769 * stdio-common/ctermid.c: Likewise.
18770 * stdio-common/cuserid.c: Likewise.
18771 * stdio-common/remove.c: Likewise.
18772 * stdio-common/rename.c: Likewise.
18773 * stdio-common/renameat.c: Likewise.
18774 * stdio-common/tempname.c: Likewise.
18775 * stdlib/getcontext.c: Likewise.
18776 * stdlib/makecontext.c: Likewise.
18777 * stdlib/setcontext.c: Likewise.
18778 * stdlib/swapcontext.c: Likewise.
18779 * stdlib/system.c: Likewise.
18780 * streams/fattach.c: Likewise.
18781 * streams/fdetach.c: Likewise.
18782 * streams/getmsg.c: Likewise.
18783 * streams/getpmsg.c: Likewise.
18784 * streams/putmsg.c: Likewise.
18785 * streams/putpmsg.c: Likewise.
18786 * sysdeps/unix/bsd/getpt.c: Likewise.
18787 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18788 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18789 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18791 Likewise.
18792 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18793 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18794 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18795 * sysvipc/msgctl.c: Likewise.
18796 * sysvipc/msgget.c: Likewise.
18797 * sysvipc/msgrcv.c: Likewise.
18798 * sysvipc/msgsnd.c: Likewise.
18799 * sysvipc/semctl.c: Likewise.
18800 * sysvipc/semget.c: Likewise.
18801 * sysvipc/semop.c: Likewise.
18802 * sysvipc/semtimedop.c: Likewise.
18803 * sysvipc/shmat.c: Likewise.
18804 * sysvipc/shmctl.c: Likewise.
18805 * sysvipc/shmdt.c: Likewise.
18806 * sysvipc/shmget.c: Likewise.
18807 * termios/tcdrain.c: Likewise.
18808 * termios/tcflow.c: Likewise.
18809 * termios/tcflush.c: Likewise.
18810 * termios/tcgetattr.c: Likewise.
18811 * termios/tcgetpgrp.c: Likewise.
18812 * termios/tcsendbrk.c: Likewise.
18813 * termios/tcsetattr.c: Likewise.
18814 * termios/tcsetpgrp.c: Likewise.
18815 * time/adjtime.c: Likewise.
18816 * time/clock.c: Likewise.
18817 * time/getitimer.c: Likewise.
18818 * time/gettimeofday.c: Likewise.
18819 * time/setitimer.c: Likewise.
18820 * time/settimeofday.c: Likewise.
18821 * time/stime.c: Likewise.
18822 * time/time.c: Likewise.
18823
18824 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18825
18826 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18827 /usr/old/bin.
18828
18829 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18830 instead of spaces.
18831 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18832
18833 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18834
18835 [BZ #14796]
18836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18837 FE_TONEAREST before applying Dekker multiplication and Knuth
18838 addition. Clear inexact exceptions and check for exact zero
18839 results afterwards.
18840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18843 * math/libm-test.inc (fma_test): Add more tests.
18844 (fma_test_towardzero): Likewise.
18845 (fma_test_downward): Likewise.
18846 (fma_test_upward): Likewise.
18847 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18848 function.
18849 (libc_fesetround): New macro.
18850 (libc_fesetroundf): Likewise.
18851 (libc_fesetroundl): Likewise.
18852 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18853 function.
18854 (libc_fesetround_387): Likewise.
18855 (libc_fesetroundf): New macro.
18856 (libc_fesetround): Likewise.
18857 (libc_fesetroundl): Likewise.
18858 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18859 function.
18860 (libc_fesetroundf): New macro.
18861 (libc_fesetround): Likewise.
18862 (libc_fesetroundl): Likewise.
18863 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18864 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18865 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18866 libm_hidden_ver.
18867 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18868 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18869 libm_hidden_def.
18870 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18871 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18872 libm_hidden_ver.
18873 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18874 libm_hidden_def.
18875
18876 [BZ #3439]
18877 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18878 integer constant usable in #if and use that to give value to enum
18879 constant.
18880 (FE_DIVBYZERO): Likewise.
18881 (FE_UNDERFLOW): Likewise.
18882 (FE_OVERFLOW): Likewise.
18883 (FE_INVALID): Likewise.
18884 (FE_INVALID_SNAN): Likewise.
18885 (FE_INVALID_ISI): Likewise.
18886 (FE_INVALID_IDI): Likewise.
18887 (FE_INVALID_ZDZ): Likewise.
18888 (FE_INVALID_IMZ): Likewise.
18889 (FE_INVALID_COMPARE): Likewise.
18890 (FE_INVALID_SOFTWARE): Likewise.
18891 (FE_INVALID_SQRT): Likewise.
18892 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18893 (FE_TONEAREST): Likewise.
18894 (FE_TOWARDZERO): Likewise.
18895 (FE_UPWARD): Likewise.
18896 (FE_DOWNWARD): Likewise.
18897 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18898 (FE_DIVBYZERO): Likewise.
18899 (FE_OVERFLOW): Likewise.
18900 (FE_UNDERFLOW): Likewise.
18901 (FE_INEXACT): Likewise.
18902 (FE_TONEAREST): Likewise.
18903 (FE_DOWNWARD): Likewise.
18904 (FE_UPWARD): Likewise.
18905 (FE_TOWARDZERO): Likewise.
18906 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18907 (FE_UNDERFLOW): Likewise.
18908 (FE_OVERFLOW): Likewise.
18909 (FE_DIVBYZERO): Likewise.
18910 (FE_INVALID): Likewise.
18911 (FE_TONEAREST): Likewise.
18912 (FE_TOWARDZERO): Likewise.
18913 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18914 (FE_OVERFLOW): Likewise.
18915 (FE_UNDERFLOW): Likewise.
18916 (FE_DIVBYZERO): Likewise.
18917 (FE_INEXACT): Likewise.
18918 (FE_TONEAREST): Likewise.
18919 (FE_TOWARDZERO): Likewise.
18920 (FE_UPWARD): Likewise.
18921 (FE_DOWNWARD): Likewise.
18922 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18923 (FE_DIVBYZERO): Likewise.
18924 (FE_OVERFLOW): Likewise.
18925 (FE_UNDERFLOW): Likewise.
18926 (FE_INEXACT): Likewise.
18927 (FE_TONEAREST): Likewise.
18928 (FE_DOWNWARD): Likewise.
18929 (FE_UPWARD): Likewise.
18930 (FE_TOWARDZERO): Likewise.
18931
18932 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18933
18934 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18935
18936 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18937
18938 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18939 commands. Quote $PWD.
18940 (blacklist_exports): Don't use remove_newlines. Replace "declare
18941 -x" by "export".
18942 (remove_newlines): Remove.
18943
18944 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18945
18946 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18947 * stdlib/stdlib.h (atof): Moved to ...
18948 * include/bits/stdlib-float.h: Here. New file.
18949 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18950 * stdlib/bits/stdlib-float.h: New file.
18951 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18952 -mno-sse -mno-mmx.
18953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18954 <xmmintrin.h>.
18955
18956 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18957
18958 * conform/conformtest.pl (@headers): Add fenv.h.
18959 * conform/data/fenv.h-data: New file.
18960 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18961 include of <math/fenv.h>.
18962
18963 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18964 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18965 && !UNIX98]. Enables tests for XOPEN2K8.
18966 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18967 POSIX2008]: Likewise.
18968
18969 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18970 (struct rusage): Do not expect type or its members.
18971
18972 [BZ #3439]
18973 * math/math.h (FP_NAN): Define macro to integer constant usable in
18974 #if and use that to give value to enum constant.
18975 (FP_INFINITE): Likewise.
18976 (FP_ZERO): Likewise.
18977 (FP_SUBNORMAL): Likewise.
18978 (FP_NORMAL): Likewise.
18979
18980 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18981
18982 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18983 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18984 arguments.
18985
18986 2012-11-02 Roland McGrath <roland@hack.frob.com>
18987
18988 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18989 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18990 autoconf-time if not.
18991 * configure.in: Remove AC_PREREQ.
18992
18993 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18994
18995 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18996 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18997 of the internal implementation.
18998
18999 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19000
19001 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19002 except include of <misc/sys/syslog.h>.
19003
19004 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19005
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19007 function returns with a NULL context exit with zero.
19008
19009 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19010
19011 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19012
19013 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19014
19015 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19016 (run_program_cmd): This.
19017 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19018 (tst_langinfo): New variable. Use it.
19019
19020 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19021
19022 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19023 floating point opcodes.
19024
19025 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19026
19027 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19028 variable.
19029
19030 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19031
19032 * sysdeps/mach/hurd/powerpc: Remove directory.
19033 * sysdeps/mach/powerpc: Likewise.
19034
19035 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19036
19037 * scripts/check-local-headers.sh: Ignore c++ headers.
19038
19039 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19040
19041 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19042 __libc_cleanup_region_start argument.
19043
19044 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19045
19046 [BZ #14784]
19047 [BZ #14785]
19048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19049 x * y using scaling, not as x * y + z.
19050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19051 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19052 * math/libm-test.inc (fma_test): Add more tests.
19053 (fma_test_towardzero): Likewise.
19054 (fma_test_downward): Likewise.
19055 (fma_test_upward): Likewise.
19056
19057 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19058
19059 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19060
19061 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19062
19063 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19064 New variable.
19065
19066 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19067
19068 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19069
19070 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19071
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19073 Fix sort order.
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19075 Likewise.
19076
19077 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19078
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19080 Fix the order of the list for glibc 2.17.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19082 Likewise.
19083
19084 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19085
19086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19087
19088 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19089
19090 [BZ #14610]
19091 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19092 for low part of x being zero before using __atanl (y).
19093 * math/libm-test.inc (atan2_test): Add another test.
19094
19095 * manual/install.texi (Configuring and compiling): Document
19096 general use of test-wrapper and test-wrapper-env.
19097 * INSTALL: Regenerated.
19098
19099 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19100 (__fma): Do not extract and scale down low bits on after-rounding
19101 systems when result rounded to normal precision would have normal
19102 exponent.
19103 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19104 (__fmal): Do not extract and scale down low bits on after-rounding
19105 systems when result rounded to normal precision would have normal
19106 exponent.
19107 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19108 (__fmal): Do not extract and scale down low bits on after-rounding
19109 systems when result rounded to normal precision would have normal
19110 exponent.
19111 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19112 macro.
19113 (fma_test): Add more tests.
19114 (fma_test_towardzero): Likewise.
19115 (fma_test_downward): Likewise.
19116 (fma_test_upward): Likewise.
19117
19118 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19119
19120 * sysdeps/i386/tininess.h: Renamed to ...
19121 * sysdeps/x86/tininess.h: This.
19122 * sysdeps/x86_64/tininess.h: Removed.
19123
19124 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19125
19126 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19127 input. Use $(build-program-cmd).
19128 ($(objpfx)tst-array1-static.out): Likewise.
19129 ($(objpfx)tst-array2.out): Likewise.
19130 ($(objpfx)tst-array3.out): Likewise.
19131 ($(objpfx)tst-array4.out): Likewise.
19132 ($(objpfx)tst-array5.out): Likewise.
19133 ($(objpfx)tst-array5-static.out): Likewise.
19134
19135 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19136
19137 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19138 if defined.
19139
19140 * nss/nsswitch.h (nss_interface_function): Provide new
19141 macro for use with NSS functions.
19142 * grp/initgroups.c: Use new macro.
19143 * nss/getXXbyYY.c: Likewise.
19144 * nss/getXXbyYY_r.c: Likewise.
19145 * nss/getXXent.c: Likewise.
19146 * nss/getXXent_r.c: Likewise.
19147 * sysdeps/posix/getaddrinfo.c: Likewise.
19148
19149 2012-10-30 Andreas Jaeger <aj@suse.de>
19150
19151 * po/ru.po: Update Russion translation from translation project.
19152
19153 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19154
19155 [BZ #14152]
19156 [BZ #14783]
19157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19158 result and shift together with sticky bit instead of replicating
19159 round-to-nearest rounding.
19160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19161 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19162 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19163 missing underflow exceptions.
19164 (fma_test_towardzero): Add more tests.
19165 (fma_test_downward): Likewise.
19166 (fma_test_upward): Likewise.
19167
19168 [BZ #14047]
19169 * sysdeps/generic/tininess.h: New file.
19170 * sysdeps/i386/tininess.h: Likewise.
19171 * sysdeps/sh/tininess.h: Likewise.
19172 * sysdeps/x86_64/tininess.h: Likewise.
19173 * stdlib/tst-strtod-underflow.c: Likewise.
19174 * stdlib/tst-tininess.c: Likewise.
19175 * stdlib/strtod_l.c: Include <tininess.h>.
19176 (round_and_return): Do not set errno for exact underflow cases.
19177 Force an underflow exception when setting errno for underflow.
19178 Determine underflow based on rounding to normal precision if
19179 TININESS_AFTER_ROUNDING.
19180 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19181 ERANGE for exact underflow cases.
19182 * stdlib/Makefile (tests): Add tst-tininess and
19183 tst-strtod-underflow.
19184 ($(objpfx)tst-tininess): Use $(link-libm).
19185 ($(objpfx)tst-strtod-underflow): Likewise.
19186
19187 2012-10-30 Andreas Jaeger <aj@suse.de>
19188
19189 [BZ#14767]
19190 * elf/Makefile (tests): Remove conditional for have-initfini-array
19191 since this is now always required and the variable does not exist
19192 anymore.
19193 (tests-static): Likewise.
19194 (modules-names): Likewise.
19195
19196 * po/eo.po: Add Esperanto translation from translation project.
19197
19198 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19199 merged with constructor/destructor.
19200 (init_array): Likewise.
19201 * elf/tst-array2dep.c (fini_array): Likewise.
19202 (init_array): Likewise.
19203
19204 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19205
19206 * manual/message.texi: Delete @cartouche tags.
19207
19208 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19209
19210 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19211 EOPNOTSUPP.
19212 * sysdeps/mach/hurd/fsync.c: Likewise.
19213
19214 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19215 [_POSIX_REALTIME_SIGNALS]: Change condition to
19216 [_POSIX_REALTIME_SIGNALS > 0].
19217
19218 2012-10-27 Andreas Jaeger <aj@suse.de>
19219
19220 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19221 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19223 [__WORDSIZE != 64]: Likewise.
19224
19225 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19226
19227 * iconvdata/tst-table.sh: Remove ${SHELL}.
19228 * iconvdata/tst-tables.sh: Likewise.
19229
19230 2012-10-25 David S. Miller <davem@davemloft.net>
19231
19232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19233 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19234 of strtoull.
19235
19236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19237 ifunc-impl-list.c
19238 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19239 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19240 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19241 file.
19242
19243 2012-10-25 Roland McGrath <roland@hack.frob.com>
19244
19245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19246 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19247 __getdirentries.
19248
19249 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19250 Jim Blandy <jimb@codesourcery.com>
19251
19252 * scripts/cross-test-ssh.sh: New file.
19253 * manual/install.texi (Configuring and compiling): Document use of
19254 cross-test-ssh.sh.
19255 * INSTALL: Regenerated.
19256
19257 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19258
19259 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19260 EOPNOTSUPP.
19261
19262 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19263
19264 * Makeconfig (run-program-prefix): Fix comment.
19265
19266 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19267 Jim Blandy <jimb@codesourcery.com>
19268
19269 * Makeconfig (test-wrapper): New variable,
19270 (test-wrapper-env): Likewise.
19271 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19272 (run-built-tests): Define to yes.
19273 (run-program-prefix): Use $(test-wrapper).
19274 (built-program-cmd): Likewise.
19275 * Rules (make-test-out): Use $(test-wrapper-env) and
19276 $(host-built-program-cmd).
19277 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19278 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19279 tst-pathopt.sh.
19280 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19281 $(test-wrapper-env) to tst-rtld-load-self.sh.
19282 ($(objpfx)order2.out): Use $(test-wrapper).
19283 ($(objpfx)tst-initorder.out): Likewise.
19284 ($(objpfx)tst-initorder2.out): Likewise.
19285 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19286 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19287 (test_wrapper_env): New variable. Use it to run ld.so.
19288 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19289 Use it to run ld.so.
19290 (test_wrapper_env): Likewise.
19291 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19292 $(test-wrapper) to run-iconv-test.sh.
19293 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19294 (ICONV): Use $test_wrapper.
19295 * posix/Makefile ($(objpfx)globtest.out): Pass
19296 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19297 globtest.sh, not $(run-program-prefix).
19298 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19299 (test_wrapper): Likewise.
19300 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19301 set together with run_via_rtld_prefix.
19302 (run_program_prefix): Define in terms of test_wrapper and
19303 run_via_rtld_prefix.
19304
19305 2012-10-24 Roland McGrath <roland@hack.frob.com>
19306
19307 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19308 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19309 Targets removed.
19310
19311 [BZ #14743]
19312 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19313 Declare __clock_getres, __clock_gettime, __clock_settime,
19314 __clock_nanosleep, and __clock_getcpuclockid.
19315 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19316 Remove librt_hidden_def (clock_gettime).
19317 * sysdeps/unix/clock_gettime.c: Likewise.
19318 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19319 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19320 * rt/clock_getres.c: Define __clock_getres as an alias.
19321 * sysdeps/posix/clock_getres.c: Likewise.
19322 * rt/clock_settime.c: Define __clock_settime as an alias.
19323 * sysdeps/unix/clock_settime.c: Likewise.
19324 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19325 * sysdeps/unix/clock_nanosleep.c: Likewise.
19326 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19327 * rt/clock-compat.c: New file.
19328 * rt/Makefile (librt-routines): Add clock-compat and move
19329 $(clock-routines) to ...
19330 (routines): ... here, new variable.
19331 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19332 Don't add get_clockfreq here.
19333 * rt/Versions (libc: GLIBC_2.17): New version set.
19334 Add clock_* symbols here.
19335 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19336 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19337 (GLIBC_2.17): Add clock_* symbols.
19338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19342 Likewise.
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19344 Likewise.
19345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19349 * NEWS: Mention the move.
19350
19351 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19352 Use __open, __read, __close rather than their public counterparts.
19353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19354 (__get_clockfreq_via_cpuinfo): Likewise.
19355 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19356 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19357
19358 * config.h.in (HAVE_IFUNC): New #undef.
19359 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19360 was successful.
19361 * configure: Regenerated.
19362
19363 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19364
19365 * configure.in: Move READELF check to start of file.
19366 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19367 libc_cv_asm_gnu_indirect_function in the process.
19368 * configure: Regenerated.
19369
19370 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19371
19372 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19373 send the output to /dev/null.
19374 (libc_cv_cc_with_libunwind): Likewise.
19375 (libc_cv_as_noexecstack): Likewise.
19376 * configure: Regenerate.
19377
19378 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19379
19380 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19381
19382 * posix/globtest.sh (TMPDIR): Do not set.
19383 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19384 (testout): Likewise.
19385
19386 2012-10-24 Andreas Jaeger <aj@suse.de>
19387
19388 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19389 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19390 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19391 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19392 posix_fadvise64, posix_fallocate64.
19393
19394 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19395 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19396 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19397 Likewise.
19398 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19399 Likewise.
19400 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19401
19402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19403 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19404 <bits/fcntl-linux.h>.
19405 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19406
19407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19408 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19409 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19410 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19411 [__WORDSIZE != 64]: Likewise.
19412
19413 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19414
19415 * Makeconfig (run-built-tests): New variable.
19416 * Rules [$(cross-compiling) = yes]: Change condition to
19417 [$(run-built-tests) = no].
19418 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19419 to [$(run-built-tests) = yes].
19420 * elf/Makefile [$(cross-compiling) = no]: Likewise
19421 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19422 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19423 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19424 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19425 * io/Makefile [$(cross-compiling) = no]: Likewise.
19426 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19427 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19428 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19429 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19430 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19431 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19432 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19433 * string/Makefile [$(cross-compiling) = no]: Likewise.
19434
19435 * posix/Makefile ($(objpfx)globtest.out): Pass
19436 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19437 $(rtld-installed-name).
19438 * posix/globtest.sh (elf_objpfx): Remove variable.
19439 (rtld_installed_name): Likewise.
19440 (library_path): Likewise.
19441 (run_program_prefix): New variable. Use for running globtest
19442 binary.
19443
19444 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19445 Joseph Myers <joseph@codesourcery.com>
19446
19447 * Makeconfig (host-built-program-cmd): New variable.
19448 * elf/Makefile (tst-stackguard1-ARGS): Use
19449 $(host-built-program-cmd).
19450 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19451 (tst-spawn-ARGS): Likewise.
19452 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19453
19454 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19455 Jim Blandy <jimb@codesourcery.com>
19456
19457 * Makeconfig (run-via-rtld-prefix): New variable.
19458 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19459 (built-program-cmd): Likewise.
19460
19461 2012-10-22 Andreas Jaeger <aj@suse.de>
19462
19463 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19464 __O_RSYNC if it exists, otherwise to O_SYNC.
19465
19466 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19467 Joseph Myers <joseph@codesourcery.com>
19468
19469 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19470 /dev/null.
19471 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19472 from /dev/null
19473 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19474 /dev/null.
19475
19476 2012-10-22 Andreas Jaeger <aj@suse.de>
19477
19478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19479 Define always.
19480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19481
19482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19483 bits/fcntl-linux.h.
19484
19485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19486 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19487
19488 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19489 to __O_LARGEFILE.
19490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19491 to __O_LARGEFILE.
19492
19493 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19494 Joseph Myers <joseph@codesourcery.com>
19495
19496 * config.make.in (NM): New variable.
19497
19498 2012-10-21 Andreas Jaeger <aj@suse.de>
19499
19500 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19501 definitions and declarations that are provided by
19502 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19503
19504 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19505
19506 [BZ #14683]
19507 * elf/Makefile (tests-static): Add tst-leaks1-static.
19508 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19509 ($(objpfx)tst-leaks1-static): New rule.
19510 ($(objpfx)tst-leaks1-static-mem): Likewise.
19511 (tst-leaks1-static-ENV): New macro.
19512 * elf/dl-open.c (dl_open_worker): Check the main application
19513 only if SHARED is defined.
19514 * elf/tst-leaks1-static.c: New file.
19515
19516 2012-10-20 Andreas Jaeger <aj@suse.de>
19517
19518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19519 generic values for Linux.
19520 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19521 and declarations that are provided by <bits/fcntl-linux.h> and
19522 include <bits/fcntl-linux.h>.
19523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19525
19526 2012-10-20 Roland McGrath <roland@hack.frob.com>
19527
19528 * io/fcntl.h: Move include of <bits/types.h> to the top and
19529 include it unconditionally.
19530
19531 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19532
19533 * wcsmbs/Makefile (tests-ifunc): New variable.
19534 (tests): Add $(tests-ifunc).
19535 * wcsmbs/test-wcschr-ifunc.c: New file.
19536 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19537 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19538 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19539 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19540 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19541
19542 * string/Makefile (tests-ifunc): New variable.
19543 (tests): Add $(tests-ifunc).
19544 * string/test-memccpy.c (TEST_NAME): New macro.
19545 * string/test-memchr.c (TEST_NAME): Likewise.
19546 * string/test-memcmp.c (TEST_NAME): Likewise.
19547 * string/test-memcpy.c (TEST_NAME): Likewise.
19548 * string/test-memmem.c (TEST_NAME): Likewise.
19549 * string/test-memmove.c (TEST_NAME): Likewise.
19550 * string/test-memset.c (TEST_NAME): Likewise.
19551 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19552 * string/test-stpcpy.c (TEST_NAME): Likewise.
19553 * string/test-stpncpy.c (TEST_NAME): Likewise.
19554 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19555 * string/test-strcasestr.c (TEST_NAME): Likewise.
19556 * string/test-strcat.c (TEST_NAME): Likewise.
19557 * string/test-strchr.c (TEST_NAME): Likewise.
19558 * string/test-strcmp.c(TEST_NAME): Likewise.
19559 * string/test-strcpy.c (TEST_NAME): Likewise.
19560 * string/test-strcspn.c (TEST_NAME): Likewise.
19561 * string/test-strlen.c (TEST_NAME): Likewise.
19562 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19563 * string/test-strncmp.c (TEST_NAME): Likewise.
19564 * string/test-strncpy.c (TEST_NAME): Likewise.
19565 * string/test-strnlen.c (TEST_NAME): Likewise.
19566 * string/test-strpbrk.c (TEST_NAME): Likewise.
19567 * string/test-strrchr.c (TEST_NAME): Likewise.
19568 * string/test-strspn.c (TEST_NAME): Likewise.
19569 * string/test-strstr.c (TEST_NAME): Likewise.
19570 * string/test-bcopy-ifunc.c: New file.
19571 * string/test-bzero-ifunc.c: Likewise.
19572 * string/test-memccpy-ifunc.c: Likewise.
19573 * string/test-memchr-ifunc.c: Likewise.
19574 * string/test-memcmp-ifunc.c: Likewise.
19575 * string/test-memcpy-ifunc.c: Likewise.
19576 * string/test-memmem-ifunc.c: Likewise.
19577 * string/test-memmove-ifunc.c: Likewise.
19578 * string/test-mempcpy-ifunc.c: Likewise.
19579 * string/test-memset-ifunc.c: Likewise.
19580 * string/test-rawmemchr-ifunc.c: Likewise.
19581 * string/test-stpcpy-ifunc.c: Likewise.
19582 * string/test-stpncpy-ifunc.c: Likewise.
19583 * string/test-strcasecmp-ifunc.c: Likewise.
19584 * string/test-strcasestr-ifunc.c: Likewise.
19585 * string/test-strcat-ifunc.c: Likewise.
19586 * string/test-strchr-ifunc.c: Likewise.
19587 * string/test-strchrnul-ifunc.c: Likewise.
19588 * string/test-strcmp-ifunc.c: Likewise.
19589 * string/test-strcpy-ifunc.c: Likewise.
19590 * string/test-strcspn-ifunc.c: Likewise.
19591 * string/test-strlen-ifunc.c: Likewise.
19592 * string/test-strncasecmp-ifunc.c: Likewise.
19593 * string/test-strncat-ifunc.c: Likewise.
19594 * string/test-strncmp-ifunc.c: Likewise.
19595 * string/test-strncpy-ifunc.c: Likewise.
19596 * string/test-strnlen-ifunc.c: Likewise.
19597 * string/test-strpbrk-ifunc.c: Likewise.
19598 * string/test-strrchr-ifunc.c: Likewise.
19599 * string/test-strspn-ifunc.c: Likewise.
19600 * string/test-strstr-ifunc.c: Likewise.
19601
19602 * debug/Makefile (tests-ifunc): New variable.
19603 (tests): Add $(tests-ifunc).
19604 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19605 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19606 * debug/test-stpcpy_chk-ifunc.c: New file.
19607 * debug/test-strcpy_chk-ifunc.c: Likewise.
19608
19609 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19610
19611 [BZ #13601]
19612 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19613 header is not read in.
19614
19615 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19616
19617 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19618 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19619 directly. Pass built executable to script as
19620 $(built-program-cmd).
19621 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19622 $testprogram without using LD_LIBRARY_PATH and $ldso.
19623
19624 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19625 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19626 $(rtld-installed-name).
19627 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19628 (rtld_installed_name): Likewise.
19629 (library_path): Likewise.
19630 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19631 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19632 $(run-program-prefix) to tst-tables.sh.
19633 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19634 it to run tst-table-from and tst-table-to.
19635 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19636 Pass it to tst-table.sh.
19637 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19638 $(run-program-prefix) to tst-gettext.sh.
19639 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19640 tst-translit.sh.
19641 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19642 tst-gettext2.sh.
19643 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19644 to run tst-gettext.
19645 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19646 to run tst-gettext2.
19647 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19648 to run tst-translit.
19649 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19650 $(run-program-prefix) to tst-mtrace.sh.
19651 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19652 to run tst-mtrace.
19653 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19654 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19655 $(rtld-installed-name).
19656 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19657 (rtld_installed_name): Likewise.
19658 (run_program_prefix): New variable. Use it to run wordexp-test.
19659
19660 * Makeconfig (ARCH): Remove all definitions.
19661 (machine): Likewise.
19662 [ARCH]: Remove conditional code.
19663 [!objdir]: Give error.
19664 [!objdir] (objpfx): Remove.
19665 [!objdir] (common-objpfx): Likewise.
19666 [!objdir] (common-objdir): Likewise.
19667 * configure.in (config_makefile): Remove. Hardcode Makefile in
19668 AC_CONFIG_FILES call.
19669 * configure: Regenerated.
19670
19671 [BZ #13888]
19672 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19673 or TMPDIR.
19674 (testout): Likewise.
19675
19676 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19677 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19678 $(rtld-installed-name).
19679 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19680 (rtld_installed_name): Likwise.
19681 (runit): Remove function.
19682 (run_getconf): New variable, Use it for running getconf binary.
19683
19684 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19685
19686 [BZ #14716]
19687 * string/test-memmem.c (check_result): New function.
19688 (do_one_test): Use it.
19689 (check1): New function.
19690 (test_main): Use it.
19691
19692 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19693
19694 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19695
19696 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19697
19698 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19699 (_G_LSEEK64): Likewise.
19700 (_G_MMAP64): Likewise.
19701 (_G_FSTAT64): Likewise.
19702 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19703 (_G_LSEEK64): Likewise.
19704 (_G_MMAP64): Likewise.
19705 (_G_FSTAT64): Likewise.
19706 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19707 unconditional. Call __mmap64 directly.
19708 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19709 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19710 __lseek64 directly.
19711 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19712 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19713 __mmap64 directly.
19714 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19715 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19716 __lseek64 directly.
19717 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19718 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19719 __lseek64 directly.
19720 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19721 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19722 __lseek64 directly.
19723 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19724 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19725 __fxstat64 directly.
19726 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19727 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19728 unconditional.
19729 (freopen64) [!_G_OPEN64]: Remove conditional code.
19730 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19731 unconditional.
19732 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19733 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19734 unconditional.
19735 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19736 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19737 unconditional.
19738 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19739 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19740 unconditional.
19741 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19742 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19743 unconditional.
19744 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19745 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19746 unconditional.
19747 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19748 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19749 unconditional.
19750 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19751
19752 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19753
19754 [BZ #12140]
19755 * manual/memory.texi (Malloc Tunable Parameters): Add note
19756 about free list pointers overwriting some perturb bytes.
19757 Wording suggested by Roland McGrath.
19758
19759 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19760
19761 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19762 (lgamma_test): Likewise.
19763 (tgamma_test): Likewise.
19764
19765 2012-10-16 Florian Weimer <fweimer@redhat.com>
19766
19767 [BZ #14700]
19768 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19769 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19770
19771 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19772
19773 * NEWS: Mention BZ #14716.
19774 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19775 when removing AVAILABLE1_USES_J macro.
19776
19777 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19778
19779 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19780 (__bswap_64): __uint64_t for unsigned 64-bit int.
19781
19782 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19783
19784 * include/string.h (memmem): Declare libc hidden alias.
19785 * string/memmem.c (memmem): Define libc hidden alias.
19786 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19787 __read, __close instead of open, read, close.
19788
19789 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19790
19791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19792 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19793 global and hidden.
19794 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19795 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19796 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19797 Likewise.
19798 (__rawmemchr_sse2): Likewise.
19799 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19800 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19801 (__strchr_sse2): Likewise.
19802 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19803 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19804 (__strcasecmp_sse2): Likewise.
19805 (__strncasecmp_sse2): Likewise.
19806 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19807 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19808 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19809 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19810 (__strrchr_sse2): Likewise.
19811 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19812 ifunc-impl-list.c.
19813 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19814 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19815 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19816 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19817 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19818 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19819 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19820 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19821 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19822 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19823 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19824 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19825 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19826 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19827 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19828 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19829 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19830 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19831 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19832 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19833 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19834 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19835 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19836 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19837 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19838 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19839 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19840 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19841 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19842 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19843
19844 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19845 global and hidden.
19846 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19847 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19848 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19849 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19850 Likewise.
19851 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19852 Likewise.
19853 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19854 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19855 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19856 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19857 ifunc-impl-list.c.
19858 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19859 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19860 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19861 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19862 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19863 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19864 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19865 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19866 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19867 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19868 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19869 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19870 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19871 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19872 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19873 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19874 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19875 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19876 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19877 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19878 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19879 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19880 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19881 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19883 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19884 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19885 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19886 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19887 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19888 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19889 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19890 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19891 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19892 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19893 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19894 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19895 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19896 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19897 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19898 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19899
19900 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19901 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19902 * include/ifunc-impl-list.h: New file.
19903 * misc/ifunc-impl-list.c: Likewise.
19904 * misc/Makefile (routines): Add ifunc-impl-list.
19905 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19906 * string/test-string.h: Include <ifunc-impl-list.h>.
19907 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19908 impl_array): New variables.
19909 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19910 are defined.
19911 (test_init): Call __libc_ifunc_impl_list to initialize
19912 func_list if TEST_IFUNC and TEST_NAME are defined.
19913
19914 * string/Makefile (strop-tests): Add bcopy and bzero.
19915 * string/test-bcopy.c: New file.
19916 * string/test-bzero.c: Likewise.
19917 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19918 defined.
19919 * string/test-memset.c: Support bzero test if TEST_BZERO is
19920 defined.
19921 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19922 __libc_memmove.
19923 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19924 __libc_memset.
19925 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19926 of memset.
19927
19928 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19929
19930 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19931 * configure: Regenerated.
19932
19933 * Makeconfig (+link-static-before-libc): Don't include
19934 $(link-static-libc).
19935
19936 * libio/libio.h (_IO_pos_t): Remove.
19937
19938 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19939
19940 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19941 McGrath.
19942
19943 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19944
19945 * crypt/crypt-entry.c: Include fips-private.h.
19946 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19947 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19948 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19949 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19950
19951 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19952
19953 * crypt/crypt-private.h: Include stdbool.h.
19954 (_ufc_setup_salt_r): Return bool.
19955 * crypt/crypt-entry.c: Include errno.h.
19956 (__crypt_r): Return NULL with EINVAL for bad salt.
19957 * crypt/crypt_util.c (bad_for_salt): New.
19958 (_ufc_setup_salt_r): Check that salt is long enough and within
19959 the specified alphabet.
19960 * crypt/badsalttest.c: New file.
19961 * crypt/Makefile (tests): Add it.
19962 ($(objpfx)badsalttest): New.
19963
19964 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19965
19966 * NEWS: Add entry for BZ #14602.
19967
19968 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19969
19970 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19971 type-generic.
19972 * math/libm-test.inc: Update comment listing what functions and
19973 macros are tested.
19974 (isgreater_test): New function.
19975 (isgreaterequal_test): Likewise.
19976 (isless_test): Likewise.
19977 (islessequal_test): Likewise.
19978 (islessgreater_test): Likewise.
19979 (isunordered_test): Likewise.
19980 (main): Call the new functions.
19981
19982 2012-10-09 Roland McGrath <roland@hack.frob.com>
19983
19984 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19985 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19986 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19987 * sysdeps/i386/configure: Regenerated.
19988 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19989 * sysdeps/mach/configure: Regenerated.
19990 * sysdeps/mach/hurd/configure: Regenerated.
19991 * sysdeps/powerpc/configure: Regenerated.
19992 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19993 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19994 * sysdeps/s390/s390-32/configure: Regenerated.
19995 * sysdeps/s390/s390-64/configure: Regenerated.
19996 * sysdeps/sh/configure: Regenerated.
19997 * sysdeps/sparc/configure: Regenerated.
19998 * sysdeps/unix/sysv/linux/configure: Regenerated.
19999 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20000 * sysdeps/x86_64/configure: Regenerated.
20001
20002 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20003 defined. Don't check if MAP is NULL.
20004
20005 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20006
20007 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20008 (_G_stat64): Likewise.
20009 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20010 (_G_stat64): Likewise.
20011 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20012 instead of struct _G_stat64.
20013 * libio/fileops.c (mmap_remap_check): Likewise.
20014 (decide_maybe_mmap): Likewise.
20015 (_IO_new_file_seekoff): Likewise.
20016 (_IO_file_stat): Likewise.
20017 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20018 _G_off64_t.
20019 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20020 instead of struct _G_stat64.
20021 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20022
20023 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20024
20025 [BZ #14602]
20026 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20027 Replace with ...
20028 (CHECK_EOL): New macro.
20029 (two_way_short_needle): Check beginning of haystack for EOL. Use
20030 CHECK_EOL.
20031 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20032 Replace with CHECK_EOL.
20033 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20034 Replace with CHECK_EOL.
20035
20036 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20037
20038 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20039 type-generic.
20040 * math/libm-test.inc: Update comment listing what functions and
20041 macros are tested.
20042 (finite_test): New function.
20043 (isinf_test): Likewise.
20044 (isnan_test): Likewise.
20045 (fpclassify_test): Test subnormal input.
20046 (isfinite_test): Likewise.
20047 (isnormal_test): Likewise.
20048 (main): Call the new functions.
20049
20050 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20051
20052 [BZ #14660]
20053 * Makerules (%.dynsym): Force C locale when running
20054 $(OBJDUMP) --dynamic-syms.
20055
20056 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20057
20058 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20059 <stdint.h>.
20060
20061 2012-10-06 David S. Miller <davem@davemloft.net>
20062
20063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20064 upper 32-bits of the length value in %o2 since we use branch-on-register
20065 tests which consider the entire 64-bit register.
20066
20067 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20068
20069 * string/test-strstr.c (check2): Add a test for page boundary.
20070
20071 2012-10-05 David S. Miller <davem@davemloft.net>
20072
20073 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20074 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20075 file.
20076 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20077 sysdep_routines.
20078 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20079 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20080 and bzero when HWCAP_SPARC_CRYPTO is present.
20081
20082 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20083
20084 [BZ #14602]
20085 * string/test-strstr.c (check2): New function.
20086 (test_main): Call check2.
20087
20088 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20089 and bug-strchr1.
20090 * string/bug-strcasestr1.c (do_test): Moved to ...
20091 * string/test-strcasestr.c (check1): Here. New function.
20092 (do_one_test): Break out result checking code into ...
20093 (check_result): This. New function.
20094 (do_one_test): Call check_result.
20095 (test_main): Call check1.
20096 * string/bug-strchr1.c (do_test): Moved to ...
20097 * string/test-strchr.c (check1): Here. New function.
20098 (do_one_test): Break out result checking code into ...
20099 (check_result): This. New function.
20100 (do_one_test): Call check_result.
20101 (test_main): Call check1.
20102 * string/bug-strstr1.c (main): Moved to ...
20103 * string/test-strstr.c (check1): Here. New function.
20104 (do_one_test): Break out result checking code into ...
20105 (check_result): This. New function.
20106 (do_one_test): Call check_result.
20107 (test_main): Call check1.
20108 * string/bug-strcasestr1.c: Removed.
20109 * string/bug-strchr1.c: Likewise.
20110 * string/bug-strstr1.c: Likewise.
20111
20112 * elf/Makefile (dl-routines): Add hwcaps.
20113 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20114 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20115 (_dl_important_hwcaps): Moved to ...
20116 * elf/dl-hwcaps.c: Here. New file.
20117 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20118
20119 [BZ #14557]
20120 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20121 if IS_IN_rtld isn't defined.
20122
20123 * elf/dl-support.c (_dl_sysinfo_map): New.
20124 Include "get-dynamic-info.h" and "setup-vdso.h".
20125 (_dl_non_dynamic_init): Call setup_vdso.
20126 * elf/dynamic-link.h: Don't include <assert.h>.
20127 (elf_get_dynamic_info): Moved to ...
20128 * elf/get-dynamic-info.h: Here. New file.
20129 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20130 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20131 * elf/setup-vdso.h: Here. New file.
20132 * elf/rtld.c: Include "setup-vdso.h".
20133 (dl_main): Call setup_vdso.
20134
20135 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20136
20137 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20138 creal in comment listing functions tested. List finite, isinf,
20139 isnan, isless, islessequal, isgreater, isgreaterequal,
20140 islessgreater, isunordered, lgamma_r and pow10 as functions and
20141 macros not tested. Mention which functions not tested are aliases
20142 for other functions. Fix typo. Note that signs of NaNs are not
20143 tested.
20144
20145 * scripts/config.guess: Update from config.git.
20146 * scripts/config.sub: Likewise.
20147
20148 2012-10-04 Roland McGrath <roland@hack.frob.com>
20149
20150 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20151 * misc/madvise.c (madvise): Renamed to __madvise.
20152 Make madvise a weak alias.
20153 * include/sys/mman.h: Declare __madvise.
20154 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20155 * sysdeps/unix/syscalls.list
20156 (madvise): Make __madvise the strong name, and madvise a weak alias.
20157 * sysdeps/unix/sysv/linux/syscalls.list
20158 (madvise, mmap): Remove redundant entries.
20159 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20160 * malloc/malloc.c (mtrim): Likewise.
20161 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20162
20163 2012-10-03 Roland McGrath <roland@hack.frob.com>
20164
20165 * sysdeps/mach/hurd/dl-cache.c: File removed.
20166 * config.h.in (USE_LDCONFIG): New #undef.
20167 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20168 * configure: Regenerated.
20169 * elf/Makefile (dl-routines): Add dl-cache only under
20170 [$(use-ldconfig) = yes].
20171 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20172 cache on [USE_LDCONFIG].
20173 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20174 [USE_LDCONFIG].
20175 * elf/rtld.c (dl_main): Likewise.
20176
20177 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20178
20179 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20180 _SC_LEVEL4_CACHE_LINESIZE.
20181
20182 2012-10-03 Roland McGrath <roland@hack.frob.com>
20183
20184 * sysdeps/unix/bsd/confstr.h: File removed.
20185
20186 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20187
20188 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20189 sys/sdt-config.h.
20190
20191 2012-10-02 Roland McGrath <roland@hack.frob.com>
20192
20193 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20194 Make 'mapoff' field ElfW(Off) rather than off_t.
20195
20196 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20197
20198 * nscd/Makefile: Remove nscd-cflags and all its users.
20199 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20200 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20201
20202 [BZ #10631]
20203 * malloc.c (malloc_printerr): Clarify error message.
20204
20205 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20206
20207 [BZ #14648]
20208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20209 Set bit_FMA_Usable if FMA is supported.
20210 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20211 macro.
20212 (bit_FMA4_Usable): Updated.
20213 (index_FMA_Usable): New macro.
20214 (CPUID_FMA): Likewise
20215 (HAS_FMA): Defined with bit_FMA_Usable.
20216
20217 2012-10-01 Roland McGrath <roland@hack.frob.com>
20218
20219 * bits/types.h (__swblk_t): Type removed.
20220 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20221 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20223 (__SWBLK_T_TYPE): Likewise.
20224 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20225 (__SWBLK_T_TYPE): Likewise.
20226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20227 (__SWBLK_T_TYPE): Likewise.
20228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20229 (__SWBLK_T_TYPE): Likewise.
20230
20231 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20232 Honza Horak <hhorak@redhat.com>
20233
20234 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20235 (xdr_mapname): Use YPMAXMAP as maxsize.
20236 (xdr_peername): Use YPMAXPEER as maxsize.
20237 (xdr_keydat): Use YPAXRECORD as maxsize.
20238 (xdr_valdat): Use YPMAXRECORD as maxsize.
20239
20240 2012-10-01 Roland McGrath <roland@hack.frob.com>
20241
20242 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20243
20244 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20245 * csu/init-first.c: ... here.
20246 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20247 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20248 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20249 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20250 * sysdeps/i386/init-first.c: File removed.
20251 * sysdeps/sh/init-first.c: File removed.
20252
20253 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20254
20255 [BZ #14645]
20256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20257 if x * y might underflow to zero and z is zero.
20258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20260 * math/libm-test.inc (min_subnorm_value): New variable.
20261 (fma_test): Add more tests.
20262 (fma_test_towardzero): Likewise.
20263 (fma_test_downward): Likewise
20264 (fma_test_upward): Likewise.
20265 (initialize): Set min_subnorm_value.
20266
20267 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20268
20269 [BZ #14638]
20270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20271 0 + 0.
20272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20273 mode for addition resulting in exact zero.
20274 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20276 exact 0 + 0.
20277 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20279 * math/libm-test.inc (fma_test): Add more tests.
20280 (fma_test_towardzero): New function.
20281 (fma_test_downward): Likewise.
20282 (fma_test_upward): Likewise.
20283 (main): Call the new functions.
20284
20285 2012-09-28 David S. Miller <davem@davemloft.net>
20286
20287 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20288
20289 2012-09-28 Roland McGrath <roland@hack.frob.com>
20290
20291 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20292 instead of SIGALRM.
20293
20294 * sysdeps/gnu/_G_config.h: Moved to ...
20295 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20296 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20297 * sysdeps/generic/_G_config.h: ... here.
20298
20299 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20300
20301 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20302
20303 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20304 Conditionalize target on [libnss_test1.so-version].
20305
20306 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20307
20308 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20309 (elfobjdir): Move out of conditionals.
20310
20311 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20312 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20313 (__nss_lookup_function): Conditionalize label remove_from_tree on
20314 [!DO_STATIC_NSS || SHARED], matching its only use.
20315
20316 2012-09-28 David S. Miller <davem@davemloft.net>
20317
20318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20319 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20320 file.
20321 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20322 sysdep_routines.
20323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20325 when HWCAP_SPARC_CRYPTO is present.
20326
20327 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20328
20329 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20330
20331 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20332
20333 [BZ #6530]
20334 * stdio-common/vfprintf.c (process_string_arg): Revert
20335 2000-07-22 change.
20336
20337 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20338
20339 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20340 for testcase.
20341 * stdio-common/tst-sprintf.c: Include <locale.h>
20342 (main): Test sprintf's handling of incomplete multibyte
20343 characters.
20344
20345 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20346
20347 * elf/dl-runtime.c (VERSYMIDX): Removed.
20348 * elf/dl-version.c (VERSYMIDX): Likewise.
20349 * elf/do-rel.h (VERSYMIDX): Likewise.
20350 (VALIDX): Likewise.
20351 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20352 * elf/rtld.c (VALIDX): Likewise.
20353 (ADDRIDX): Likewise.
20354 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20355 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20356 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20357 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20358 (VALIDX): Likewise.
20359 (ADDRIDX): Likewise.
20360
20361 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20362
20363 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20364
20365 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20366
20367 [BZ #11438]
20368 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20369 to global scope.
20370 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20371 addresses are in the same scope as 192.0.2/24.
20372 * posix/gai.conf: Document new scope table defaults.
20373
20374 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20375
20376 [BZ #5298]
20377 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20378 for ftell. Compute offsets from write pointers instead.
20379 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20380
20381 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20382
20383 [BZ #14543]
20384 * libio/Makefile (tests): New test case tst-fseek.
20385 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20386 combination works in wide mode.
20387 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20388 state when the external buffer state changes.
20389
20390 2012-09-27 David S. Miller <davem@davemloft.net>
20391
20392 [BZ #14376]
20393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20394 pass reloc->r_addend in as the 'high' argument to
20395 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20396
20397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20398
20399 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20400
20401 * rt/tst-aio2.c: Include <pthread.h>.
20402 * rt/tst-aio3.c: Likewise.
20403
20404 2012-09-27 Steve Ellcey <sellcey@mips.com>
20405
20406 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20407
20408 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20409
20410 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20411 contents on [SHARED].
20412
20413 2012-09-26 Marek Polacek <polacek@redhat.com>
20414
20415 [BZ #14530]
20416 [BZ #13741]
20417 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20418 for C++ and GCC <4.3 as well as for non GCC compilers.
20419
20420 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20421
20422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20423
20424 2012-09-25 Roland McGrath <roland@hack.frob.com>
20425
20426 * Makefile.in (all, install): Declare with .PHONY.
20427 Reported by Michael Hope <michael.hope@linaro.org>.
20428
20429 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20430
20431 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20432 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20433 system header.
20434 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20435 Likewise.
20436 (sydep_routines): Add the new and the internal functions.
20437 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20438 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20440 (GLIBC_2.17): Add the new function.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20442 (GLIBC_2.17): Likewise.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20444 (GLIBC_2.17): Likewise.
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20446 (GLIBC_2.17): Likewise.
20447 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20448
20449 2012-09-25 Alan Modra <amodra@gmail.com>
20450
20451 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20452 Add release barrier before setting once_control to say
20453 initialisation is done. Add hints on lwarx. Use macro in
20454 place of isync.
20455 (clear_once_control): Add release barrier.
20456
20457 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20458
20459 [BZ #13629]
20460 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20461 specially.
20462 * math/s_clog10.c (__clog10): Likewise.
20463 * math/s_clog10f.c (__clog10f): Likewise.
20464 * math/s_clog10l.c (__clog10l): Likewise.
20465 * math/s_clogf.c (__clogf): Likewise.
20466 * math/s_clogl.c (__clogl): Likewise.
20467 * math/Makefile (libm-calls): Add x2y2m1.
20468 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20469 (__x2y2m1): Likewise.
20470 (__x2y2m1l): Likewise.
20471 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20472 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20473 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20474 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20475 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20476 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20477 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20478 * sysdeps/i386/fpu/libm-test-ulps: Update.
20479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20480
20481 [BZ #14621]
20482 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20483 int as type of variable DEPTH.
20484 (glob): Use size_t instead of int as type of variables NEWCOUNT
20485 and OLD_PATHC.
20486
20487 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20488
20489 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20490 Add s_sincosf-sse2.
20491 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20492 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20493 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20494 macros for using routine as __sincosf_ia32.
20495 Use macro for function declaration and weak_alias.
20496 * sysdeps/i386/fpu/libm-test-ulps: Update.
20497
20498 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20500
20501 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20502 subnormal argument.
20503 * math/s_cexpf.c (__cexpf): Likewise.
20504 * math/s_csinf.c (__csinf): Likewise.
20505 * math/s_csinhf.c (__csinhf): Likewise.
20506 * math/s_ctanf.c (__ctanf): Likewise.
20507 * math/s_ctanhf.c (__ctanhf): Likewise.
20508 * math/s_ccosh.c (__ccoshf): Likewise.
20509 * math/s_cexp.c (__cexpl): Likewise.
20510 * math/s_csin.c (__csin): Likewise.
20511 * math/s_csinh.c (__csinh): Likewise.
20512 * math/s_ctan.c (__ctan): Likewise.
20513 * math/s_ctanh.c (ctanh): Likewise.
20514 * math/s_ccoshl.c (__ccoshl): Likewise.
20515 * math/s_cexpl.c (__cexpl): Likewise.
20516 * math/s_csinl.c (__csinl): Likewise.
20517 * math/s_csinhl.c (__csinhl): Likewise.
20518 * math/s_ctanl.c (__ctanl): Likewise.
20519 * math/s_ctanhl.c (__ctanhl): Likewise.
20520
20521 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20522
20523 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20524 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20525 (_IO_off_t): Define to __off_t, not _G_off_t.
20526 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20527 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20528 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20529 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20530 type of __dummy and __dummy2 fields.
20531 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20532 (_G_ssize_t): Likewise.
20533 (_G_off_t): Likewise.
20534 (_G_pid_t): Likewise.
20535 (_G_uid_t): Likewise.
20536 (_G_wchar_t): Likewise.
20537 (_G_wint_t): Likewise.
20538 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20539 (_G_ssize_t): Likewise.
20540 (_G_off_t): Likewise.
20541 (_G_pid_t): Likewise.
20542 (_G_uid_t): Likewise.
20543 (_G_wchar_t): Likewise.
20544 (_G_wint_t): Likewise.
20545 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20546 (_G_ssize_t): Likewise.
20547 (_G_off_t): Likewise.
20548 (_G_pid_t): Likewise.
20549 (_G_uid_t): Likewise.
20550 (_G_wchar_t): Likewise.
20551 (_G_wint_t): Likewise.
20552
20553 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20554
20555 * malloc/arena.c: Include malloc-sysdep.h.
20556 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20557 is sufficient to shrink the heap or an unmap is needed.
20558 * sysdeps/generic/malloc-sysdep.h: New file. Define
20559 new function check_may_shrink_heap.
20560 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20561 new function check_may_shrink_heap.
20562
20563 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20564
20565 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20566 comments.
20567
20568 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20569
20570 * catgets/test-gencat.sh: Add "set -e".
20571 * elf/tst-pathopt.sh: Likewise.
20572 * grp/tst_fgetgrent.sh: Likewise.
20573 * iconvdata/run-iconv-test.sh: Likewise.
20574 * intl/tst-gettext.sh: Likewise.
20575 * intl/tst-gettext2.sh: Likewise.
20576 * intl/tst-gettext4.sh: Likewise.
20577 * intl/tst-gettext6.sh: Likewise.
20578 * intl/tst-translit.sh: Likewise.
20579 * io/ftwtest-sh: Likewise.
20580 * libio/test-freopen.sh: Likewise.
20581 * malloc/tst-mtrace.sh: Likewise.
20582 * posix/globtest.sh: Likewise.
20583 * posix/tst-getconf.sh: Likewise.
20584 * posix/wordexp-tst.sh: Likewise.
20585 * stdio-common/tst-printf.sh: Likewise.
20586 * stdio-common/tst-unbputc.sh: Likewise.
20587 * stdlib/tst-fmtmsg.sh: Likewise.
20588 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20589 * catgets/Makefile: Do not specify -e option when running
20590 testsuite shell scripts.
20591 * elf/Makefile: Likewise.
20592 * grp/Makefile: Likewise.
20593 * iconvdata/Makefile: Likewise.
20594 * intl/Makefile: Likewise.
20595 * io/Makefile: Likewise.
20596 * libio/Makefile: Likewise.
20597 * malloc/Makefile: Likewise.
20598 * posix/Makefile: Likewise.
20599 * stdio-common/Makefile: Likewise.
20600 * stdlib/Makefile: Likewise.
20601 * sysdeps/x86_64/Makefile: Likewise.
20602
20603 * io/ftwtest-sh: Add copyright header.
20604 * posix/globtest.sh: Likewise.
20605 * posix/tst-getconf.sh: Likewise.
20606 * posix/wordexp-tst.sh: Likewise.
20607 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20608
20609 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20610
20611 [BZ #13679]
20612 * Makeconfig (+link): Defined as $(+link-static) if
20613 $(build-shared) isn't yes.
20614 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20615 isn't yes.
20616 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20617
20618 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20619
20620 [BZ #14562]
20621 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20622 new chunk size with MALLOC_ALIGN_MASK.
20623
20624 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20625
20626 [BZ #5044]
20627 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20628 <rounding-mode.h>.
20629 (__printf_fphex): Determine rounding using get_rounding_mode and
20630 round_away.
20631 * stdio-common/tst-printf-round.c (struct hex_test): New
20632 structure.
20633 (hex_tests): New variable.
20634 (test_hex_in_one_mode): New function.
20635 (do_test): Also run tests for hex float output.
20636
20637 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20638
20639 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20640 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20641 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20642 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20643 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20644 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20645 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20646 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20647
20648 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20649
20650 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20651 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20652 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20653 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20654
20655 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20656
20657 [BZ #14579]
20658 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20659 mode only.
20660 * elf/tst-rtld-load-self.sh: New test.
20661 * elf/Makefile: Run it.
20662
20663 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20664
20665 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20666 (tst-writev-ENV): Remove.
20667 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20668
20669 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20670
20671 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20672
20673 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20674
20675 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20676 unconditional.
20677 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20678 Likewise.
20679 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20680 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20681 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20682 Likewise.
20683
20684 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20685
20686 [BZ #14587]
20687 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20688 * config.make.in (have-cpp-asm-debuginfo): Removed.
20689 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20690 * configure: Regenerated.
20691
20692 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20693
20694 [BZ #5044]
20695 * stdio-common/printf_fp.c: Include <stdbool.h> and
20696 <rounding-mode.h>.
20697 (___printf_fp): Determine rounding using get_rounding_mode and
20698 round_away.
20699 * stdio-common/tst-printf-round.c: New file.
20700 * stdio-common/Makefile (tests): Add tst-printf-round.
20701 (link-libm): New variable.
20702 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20703
20704 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20705
20706 [BZ #14576]
20707 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20708 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20709 Likewise.
20710 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20711 Likewise.
20712
20713 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20714
20715 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20716 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20717 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20718 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20719
20720 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20721
20722 [BZ #14518]
20723 * include/rounding-mode.h: New file.
20724 * sysdeps/generic/get-rounding-mode.h: Likewise.
20725 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20726 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20727 (MAX_VALUE): New macro.
20728 (MIN_VALUE): Likewise.
20729 (overflow_value): New function.
20730 (underflow_value): Likewise.
20731 (round_and_return): Use overflow_value and underflow_value to
20732 determine return values in overflow and underflow cases. Use
20733 round_away to determine rounding depending on rounding mode.
20734 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20735 determine return values in overflow and underflow cases.
20736 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20737 (struct test_results): New structure.
20738 (struct test): Use struct test_results to store expected results
20739 for all rounding modes.
20740 (TEST): Include expected results for all rounding modes.
20741 (test_in_one_mode): New function.
20742 (do_test): Use test_in_one_mode to compute and check results.
20743 Check results for all rounding modes.
20744 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20745 $(link-libm).
20746
20747 2012-12-09 Allan McRae <allan@archlinux.org>
20748
20749 * sysdeps/i386/fpu/libm-test-ulps: Update
20750
20751 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20752
20753 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20754 (_G_int32_t): Likewise.
20755 (_G_uint16_t): Likewise.
20756 (_G_uint32_t): Likewise.
20757 (_G_HAVE_BOOL): Likewise.
20758 (_G_HAVE_ATEXIT): Likewise.
20759 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20760 (_G_HAVE_IO_FILE_OPEN): Likewise.
20761 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20762 (_G_int32_t): Likewise.
20763 (_G_uint16_t): Likewise.
20764 (_G_uint32_t): Likewise.
20765 (_G_HAVE_BOOL): Likewise.
20766 (_G_HAVE_ATEXIT): Likewise.
20767 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20768 (_G_HAVE_IO_FILE_OPEN): Likewise.
20769 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20770 (_G_int32_t): Likewise.
20771 (_G_uint16_t): Likewise.
20772 (_G_uint32_t): Likewise.
20773 (_G_HAVE_BOOL): Likewise.
20774 (_G_HAVE_ATEXIT): Likewise.
20775 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20776 (_G_HAVE_IO_FILE_OPEN): Likewise.
20777
20778 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20779
20780 * csu/libc-tls.c: Update copyright years.
20781
20782 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20783
20784 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20785 [!_G_USING_THUNKS]: Remove conditional code.
20786 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20787 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20788
20789 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20790 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20791 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20792 (_G_VTABLE_LABEL_PREFIX): Likewise.
20793 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20794 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20795 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20796 (_G_VTABLE_LABEL_PREFIX): Likewise.
20797 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20798 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20799 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20800 (_G_VTABLE_LABEL_PREFIX): Likewise.
20801 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20802
20803 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20804
20805 * libio/Makefile: Include ../Makeconfig before tests.
20806 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20807 only if $(build-shared) is yes.
20808
20809 * iconv/gconv_db.c: Update copyright years.
20810
20811 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20812
20813 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20814 unwind info if defined PIC. Fix special cases description.
20815 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20816
20817 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20818 DP_HI_MASK entry.
20819 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20820
20821 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20822
20823 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20824
20825 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20826 is NULL.
20827
20828 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20829 (LDLIBS-tst-chk4): This.
20830 (LDFLAGS-tst-chk5): Renamed to ...
20831 (LDLIBS-tst-chk5): This.
20832 (LDFLAGS-tst-chk6): Renamed to ...
20833 (LDLIBS-tst-chk6): This.
20834 (LDFLAGS-tst-lfschk4): Renamed to ...
20835 (LDLIBS-tst-lfschk4): This.
20836 (LDFLAGS-tst-lfschk5): Renamed to ...
20837 (LDLIBS-tst-lfschk5): This.
20838 (LDFLAGS-tst-lfschk6): Renamed to ...
20839 (LDLIBS-tst-lfschk6): This.
20840
20841 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20842 on $(common-objpfx)soversions.mk.
20843
20844 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20845
20846 [BZ #10014]
20847 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20848 example host name.
20849
20850 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20851
20852 * malloc/arena.c (arena_get_retry): New function that gets
20853 another arena for the caller to try its request on.
20854 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20855 current arena cannot fulfill the request.
20856 (__libc_memalign): Likewise.
20857 (__libc_memalign): Likewise.
20858 (__libc_pvalloc): Likewise.
20859 (__libc_calloc): Likewise.
20860
20861 2012-09-05 John Tobey <john.tobey@gmail.com>
20862
20863 [BZ #13542]
20864 * manual/arith.texi (Operations on Complex): Fix description
20865 of carg branch cut.
20866
20867 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20868
20869 [BZ #10014]
20870 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20871 host name.
20872
20873 [BZ #10038]
20874 * manual/memory.texi (Memory): Make order of menu items match
20875 order of sections.
20876
20877 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20878
20879 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20880 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20881 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20882
20883 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20884
20885 * csu/libc-tls.c (static_dtv): Renamed to ...
20886 (_dl_static_dtv): This. Make it global.
20887 (_dl_initial_dtv): Removed.
20888 (__libc_setup_tls): Updated.
20889 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20890 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20891 DL_INITIAL_DTV.
20892
20893 2012-09-06 Petr Machata <pmachata@redhat.com>
20894
20895 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20896 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20897 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20898 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20899
20900 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20901
20902 [BZ #14545]
20903 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20904 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20905 freeing dtv[-1].
20906
20907 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20908
20909 [BZ #14544]
20910 * Makeconfig (link-static-before-libc): Replace $(+prector)
20911 with $(+prectorT).
20912 (link-static-after-libc): Replace $(+postctor) with
20913 $(+postctorT).
20914 (link-bounded): Replace $(+prector)/$(+postctor) with
20915 $(+prectorT)/$(+postctorT).
20916 (+prectorT): New macro.
20917 (+postctorT): Likewise.
20918
20919 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20920
20921 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20922 (round_str): Handle values above the maximum for IBM long double
20923 as inexact.
20924 * stdlib/tst-strtod-round.c (tests): Regenerated.
20925
20926 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20927
20928 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20929 assembler flag.
20930 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20931 zarch_nohighgprs around the zarch optimized routines.
20932 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20933 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20934 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20935 for zarch.
20936
20937 2012-09-05 David S. Miller <davem@davemloft.net>
20938
20939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20940
20941 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20942 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20943 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20944 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20945 entries.
20946
20947 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20948
20949 * malloc/arena.c: Fold copyright years.
20950 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20951
20952 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20953
20954 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20955
20956 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20957
20958 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20959
20960 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20961
20962 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20963 change internal state upon failure.
20964
20965 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20966
20967 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20968 * malloc/memusage.c (mmap): Likewise.
20969 (mmap64, mremap): Likewise. Adjust name in comment.
20970
20971 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20972
20973 * libio/fileops.c: Fix typos in comments.
20974 * libio/oldfileops.c: Likewise.
20975 * libio/wfileops.c: Likewise.
20976
20977 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20978
20979 [BZ #1349]
20980 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20981 (tst-malloc-usable-ENV): Set environment for test case.
20982 * malloc/hooks.c (malloc_check_get_size): New function to get
20983 requested size.
20984 * malloc/malloc.c (musable): Use malloc_check_get_size.
20985 * malloc/tst-malloc-usable.c: New test case.
20986
20987 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20988
20989 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20990
20991 2012-09-05 Allan McRae <allan@archlinux.org>
20992
20993 [BZ #13966]
20994 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20995 determine header location.
20996 * configure: Regenerated.
20997
20998 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20999
21000 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21001 float format.
21002 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21003 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21004 format.
21005 (test): Regenerate.
21006
21007 2012-09-04 David S. Miller <davem@davemloft.net>
21008
21009 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21010 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21011 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21012
21013 2012-09-04 Florian Weimer <fweimer@redhat.com>
21014
21015 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21016 failures.
21017
21018 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21019
21020 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21021
21022 [BZ #9914]
21023 * libio/iogetdelim.c: Include <limits.h>.
21024 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21025 + len + 1 would overflow.
21026
21027 2012-09-03 Andreas Jaeger <aj@suse.de>
21028
21029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21030 * sysdeps/i386/fpu/libm-test-ulps: Update.
21031
21032 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21033
21034 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21035 Add s_sinf-sse2, s_conf-sse2.
21036
21037 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21038 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21039 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21040 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21041
21042 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21043 for using routine as __sinf_ia32.
21044 Use macro for function declaration and weak_alias.
21045 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21046 for using routine as __cosf_ia32.
21047 Use macro for function declaration and weak_alias.
21048
21049 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21050 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21051
21052 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21053 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21055
21056 * math/libm-test.inc (cos_test): Add more test cases.
21057 (sin_test): Likewise.
21058 (sincos_test): Likewise.
21059
21060 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21061
21062 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21063 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21064 hidden.
21065 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21066
21067 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21068
21069 [BZ #14538]
21070 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21071 first element of the GOT.
21072 (elf_machine_load_address): Return the difference between
21073 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21074
21075 2012-09-01 Allan McRae <allan@archlinux.org>
21076
21077 [BZ #13412]
21078 * configure.in (AWK): Require gawk version 3.0 or later.
21079 * configure: Regenerated.
21080
21081 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21082
21083 * sysdeps/unix/sysv/linux/kernel-features.h
21084 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21085 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21086 [__NR_clock_getres]: Make code unconditional.
21087 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21088 (clock_getcpuclockid): Remove code left unreachable by removal of
21089 conditionals.
21090 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21091 code unconditional.
21092 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21093 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21094 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21095 Make code unconditional.
21096 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21097 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21098 * sysdeps/unix/sysv/linux/clock_settime.c
21099 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21100 conditional code.
21101 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21102 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21103
21104 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21105
21106 [BZ #14476]
21107 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21108 scripts/test-installation.pl.
21109
21110 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21111 and $ld_so_version if it is set.
21112
21113 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21114
21115 [BZ #14516]
21116 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21117 failure if reading from procfs failed.
21118 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21119
21120 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21121
21122 * sysdeps/unix/sysv/linux/kernel-features.h
21123 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21124 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21125 Remove conditional code.
21126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21127 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21128 Remove conditional code.
21129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21130 * sysdeps/unix/sysv/linux/i386/fxstat.c
21131 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21133 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21134 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21136 * sysdeps/unix/sysv/linux/i386/lxstat.c
21137 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21139 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21140 Remove conditional code.
21141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21142 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21143 Remove conditional code.
21144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21145 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21146 <kernel-features.h>.
21147 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21148 Remove.
21149 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21150 Remove conditional code.
21151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21152 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21153 Remove conditional.
21154
21155 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21156
21157 [BZ #5400]
21158 * NEWS: Add fixed bug number.
21159
21160 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21161
21162 [BZ #14519]
21163 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21164 underflowing exponent in case of negative sign.
21165 * stdlib/tst-strtod-round-data: Add more tests.
21166 * stdlib/tst-strtod-round.c (tests): Regenerated.
21167
21168 [BZ #3479]
21169 * stdlib/strtod_l.c (NDIG): Remove.
21170 (HEXNDIG): Likewise.
21171 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21172 smallest representable value.
21173 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21174 lie within an exact representation of 1/2 ulp of the result.
21175 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21176 unconditionally.
21177 (TENS_P9_IDX): Define unconditionally.
21178 (TENS_P9_SIZE): Likewise.
21179 (TENS_P10_IDX): Likewise.
21180 (TENS_P10_SIZE): Likewise.
21181 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21182 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21183 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21184 entries for 10^2^13 and 10^2^14.
21185 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21186 (TENS_P13_IDX): Define.
21187 (TENS_P13_SIZE): Likewise.
21188 (TENS_P14_IDX): Likewise.
21189 (TENS_P14_SIZE): Likewise.
21190 (_fpioconst_pow10): Change array size to
21191 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21192 unconditional.
21193 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21194 1024]: Add entries for 10^2^13 and 10^2^14.
21195 [LAST_POW10 > _LAST_POW10]: Remove #error.
21196 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21197 (_fpioconst_pow10): Change array size to
21198 FPIOCONST_POW10_ARRAY_SIZE.
21199 * stdlib/gen-fpioconst.c: New file.
21200 * stdlib/gen-tst-strtod-round.c: Likewise.
21201 * stdlib/tst-strtod-round-data: Likewise.
21202 * stdlib/tst-strtod-round.c: Likewise.
21203 * stdlib/Makefile (tests): Add tst-strtod-round.
21204
21205 [BZ #14459]
21206 * stdlib/strtod_l.c: Include <stdint.h>.
21207 (NDEBUG): Do not define.
21208 (round_and_return): Change EXPONENT parameter to type intmax_t.
21209 Rearrange calculations to avoid internal overflow possibilities.
21210 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21211 Rearrange calculations to avoid internal overflow possibilities.
21212 Assert that number fits inside MPNSIZE limbs.
21213 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21214 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21215 calculations and add assertions to avoid internal overflow
21216 possibilities. Add casts to avoid signed/unsigned operations.
21217 * stdlib/tst-strtod-overflow.c: New file.
21218 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21219
21220 2012-08-25 Marek Polacek <polacek@redhat.com>
21221
21222 * time/time.h: Fix some typos in comments.
21223
21224 2012-08-23 Roland McGrath <roland@hack.frob.com>
21225
21226 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21227 * posix/tst-rfc3484-2.c: Likewise.
21228 * posix/tst-rfc3484-3.c: Likewise.
21229
21230 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21231
21232 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21233 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21234
21235 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21236
21237 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21238 #include of fxstatat64.c.
21239
21240 2012-08-22 Roland McGrath <roland@hack.frob.com>
21241
21242 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21243 * shadow/getspent_r.c: Likewise.
21244 * shadow/getspnam.c: Likewise.
21245 * shadow/getspnam_r.c: Likewise.
21246 * gshadow/getsgent.c: Likewise.
21247 * gshadow/getsgent_r.c: Likewise.
21248 * gshadow/getsgnam.c: Likewise.
21249 * gshadow/getsgnam_r.c: Likewise.
21250 * inet/getnetbyad.c: Likewise.
21251 * inet/getnetbyad_r.c: Likewise.
21252 * inet/getnetbynm.c: Likewise.
21253 * inet/getnetbynm_r.c: Likewise.
21254 * inet/getnetent.c: Likewise.
21255 * inet/getnetent_r.c: Likewise.
21256 * inet/getproto.c: Likewise.
21257 * inet/getproto_r.c: Likewise.
21258 * inet/getprtent.c: Likewise.
21259 * inet/getprtent_r.c: Likewise.
21260 * inet/getprtname.c: Likewise.
21261 * inet/getprtname_r.c: Likewise.
21262 * inet/getrpcbyname.c: Likewise.
21263 * inet/getrpcbyname_r.c: Likewise.
21264 * inet/getrpcbynumber.c: Likewise.
21265 * inet/getrpcbynumber_r.c: Likewise.
21266 * inet/getrpcent.c: Likewise.
21267 * inet/getrpcent_r.c: Likewise.
21268 * inet/getaliasent.c: Likewise.
21269 * inet/getaliasent_r.c: Likewise.
21270 * inet/getaliasname.c: Likewise.
21271 * inet/getaliasname_r.c: Likewise.
21272 * nscd/getgrgid_r.c: Likewise.
21273 * nscd/getgrnam_r.c: Likewise.
21274 * nscd/gethstbyad_r.c: Likewise.
21275 * nscd/gethstbynm3_r.c: Likewise.
21276 * nscd/getpwnam_r.c: Likewise.
21277 * nscd/getpwuid_r.c: Likewise.
21278 * nscd/getsrvbynm_r.c: Likewise.
21279 * nscd/getsrvbypt_r.c: Likewise.
21280 * nscd/gai.c: Likewise.
21281
21282 * configure.in (build_nscd): New substituted variable, set
21283 by --disable-build-nscd and defaults to $use_nscd.
21284 * configure: Regenerated.
21285 * config.make.in (build-nscd): New substituted variable.
21286 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21287 Change conditional to require [$(build-nscd) = yes] as well.
21288 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21289
21290 [BZ# 13696]
21291 * configure.in (use_nscd): New substituted variable, set by
21292 --disable-nscd. If enabled, define USE_NSCD.
21293 * configure: Regenerated.
21294 * config.h.in: Add USE_NSCD.
21295 * config.make.in (use-nscd): New substituted variable.
21296 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21297 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21298 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21299 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21300 (CFLAGS-getgrnam_r.c): Likewise.
21301 (CFLAGS-initgroups.c): Likewise.
21302 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21303 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21304 Variables removed.
21305 * inet/getnetgrent_r.c
21306 (nscd_setnetgrent): New function, broken out of ...
21307 (setnetgrent): ... here. Call it.
21308 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21309 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21310 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21311 * nscd/Makefile (routines, aux): Move definitions after include of
21312 Makeconfig. Conditionalize on [$(use-nscd) != no].
21313 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21314 Conditionalize on [USE_NSCD].
21315 (is_nscd, nscd_init_cb): Likewise.
21316 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21317 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21318 * nss/nss_db/db-init.c: Likewise.
21319 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21320 [USE_NSCD].
21321 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21322 (make_request): Use it.
21323 (cache_valid_p): New function.
21324 (__check_pf): Use it.
21325 * NEWS: Add item for --disable-nscd.
21326
21327 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21328
21329 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21330 to support sed >= 4.2.1-20-ga9bf076.
21331 * configure: Regenerated.
21332
21333 2012-08-22 Roland McGrath <roland@hack.frob.com>
21334
21335 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21336 Conditionalize whole body on [IREL].
21337
21338 2012-08-22 Jeff Law <law@redhat.com>
21339
21340 [BZ #14505]
21341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21342 if the family is PF_UNSPEC.
21343
21344 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21345
21346 * Makerules (lib-version): Rename from V.
21347 (install-lib-nosubdir): Change V to lib-version.
21348
21349 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21350
21351 [BZ #14252]
21352 * powerpc32/power6/wcschr.c: New file.
21353 * powerpc32/power6/wcscpy.c: New file.
21354 * powerpc32/power6/wcsrchr.c: New file.
21355 * powerpc64/power6/wcschr.c: New file.
21356 * powerpc64/power6/wcscpy.c: New file.
21357 * powerpc64/power6/wcsrchr.c: New file.
21358
21359 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21360
21361 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21362 (two_way_short_needle): Use it.
21363 * string/strstr.c (AVAILABLE1_USES_J): Define.
21364 * string/strcasestr.c: Likewise.
21365
21366 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21367 array references.
21368 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21369
21370 [BZ #11607]
21371 * NEWS: Add an entry.
21372 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21373 define their defaults.
21374 (two_way_short_needle): Detect end-of-string on-the-fly.
21375 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21376 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21377 * string/bug-strcasestr1.c: New test.
21378 * string/Makefile: Run it.
21379
21380 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21381
21382 [BZ #11607]
21383 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21384 the first character.
21385
21386 2012-08-21 Roland McGrath <roland@hack.frob.com>
21387
21388 * csu/elf-init.c (__libc_csu_irel): Function removed.
21389 * csu/libc-start.c (apply_irel): New function.
21390 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21391
21392 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21393
21394 * sysdeps/unix/sysv/linux/kernel-features.h
21395 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21396 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21397 <kernel-features.h>.
21398 [__NR_fadvise64_64]: Make code unconditional.
21399 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21400 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21401 !__NR_fadvise64_64)]: Likewise.
21402 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21403 !__NR_fadvise64_64))]: Likewise.
21404 [__NR_fadvise64]: Make code unconditional.
21405 [!__NR_fadvise64]: Remove conditional code.
21406 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21407 <kernel-features.h>.
21408 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21409 unconditional.
21410 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21411 conditional code.
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21413 not include <kernel-features.h>.
21414 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21415 unconditional.
21416 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21417 conditional code.
21418 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21419 include <kernel-features.h>.
21420 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21421 unconditional.
21422 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21423 conditional code.
21424
21425 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21426
21427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21428 slight instruction rearrangements per scrollpipe analysis.
21429 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21430
21431 2012-08-20 Roland McGrath <roland@hack.frob.com>
21432
21433 * manual/syslog.texi (syslog; vsyslog, closelog):
21434 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21435 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21436
21437 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21438 DSOCAPS to match condition on defining it.
21439
21440 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21441
21442 * sysdeps/unix/sysv/linux/kernel-features.h
21443 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21445 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21446 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21448 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21449 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21451 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21452 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21453
21454 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21455 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21456
21457 * sysdeps/unix/sysv/linux/kernel-features.h
21458 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21459 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21460 unconditional.
21461 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21462 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21463 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21464 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21465 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21466 Make code unconditional.
21467 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21468 (__mmap64) [!__NR_mmap2]: Likewise.
21469 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21470 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21471 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21472 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21473 [__NR_mmap2]: Make code unconditional.
21474 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21475 (__mmap64) [!__NR_mmap2]: Likewise.
21476
21477 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21478
21479 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21480
21481 2012-08-18 Andreas Jaeger <aj@suse.de>
21482
21483 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21484
21485 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21486
21487 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21488 * include/unistd.h (__have_sock_cloexec): Likewise.
21489 (__have_pipe2): Likewise.
21490 (__have_dup3): Likewise.
21491
21492 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21493
21494 [BZ #9685]
21495 * include/unistd.h (__have_pipe2): Change define into an extern int.
21496 (__have_dup3): Likewise.
21497 * socket/have_sock_cloexec.c: Include fcntl.h.
21498 (__have_pipe2): New variable.
21499 (__have_dup3): Likewise.
21500
21501 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21502
21503 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21504
21505 2012-08-17 Marek Polacek <polacek@redhat.com>
21506
21507 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21508 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21509
21510 2012-08-17 Roland McGrath <roland@hack.frob.com>
21511
21512 * configure.in: Add AC_SUBST for sysheaders.
21513 * configure: Regenerated.
21514 * config.make.in (sysheaders): New substituted variable.
21515
21516 * sysdeps/unix/mkfifo.c: Moved ...
21517 * sysdeps/posix/mkfifo.c: ... here.
21518 * sysdeps/unix/mkfifoat.c: Moved ...
21519 * sysdeps/posix/mkfifoat.c: ... here.
21520
21521 * sysdeps/unix/utime.c: Moved ...
21522 * sysdeps/posix/utime.c: ... here.
21523
21524 * sysdeps/unix/time.c: Moved ...
21525 * sysdeps/posix/time.c: ... here.
21526 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21527 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21528
21529 * sysdeps/unix/nice.c: Moved ...
21530 * sysdeps/posix/nice.c: ... here.
21531
21532 * sysdeps/unix/alarm.c: Moved ...
21533 * sysdeps/posix/alarm.c: ... here.
21534
21535 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21536
21537 2012-08-17 Jeff Law <law@redhat.com>
21538
21539 * intl/Makefile (codeset_mo): New variable.
21540 ($(codeset_mo)): New target.
21541 (tst-codeset.out): Depend on that. Remove explicit rule.
21542 (tst-gettext3.out, tst-gettext5.out): Likewise.
21543 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21544 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21545 * intl/tst-codeset.sh: Remove.
21546 * intl/tst-gettext3.sh: Likewise.
21547 * intl/tst-gettext5.sh: Likewise.
21548
21549 2012-08-17 Roland McGrath <roland@hack.frob.com>
21550
21551 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21552 * sysdeps/unix/syscalls.list: ... here.
21553
21554 * sysdeps/posix/getaddrinfo.c
21555 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21556 (gaiconf_init, gaiconf_reload): Use them.
21557 [!_STATBUF_ST_NSEC]
21558 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21559 Define using time_t rather than struct timespec.
21560
21561 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21562 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21563 Macros removed.
21564 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21565 [!NO_THREADS].
21566 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21567 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21568 Likewise.
21569
21570 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21571 __libc_cleanup_push argument.
21572
21573 * bits/param.h: New file.
21574 * misc/sys/param.h: New file.
21575 * include/sys/param.h: New file.
21576 * misc/Makefile (headers): Add bits/param.h.
21577 * sysdeps/generic/sys/param.h: File removed.
21578 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21579 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21580 * sysdeps/mach/hurd/bits/param.h: New file.
21581 * sysdeps/mach/hurd/sys/param.h: File removed.
21582
21583 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21584 last change.
21585
21586 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21587 [_IO_MTSAFE_IO].
21588 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21589 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21590 New macros.
21591
21592 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21593 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21594 rather than -D_IO_MTSAFE_IO conditionally.
21595 * stdio-common/Makefile (CPPFLAGS): Likewise.
21596 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21597 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21598 Use $(libio-mtsafe).
21599 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21600 of -D_IO_MTSAFE_IO.
21601 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21602 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21603 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21604 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21605 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21606 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21607 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21608 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21609 (CFLAGS-fread_u_chk.c): Likewise.
21610 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21611 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21612 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21613 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21614 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21615 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21616 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21617 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21618 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21619
21620 * libio/Makefile: Test [$(libc-reentrant) = yes]
21621 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21622
21623 * Makeconfig
21624 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21625 * sysdeps/pthread/configure: File removed.
21626 * sysdeps/pthread/Makeconfig: New file.
21627 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21628 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21629
21630 2012-08-16 Gary Benson <gbenson@redhat.com>
21631
21632 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21633 unmapping the first object in a namespace.
21634
21635 2012-08-16 Roland McGrath <roland@hack.frob.com>
21636
21637 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21638 (__internal_setnetgrent): ... this. Add internal_function to
21639 definition. Add libc_hidden_def.
21640 (setnetgrent): Update caller.
21641 (internal_endnetgrent): Renamed to ...
21642 (__internal_endnetgrent): ... this. Add internal_function to
21643 definition. Add libc_hidden_def.
21644 (endnetgrent): Update caller.
21645 (internal_getnetgrent_r): Renamed to ...
21646 (__internal_getnetgrent_r): ... this. Add internal_function to
21647 definition. Add libc_hidden_def.
21648 (__getnetgrent_r): Update caller.
21649 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21650
21651 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21652
21653 * stdlib/longlong.h: Update from GCC.
21654
21655 2012-08-16 Roland McGrath <roland@hack.frob.com>
21656
21657 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21658 on _QL, which is set by umul_ppmm but never used.
21659 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21660 variables, which are set by GMP macros but never used.
21661 * stdio-common/_itowa.c (_itowa): Likewise.
21662 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21663 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21664
21665 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21666
21667 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21668 struct La_sh_regs is not constant.
21669 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21670 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21671 and struct La_sparc64_regs are not constant.
21672
21673 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21674
21675 * sysdeps/unix/sysv/linux/kernel-features.h
21676 (__ASSUME_POSIX_TIMERS): Remove.
21677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21679 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21680 Make code unconditional.
21681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21682 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21683 Make code unconditional.
21684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21685 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21686 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21688 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21689 Make code unconditional.
21690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21691 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21692 (__libc_missing_posix_timers): Remove.
21693
21694 2012-08-15 Roland McGrath <roland@hack.frob.com>
21695
21696 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21697 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21698
21699 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21700
21701 * elf/dl-sym.c: Include <stdlib.h>.
21702
21703 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21704 constants, which avoids warnings in 32-bit builds.
21705
21706 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21707 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21708
21709 * misc/lseek.c: File moved to ...
21710 * io/lseek.c: ... here.
21711
21712 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21713
21714 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21715 shifting LEN more than 31 bits at once.
21716
21717 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21718
21719 [BZ #14195]
21720 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21721 segmentation fault for a case of two empty input strings.
21722 * string/test-strncasecmp.c (check1): Renamed to...
21723 (bz12205): ...this.
21724 (bz14195): Add new testcase for two empty input strings and N > 0.
21725 (test_main): Call new testcase, adapt for renamed function.
21726
21727 2012-08-15 Andreas Jaeger <aj@suse.de>
21728
21729 [BZ #14090]
21730 * crypt/md5test2.c: New test, based on test supplied by Serge
21731 Belyshev <belyshev@depni.sinp.msu.ru>.
21732 * crypt/Makefile (xtests): Add md5test-giant..
21733 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21734
21735 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21736
21737 [BZ #14090]
21738 * crypt/md5.c (md5_process_block): Don't assume the buffer
21739 length is less than 2**32.
21740 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21741 length is less than 2**64.
21742
21743 2012-08-15 Roland McGrath <roland@hack.frob.com>
21744
21745 * string/str-two-way.h: Include <sys/param.h>.
21746 (MAX): Macro removed.
21747
21748 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21749 Move #define and #undef of memmove to just before and after
21750 including <string.h>.
21751
21752 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21753 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21754 and after including <string.h>. Move declarations of
21755 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21756 to before #include "string/memmove.c".
21757
21758 * include/dirent.h: Declare __getdirentries.
21759
21760 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21761 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21762
21763 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21764
21765 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21766 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21767 * sysdeps/i386/configure: Regenerated.
21768 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21769 STABS_CURRENT_FILE, and STABS_FUN.
21770 (END): Remove call to STABS_FUN_END.
21771 (STABS_CURRENT_FILE1): Delete.
21772 (STABS_CURRENT_FILE): Likewise.
21773 (STABS_FUN): Likewise.
21774 (STABS_FUN_END): Likewise.
21775 (STABS_FUN2): Likewise.
21776 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21777 * sysdeps/x86_64/configure: Regenerated.
21778
21779 2012-08-14 Roland McGrath <roland@hack.frob.com>
21780
21781 * elf/dl-open.c: Include <atomic.h>.
21782 * elf/dl-lookup.c: Likewise.
21783
21784 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21785
21786 * sysdeps/unix/sysv/linux/kernel-features.h
21787 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21788 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21789 unconditionally.
21790 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21791 unconditionally.
21792 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21793 condition on __ASSUME_CLONE_THREAD_FLAGS.
21794
21795 2012-08-14 Andreas Jaeger <aj@suse.de>
21796
21797 * sysdeps/i386/fpu/libm-test-ulps: Update.
21798
21799 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21800
21801 * include/atomic.h (atomic_exchange_and_add): Split into ...
21802 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21803 New atomic macros.
21804
21805 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21806
21807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21808
21809 2012-08-13 Jeff Law <law@redhat.com>
21810
21811 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21812 null byte in the output string.
21813
21814 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21815
21816 * sysdeps/unix/sysv/linux/kernel-features.h
21817 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21818 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21819 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21820 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21821 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21822 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21823 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21824
21825 2012-08-09 Jeff Law <law@redhat.com>
21826
21827 [BZ #13939]
21828 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21829 When avoid_arena is set, don't retry in the that arena. Pick the
21830 next one, whatever it might be.
21831 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21832 (arena_lock): Pass in new parameter to arena_get2.
21833 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21834 arena_get2.
21835 (__libc_malloc): Unify retrying after main arena failure with
21836 __libc_memalign version.
21837 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21838
21839 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 [BZ #14166]
21842 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21843 to __redirect_strstr.
21844 (__strstr_sse42): Use typeof __redirect_strstr.
21845 (__strstr_ia32): Likewise.
21846 (__libc_strstr): New prototype.
21847 (strstr): Renamed to ...
21848 (__libc_strstr): This.
21849 (strstr): New strong alias of __libc_strstr.
21850 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21851 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21852 __redirect_time.
21853 Include <time.h>.
21854 (__libc_time): New prototype.
21855 (time_ifunc): Replace time with __libc_time.
21856 (time): New strong alias and hidden definition of __libc_time.
21857 (__GI_time): Remove strong alias.
21858 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21859 Include <stddef.h>.
21860 (memmove): Redefined to __redirect_memmove.
21861 (__memmove_sse2): Use typeof __redirect_memmove.
21862 (__memmove_ssse3): Likewise.
21863 (__memmove_ssse3_back): Likewise.
21864 (__libc_memmove): New prototype.
21865 (memmove): Renamed to ...
21866 (__libc_memmove): This.
21867 (memmove): New strong alias of __libc_memmove.
21868
21869 2012-08-08 Mark Salter <msalter@redhat.com>
21870
21871 * elf/elf.h
21872 (R_MN10300_TLS_GD): Define.
21873 (R_MN10300_TLS_LD): Likewise.
21874 (R_MN10300_TLS_LDO): Likewise.
21875 (R_MN10300_TLS_GOTIE): Likewise.
21876 (R_MN10300_TLS_IE): Likewise.
21877 (R_MN10300_TLS_LE): Likewise.
21878 (R_MN10300_TLS_DTPMOD): Likewise.
21879 (R_MN10300_TLS_DTPOFF): Likewise.
21880 (R_MN10300_TLS_TPOFF): Likewise.
21881 (R_MN10300_SYM_DIFF): Likewise.
21882 (R_MN10300_ALIGN): Likewise.
21883 (R_MN10300_NUM): Update.
21884
21885 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21886
21887 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21888 Remove.
21889
21890 2012-08-08 Roland McGrath <roland@hack.frob.com>
21891
21892 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21893
21894 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21895 sysdeps/unix -> sysdeps/posix move.
21896 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21897
21898 2012-08-07 Allan McRae <allan@archlinux.org>
21899
21900 [BZ #14303]
21901 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21902 (SUNOS_CPP): Likewise.
21903 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21904 not found.
21905 (open_input): Call CPP using execvp.
21906
21907 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21908
21909 * sysdeps/unix/sysv/linux/kernel-features.h
21910 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21911 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21912 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21913 (__ASSUME_WAITID_SYSCALL): Likewise.
21914 * sysdeps/unix/sysv/linux/dl-execstack.c
21915 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21916 code unconditional.
21917 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21918 conditional code.
21919 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21920 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21921 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21922 code.
21923 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21924 unconditional.
21925 [__ASSUME_WAITID_SYSCALL]: Likewise.
21926 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21927
21928 2012-08-07 Roland McGrath <roland@hack.frob.com>
21929
21930 * sysdeps/unix/closedir.c: Renamed to ...
21931 * sysdeps/posix/closedir.c: ... here.
21932 * sysdeps/unix/dirfd.c: Renamed to ...
21933 * sysdeps/posix/dirfd.c: ... here.
21934 * sysdeps/unix/dirstream.h: Renamed to ...
21935 * sysdeps/posix/dirstream.h: ... here.
21936 * sysdeps/unix/fdopendir.c: Renamed to ...
21937 * sysdeps/posix/fdopendir.c: ... here.
21938 * sysdeps/unix/opendir.c: Renamed to ...
21939 * sysdeps/posix/opendir.c: ... here.
21940 * sysdeps/unix/readdir.c: Renamed to ...
21941 * sysdeps/posix/readdir.c: ... here.
21942 * sysdeps/unix/readdir_r.c: Renamed to ...
21943 * sysdeps/posix/readdir_r.c: ... here.
21944 * sysdeps/unix/rewinddir.c: Renamed to ...
21945 * sysdeps/posix/rewinddir.c: ... here.
21946 * sysdeps/unix/seekdir.c: Renamed to ...
21947 * sysdeps/posix/seekdir.c: ... here.
21948 * sysdeps/unix/telldir.c: Renamed to ...
21949 * sysdeps/posix/telldir.c: ... here.
21950 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21951 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21952 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21953 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21954
21955 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21956 * bits/fcntl.h: ... here.
21957
21958 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21959 not 0.
21960 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21961 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21962 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21963 (struct flock): Move l_start, l_len to the beginning.
21964 Use __pid_t for l_pid.
21965 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21966 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21967 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21968 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21969 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21970 [__USE_LARGEFILE64] (struct flock64): New type.
21971 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21972
21973 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21974 * bits/dirent.h: ... here.
21975
21976 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21977 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21978
21979 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21980
21981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21982 Change from 2.6.0 to 2.6.16.
21983 * sysdeps/unix/sysv/linux/configure: Regenerated.
21984 * sysdeps/unix/sysv/linux/kernel-features.h
21985 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21986 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21987 version.
21988 (__ASSUME_UTIMES): Likewise.
21989 (__ASSUME_CLONE_STOPPED): Remove.
21990 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21991 architectures, not kernel version.
21992 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21993 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21994 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21995 (__ASSUME_WAITID_SYSCALL): Likewise.
21996 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21997 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21998 * README: State 2.6.16 as minimum Linux kernel version. Do not
21999 refer to older versions.
22000
22001 2012-08-06 Roland McGrath <roland@hack.frob.com>
22002
22003 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22004 Define alphasort64 as an alias.
22005 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22006 Define versionsort64 as an alias.
22007 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22008 Define scandir64 as an alias.
22009 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22010 Define scandirat64 as an alias.
22011 * dirent/alphasort64.c (alphasort64):
22012 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22013 * dirent/versionsort64.c: Likewise.
22014 * dirent/scandir64.c: Likewise.
22015 * dirent/scandirat64.c: Likewise.
22016 * sysdeps/wordsize-64/alphasort.c: File removed.
22017 * sysdeps/wordsize-64/alphasort64.c: File removed.
22018 * sysdeps/wordsize-64/scandir.c: File removed.
22019 * sysdeps/wordsize-64/scandir64.c: File removed.
22020 * sysdeps/wordsize-64/scandirat.c: File removed.
22021 * sysdeps/wordsize-64/scandirat64.c: File removed.
22022 * sysdeps/wordsize-64/versionsort.c: File removed.
22023 * sysdeps/wordsize-64/versionsort64.c: File removed.
22024 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22025 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22026 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22027 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22028 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22029 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22030 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22031 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22032
22033 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22035 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22037 [defined __arch64__ || defined __sparcv9]
22038 (__INO_T_MATCHES_INO64_T): New macro.
22039 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22040 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22041 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22042 * sysdeps/unix/sysv/linux/bits/dirent.h
22043 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22044 (_DIRENT_MATCHES_DIRENT64): New macro.
22045
22046 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22047 Define lockf64 as an alias.
22048 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22049 Define fseeko64 as an alias.
22050 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22051 Define ftello64 as an alias.
22052 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22053 Define _IO_fgetpos64 and fgetpos64 as aliases.
22054 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22055 Define _IO_fsetpos64 and fsetpos64 as aliases.
22056 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22057 Conditionalize body on this.
22058 * libio/fseeko64.c: Likewise.
22059 * libio/ftello64.c: Likewise.
22060 * libio/iofgetpos64.c: Likewise.
22061 * libio/iofsetpos64.c: Likewise.
22062 * sysdeps/wordsize-64/lockf.c: File removed.
22063 * sysdeps/wordsize-64/lockf64.c: File removed.
22064 * sysdeps/wordsize-64/fseeko.c: File removed.
22065 * sysdeps/wordsize-64/fseeko64.c: File removed.
22066 * sysdeps/wordsize-64/ftello.c: File removed.
22067 * sysdeps/wordsize-64/ftello64.c: File removed.
22068 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22069 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22070 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22071 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22072 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22073 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22074 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22075 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22076 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22077 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22078 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22080 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22081 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22082
22083 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22084 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22085 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22087 [defined __arch64__ || defined __sparcv9]
22088 (__OFF_T_MATCHES_OFF64_T): New macro.
22089 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22090 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22092 (__OFF_T_MATCHES_OFF64_T): New macro.
22093
22094 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22095
22096 * stdlib/secure-getenv.c (__secure_getenv): Replace
22097 GLIBC_2_16 with GLIBC_2_17.
22098
22099 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22100
22101 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22103
22104 2012-08-03 David S. Miller <davem@davemloft.net>
22105
22106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22107
22108 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22109
22110 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22111 Remove.
22112 (__ASSUME_CORRECT_SI_PID): Likewise.
22113 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22114 (__ASSUME_TMPFS_NAME): Likewise.
22115 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22116 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22117 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22118 (HAVE_AUX_SECURE): Make definition unconditional.
22119 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22120 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22121
22122 2012-08-03 Roland McGrath <roland@hack.frob.com>
22123
22124 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22125 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22126 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22127 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22128 __eloop_threshold instead of SYMLOOP_MAX.
22129
22130 * sysdeps/generic/eloop-threshold.h: New file.
22131 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22132 of MAXSYMLINKS.
22133 * elf/chroot_canon.c (chroot_canon): Likewise.
22134
22135 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22136
22137 [BZ #13717]
22138 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22139 Change to 2.6.0 everywhere.
22140 * sysdeps/unix/sysv/linux/configure: Regenerated.
22141 * sysdeps/unix/sysv/linux/kernel-features.h
22142 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22143 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22144 kernel versions.
22145 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22146 (__ASSUME_FUTEX_REQUEUE): Remove.
22147 (__ASSUME_STATFS64): Define unconditionally.
22148 (__ASSUME_AT_SECURE): Likewise.
22149 (__ASSUME_CORRECT_SI_PID): Likewise.
22150 (__ASSUME_TGKILL): Define without depending on kernel version for
22151 i386.
22152 (__ASSUME_UTIMES): Likewise.
22153 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22154 kernel version.
22155 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22156 (__ASSUME_TMPFS_NAME): Likewise.
22157 * README: Update reference to Linux kernel versions.
22158
22159 2012-08-02 Marek Polacek <polacek@redhat.com>
22160
22161 [BZ# 14150]
22162 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22163 libc_cv_asm_type_prefix with %.
22164 * configure: Regenerated.
22165 * include/libc-symbols.h: Remove comment about
22166 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22167 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22168 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22169 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22170 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22171 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22172 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22173 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22174 * elf/tst-unique2mod1.c: Likewise.
22175 * elf/tst-unique1mod2.c: Likewise.
22176 * elf/tst-unique1mod1.c: Likewise.
22177 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22178 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22179 Replace ASM_TYPE_DIRECTIVE with .type.
22180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22181 * sysdeps/i386/sysdep.h: Likewise.
22182 * sysdeps/x86_64/sysdep.h: Likewise.
22183 * sysdeps/sh/sysdep.h: Likewise.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22185 Do not define ASM_TYPE_DIRECTIVE.
22186 * sysdeps/powerpc/sysdep.h: Likewise.
22187 * sysdeps/powerpc/powerpc32/sysdep.h:
22188 Replace ASM_TYPE_DIRECTIVE with .type.
22189 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22190 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22191 * sysdeps/i386/fpu/e_powf.S: Likewise.
22192 * sysdeps/i386/fpu/e_expl.S: Likewise.
22193 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22194 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22195 * sysdeps/i386/fpu/e_pow.S: Likewise.
22196 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22197 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22198 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22199 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22200 * sysdeps/i386/fpu/e_log2.S: Likewise.
22201 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22202 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22203 * sysdeps/i386/fpu/e_powl.S: Likewise.
22204 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22205 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22206 * sysdeps/i386/fpu/e_logl.S: Likewise.
22207 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22208 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22209 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22210 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22211 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22212 * sysdeps/i386/fpu/e_log.S: Likewise.
22213 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22214 * sysdeps/i386/fpu/e_logf.S: Likewise.
22215 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22216 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22217 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22218 * sysdeps/i386/fpu/e_log10.S: Likewise.
22219 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22220 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22221 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22222 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22223 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22224 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22225 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22226 * sysdeps/i386/i686/strtok.S: Likewise.
22227 * sysdeps/i386/i386-mcount.S: Likewise.
22228 * sysdeps/i386/strtok.S: Likewise.
22229 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22230 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22231 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22232 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22233 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22234 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22235 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22236 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22237 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22238 * sysdeps/x86_64/_mcount.S: Likewise.
22239 * sysdeps/x86_64/strtok.S: Likewise.
22240 * sysdeps/sh/_mcount.S: Likewise.
22241
22242 2012-08-01 Roland McGrath <roland@hack.frob.com>
22243
22244 * libio/iofopen.c: Include <fcntl.h>.
22245 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22246 (_IO_fopen64, fopen64): Define as aliases.
22247 * libio/iofopen64.c: Include <fcntl.h>.
22248 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22249 Conditionalize body on this.
22250 * sysdeps/wordsize-64/iofopen.c: File removed.
22251 * sysdeps/wordsize-64/iofopen64.c: File removed.
22252
22253 2012-08-01 Marek Polacek <polacek@redhat.com>
22254
22255 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22256 Use dlfcn directly instead of a variable.
22257 (binfmt-subdir): Do not define.
22258 (dlfcn): Likewise.
22259
22260 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22261
22262 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22263 Remove all definitions.
22264 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22265 <kernel-features.h>.
22266 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22267 (miss_F_GETOWN_EX): Remove all definitions.
22268 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22269 macro definition.
22270 [!__ASSUME_FCNTL64]: Remove conditional code.
22271 [__ASSUME_FCNTL64]: Make code unconditional.
22272 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22273 <kernel-features.h>.
22274 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22275 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22276 (lockf64) [__NR_fcntl64]: Make code unconditional.
22277 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22278
22279 * sysdeps/unix/sysv/linux/kernel-features.h
22280 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22281 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22282 Make code unconditional.
22283 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22284 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22286 [__NR_vfork]: Make code unconditional.
22287 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22288 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22290 [__NR_vfork]: Make code unconditional.
22291 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22292 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22293
22294 2012-08-01 Roland McGrath <roland@hack.frob.com>
22295
22296 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22297 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22298
22299 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22300 Define mkstemp64 as an alias.
22301 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22302 Define mkstemps64 as an alias.
22303 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22304 Define mkostemp64 as an alias.
22305 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22306 Define mkostemps64 as an alias.
22307 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22308 Conditionalize body on this.
22309 * misc/mkostemp64.c: Likewise.
22310 * misc/mkostemps64.c: Likewise.
22311 * misc/mkstemps64.c: Likewise.
22312 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22313 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22314 * sysdeps/wordsize-64/mkostemp.c: File removed.
22315 * sysdeps/wordsize-64/mkstemp.c: File removed.
22316 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22317 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22318 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22319 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22320
22321 [BZ #14138]
22322 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22323 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22324 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22325 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22326
22327 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22328 compat_symbol macros from <shlib-compat.h> rather than the underlying
22329 default_symbol_version and symbol_version macros, so that DEFAULT
22330 lines in shlib-versions are respected.
22331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22332
22333 2012-08-01 Florian Weimer <fweimer@redhat.com>
22334
22335 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22336 Declare with warn_unused_result.
22337 (setgid, setregid, setegid, setresgid): Likewise.
22338 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22339 Likewise.
22340 * WUR-REPORT: Remove set*id functions.
22341
22342 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22343
22344 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22345
22346 2012-07-31 Roland McGrath <roland@hack.frob.com>
22347
22348 [BZ #10191]
22349 * include/sys/socket.h (__libc_accept, __libc_accept4):
22350 Add attribute_hidden.
22351 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22352
22353 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22354 use of PTR_MANGLE.
22355 * inet/getnetgrent_r.c (setup): Likewise.
22356
22357 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22358
22359 2012-07-31 David S. Miller <davem@davemloft.net>
22360
22361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22362
22363 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22364
22365 [BZ #13629]
22366 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22367 value between 1.0 and 2.0 and smaller part has absolute value less
22368 than 1.0.
22369 * math/s_clog10.c (__clog10): Likewise.
22370 * math/s_clog10f.c (__clog10f): Likewise.
22371 * math/s_clog10l.c (__clog10l): Likewise.
22372 * math/s_clogf.c (__clogf): Likewise.
22373 * math/s_clogl.c (__clogl): Likewise.
22374 * math/libm-test.inc (clog_test): Add more tests.
22375 (clog10_test): Likewise.
22376 * sysdeps/i386/fpu/libm-test-ulps: Update.
22377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22378
22379 2012-07-31 Florian Weimer <fweimer@redhat.com>
22380
22381 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22382 Exit with zero in case no suitable GID is found, and write a
22383 message to standard error.
22384
22385 2012-07-30 Roland McGrath <roland@hack.frob.com>
22386
22387 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22388 rather than to 1.
22389 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22390 (MAXPATHLEN): Removed.
22391 (NOGROUP, NODEV): New macros.
22392 (setbit, clrbit, isset, isclr): New macros.
22393 (howmany, roundup, powerof2): New macros.
22394 (DEV_BSIZE): New macro.
22395
22396 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22397 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22398
22399 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22400 definition on [!__NO_LONG_DOUBLE_MATH].
22401
22402 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22403 PTR_MANGLE and PTR_DEMANGLE.
22404
22405 * socket/accept4.c (accept4): Rename to __libc_accept4.
22406 Define accept4 as a weak alias.
22407
22408 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22409 on [_DIRENT_HAVE_D_TYPE].
22410 * io/ftw.c (ftw_dir): Likewise.
22411
22412 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22413
22414 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22415
22416 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22417 Use the BSD numbers rather than the arbitrary ones we had.
22418 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22419 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22420 (SIGXCPU, SIGXFSZ): New macros.
22421 (_NSIG): Now 32.
22422
22423 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22424 initializer on [_LIBC_REENTRANT].
22425
22426 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22427 definitions inside [_POSIX_MAPPED_FILES].
22428
22429 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22430
22431 * dirent/opendir.c: Include <fcntl.h>.
22432
22433 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22434 (__libc_getspecific): Likewise.
22435 (__libc_key_create): Likewise.
22436
22437 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22438 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22439 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22440 (tmpfile64): Define as alias.
22441 * sysdeps/wordsize-64/tmpfile.c: File removed.
22442 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22443 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22445
22446 * stdio-common/vfscanf.c: Include <stdbool.h>.
22447 * nss/makedb.c: Likewise.
22448 * stdio-common/_i18n_number.h: Likewise.
22449 * argp/argp-help.c: Likewise.
22450 * posix/wordexp.c: Likewise.
22451 * sysdeps/posix/spawni.c: Likewise.
22452 * nss/nss_files/files-initgroups.c: Likewise.
22453 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22454 * nss/nss_files/files-initgroups.c: Likewise.
22455 * nss/nss_db/db-netgrp.c: Likewise.
22456 * nss/nss_db/db-initgroups.c: Likewise.
22457 * io/fchmodat.c: Include <sys/stat.h>.
22458
22459 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22460 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22461
22462 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22463 [HAVE_MMAP].
22464
22465 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22466 Add multiple inclusion protection.
22467
22468 2012-07-27 David S. Miller <davem@davemloft.net>
22469
22470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22471
22472 2012-07-27 Gary Benson <gbenson@redhat.com>
22473
22474 [BZ #14298]
22475 * elf/rtld.c: Include <stap-probe.h>.
22476 (dl_main): Added static probes "init_start" and "init_complete".
22477 * elf/dl-load.c: Include <stap-probe.h>.
22478 (lose): Take new parameter "nsid".
22479 Added static probe "map_failed".
22480 (_dl_map_object_from_fd): Pass namespace id to lose.
22481 Added static probe "map_start".
22482 (open_verify): Pass namespace id to lose.
22483 * elf/dl-open.c: Include <stap-probe.h>.
22484 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22485 and "reloc_complete".
22486 * elf/dl-close.c: Include <stap-probe.h>.
22487 (_dl_close_worker): Added static probes "unmap_start" and
22488 "unmap_complete".
22489 * elf/rtld-debugger-interface.txt: New file documenting the above.
22490
22491 2012-07-26 Roland McGrath <roland@hack.frob.com>
22492
22493 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22494 rather than a string variable.
22495 * sunrpc/rpc_main.c (h_output): Likewise.
22496 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22497
22498 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22499
22500 * inet/check_native.c: New file.
22501
22502 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22503
22504 [BZ #13629]
22505 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22506 if larger part has absolute value 1.0.
22507 * math/s_clog10.c (__clog10): Likewise.
22508 * math/s_clog10f.c (__clog10f): Likewise.
22509 * math/s_clog10l.c (__clog10l): Likewise.
22510 * math/s_clogf.c (__clogf): Likewise.
22511 * math/s_clogl.c (__clogl): Likewise.
22512 * math/libm-test.inc (clog_test): Add more tests.
22513 (clog10_test): Likewise.
22514 * sysdeps/i386/fpu/libm-test-ulps: Update.
22515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22516
22517 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22518 (pltexit): Likewise.
22519 (La_regs): Likewise.
22520 (La_retval): Likewise.
22521 (int_retval): Likewise.
22522 Update #error for removed macros to refer only to definitions in
22523 tst-audit.h.
22524 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22525 macro.
22526 (pltexit): Likewise.
22527 (La_regs): Likewise.
22528 (La_retval): Likewise.
22529 (int_retval): Likewise.
22530 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22531 macro.
22532 (pltexit): Likewise.
22533 (La_regs): Likewise.
22534 (La_retval): Likewise.
22535 (int_retval): Likewise.
22536 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22537 macro.
22538 (pltexit): Likewise.
22539 (La_regs): Likewise.
22540 (La_retval): Likewise.
22541 (int_retval): Likewise.
22542 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22543 macro.
22544 (pltexit): Likewise.
22545 (La_regs): Likewise.
22546 (La_retval): Likewise.
22547 (int_retval): Likewise.
22548 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22549 macro.
22550 (pltexit): Likewise.
22551 (La_regs): Likewise.
22552 (La_retval): Likewise.
22553 (int_retval): Likewise.
22554 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22555 macro.
22556 (pltexit): Likewise.
22557 (La_regs): Likewise.
22558 (La_retval): Likewise.
22559 (int_retval): Likewise.
22560 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22561 macro definitions in tst-audit.h.
22562 * sysdeps/i386/tst-audit.h: New file.
22563 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22564 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22565 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22566 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22567 * sysdeps/sh/tst-audit.h: Likewise.
22568 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22569 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22570 * sysdeps/x86_64/tst-audit.h: Likewise.
22571
22572 2012-07-26 Andreas Jaeger <aj@suse.de>
22573
22574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22575 ptrace.
22576
22577 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22578 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22579 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22580 PTRACE_O_MASK.
22581 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22582 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22583 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22584
22585 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22586 value.
22587
22588 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22589 _sigsys.
22590 (si_call_addr, si_syscall, si_arch): Define new macro.
22591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22592 _sigsys.
22593 (si_call_addr, si_syscall, si_arch): Define new marcro.
22594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22595 _sigsys.
22596 (si_call_addr, si_syscall, si_arch): Define new macro.
22597 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22598 _sigsys.
22599 (si_call_addr, si_syscall, si_arch): Define new macro.
22600
22601 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22602
22603 [BZ #13717]
22604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22605 Change to 2.4.21 where previously 2.4.1.
22606 * sysdeps/unix/sysv/linux/configure: Regenerated.
22607 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22608 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22609 Linux kernel version.
22610 (__ASSUME_STD_AUXV): Remove.
22611 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22612 kernel version.
22613 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22614 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22615 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22616 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22617 (__ASSUME_NETLINK_SUPPORT): Likewise.
22618 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22619 (__no_netlink_support): Remove conditional definition.
22620 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22621 Remove.
22622 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22623 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22624 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22625 (if_nameindex_ioctl): Remove.
22626 (if_nameindex_netlink): Do not handle __no_netlink_support.
22627 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22628 code.
22629 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22630 Remove conditional code.
22631 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22632 code.
22633 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22634 unconditional.
22635 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22636 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22637 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22638 Remove.
22639 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22640 [!__ASSUME_STD_AUXV]: Remove conditional code.
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22642 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22643 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22645 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22646 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22647 code.
22648 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22650 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22651 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22652 conditional code.
22653 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22655 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22656 code.
22657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22658 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22659 conditional code.
22660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22661 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22662 code unconditional.
22663 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22664 conditional code.
22665 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22666 unconditional.
22667 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22668 conditional code.
22669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22670 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22671 unconditional.
22672 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22673 conditional code.
22674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22675 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22676 code unconditional.
22677 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22678 conditional code.
22679 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22680 unconditional.
22681 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22682 conditional code.
22683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22684 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22685 code unconditional.
22686 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22687 conditional code.
22688 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22689 unconditional.
22690 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22691 conditional code.
22692
22693 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22694
22695 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22696 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22697 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22698 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22699 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22700 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22701 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22702 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22703 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22704 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22705 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22706 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22707 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22708 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22709 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22710 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22711 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22712 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22713 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22715 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22716 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22717 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22718
22719 2012-07-25 Florian Weimer <fweimer@redhat.com>
22720
22721 * Versions.def: Add GLIBC_2.17.
22722 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22723 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22724 Introduce __libc_secure_getenv.
22725 * stdlib/Versions (2.17): Add secure_getenv
22726 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22727 * stdlib/secure-getenv.c: Rename __secure_getenv to
22728 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22729 symbol __secure_getenv for GLIBC_2.0.
22730 * stdlib/tst-secure-getenv.c: New.
22731 * stdlib/Makefile (tests): Add testcase.
22732 * manual/startup.texi (Environment Access): Document
22733 secure_getenv.
22734 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22735 __libc_secure_getenv.
22736 * inet/ruserpass.c (ruserpass): Likewise.
22737 * malloc/mtrace.c (mtrace): Likewise.
22738 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22739 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22740 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22741 * sysdeps/posix/tempname.c: Likewise. Evaluate
22742 HAVE_SECURE_GETENV.
22743 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22744 __secure_getenv to __libc_secure_getenv.
22745 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22747 Likewise.
22748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22749 Likewise.
22750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22757
22758 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22759
22760 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22761 (struct La_i86_retval): Likewise.
22762 (struct La_x86_64_regs): Likewise.
22763 (struct La_x86_64_retval): Likewise.
22764 (struct La_x32_regs): Likewise.
22765 (struct La_x32_retval): Likewise.
22766 (struct La_ppc32_regs): Likewise.
22767 (struct La_ppc32_retval): Likewise.
22768 (struct La_ppc64_regs): Likewise.
22769 (struct La_ppc64_retval): Likewise.
22770 (struct La_sh_regs): Likewise.
22771 (struct La_sh_retval): Likewise.
22772 (struct La_s390_32_regs): Likewise.
22773 (struct La_s390_32_retval): Likewise.
22774 (struct La_s390_64_regs): Likewise.
22775 (struct La_s390_64_retval): Likewise.
22776 (struct La_sparc32_regs): Likewise.
22777 (struct La_sparc32_retval): Likewise.
22778 (struct La_sparc64_regs): Likewise.
22779 (struct La_sparc64_retval): Likewise.
22780 (struct audit_ifaces): Remove architecture-specific pltenter and
22781 pltexit members.
22782 * sysdeps/i386/ldsodefs.h: New file.
22783 * sysdeps/powerpc/ldsodefs.h: Likewise.
22784 * sysdeps/s390/ldsodefs.h: Likewise.
22785 * sysdeps/sh/ldsodefs.h: Likewise.
22786 * sysdeps/sparc/ldsodefs.h: Likewise.
22787 * sysdeps/x86_64/ldsodefs.h: Likewise.
22788
22789 2012-07-25 Marek Polacek <polacek@redhat.com>
22790
22791 [BZ #6808]
22792 * math/libm-test.inc (yn_test): Add another test.
22793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22794 to ERANGE when the result is +-Inf.
22795 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22796 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22797 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22798 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22799
22800 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22801
22802 * conform/data/time.h-data (NULL): Use macro-constant. Require
22803 equal to 0.
22804 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22805 clock_t.
22806 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22807
22808 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22809
22810 * configure.in <sysdeps resolving>: Correct printing
22811 Implies_before.
22812 * configure: Regenerate.
22813
22814 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22815
22816 * math/w_ilogb.c: Include <limits.h>.
22817 * math/w_ilogbl.c: Likewise.
22818
22819 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22820
22821 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22822 va_copy. Document allowing for unavailable va_copy only as
22823 pre-C99 compatibility.
22824 * manual/string.texi (Copying and Concatenation): Use va_copy
22825 instead of __va_copy in concat example.
22826
22827 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22828
22829 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22830 (__sendto): Use create_address_port. Initialize APORT and deallocate
22831 it if not null.
22832
22833 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22834 with O_NOLINK passed to __file_name_lookup.
22835
22836 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22837 with O_NOLINK passed to __file_name_lookup.
22838
22839 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22840 negative N or less than NGIDS.
22841
22842 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22843 type to string_t. Set ERANGE as errno and return it if NAME is not big
22844 enough. Use memcpy instead of strncpy.
22845
22846 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22847
22848 * elf/Makefile (check-data): Remove.
22849 (localplt.data): New vpath directive.
22850 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22851 instead of $(check-data).
22852 * scripts/data/localplt-generic.data: Move to ...
22853 * sysdeps/generic/localplt.data: ... here.
22854 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22855 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22856 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22858 ... here.
22859 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22861 ... here.
22862 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22864 ... here.
22865 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22867 ... here.
22868 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22870 ... here.
22871 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22873 ... here.
22874
22875 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22876
22877 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22878 PPC32 and PPC64 files.
22879 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22880 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22881
22882 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22883
22884 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22885 __makecontext_ret to ...
22886 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22887 ... here and call exit if uc_link is NULL. New file.
22888 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22889 __makecontext_ret.S.
22890 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22891 __makecontext_ret to ...
22892 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22893 ... here and call exit if uc_link is NULL. New file.
22894 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22895 __makecontext_ret.S.
22896
22897 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22898
22899 * elf/elf.h (R_390_IRELATIVE): New definition.
22900 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22901 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22902 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22904 (elf_machine_lazy_rel): Likewise.
22905 * sysdeps/s390/dl-irel.h: New file.
22906 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22907 * sysdeps/s390/s390-64/memset.S: New asm code.
22908 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22909 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22910 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22911 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22912 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22913 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22914 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22915 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22916 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22917 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22918 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22919 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22920 * sysdeps/s390/s390-32/memset.S: New asm code.
22921 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22922
22923 2012-07-17 Marek Polacek <polacek@redhat.com>
22924
22925 [BZ #14349]
22926 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22927 * sysdeps/s390/s390-64/configure.in: Likewise.
22928 * sysdeps/sparc/configure.in: Likewise.
22929 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22930 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22931 * sysdeps/i386/configure.in: Likewise.
22932 * sysdeps/x86_64/configure.in: Likewise.
22933 * sysdeps/sh/configure.in: Likewise.
22934 * sysdeps/s390/s390-32/configure: Regenerated.
22935 * sysdeps/s390/s390-64/configure: Likewise.
22936 * sysdeps/x86_64/configure: Likewise.
22937 * sysdeps/sh/configure: Likewise.
22938 * sysdeps/powerpc/powerpc64/configure: Likewise.
22939 * sysdeps/powerpc/powerpc32/configure: Likewise.
22940 * sysdeps/sparc/configure: Likwise.
22941 * sysdeps/i386/configure: Likewise.
22942
22943 * elf/dl-open.c: Comment fixes.
22944
22945 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22946
22947 * Makefile [CXX] (check-data): Remove.
22948 [CXX] (c++-types.data): New vpath directive.
22949 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22950 vpath. Do not allow for C++ type data being missing.
22951 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22952 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22953 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22954 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22955 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22956 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22957 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22959 ... here.
22960 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22962 ... here.
22963 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22965 ... here.
22966 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22968 ... here.
22969 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22971 ... here.
22972 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22974 ... here.
22975 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22977 ... here.
22978 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22980
22981 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22982 definitions to architecture-specific files.
22983 (TLS_IE): Likewise.
22984 (TLS_LD): Likewise.
22985 (TLS_GD): Likewise.
22986 * sysdeps/i386/tls-macros.h: New file.
22987 * sysdeps/powerpc/tls-macros.h: Likewise.
22988 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22989 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22990 * sysdeps/sh/tls-macros.h: Likewise.
22991 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22992 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22993 * sysdeps/x86_64/tls-macros.h: Likewise.
22994
22995 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22996
22997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22998 zero value for regular exit case.
22999
23000 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23001 (__start_context): Preserve zero value for regular exit case.
23002
23003 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23004 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23005
23006 * manual/setjmp.texi (setcontext): Clarify normal process
23007 termination when uc_link is the null pointer.
23008 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23009 exit call.
23010
23011 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23012
23013 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23014 preprocessor. Test for each exception mask separately.
23015
23016 2012-07-16 Andreas Jaeger <aj@suse.de>
23017
23018 * po/ru.po: Update from translation team.
23019
23020 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23021
23022 * conform/data/string.h-data (NULL): Use macro-constant. Require
23023 equal to 0.
23024 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23025 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23026 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23027 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23029
23030 2012-07-13 Andreas Jaeger <aj@suse.de>
23031
23032 * po/fr.po: Update from translation team.
23033
23034 2012-07-12 Marek Polacek <polacek@redhat.com>
23035
23036 [BZ #14173]
23037 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23038 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23039 loop condition.
23040
23041 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23042
23043 [BZ #13717]
23044 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23045 Change to 2.4.1 where previously 2.4.0.
23046 * sysdeps/unix/sysv/linux/configure: Regenerated.
23047 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23048 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23049 version.
23050 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23051 (__ASSUME_AT_CLKTCK): Remove.
23052 (__ASSUME_AT_PAGESIZE): Likewise.
23053 (__ASSUME_AT_XID): Likewise.
23054 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23055 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23056 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23057 unconditionally.
23058 (HAVE_AUX_PAGESIZE): Likewise.
23059 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23060 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23061 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23062
23063 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23064
23065 [BZ #14307]
23066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23067 the temporary buffer used to invoke __gethostbyname2_r,
23068 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23069 host_data / struct gaih_addrtuple.
23070 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23071 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23072 header file nss/nsswitch.h.
23073 * nss/nsswitch.h (global scope): Add definition of implementation
23074 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23075 resolv/nss_dns/dns-host.c).
23076
23077 2012-07-11 Andreas Jaeger <aj@suse.de>
23078
23079 * po/fr.po: Update from translation team.
23080
23081 * po/sv.po: Update from translation team
23082 * po/fr.po: Another update from translation team.
23083
23084 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23085
23086 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23087 for subnormals or multiply small sinh result by itself.
23088 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23090
23091 2012-07-11 David S. Miller <davem@davemloft.net>
23092
23093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23094
23095 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23096
23097 [BZ #14347]
23098 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23099 (INTERNAL_MARK): Shift it here.
23100
23101 2012-07-10 Marek Polacek <polacek@redhat.com>
23102
23103 [BZ #14151]
23104 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23105 libc_cv_asm_global_directive with .globl.
23106 * configure: Regenerated.
23107 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23108 with .globl.
23109 * sysdeps/i386/configure: Regenerated.
23110 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23111 with .globl.
23112 * sysdeps/x86_64/configure: Regenerated.
23113 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23114 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23115 * elf/tst-unique2mod2.c: Likewise.
23116 * elf/tst-unique2mod1.c: Likewise.
23117 * elf/tst-unique1mod2.c: Likewise.
23118 * elf/tst-unique1mod1.c: Likewise.
23119 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23120 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23121 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23122 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23123 * sysdeps/mach/sysdep.h: Likewise.
23124 * sysdeps/i386/sysdep.h: Likewise.
23125 * sysdeps/i386/i386-mcount.S: Likewise.
23126 * sysdeps/x86_64/_mcount.S: Likewise.
23127 * sysdeps/x86_64/sysdep.h: Likewise.
23128 * sysdeps/sh/_mcount.S: Likewise.
23129 * sysdeps/sh/sysdep.h: Likewise.
23130 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23131 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23132 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23133 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23134 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23135 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23136 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23137 * locale/localeinfo.h: Likewise.
23138 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23139 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23140
23141 2012-07-09 Roland McGrath <roland@hack.frob.com>
23142
23143 [BZ #14336]
23144 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23145 system".
23146 * manual/message.texi (The Uniforum approach): Likewise.
23147 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23148 (glibc iconv Implementation): Likewise.
23149
23150 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23151
23152 [BZ #14337]
23153 * math/s_clog.c (__clog): Avoid scaling a value down where that
23154 could result in underflow.
23155 * math/s_clog10.c (__clog10): Likewise.
23156 * math/s_clog10f.c (__clog10f): Likewise.
23157 * math/s_clog10l.c (__clog10l): Likewise.
23158 * math/s_clogf.c (__clogf): Likewise.
23159 * math/s_clogl.c (__clogl): Likewise.
23160 * math/libm-test.inc (clog_test): Add more tests.
23161 (clog10_test): Likewise.
23162 * sysdeps/i386/fpu/libm-test-ulps: Update.
23163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23164
23165 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23166
23167 [BZ #14283]
23168 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23169 by 7 not 8 to examine high bit of fractional part.
23170
23171 [BZ #14042]
23172 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23173 for call to __mcount_internal.
23174 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23175 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23176 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23177
23178 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23179
23180 [BZ #14154]
23181 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23182 approximation for values within 0x1p-13f of an odd multiple of
23183 pi/4.
23184 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23185 exception. Add more tests.
23186 * sysdeps/i386/fpu/libm-test-ulps: Update.
23187
23188 [BZ #6778]
23189 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23190 inputs and return -1 for them. Do not check for +Inf in case not
23191 reachable for +Inf.
23192 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23193 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23194 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23195 and return -1 for them. Do not check for +Inf in case not
23196 reachable for +Inf.
23197 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23198 define.
23199 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23200 and return -1 for them. Do not check for +Inf in case not
23201 reachable for +Inf.
23202 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23203 spurious underflow.
23204 * sysdeps/i386/fpu/libm-test-ulps: Update.
23205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23206
23207 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23208
23209 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23210
23211 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23212
23213 [BZ #14157]
23214 [BZ #14331]
23215 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23216 could result in spurious underflow. Scale down values above
23217 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23218 * math/s_csqrtf.c (__csqrtf): Likewise.
23219 * math/s_csqrtl.c (__csqrtl): Likewise.
23220 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23221 spurious underflow.
23222 * sysdeps/i386/fpu/libm-test-ulps: Update.
23223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23224
23225 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23226
23227 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23228 xopen-msg.sed.
23229 * catgets/xopen-msg.awk: New file.
23230 * catgets/xopen-msg.sed: Removed.
23231
23232 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23233 po2text.sed.
23234 * intl/po2test.awk: New file.
23235 * intl/po2test.sed: Removed.
23236
23237 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23238
23239 [BZ #14328]
23240 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23241 or multiply small sinh result by itself.
23242 * math/s_ctanf.c (__ctanf): Likewise.
23243 * math/s_ctanh.c (__ctanh): Likewise.
23244 * math/s_ctanhf.c (__ctanhf): Likewise.
23245 * math/s_ctanhl.c (__ctanhl): Likewise.
23246 * math/s_ctanl.c (__ctanl): Likewise.
23247 * math/libm-test.inc (ctan_test_tonearest): New function.
23248 (ctan_test_towardzero): Likewise.
23249 (ctan_test_downward): Likewise.
23250 (ctan_test_upward): Likewise.
23251 (ctanh_test_tonearest): Likewise.
23252 (ctanh_test_towardzero): Likewise.
23253 (ctanh_test_downward): Likewise.
23254 (ctanh_test_upward): Likewise.
23255 (main): Call these new functions.
23256 * sysdeps/i386/fpu/libm-test-ulps: Update.
23257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23258
23259 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23260
23261 * .gitignore: Delete /ports entry.
23262
23263 2012-07-03 Andreas Jaeger <aj@suse.de>
23264
23265 * po/bg.po: Update from translation team.
23266 * po/cs.po: Likewise.
23267 * po/de.po: Likewise.
23268 * po/hr.po: Likewise.
23269 * po/nl.pl: Likewise.
23270 * po/pl.po: Likewise.
23271 * po/vi.po: Likewise.
23272
23273 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23274
23275 * Makeconfig [!+link] (+link-before-libc): New variable.
23276 [!+link] (+link-after-libc): Likewise.
23277 [!+link] (+link-tests): Likewise.
23278 [!+link] (+link): Define in terms of $(+link-before-libc) and
23279 $(+link-after-libc).
23280 [!+link-static] (+link-static-before-libc): New variable.
23281 [!+link-static] (+link-static-after-libc): Likewise.
23282 [!+link-static] (+link-static-tests): Likewise.
23283 [!+link-static] (+link-static): Define in terms of
23284 $(+link-static-before-libc) and $(+link-static-after-libc).
23285 [build-shared] (link-libc-before-gnulib): New variable.
23286 [build-shared] (link-libc-tests): Likewise.
23287 [build-shared] (link-libc): Define in terms of
23288 $(link-libc-before-gnulib).
23289 [!build-shared] (link-libc-tests): New variable.
23290 (link-libc-static-tests): New variable.
23291 [!gnulib] (gnulib-arch): New variable.
23292 [!gnulib] (gnulib-tests): Likewise.
23293 [!gnulib] (static-gnulib-arch): Likewise.
23294 [!gnulib] (static-gnulib-tests): Likewise.
23295 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23296 Define with "=" instead of ":=".
23297 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23298 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23299 * Rules (binaries-all-notests): New variable.
23300 (binaries-all-tests): Likewise.
23301 (binaries-static-notests): Likewise.
23302 (binaries-static-tests): Likewise.
23303 (binaries-all): Define using $(binaries-all-notests) and
23304 $(binaries-all-tests).
23305 (binaries-static): Define using $(binaries-static-notests) and
23306 $(binaries-static-tests).
23307 (binaries-shared-tests): New variable.
23308 (binaries-shared-notests): Likewise.
23309 (binaries-shared): Remove variable.
23310 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23311 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23312 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23313 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23314 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23315 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23316 * elf/Makefile (sln-modules): New variable.
23317 (extra-objs): Add $(sln-modules:=.o).
23318 (ldconfig-modules): Add static-stubs.
23319 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23320 * elf/static-stubs.c: New file.
23321
23322 [BZ #14283]
23323 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23324 by 7 not 8 to examine high bit of fractional part. Use volatile
23325 variables when splitting into final array of floats if
23326 __FLT_EVAL_METHOD__ != 0.
23327 * math/libm-test.inc (cos_test): Add another test.
23328 (sin_test): Likewise.
23329 * sysdeps/i386/fpu/libm-test-ulps: Update.
23330
23331 [BZ #14273]
23332 * math/libm-test.inc (cosh_test): Add more tests.
23333
23334 * version.h (RELEASE): Set to "development".
23335 (VERSION): Set to "2.16.90".
23336
23337 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23338
23339 * NEWS: Update copyright. Remove last-updated date.
23340 Mention math library bug fixes and timezone data changes.
23341 * README: Mention GNU/Hurd, x32, and HPPA support status.
23342
23343 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23344
23345 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23346
23347 2012-06-27 Andreas Jaeger <aj@suse.de>
23348
23349 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23350
23351 2012-06-25 Andreas Jaeger <aj@suse.de>
23352
23353 * sysdeps/s390/fpu/libm-test-ulps: Update.
23354
23355 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23356 Thomas Schwinge <thomas@codesourcery.com>
23357
23358 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23359 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23361 fanotify_mark.
23362
23363 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23364
23365 * sysdeps/mach/start.c: Remove file.
23366 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23367 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23368 * sysdeps/sh/init-first.c: Likewise.
23369
23370 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23371 registers for frame unwinding purposes, add CFI directives.
23372 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23373 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23374 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23375 Likewise.
23376
23377 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23378 __fortify_fail returning.
23379 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23380
23381 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23382 sysdeps/sh/____longjmp_chk.S.
23383 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23384 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23385 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23386 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23387
23388 * sysdeps/sh/abort-instr.h: New file.
23389 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23390 process in case exit returns.
23391
23392 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23393 initialize the GOT register before use.
23394
23395 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23396 calculation of ARGC > 4.
23397
23398 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23399 meaningful names to some local labels.
23400
23401 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23402 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23403
23404 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23405 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23406 (__arch_compare_and_exchange_val_16_acq): Likewise.
23407 (__arch_compare_and_exchange_val_32_acq): Likewise.
23408 (atomic_exchange_and_add): Fix gUSA sequence.
23409 (atomic_add): Likewise.
23410 (atomic_add_negative): Likewise.
23411 (atomic_add_zero): Likewise.
23412 (atomic_bit_test_set): Likewise.
23413
23414 2012-06-22 Andreas Schwab <schwab@redhat.com>
23415
23416 [BZ #13579]
23417 * include/link.h (struct link_map): Add l_free_initfini.
23418 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23419 l_initfini.
23420 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23421 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23422 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23423 set.
23424
23425 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23426
23427 * configure.in: Use AC_LANG_SOURCE.
23428 * configure: Regenerate.
23429
23430 2012-06-22 Roland McGrath <roland@hack.frob.com>
23431
23432 * configure.in (libc_cv_localstatedir): New substituted variable.
23433 * configure: Regenerated.
23434 * config.make.in (localstatedir): New variable, substituted from
23435 libc_cv_localstatedir.
23436 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23437 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23438 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23439 * sysdeps/gnu/configure: Regenerated.
23440
23441 2012-06-21 Jeff Law <law@redhat.com>
23442
23443 [BZ #14277]
23444 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23445 free. Simplify list management for _LIBC case.
23446
23447 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23448
23449 [BZ #14273]
23450 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23451 Clear sign bit of 64-bit integer value before comparing against
23452 overflow value.
23453
23454 * sysdeps/mach/configure: Regenerated.
23455
23456 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23457
23458 [BZ #14278]
23459 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23460
23461 2012-06-21 Jeff Law <law@redhat.com>
23462
23463 [BZ #13882]
23464 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23465 uint16_t for elements in the "seen" array to avoid char overflows.
23466 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23467 * elf/dl-open.c (dl_open_worker): Likewise.
23468
23469 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23470
23471 * scripts/list-sources.sh: Scan PORTS for translations.
23472 * po/libc.pot: Regenerated.
23473
23474 2012-06-21 Andreas Jaeger <aj@suse.de>
23475
23476 [BZ #12194]
23477 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23478 warning.
23479 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23480 * bits/byteswap-16.h (__bswap_16): Likewise.
23481 * bits/byteswap.h (__bswap_constant_16): Likewise.
23482
23483 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23484
23485 [BZ #14117]
23486 * sysdeps/i386/fpu_control.h: Removed.
23487 * sysdeps/x86_64/fpu_control.h: Moved to ...
23488 * sysdeps/x86/fpu_control.h: Here.
23489
23490 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23491 (_FPU_SETCW): Likewise.
23492
23493 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23494
23495 [BZ #14117]
23496 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23497 * sysdeps/x86/fpu/bits/mathinline.h: This.
23498 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23499
23500 [BZ #14050]
23501 [BZ #14117]
23502 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23503 functions if __x86_64__ is defined.
23504
23505 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23506
23507 * string/endian.h: Add !__ASSEMBLER__ condition for including
23508 conversion interfaces.
23509
23510 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23511
23512 [BZ #14241]
23513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23514 of ABS(x) in calculating zero to negative powers other than odd
23515 integers.
23516 * math/libm-test.inc (pow_test): Add more tests.
23517
23518 2012-06-15 Andreas Jaeger <aj@suse.de>
23519
23520 * manual/contrib.texi (Contributors): Update entry of Liubov
23521 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23522 Machado Filho.
23523
23524 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23525
23526 * string/string.h: Add __wur to GNU version of strerror_r.
23527
23528 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23529
23530 [BZ #14229]
23531 * string/Makefile (tests): Add tst-strtok_r.
23532 * string/tst-strtok_r.c: New file.
23533 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23534 RAX_LP/RDX_LP on SAVE_PTR.
23535
23536 2012-06-14 Roland McGrath <roland@hack.frob.com>
23537
23538 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23539
23540 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23541
23542 * libm_test.inc (csqrt_test): Allow more spurious underflow
23543 exceptions.
23544 (j0_test): Likewise.
23545 (j1_test): Likewise.
23546 (y0_test): Likewise.
23547 (y1_test): Likewise.
23548
23549 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23550
23551 * po/Makefile (libc.pot): Use UTF-8 charset.
23552
23553 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23554
23555 [BZ #14210]
23556 Suppress sign-conversion warning from FD_SET.
23557 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23558 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23559 not unsigned long int.
23560 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23561
23562 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23563
23564 [BZ #14050]
23565 [BZ #14117]
23566 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23567 __extern_always_inline instead of __extern_inline.
23568 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23569 (__signbit): Likewise.
23570 (__signbitl): Support C++ namespace.
23571 (lrintf): New inline function.
23572 (lrint): Likewise.
23573 (llrintf): Likewise.
23574 (llrint): Likewise.
23575 (fmaxf): Likewise.
23576 (fmax): Likewise.
23577 (fminf): Likewise.
23578 (fmin): Likewise.
23579 (rint): Likewise.
23580 (rintf): Likewise.
23581 (ceil): Likewise.
23582 (ceilf): Likewise.
23583 (floor): Likewise.
23584 (floorf): Likewise.
23585 (nearbyint): Likewise.
23586 (nearbyintf): Likewise.
23587
23588 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23589
23590 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23591 non-default versions.
23592
23593 2012-06-11 Roland McGrath <roland@hack.frob.com>
23594
23595 [BZ #14218]
23596 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23597
23598 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23599
23600 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23601 (FE_UPWARD, FE_DOWNWARD): Don't define.
23602 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23603 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23604
23605 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23606 reading it.
23607 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23608 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23609
23610 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23611
23612 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23614 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23615 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23616
23617 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23618
23619 [BZ #14117]
23620 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23621 * sysdeps/i386/fpu/Implies: New file.
23622 * sysdeps/x86_64/fpu/Implies: Likewise.
23623 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23624 * sysdeps/x86/fpu/bits/fenv.h: This.
23625
23626 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23627 __SSE_MATH__.
23628
23629 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23630
23631 [BZ #14134]
23632 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23633 character 0xffff that matches the last element of the
23634 conversion table.
23635
23636 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23637
23638 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23639 fmodl commit.
23640
23641 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23642
23643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23644 values higher than 25.6283.
23645
23646 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23647
23648 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23649 subnormal exponent extraction and add some __builtin_expect.
23650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23651 Fix for subnormal mantissa calculation.
23652
23653 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23654
23655 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23656 cpu2 is -1 and errno is not ENOSYS.
23657
23658 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 [BZ #14117]
23661 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23662 * sysdeps/x86/bits/string.h: This.
23663 * sysdeps/x86_64/bits/string.h: Removed.
23664
23665 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23666 if not compiling for x86-64, but compiling for >= i486.
23667
23668 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23669 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23670
23671 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23672 New macro from Linux kernel 3.4.0.
23673 (FP_XSTATE_MAGIC2): Likewise.
23674 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23675 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23676 (struct _fpx_sw_bytes): New struct.
23677 (struct _xsave_hdr): Likewise.
23678 (struct _ymmh_state): Likewise.
23679 (struct _xstate): Likewise.
23680
23681 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23682 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23683 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23684 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23685 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23686 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23687
23688 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23689 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23690 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23691 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23692 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23693 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23694
23695 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23696
23697 [BZ #13743]
23698 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23699 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23700 (sysdep_headers): Include sys/platform/ppc.h.
23701 * sysdeps/powerpc/test-gettimebase.c: Test for
23702 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23703 * manual/Makefile (appendices): Include platform.texi.
23704 * manual/contrib.texi (Contributors): Update @node pointers.
23705 * manual/maint.texi (Maintenance): Likewise.
23706 (Platform): New node.
23707 * manual/platform.texi: New file. Document the new features.
23708
23709 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23710 Jakub Jelinek <jakub@redhat.com>
23711
23712 [BZ #14188]
23713 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23714 where __builtin_expect is unavailable.
23715
23716 2012-06-03 David S. Miller <davem@davemloft.net>
23717
23718 * stdlib/longlong.h: Updated from GCC.
23719
23720 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23721
23722 [BZ #14042]
23723 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23724 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23725 __mcount_internal.
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23727 (GLIBC_2.16): Likewise.
23728
23729 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23730
23731 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23732
23733 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23734
23735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23736 (default-abi): New variable.
23737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23738 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23739 variable.
23740 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23741 Likewise.
23742 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23743 Likewise.
23744 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23745 Likewise.
23746
23747 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23748 definition. Document in comment.
23749
23750 2012-06-01 David S. Miller <davem@davemloft.net>
23751
23752 * stdlib/longlong.h: Updated from GCC.
23753
23754 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23755
23756 [BZ #14117]
23757 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23758 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23759 sys/debugreg.h sys/io.h here.
23760 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23761 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23762 sys/io.h.
23763 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23764 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23765 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23766 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23767 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23768 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23769
23770 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23771 Define only if __x86_64__ is defined.
23772
23773 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23774
23775 [BZ #14048]
23776 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23777 Use int64_t for variable i.
23778 * math/libm-test.inc (fmod_test): Add more tests.
23779
23780 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23781 z computation is not scheduled after fetestexcept.
23782 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23783 Use math_force_eval instead of asm to ensure calculation scheduled
23784 before exception test.
23785 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23786 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23787
23788 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23789
23790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23791 computation is not scheduled after fetestexcept.
23792
23793 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23794
23795 [BZ #14117]
23796 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23797 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23798
23799 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23800
23801 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23802 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23803
23804 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23805
23806 [BZ #14117]
23807 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23808 <bits/wordsize.h>.
23809 (__WCHAR_MIN): Support __WORDSIZE == 64.
23810 (__WCHAR_MAX): Likewise.
23811
23812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23814
23815 [BZ #14183]
23816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23817 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23818
23819 [BZ #14117]
23820 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23822
23823 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23824 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23825
23826 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23827 Defined to 1 if __x86_64__ isn't defined.
23828 (_STAT_VER_LINUX_OLD): New.
23829 (st_atime): Remove duplicate.
23830 (st_mtime): Likewise.
23831 (st_ctime): Likewise.
23832
23833 2012-05-31 David S. Miller <davem@davemloft.net>
23834
23835 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23836 entries.
23837
23838 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23839
23840 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23841 gen-libm-test.pl.
23842
23843 [BZ #14132]
23844 * elf/dl-reloc.c: Include <_itoa.h>.
23845 (_dl_reloc_bad_type): Remove use of INTUSE.
23846 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23847 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23848 * stdio-common/psiginfo.c (psiginfo): Likewise.
23849 * stdio-common/psignal.c (psignal): Likewise.
23850 * string/strsignal.c (strsignal): Likewise.
23851 * include/signal.h (_sys_siglist): Declare hidden proto.
23852 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23853 INTVARDEF with libc_hidden_data_def.
23854 * stdio-common/itoa-udigits.c: Likewise.
23855 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23856 (_itoa_lower_digits_internal): Remove declaration.
23857 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23858 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23859 (_sys_sigabbrev_internal): Remove aliases.
23860 (_sys_siglist): Define hidden alias.
23861
23862 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23863
23864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23865 bits/sysctl.h.
23866
23867 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23868
23869 [BZ #14117]
23870 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23871 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23872
23873 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23874 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23875 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23876 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23877 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23878 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23879
23880 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23881 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23882 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23883
23884 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23885 with __addr.
23886 (insw): Likewise.
23887 (insl): Likewise.
23888 (outsb): Likewise.
23889 (outsw): Likewise.
23890 (outsl): Likewise.
23891
23892 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23893 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23894 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23895
23896 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23897 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23898 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23899 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23900 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23901 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23902
23903 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23904 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23905
23906 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23907 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23908
23909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23911 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23912
23913 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23914 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23915 to ...
23916 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23917
23918 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23919 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23920 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23921
23922 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23923 for x86-64.
23924 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23925
23926 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23927
23928 * math/math.h (M_El): Use two more decimal places.
23929 (M_LOG2El): Likewise.
23930 (M_LOG10El): Likewise.
23931 (M_LN2l): Likewise.
23932 (M_LN10l): Likewise.
23933 (M_PIl): Likewise.
23934 (M_PI_2l): Likewise.
23935 (M_PI_4l): Likewise.
23936 (M_1_PIl): Likewise.
23937 (M_2_PIl): Likewise.
23938 (M_2_SQRTPIl): Likewise.
23939 (M_SQRT2l): Likewise.
23940 (M_SQRT1_2l): Likewise.
23941
23942 2012-05-31 David S. Miller <davem@davemloft.net>
23943
23944 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23945 values between float registers.
23946 * sysdeps/sparc/sparc64/memset.S: Likewise.
23947 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23948
23949 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23950
23951 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23952 -D_FORTIFY_SOURCE=1.
23953 (CPPFLAGS-tst-longjmp_chk.c): Define.
23954 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23955 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23956 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23957 CFLAGS-tst-wchar-h.c.
23958
23959 2012-05-31 Marek Polacek <polacek@redhat.com>
23960
23961 [BZ #14132]
23962 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23963 __endmntent_internal): Remove declaration.
23964 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23965 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23966 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23967
23968 2012-05-30 David S. Miller <davem@davemloft.net>
23969
23970 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23971 (___Q_simulate_exceptions): Use real FP ops rather than writing
23972 into the %fsr.
23973 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23974 Likewise.
23975
23976 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23977
23978 [BZ #14117]
23979 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23980 * sysdeps/x86/bits/xtitypes.h: This.
23981
23982 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23983 * sysdeps/x86/bits/wordsize.h: This.
23984
23985 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23986 * sysdeps/x86/bits/huge_vall.h: This.
23987
23988 * sysdeps/i386/bits/select.h: Removed.
23989 * sysdeps/x86_64/bits/select.h: Renamed to ...
23990 * sysdeps/x86/bits/select.h: This.
23991
23992 * sysdeps/i386/bits/setjmp.h: Removed.
23993 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23994 * sysdeps/x86/bits/setjmp.h: This.
23995
23996 * sysdeps/i386/bits/mathdef.h: Removed.
23997 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23998 * sysdeps/x86/bits/mathdef.h: This.
23999
24000 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24001
24002 [BZ #14132]
24003 * include/sys/socket.h (__connect_internal)
24004 (__libc_sa_len_internal): Remove declaration.
24005 (__connect, __libc_sa_len): Declare hidden_proto.
24006 (SA_LEN): Remove use of INTUSE.
24007 * socket/connect.c: Add libc_hidden_def.
24008 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24009 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24010 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24011 alias.
24012 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24013 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24014 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24015 of adding _internal alias.
24016
24017 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24018
24019 [BZ #14117]
24020 * sysdeps/i386/bits/link.h: Removed.
24021 * sysdeps/i386/bits/linkmap.h: Likewise.
24022 * sysdeps/x86_64/bits/link.h: Renamed to ...
24023 * sysdeps/x86/bits/link.h: This.
24024 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24025 * sysdeps/x86/bits/linkmap.h: This.
24026
24027 * sysdeps/i386/bits/endian.h: Removed.
24028 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24029 * sysdeps/x86/bits/endian.h: This.
24030
24031 * sysdeps/i386/bits/byteswap.h: Removed.
24032 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24033 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24034 * sysdeps/x86/bits/byteswap.h: This.
24035 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24036 * sysdeps/x86/bits/byteswap-16.h: This.
24037 * sysdeps/i386/Implies: Add x86.
24038 * sysdeps/x86_64/Implies: Likewise.
24039
24040 2012-05-30 David S. Miller <davem@davemloft.net>
24041
24042 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24043 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24044 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24045 (FP_TRAPPING_EXCEPTIONS): Define.
24046 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24047 (FP_TRAPPING_EXCEPTIONS): Define.
24048 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24049 subnormals only when inexact has been signalled or underflow
24050 exceptions are enabled.
24051 (_FP_PACK_CANONICAL): Likewise.
24052
24053 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24054
24055 [BZ #14183]
24056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24057 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24058
24059 2012-05-30 Richard Henderson <rth@twiddle.net>
24060
24061 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24062 with #ifndef NOT_IN_libc.
24063
24064 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24065 marked to avoid plt entry.
24066
24067 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24068
24069 [BZ #14112]
24070 * Makeconfig (default-abi): New macro.
24071 (abi-includes): Likewise.
24072 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24073 $(abi-$(default-abi)-lib-soname) for soname if defined.
24074 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24075 abi-variants.
24076 * Makefile (installed-stubs): Likewise.
24077 * include/stubs-biarch.h: Removed.
24078 * scripts/lib-names.awk: Only handle one library at a time.
24079 * scripts/soversions.awk: Remove WORDSIZE support.
24080 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24081 entries.
24082 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24083 Removed.
24084 (syscall-list-default-condition): Likewise.
24085 (syscall-list-default-condition): Likewise.
24086 (syscall-list-includes): Likewise.
24087 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24088 syscall-list-* with abi-*. Handle undefined abi-variants.
24089 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24090 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24091 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24092 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24093 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24094 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24095 Removed.
24096 (syscall-list-32-options): Likewise.
24097 (syscall-list-32-condition): Likewise.
24098 (syscall-list-64-options): Likewise.
24099 (syscall-list-64-condition): Likewise.
24100 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24101 macro.
24102 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24103 Renamed to ...
24104 (abi-*): This.
24105 (abi-64-ld-soname): New macro.
24106 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24107 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24108 Renamed to ...
24109 (abi-*): This.
24110 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24111 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24112
24113 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24114
24115 * sysdeps/unix/sysv/linux/kernel-features.h
24116 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24117 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24118 include <kernel-features.h>.
24119 [!__NR_ftruncate64]: Remove conditional code.
24120 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24121 [__NR_ftruncate64]: Make code unconditional.
24122 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24123 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24124 include <kernel-features.h>.
24125 [!__NR_ftruncate64]: Remove conditional code.
24126 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24127 [__NR_ftruncate64]: Make code unconditional.
24128 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24130 include <kernel-features.h>.
24131 [!__NR_ftruncate64]: Remove conditional code.
24132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24133 [__NR_ftruncate64]: Make code unconditional.
24134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24136 include <kernel-features.h>.
24137 [!__NR_ftruncate64]: Remove conditional code.
24138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24139 [__NR_ftruncate64]: Make code unconditional.
24140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24141
24142 * configure.in (libc_cv_fpie): Weaken to a compile test using
24143 LIBC_TRY_CC_OPTION.
24144 * configure: Regenerated.
24145
24146 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24147
24148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24152 Refreshed.
24153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24159 Refreshed.
24160
24161 2012-05-27 David S. Miller <davem@davemloft.net>
24162
24163 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24164 (___Q_zero): New.
24165 (__Q_simulate_exceptions): Return void. Change to simulate
24166 exceptions by writing into the %fsr.
24167 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24168 (__Qp_handle_exceptions): Likewise.
24169 (numbers): Delete.
24170 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24171 __Qp_handle_exceptions.
24172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24173 __Qp_handle_exceptions.
24174 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24175 as unused and give dummy FP_RND_NEAREST initializer.
24176 (FP_INHIBIT_RESULTS): Define.
24177 (___Q_simulate_exceptions): Update declaration.
24178 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24179 formatting.
24180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24181 as unused and give dummy FP_RND_NEAREST initializer.
24182 (__Qp_handle_exceptions): Update declaration.
24183 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24184 formatting.
24185
24186 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24187
24188 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24189 the temporary FPU control word.
24190 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24191 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24192 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24193 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24194 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24195 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24196 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24198 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24199 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24200 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24201
24202 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24203
24204 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24205 fields.
24206
24207 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24208
24209 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24210 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24211 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24212 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24213 Likewise.
24214 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24215 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24216 Likewise.
24217
24218 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24219
24220 * po/h.po: Update from translation team.
24221
24222 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24223
24224 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24225
24226 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24227 handling of denormals.
24228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24229 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24230 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24231 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24232 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24235 Likewise.
24236
24237 2012-05-26 Marek Polacek <polacek@redhat.com>
24238
24239 [BZ #14152]
24240 * math/libm-test.inc (fma_test): Don't always expect underflow
24241 exception.
24242
24243 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24244
24245 [BZ #12416]
24246 * elf/tst-execstack.c: Include stackinfo.h.
24247 (do_test): Adjust test case to ensure that pthread_getattr_np
24248 behaviour remains the same after marking stack executable.
24249
24250 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24251
24252 * sysdeps/unix/sysv/linux/kernel-features.h
24253 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24254 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24255 kernel-features.h.
24256 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24257 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24258 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24259 kernel-features.h.
24260 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24261 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24262
24263 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24264
24265 * configure.in: Define the default includes to being none.
24266 * configure: Regenerated.
24267
24268 2012-05-25 Roland McGrath <roland@hack.frob.com>
24269
24270 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24271 * sysdeps/x86_64/setjmp.S: Likewise.
24272 * sysdeps/i386/bsd-setjmp.S: Likewise.
24273 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24274 * sysdeps/i386/setjmp.S: Likewise.
24275 * sysdeps/i386/__longjmp.S: Likewise.
24276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24277 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24278
24279 * include/stap-probe.h: New file.
24280 * configure.in: Handle --enable-systemtap.
24281 * configure: Regenerated.
24282 * config.h.in (USE_STAP_PROBE): New #undef.
24283 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24284 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24285 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24286
24287 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24288
24289 [BZ #13717]
24290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24291 to 2.4.0 where earlier.
24292 * sysdeps/unix/sysv/linux/configure: Regenerated.
24293 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24294 <kernel-features.h>.
24295 [__ASSUME_32BITUIDS]: Make code unconditional.
24296 [!__ASSUME_32BITUIDS]: Remove conditional code.
24297 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24298 <kernel-features.h>.
24299 [__ASSUME_32BITUIDS]: Make code unconditional.
24300 [!__ASSUME_32BITUIDS]: Remove conditional code.
24301 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24302 [__ASSUME_32BITUIDS]: Make code unconditional.
24303 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24304 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24305 <kernel-features.h>.
24306 [__ASSUME_32BITUIDS]: Make code unconditional.
24307 [!__ASSUME_32BITUIDS]: Remove conditional code.
24308 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24309 <kernel-features.h>.
24310 [__ASSUME_32BITUIDS]: Make code unconditional.
24311 [!__ASSUME_32BITUIDS]: Remove conditional code.
24312 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24313 <kernel-features.h>.
24314 [__ASSUME_32BITUIDS]: Make code unconditional.
24315 [!__ASSUME_32BITUIDS]: Remove conditional code.
24316 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24317 <kernel-features.h>.
24318 [__ASSUME_32BITUIDS]: Make code unconditional.
24319 [!__ASSUME_32BITUIDS]: Remove conditional code.
24320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24321 <kernel-features.h>.
24322 [__ASSUME_32BITUIDS]: Make code unconditional.
24323 [!__ASSUME_32BITUIDS]: Remove conditional code.
24324 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24325 <kernel-features.h>.
24326 [__ASSUME_32BITUIDS]: Make code unconditional.
24327 [!__ASSUME_32BITUIDS]: Remove conditional code.
24328 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24329 <kernel-features.h>.
24330 [__ASSUME_32BITUIDS]: Make code unconditional.
24331 [!__ASSUME_32BITUIDS]: Remove conditional code.
24332 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24333 <kernel-features.h>.
24334 [__ASSUME_32BITUIDS]: Make code unconditional.
24335 [!__ASSUME_32BITUIDS]: Remove conditional code.
24336 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24337 <kernel-features.h>.
24338 [__ASSUME_32BITUIDS]: Make code unconditional.
24339 [!__ASSUME_32BITUIDS]: Remove conditional code.
24340 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24341 <kernel-features.h>.
24342 [__ASSUME_32BITUIDS]: Make code unconditional.
24343 [!__ASSUME_32BITUIDS]: Remove conditional code.
24344 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24345 <kernel-features.h>.
24346 [__NR_setresgid] (__setresgid): Do not declare.
24347 [__ASSUME_32BITUIDS]: Make code unconditional.
24348 [!__ASSUME_32BITUIDS]: Remove conditional code.
24349 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24350 <kernel-features.h>.
24351 [__NR_setresuid] (__setresuid): Do not declare.
24352 [__ASSUME_32BITUIDS]: Make code unconditional.
24353 [!__ASSUME_32BITUIDS]: Remove conditional code.
24354 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24355 <kernel-features.h>.
24356 [__ASSUME_32BITUIDS]: Make code unconditional.
24357 [!__ASSUME_32BITUIDS]: Remove conditional code.
24358 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24359 <kernel-features.h>.
24360 [__ASSUME_32BITUIDS]: Make code unconditional.
24361 [!__ASSUME_32BITUIDS]: Remove conditional code.
24362 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24363 <kernel-features.h>.
24364 [__ASSUME_32BITUIDS]: Make code unconditional.
24365 [!__ASSUME_32BITUIDS]: Remove conditional code.
24366 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24367 <kernel-features.h>.
24368 [__ASSUME_32BITUIDS]: Make code unconditional.
24369 [!__ASSUME_32BITUIDS]: Remove conditional code.
24370 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24371 <kernel-features.h>.
24372 [__ASSUME_32BITUIDS]: Make code unconditional.
24373 [!__ASSUME_32BITUIDS]: Remove conditional code.
24374 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24375 <kernel-features.h>.
24376 [__ASSUME_32BITUIDS]: Make code unconditional.
24377 [!__ASSUME_32BITUIDS]: Remove conditional code.
24378 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24379 <kernel-features.h>.
24380 [__ASSUME_32BITUIDS]: Make code unconditional.
24381 [!__ASSUME_32BITUIDS]: Remove conditional code.
24382 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24383 <kernel-features.h>.
24384 [__ASSUME_32BITUIDS]: Make code unconditional.
24385 [!__ASSUME_32BITUIDS]: Remove conditional code.
24386 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24387 <kernel-features.h>.
24388 [__ASSUME_32BITUIDS]: Make code unconditional.
24389 [!__ASSUME_32BITUIDS]: Remove conditional code.
24390 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24391 <kernel-features.h>.
24392 [__ASSUME_32BITUIDS]: Make code unconditional.
24393 [!__ASSUME_32BITUIDS]: Remove conditional code.
24394 * sysdeps/unix/sysv/linux/kernel-features.h
24395 (__ASSUME_SETRESUID_SYSCALL): Remove.
24396 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24397 (__ASSUME_32BITUIDS): Likewise.
24398 (__ASSUME_LDT_WORKS): Likewise.
24399 (__ASSUME_O_DIRECTORY): Likewise.
24400 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24401 architecture but not kernel version.
24402 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24403 (__ASSUME_MMAP2_SYSCALL): Likewise.
24404 (__ASSUME_STAT64_SYSCALL): Likewise.
24405 (__ASSUME_IPC64): Likewise.
24406 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24407 <kernel-features.h>.
24408 [__ASSUME_32BITUIDS]: Make code unconditional.
24409 [!__ASSUME_32BITUIDS]: Remove conditional code.
24410 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24411 <kernel-features.h>.
24412 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24413 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24414 132096]: Remove conditional code.
24415 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24416 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24417 <kernel-features.h>.
24418 [__ASSUME_32BITUIDS]: Make code unconditional.
24419 [!__ASSUME_32BITUIDS]: Remove conditional code.
24420 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24421 <kernel-features.h>.
24422 [__ASSUME_32BITUIDS]: Make code unconditional.
24423 [!__ASSUME_32BITUIDS]: Remove conditional code.
24424 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24425 <kernel-features.h>.
24426 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24427 unconditional.
24428 (__setresgid): Do not declare.
24429 [__ASSUME_32BITUIDS]: Make code unconditional.
24430 [!__ASSUME_32BITUIDS]: Remove conditional code.
24431 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24432 <kernel-features.h>.
24433 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24434 unconditional.
24435 (__setresuid): Do not declare.
24436 [__ASSUME_32BITUIDS]: Make code unconditional.
24437 [!__ASSUME_32BITUIDS]: Remove conditional code.
24438 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24439 <kernel-features.h>.
24440 [__ASSUME_32BITUIDS]: Make code unconditional.
24441 [!__ASSUME_32BITUIDS]: Remove conditional code.
24442 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24443 <kernel-features.h>.
24444 [__ASSUME_32BITUIDS]: Make code unconditional.
24445 [!__ASSUME_32BITUIDS]: Remove conditional code.
24446
24447 2012-05-25 Richard Henderson <rth@twiddle.net>
24448
24449 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24450 dl_hwcap to ifunc resolver.
24451 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24452 elf_ifunc_invoke.
24453 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24454 dl_hwcap to ifunc resolver.
24455 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24456
24457 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24458
24459 [BZ #14153]
24460 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24461 for |x| <= 2**-26, not 2**-57.
24462 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24463 exception.
24464
24465 2012-05-24 Jeff Law <law@redhat.com>
24466
24467 * stdio-common/Makefile (tests): Add bug25.
24468 * stdio-common/bug25.c: New test.
24469
24470 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24471
24472 [BZ #13576]
24473 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24474 multiple of MALLOC_ALIGNMENT in size.
24475 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24476
24477 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24478
24479 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24480 Require >= 256.
24481 (FILENAME_MAX): Use macro-int-constant.
24482 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24483 (_IOFBF): Use macro-int-constant.
24484 (_IOLBF): Likewise.
24485 (_IONBF): Likewise.
24486 (SEEK_CUR): Likewise.
24487 (SEEK_END): Likewise.
24488 (SEEK_SET): Likewise.
24489 (TMP_MAX): Likewise.
24490 (EOF): Use macro-int-constant. Require < 0.
24491 (NULL): Use macro-constant. Require == 0.
24492 (stdin): Require type to be FILE *.
24493 (stdout): Likewise.
24494 (stderr): Likewise.
24495 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24496 macro-int-constant.
24497 (EXIT_SUCCESS): Likewise.
24498 (NULL): Use macro-constant. Require == 0.
24499 (RAND_MAX): Use macro-int-constant.
24500 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24501 [C99-based standards] (strtof): Require function.
24502 [C99-based standards] (strtold): Likewise.
24503 [C99-based standards] (strtoll): Likewise.
24504 [C99-based standards] (strtoull): Likewise.
24505 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24506 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24507 [ISO || ISO99 || ISO11] (math.h): Likewise.
24508 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24509 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24511
24512 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24513
24514 [BZ #14132]
24515 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24516 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24517 * intl/dgettext.c (DCGETTEXT): Likewise.
24518 * intl/gettext.c (DCGETTEXT): Likewise.
24519 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24520 * posix/regex_internal.h (gettext): Likewise.
24521 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24522 Remove declaration.
24523 * include/argz.h (__argz_count_internal)
24524 (__argz_stringify_internal): Remove declaration.
24525 (__argz_count, __argz_stringify): Declare hidden proto.
24526 * intl/dcgettext.c: Remove use of INTDEF.
24527 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24528 * string/argz-stringify.c: Likewise.
24529 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24530 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24531 Declare hidden proto.
24532 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24533 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24534 Declare hidden proto.
24535 * include/stdio.h (__asprintf_internal): Don't declare.
24536 (__asprintf): Don't define as macro. Declare hidden proto.
24537 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24538 (__fsetlocking): Declare hidden proto.
24539 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24540 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24541 hidden proto.
24542 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24543 (_IO_setlinebuf): Remove use of INTUSE.
24544 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24545 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24546 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24547 Remove declaration.
24548 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24549 (_IO_do_flush): Remove use of INTUSE.
24550 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24551 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24552 (_IO_adjust_column, _IO_least_wmarker)
24553 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24554 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24555 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24556 (_IO_default_doallocate, _IO_wdefault_doallocate)
24557 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24558 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24559 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24560 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24561 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24562 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24563 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24564 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24565 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24566 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24567 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24568 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24569 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24570 proto.
24571 (_IO_flush_all_internal, _IO_adjust_column_internal)
24572 (_IO_default_uflow_internal, _IO_default_finish_internal)
24573 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24574 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24575 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24576 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24577 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24578 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24579 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24580 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24581 (_IO_file_close_internal, _IO_file_close_it_internal)
24582 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24583 (_IO_file_init_internal, _IO_file_attach_internal)
24584 (_IO_file_fopen_internal, _IO_file_read_internal)
24585 (_IO_file_sync_internal, _IO_file_seek_internal)
24586 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24587 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24588 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24589 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24590 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24591 (_IO_list_all_internal, _IO_link_in_internal)
24592 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24593 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24594 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24595 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24596 (_IO_do_write_internal, _IO_padn_internal)
24597 (_IO_getline_info_internal, _IO_getline_internal)
24598 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24599 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24600 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24601 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24602 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24603 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24604 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24605 with libc_hidden_ver, remove use of INTUSE.
24606 * libio/genops.c: Likewise.
24607 * libio/freopen.c: Likewise.
24608 * libio/freopen64.c: Likewise.
24609 * libio/iofclose.c: Likewise.
24610 * libio/iofdopen.c: Likewise.
24611 * libio/iofflush.c: Likewise.
24612 * libio/iofflush_u.c: Likewise.
24613 * libio/iofgets.c: Likewise.
24614 * libio/iofgets_u.c: Likewise.
24615 * libio/iofopen.c: Likewise.
24616 * libio/iofopncook.c: Likewise.
24617 * libio/iofread.c: Likewise.
24618 * libio/iofread_u.c: Likewise.
24619 * libio/ioftell.c: Likewise.
24620 * libio/iofwrite.c: Likewise.
24621 * libio/iogetline.c: Likewise.
24622 * libio/iogets.c: Likewise.
24623 * libio/iogetwline.c: Likewise.
24624 * libio/iopadn.c: Likewise.
24625 * libio/iopopen.c: Likewise.
24626 * libio/ioseekoff.c: Likewise.
24627 * libio/ioseekpos.c: Likewise.
24628 * libio/iosetbuffer.c: Likewise.
24629 * libio/iosetvbuf.c: Likewise.
24630 * libio/ioungetc.c: Likewise.
24631 * libio/ioungetwc.c: Likewise.
24632 * libio/iovdprintf.c: Likewise.
24633 * libio/iovsprintf.c: Likewise.
24634 * libio/iovsscanf.c: Likewise.
24635 * libio/memstream.c: Likewise.
24636 * libio/obprintf.c: Likewise.
24637 * libio/oldfileops.c: Likewise.
24638 * libio/oldiofclose.c: Likewise.
24639 * libio/oldiofdopen.c: Likewise.
24640 * libio/oldiofopen.c: Likewise.
24641 * libio/oldiopopen.c: Likewise.
24642 * libio/oldstdfiles.c: Likewise.
24643 * libio/putc.c: Likewise.
24644 * libio/setbuf.c: Likewise.
24645 * libio/setlinebuf.c: Likewise.
24646 * libio/stdfiles.c: Likewise.
24647 * libio/strops.c: Likewise.
24648 * libio/vasprintf.c: Likewise.
24649 * libio/vscanf.c: Likewise.
24650 * libio/vsnprintf.c: Likewise.
24651 * libio/vswprintf.c: Likewise.
24652 * libio/wfiledoalloc.c: Likewise.
24653 * libio/wfileops.c: Likewise.
24654 * libio/wgenops.c: Likewise.
24655 * libio/wmemstream.c: Likewise.
24656 * libio/wstrops.c: Likewise.
24657 * libio/__fpurge.c: Likewise.
24658 * libio/__fsetlocking.c: Likewise.
24659 * assert/assert.c: Likewise.
24660 * debug/fgets_chk.c: Likewise.
24661 * debug/fgets_u_chk.c: Likewise.
24662 * debug/fread_chk.c: Likewise.
24663 * debug/fread_u_chk.c: Likewise.
24664 * debug/gets_chk.c: Likewise.
24665 * debug/obprintf_chk.c: Likewise.
24666 * debug/vasprintf_chk.c: Likewise.
24667 * debug/vdprintf_chk.c: Likewise.
24668 * debug/vsnprintf_chk.c: Likewise.
24669 * debug/vsprintf_chk.c: Likewise.
24670 * malloc/mtrace.c: Likewise.
24671 * misc/error.c: Likewise.
24672 * misc/syslog.c: Likewise.
24673 * stdio-common/asprintf.c: Likewise.
24674 * stdio-common/fxprintf.c: Likewise.
24675 * stdio-common/getw.c: Likewise.
24676 * stdio-common/isoc99_fscanf.c: Likewise.
24677 * stdio-common/isoc99_scanf.c: Likewise.
24678 * stdio-common/isoc99_vfscanf.c: Likewise.
24679 * stdio-common/isoc99_vscanf.c: Likewise.
24680 * stdio-common/isoc99_vsscanf.c: Likewise.
24681 * stdio-common/printf-prs.c: Likewise.
24682 * stdio-common/printf_fp.c: Likewise.
24683 * stdio-common/printf_fphex.c: Likewise.
24684 * stdio-common/printf_size.c: Likewise.
24685 * stdio-common/putw.c: Likewise.
24686 * stdio-common/scanf.c: Likewise.
24687 * stdio-common/sprintf.c: Likewise.
24688 * stdio-common/tmpfile.c: Likewise.
24689 * stdio-common/vfprintf.c: Likewise.
24690 * stdio-common/vfscanf.c: Likewise.
24691 * stdlib/strfmon_l.c: Likewise.
24692 * sunrpc/openchild.c: Likewise.
24693 * sunrpc/xdr_stdio.c: Likewise.
24694 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24695 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24696
24697 2012-05-24 Roland McGrath <roland@hack.frob.com>
24698
24699 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24700
24701 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24702 in the third column, to generate for the shared library an IFUNC
24703 that uses _dl_vdso_vsym.
24704 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24705 * Makeconfig (object-suffixes-noshared): New variable.
24706
24707 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24708 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24709 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24710 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24711
24712 [BZ #14132]
24713 * include/sys/time.h (__gettimeofday): Remove macro.
24714 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24715 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24716 Remove INTDEF.
24717 (__gettimeofday): Add libc_hidden_def.
24718 (gettimeofday): Add libc_hidden_weak.
24719 * sysdeps/mach/gettimeofday.c: Likewise.
24720 * sysdeps/posix/gettimeofday.c: Likewise.
24721 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24722 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24724 (__gettimeofday_internal): Remove strong_alias.
24725 (__gettimeofday): Add libc_hidden_def.
24726 (gettimeofday): Add libc_hidden_weak.
24727 * sysdeps/unix/syscalls.list (gettimeofday):
24728 Remove __gettimeofday_internal alias.
24729
24730 2012-05-24 Daniel Jacobowitz <drow@false.org>
24731 H.J. Lu <hongjiu.lu@intel.com>
24732
24733 [BZ #12495]
24734 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24735 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24736 (largebin_index_32_big): New.
24737 (largebin_index): Use it for 16-byte alignment.
24738 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24739 correction with front_misalign.
24740
24741 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24742
24743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24745 Likewise.
24746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24747 Likewise.
24748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24749 Likewise.
24750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24751 Likewise.
24752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24753 Likewise.
24754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24755 Likewise.
24756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24757 Likewise.
24758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24759 Likewise.
24760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24761 Likewise.
24762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24763 Likewise.
24764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24765 Likewise.
24766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24767 Likewise.
24768
24769 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24770 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24771
24772 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24773
24774 [BZ #10846]
24775 [BZ #14036]
24776 * math/libm-test.inc (exp_test): Add test from bug 14036.
24777 (pow_test): Add test from bug 10846.
24778
24779 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24780 and other flags.
24781 (special_function): Do not include flags in test name.
24782 (parse_args): Likewise.
24783 * sysdeps/i386/fpu/libm-test-ulps: Update.
24784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24785 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24786 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24788
24789 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24790 exceptions.
24791 * math/libm-test.inc ("Philosophy"): Update comment about
24792 exception testing.
24793 (UNDERFLOW_EXCEPTION): New macro.
24794 (UNDERFLOW_EXCEPTION_OK): Likewise.
24795 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24796 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24797 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24798 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24799 (INVALID_EXCEPTION_OK): Update value.
24800 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24801 (OVERFLOW_EXCEPTION_OK): Likewise.
24802 (IGNORE_ZERO_INF_SIGN): Likewise.
24803 (test_exceptions): Handle underflow exceptions.
24804 (acos_test): Update for underflow exception expectations.
24805 (cexp_test): Likewise.
24806 (clog_test): Likewise.
24807 (clog10_test): Likewise.
24808 (csqrt_test): Likewise.
24809 (ctan_test): Likewise.
24810 (ctanh_test): Likewise.
24811 (exp_test): Likewise.
24812 (exp10_test): Likewise.
24813 (exp2_test): Likewise.
24814 (expm1_test): Likewise.
24815 (fma_test): Likewise.
24816 (j0_test): Likewise.
24817 (jn_test): Likewise.
24818 (nexttoward_test): Likewise.
24819 (pow_test): Likewise.
24820 (scalbn_test): Likewise.
24821 (scalbln_test): Likewise.
24822 (tan_test): Likewise.
24823 (y1_test): Likewise.
24824 * sysdeps/i386/fpu/libm-test-ulps: Update.
24825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24826
24827 2012-05-23 David S. Miller <davem@davemloft.net>
24828
24829 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24830 (__libc_sigaction): Remove unused local variables.
24831
24832 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24833
24834 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24835
24836 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24837
24838 mktime: avoid signed integer overflow
24839 * time/mktime.c (__mktime_internal): Do not mishandle the case
24840 where diff == INT_MIN.
24841
24842 mktime: simplify computation of average
24843 * time/mktime.c (ranged_convert): Use new time_t_avg function
24844 instead of rolling our own (probably-slower) code.
24845
24846 mktime: do not assume signed right shift propagates sign bit
24847 * time/mktime.c (isdst_differ): New static function.
24848 (__mktime_internal): No need to normalize tm_isdst now.
24849 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24850 tm_isdst values.
24851
24852 mktime: merge another wrapv change from gnulib
24853 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24854 from some compilers.
24855
24856 mktime: remove incorrect attempt at unusual arithmetics
24857 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24858 The code didn't really work on such machines anyway.
24859 (TYPE_MINIMUM): Assume two's complement.
24860 (twos_complement_arithmetic): Verify that long_int and time_t
24861 are two's complement (or unsigned, in the latter case).
24862
24863 mktime: check signed shifts on long_int and time_t, too
24864 * time/mktime.c (SHR): Check that shifts work as desired
24865 on the types long_int and time_t too, as SHR is used on
24866 such types.
24867
24868 mktime: do not assume 'long' is wide enough
24869 * time/mktime.c (verify): Move decl up.
24870 (long_int): New type.
24871 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24872 to remove assumption in the code that 'long' is wide enough to
24873 store year values. This assumption is not true on x32 and on
24874 some non-glibc platforms.
24875
24876 mktime: merge wrapv change from gnulib
24877 * time/mktime.c (WRAPV): New macro.
24878 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24879 (guess_time_tm, __mktime_internal): Do not assume that signed
24880 integer overflow wraps around; modern compilers generate code
24881 where this assumption is no longer valid.
24882
24883 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24884
24885 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24886 Replace "jmp L(pseudo_end)" with "ret".
24887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24888 Likewise.
24889
24890 2012-05-23 Andreas Jaeger <aj@suse.de>
24891
24892 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24893 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24894
24895 2012-05-23 Andreas Jaeger <aj@suse.de>
24896 Maximilian Attems <max@stro.at>
24897
24898 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24899 New macros.
24900
24901 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24902
24903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24904 code so that pseudo_end is just ret and the stack pointer is
24905 correct also for static library in error case.
24906
24907 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24908
24909 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24910 move to syscalls.list.
24911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24915
24916 * manual/install.texi (Running make install): Do not mention Linux
24917 kernel version for which pt_chown is not needed.
24918 (Linux): Do not mention problems with nscd with 2.0 kernels.
24919 * INSTALL: Regenerated.
24920
24921 2012-05-23 Andreas Jaeger <aj@suse.de>
24922
24923 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24924 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24925 macro.
24926 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24928 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24930 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24931 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24934 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24935 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24936 * sysdeps/unix/sysv/linux/bits/in.h
24937 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24938
24939 2012-05-22 Roland McGrath <roland@hack.frob.com>
24940
24941 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24942 (PREPARE_VERSION): Just use assert instead, it will be elided
24943 under [NDEBUG] anyway.
24944
24945 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24946
24947 * sysdeps/unix/sysv/linux/Makefile: Include
24948 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24949 (sysdep_routines): Remove sysctl.
24950 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24951 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24952 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24953 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24954 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24955
24956 2012-05-22 Andreas Jaeger <aj@suse.de>
24957
24958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24959 that pseudo_end is just ret and the stack pointer is correct also
24960 for static library in error case.
24961
24962 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24963
24964 [BZ #14122]
24965 * nss/nsswitch.c (defconfig_entries): New variable.
24966 (__nss_database_lookup): Don't leak defconfig entries.
24967 (nss_parse_service_list): Don't leak on error paths.
24968 (free_database_entries): New function.
24969 (free_defconfig): New function.
24970 (free_mem): Move common code to free_database_entries.
24971
24972 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24973
24974 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24975 Add arch_prctl.
24976 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24977
24978 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24979 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24981 New macro.
24982 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24983 (INTERNAL_SYSCALL_TYPES): Likewise.
24984 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24985 (LOAD_REGS_TYPES_[1-6]): Likewise.
24986 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24987 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24988
24989 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24990
24991 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24992 copysignl for GLIBC_2_0.
24993 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24994 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24996 logbl for GLIBC_2_0.
24997 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24998 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24999
25000 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25001
25002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25003 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25004
25005 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25006 Use "neg %eax".
25007
25008 * time/mktime.c: Update copyright years.
25009
25010 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25011
25012 mktime: merge comment-quoting-style change from gnulib
25013 * time/mktime.c: Quote 'like this' in comments.
25014 The GNU coding standards suggest that we no longer quote `like this',
25015 as "`" and "'" are typically rendered asymmetrically nowadays.
25016 The typical gnulib style is to quote 'like this' when quoting
25017 code, and "like this" when quoting English.
25018
25019 * time/mktime.c (compile-command): Add "-I.".
25020
25021 mktime: merge mktime-internal.h change from gnulib
25022 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25023
25024 mktime: merge time_r change from gnulib
25025 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25026
25027 mktime: merge DEBUG change from gnulib
25028 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25029 case system <time.h> has a #define.
25030
25031 mktime: merge <sys/types.h> change from gnulib
25032 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25033 since <time.t> is now guaranteed to define time_t.
25034
25035 mktime: merge HAVE_CONFIG_H change from gnulib
25036 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25037
25038 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25039
25040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25041 Use "neg %eax".
25042
25043 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25044 __rlim_t cast.
25045 (struct rusage): Use anonymous union to pad each field to
25046 __syscall_slong_t.
25047
25048 2012-05-21 David S. Miller <davem@davemloft.net>
25049
25050 * Makefules (o-iterator): Remove .s cases.
25051 (compile-command.s): Delete.
25052 (COMPILE.s): Delete.
25053 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25054
25055 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25056
25057 * configure.in (libc_cv_predef_stack_protector): Only consider
25058 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25059 * configure: Regenerated.
25060
25061 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25062
25063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25064 New macro. Use R*LP on int and pointer.
25065 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25066 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25067 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25068 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25069
25070 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25071 [__WORDSIZE_TIME64_COMPAT32] instead of
25072 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25073 (struct utmp): Likewise.
25074 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25075 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25076 Renamed to ...
25077 (__WORDSIZE_TIME64_COMPAT32): This.
25078 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25079 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25080 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25081 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25082 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25083 (__WORDSIZE_TIME64_COMPAT32): New macro.
25084
25085 2012-05-21 Andreas Jaeger <aj@suse.de>
25086
25087 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25088 only if [SHARED]. Add prototype for __wcschr_ia32.
25089
25090 2012-05-21 Roland McGrath <roland@hack.frob.com>
25091
25092 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25093 of %rbp unmolested in the jmp_buf while mangling the low bits.
25094 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25095 unmolested high bits of %rbp while demangling the low bits.
25096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25097
25098 2012-05-21 Andreas Jaeger <aj@suse.de>
25099
25100 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25101 * sunrpc/svc_simple.c: Use it for registerrpc.
25102 * sunrpc/xcrypt.c: Use it for passwd2des.
25103
25104 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25105
25106 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25107
25108 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25109 Don't define if [__SYSCALL_WORDSIZE != 32].
25110 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25111 New macro.
25112
25113 2012-05-21 Bruno Haible <bruno@clisp.org>
25114 Andreas Jaeger <aj@suse.de>
25115
25116 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25117 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25118 inptr and inend for must_buffer_ch.
25119 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25120 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25121 * stdio-common/Makefile (tests): Remove bug15.
25122 (bug15-ENV): Remove macro.
25123 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25124 anymore.
25125
25126 2012-05-19 Andreas Jaeger <aj@suse.de>
25127 Roland McGrath <roland@hack.frob.com>
25128
25129 * manual/contrib.texi: Completely rewritten. It contains now an
25130 alphabetical list of contributors and their contributions.
25131
25132 2012-05-21 Richard Henderson <rth@twiddle.net>
25133
25134 * misc/getauxval.c (__getauxval): Use unsigned long int.
25135 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25136 (getauxval): Use unsigned long int.
25137
25138 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25139
25140 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25141
25142 2012-05-21 Roland McGrath <roland@hack.frob.com>
25143
25144 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25145 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25146 __alignof__ (long double).
25147
25148 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25149
25150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25151
25152 2012-05-20 Richard Henderson <rth@twiddle.net>
25153
25154 * misc/getauxval.c: New file.
25155 * misc/sys/auxv.h: New file.
25156 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25157 (routines): Add getauxval.
25158 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25159 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25160 * elf/dl-sysdep.c (_dl_auxv): Remove.
25161 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25162 * elf/dl-support.c (_dl_auxv): New variable.
25163 (_dl_aux_init): Initialize it.
25164 * manual/startup.texi (Auxiliary Vector): New node.
25165 * sysdeps/generic/bits/hwcap.h: New file.
25166 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25167 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25168 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25169 * sysdeps/sparc/sysdep.h: ... here. Include it.
25170 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25171 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25173 Update.
25174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25182
25183 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25184
25185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25186
25187 2012-05-19 David S. Miller <davem@davemloft.net>
25188
25189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25190
25191 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25192
25193 [BZ #14123]
25194 * math/s_ccosh.c: Include <float.h>
25195 (__ccosh): Avoid internal overflow calculating sinh and cosh
25196 values before multiplying by sin and cos values.
25197 * math/s_ccoshf.c: Likewise.
25198 * math/s_ccoshl.c: Likewise.
25199 * math/s_csin.c: Likewise.
25200 * math/s_csinf.c: Likewise.
25201 * math/s_csinl.c: Likewise.
25202 * math/s_csinh.c: Likewise.
25203 * math/s_csinhf.c: Likewise.
25204 * math/s_csinhl.c: Likewise.
25205 * math/libm-test.inc (ccos_test): Add more tests.
25206 (ccosh_test): Likewise.
25207 (csin_test): Likewise.
25208 (csinh_test): Likewise.
25209 * sysdeps/i386/fpu/libm-test-ulps: Update.
25210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25211
25212 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25213
25214 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25215 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25216
25217 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25218
25219 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25220
25221 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25222 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25223 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25224 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25225 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25226 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25227 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25228 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25229 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25230 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25231 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25232 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25233 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25234 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25235 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25236 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25237 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25238 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25239 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25240 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25241 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25242 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25243 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25244 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25245 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25246 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25247 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25248 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25249 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25250 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25251 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25252
25253 2012-05-18 Andreas Jaeger <aj@suse.de>
25254
25255 * csu/.gitignore: Delete.
25256
25257 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25258
25259 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25260 (timex): Use __syscall_slong_t.
25261
25262 2012-05-18 Andreas Jaeger <aj@suse.de>
25263 Carlos O'Donell <carlos_odonell@mentor.com>
25264
25265 * manual/install.texi (Configuring and compiling): Update
25266 description about files modified in the source directory.
25267 * INSTALL: Regenerated.
25268
25269 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25270
25271 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25272 value. Use "or" to set return value to -1.
25273 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25274 negate return value.
25275
25276 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25277
25278 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25279 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25280 failure if the compiler has Graphite support disabled.
25281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25282 Likewise.
25283 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25284 CFLAGS-memmove.c): Likewise.
25285 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25286 Likewise.
25287
25288 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25289
25290 * sysdeps/x86_64/x32/_itoa.h: New file.
25291
25292 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25293 getdents system call only if kernel and user dirents have the
25294 same d_ino and d_off.
25295
25296 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25297 LLONG_MAX != LONG_MAX.
25298 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25299 (_fitoa_word): Likewise.
25300
25301 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25302 years.
25303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25304 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25305 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25306
25307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25308 include <bits/wordsize.h>. Check __x86_64__ instead of
25309 __WORDSIZE.
25310 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25311 if __x86_64__ is defined. Use anonymous union on fpstate.
25312
25313 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25314 anonymous union.
25315
25316 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25317
25318 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25319 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25320 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25321 Refer to _rtld_local_ro instead of _rtld_global_ro.
25322 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25323 Likewise.
25324 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25325 Likewise.
25326 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25327 Likewise.
25328 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25329 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25330 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25331
25332 * sysdeps/powerpc/powerpc32/dl-machine.c
25333 (__elf_machine_runtime_setup) [PROF]: Don't reference
25334 _dl_prof_resolve.
25335
25336 2012-05-18 Andreas Jaeger <aj@suse.de>
25337
25338 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25339 function only available for GCCs before 3.4 since GCC 3.4
25340 introduced a builtin.
25341 (lrint): Likewise.
25342 (llrintf): Likewise.
25343 (llrint): Likewise.
25344 (fmaxf): Likewise.
25345 (fmax): Likewise.
25346 (fminf): Likewise.
25347 (fmin): Likewise.
25348 (rint): Likewise.
25349 (rintf): Likewise.
25350 (nearbyint): Likewise.
25351 (nearbyintf): Likewise.
25352 (ceil): Likewise.
25353 (ceilf): Likewise.
25354 (floor): Likewise.
25355 (floorf): Likewise.
25356
25357 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25358
25359 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25360 on both fields and cast pointer to __syscall_ulong_t.
25361
25362 * bits/types.h (__fsword_t): New type.
25363 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25364 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25366 (__FSWORD_T_TYPE): Likewise.
25367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25368 (__FSWORD_T_TYPE): Likewise.
25369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25370 (__FSWORD_T_TYPE): Likewise.
25371 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25372 (__FSWORD_T_TYPE): Likewise.
25373 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25374 __SWORD_TYPE with __fsword_t.
25375 (statfs64): Likewise.
25376
25377 2012-05-17 David S. Miller <davem@davemloft.net>
25378
25379 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25380
25381 2012-05-17 Andreas Jaeger <aj@suse.de>
25382
25383 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25384 warning.
25385
25386 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25387
25388 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25389
25390 2012-05-17 Andreas Jaeger <aj@suse.de>
25391
25392 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25393 when it is used.
25394
25395 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25396
25397 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25398
25399 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25400
25401 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25402 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25403
25404 2012-05-17 Andreas Jaeger <aj@suse.de>
25405 Carlos O'Donell <carlos_odonell@mentor.com>
25406
25407 [BZ #14059]
25408 * sysdeps/x86_64/multiarch/init-arch.h
25409 (bit_YMM_Usable): Rename to...
25410 (bit_AVX_Usable): ... this.
25411 (bit_FMA4_Usable): New macro.
25412 (bit_XMM_state): New macro.
25413 (bit_YMM_state): New macro.
25414 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25415 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25416 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25417 (CPUID_OSXSAVE): New macro.
25418 (CPUID_AVX): New macro.
25419 (CPUID_FMA4): New macro.
25420 (index_YMM_Usable): Rename to...
25421 (index_AVX_Usable): ... this.
25422 (HAS_AVX): Use HAS_ARCH_FEATURE.
25423 (HAS_FMA4): Likewise.
25424 (HAS_YMM_USABLE): Remove.
25425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25426 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25427 are present.
25428 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25429 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25430 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25431 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25432 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25433
25434 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25435
25436 * math/libm-test.c: Support platforms without multiple rounding modes.
25437 * math/bug-nextafter.c: Support platforms without FP exceptions.
25438 * math/bug-nexttoward.c: Likewise.
25439 * math/test-fenv.c: Likewise.
25440 * math/test-misc.c: Likewise.
25441 * stdlib/bug-getcontext.c: Likewise.
25442
25443 2012-05-17 Andreas Jaeger <aj@suse.de>
25444
25445 * manual/examples/search.c (critter_cmp): Change signature to
25446 avoid warnings.
25447 * manual/string.texi (Collation Functions): Likewise.
25448
25449 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25450
25451 * bits/types.h: Fold copyright years.
25452 * bits/typesizes.h: Likewise.
25453 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25457 * time/time.h: Likewise.
25458
25459 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25460
25461 [BZ #208]
25462 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25463 in instead of returning them. Return void.
25464 (__libc_mallinfo): Accumulate over all arenas.
25465 (__malloc_stats): Adjust for change in int_mallinfo interface.
25466
25467 2012-05-16 Roland McGrath <roland@hack.frob.com>
25468
25469 [BZ #10375]
25470 * configure.in (NM): Add AC_CHECK_TOOL for it.
25471 (libc_extra_cflags): New substituted variable.
25472 Check for -fstack-protector being used implicitly.
25473 * configure: Regenerated.
25474 * config.make.in (config-extra-cflags): New variable,
25475 gets @libc_extra_cflags@.
25476 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25477
25478 [BZ #10375]
25479 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25480 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25481 * configure: Regenerated.
25482 * config.make.in (CPPUNDEFS): New substituted variable.
25483 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25484 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25485 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25486
25487 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25488
25489 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25490 (mq_attr): Use __syscall_slong_t.
25491
25492 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25493
25494 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25495 Check __x86_64__ instead of __WORDSIZE.
25496 (_STAT_VER_LINUX): Likewise.
25497 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25498 __syscall_ulong_t and __syscall_slong_t.
25499 (stat64): Likewise.
25500
25501 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25502
25503 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25504
25505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25506
25507 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25508
25509 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25512 __syscall_ulong_t.
25513
25514 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25515 include <bits/wordsize.h>. Check __x86_64__ instead of
25516 __WORDSIZE.
25517 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25518 defined.
25519 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25520
25521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25522 include <bits/wordsize.h>. Check __x86_64__ instead of
25523 __WORDSIZE.
25524 (user_regs_struct): Use "__extension__ unsigned long long"
25525 instead of "unsigned long" if __x86_64__ is defined.
25526 (user): Likewise. Pad after pointer field if __ILP32__ is
25527 defined.
25528
25529 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25530
25531 * configure.in (makeinfo): Require version 4.5 or later. Allow
25532 versions 5 to 9.
25533 * configure: Regenerated.
25534 * manual/install.texi (texinfo): Increase version requirement to
25535 4.5 or later.
25536 * INSTALL: Regenerated.
25537
25538 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25539
25540 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25541
25542 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25543
25544 * sysdeps/x86_64/x32/ffs.c: New file.
25545
25546 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25547 __syscall_ulong_t.
25548 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25549 defined. Use __syscall_ulong_t.
25550 (shminfo): Use __syscall_ulong_t.
25551 (shm_info): Likewise.
25552
25553 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25554 __syscall_ulong_t.
25555
25556 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25557 <bits/wordsize.h>.
25558 (msgqnum_t): Use __syscall_ulong_t.
25559 (msglen_t): Likewise.
25560 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25561 __syscall_ulong_t.
25562
25563 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25564 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25565
25566 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25567
25568 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25569 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25570
25571 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25572 __syscall_slong_t.
25573
25574 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25575 include <bits/wordsize.h>. Check __x86_64__ instead of
25576 __WORDSIZE.
25577
25578 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25579 "unsigned long long int" if __x86_64__ is defined.
25580 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25581
25582 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25583 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25584 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25585
25586 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25587 <stdint.h>.
25588 (GET_PC): Cast to uintptr_t first.
25589 (GET_FRAME): Likewise.
25590 (GET_STACK): Likewise.
25591
25592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25598 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25599 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25600 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25603 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25605 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25609 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25610 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25611 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25612 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25617 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25620 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25621
25622 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25623
25624 * Makerules (+depfiles): Also collect depfiles from .oS in
25625 $(extra-objs).
25626 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25627 .oS, $(libnldbl-routines)).
25628
25629 * Makerules (native-compile-mkdep-flags): Define.
25630 * sunrpc/Makefile (extra-objs): Add $(addprefix
25631 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25632 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25633 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25634 calling $(make-target-directory).
25635
25636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25637
25638 * bits/types.h (__snseconds_t): Removed.
25639 * time/time.h (struct timespec): Replace __snseconds_t with
25640 __syscall_slong_t.
25641 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25642 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25643 Likewise.
25644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25645 (__SNSECONDS_T_TYPE): Likewise.
25646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25647 (__SNSECONDS_T_TYPE): Likewise.
25648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25649 (__SNSECONDS_T_TYPE): Likewise.
25650
25651 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25652
25653 * sysdeps/mach/hurd/bits/typesizes.h
25654 (__SYSCALL_SLONG_TYPE): New macro.
25655 (__SYSCALL_ULONG_TYPE): Likewise.
25656
25657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25658
25659 * bits/types.h (__syscall_slong_t): New type.
25660 (__syscall_ulong_t): Likewise.
25661
25662 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25663 (__SYSCALL_ULONG_TYPE): Likewise.
25664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25665 (__SYSCALL_SLONG_TYPE): Likewise.
25666 (__SYSCALL_ULONG_TYPE): Likewise.
25667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25668 (__SYSCALL_SLONG_TYPE): Likewise.
25669 (__SYSCALL_ULONG_TYPE): Likewise.
25670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25671 (__SYSCALL_SLONG_TYPE): Likewise.
25672 (__SYSCALL_ULONG_TYPE): Likewise.
25673
25674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25675
25676 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25677 Add sigaltstack-offsets.sym.
25678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25679 <sigaltstack-offsets.h>.
25680 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25681 longjmp_msg pointer.
25682 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25683 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25684 signal stack.
25685 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25686
25687 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25688
25689 * elf/stackguard-macros.h: Remove file.
25690 * sysdeps/generic/stackguard-macros.h: New file.
25691 * sysdeps/i386/stackguard-macros.h: Likewise.
25692 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25693 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25694 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25695 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25696 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25697 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25698 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25699 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25700 <elf/stackguard-macros.h>.
25701
25702 [BZ #14109]
25703 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25704 __aligned__ in attribute.
25705 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25706 (gregset_t): Likewise.
25707
25708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25709
25710 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25711 * sysdeps/x86_64/64/Implies-after: Here. New file.
25712 * sysdeps/x86_64/x32/Implies-after: New file.
25713
25714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25715
25716 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25717 and access return value for _dl_profile_fixup. Use R10_LP to
25718 load frame size.
25719
25720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25721
25722 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25723
25724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25725
25726 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25727 * sysdeps/x86_64/x32/sysdep.h: New file.
25728
25729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25730
25731 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25732 * sysdeps/x86_64/setjmp.S: Likewise.
25733
25734 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25735
25736 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25737 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25738 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25740 remove unused global constant.
25741
25742 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25743
25744 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25745 include of <not-cancel.h>.
25746
25747 2012-05-15 Roland McGrath <roland@hack.frob.com>
25748
25749 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25750
25751 2012-05-15 Jeff Law <law@redhat.com>
25752 Andreas Jaeger <aj@suse.de>
25753
25754 [BZ #13594]
25755 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25756 out from...
25757 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25758 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25759 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25760 code changing __hst_map_handle.map.
25761
25762 2012-05-15 Roland McGrath <roland@hack.frob.com>
25763
25764 * configure.in (sysnames): Look for Implies-before and Implies-after
25765 files.
25766 * configure: Regenerated.
25767
25768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25769
25770 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25771 8-byte data alignment with LP_SIZE alignment.
25772
25773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25774
25775 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25776 into R10_LP.
25777
25778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25779
25780 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25781
25782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25783
25784 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25785 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25786 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25787 Likewise.
25788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25789
25790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25791
25792 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25793 (stackinfo_sub_sp): Likewise.
25794
25795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25796
25797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25798 RAX_LP.
25799
25800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25801
25802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25803 into R*_LP.
25804
25805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25806
25807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25808 sizes into R*_LP.
25809
25810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25811
25812 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25813
25814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25815
25816 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25817 into R11_LP and load __x86_64_shared_cache_size_half into
25818 R8_LP.
25819
25820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25821
25822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25823 R8_LP.
25824
25825 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25826
25827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25828 logb for POWER7.
25829 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25830 logbf for POWER7.
25831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25832 logbl for POWER7.
25833 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25834 powerpc32/power7/fpu/s_logb.c via #include.
25835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25836 powerpc32/power7/fpu/s_logbf.c via #include.
25837 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25838 powerpc32/power7/fpu/s_logbl.c via #include.
25839
25840 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25841
25842 * README.libm: Remove file.
25843
25844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25845
25846 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25847 count for x32. Use R*_LP and omit operand-size suffix.
25848
25849 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25850
25851 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25852 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25853 * sysdeps/x86_64/x32/shlib-versions: New file.
25854
25855 2012-05-14 Roland McGrath <roland@hack.frob.com>
25856
25857 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25858 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25859 Use _dl_fatal_printf instead.
25860
25861 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25862
25863 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25864 set if not set by the user. Do not allow for being unset.
25865 * sysdeps/unix/sysv/linux/configure: Regenerated.
25866
25867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25868
25869 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25870 the `q' suffix from lea and replace .quad with ASM_ADDR.
25871
25872 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25873
25874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25875 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25876 instead of $17.
25877 (PTR_DEMANGLE): Likewise.
25878
25879 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25882 (LP_OP): Likewise.
25883 (ASM_ADDR): Likewise.
25884 (RAX_LP): Likewise.
25885 (RBP_LP): Likewise.
25886 (RBX_LP): Likewise.
25887 (RCX_LP): Likewise.
25888 (RDI_LP): Likewise.
25889 (RSI_LP): Likewise.
25890 (RSP_LP): Likewise.
25891 (R8_LP): Likewise.
25892 (R9_LP): Likewise.
25893 (R10_LP): Likewise.
25894 (R10_LP): Likewise.
25895 (R11_LP): Likewise.
25896 (R12_LP): Likewise.
25897 (R13_LP): Likewise.
25898 (R14_LP): Likewise.
25899 (R15_LP): Likewise.
25900
25901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25902
25903 * sysdeps/x86_64/x32/dl-machine.h: New file.
25904
25905 2012-05-14 Andreas Jaeger <aj@suse.de>
25906
25907 * manual/Makefile (subdir): Remove export of subdir.
25908 (all): Remove target.
25909 (.PHONY): Remove all from list.
25910 (mkinstalldirs): Remove.
25911 (.PHONY): Remove installdirs from list.
25912 ($(inst_infodir)/libc.info): Use make-target-directory.
25913 (installdirs): Remove.
25914 (subdir_%): Remove.
25915 (glibc-targets): Remove.
25916 (lib): Remove.
25917 (stubs): Remove.
25918 ($(objpfx)stubs ../po/manual.pot): Remove.
25919 ($(objpfx)stamp%): Remove.
25920 (make-target-directory): Remove.
25921 (subdir_install): Remove.
25922 (routines): Remove.
25923 (aux): Remove.
25924 (sources): Remove.
25925 (objects): Remove.
25926 (headers): Remove.
25927
25928 [BZ #13750]
25929 * manual/.gitignore: Remove, it's not needed anymore.
25930 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25931 all files in it.
25932 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25933 directory.
25934 (texis): Renamed to $(objpfx)texis.
25935 (texis-path): New, contains path to generated files.
25936 (chapters.%): Use texis-path for complete path, add extra argument
25937 libc-texinfo.sh.
25938 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25939 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25940 (summary,texi, stamp-summary): Use complete path of
25941 files. Generate files in build dir.
25942 (dir-add.texi): Build in build dir.
25943 (libm-err.texi,stamp-libm-err): Likewise.
25944 (version.texi, stamp-version): Likewise.
25945 (.%c.texi): Likewise.
25946 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25947 (mostlyclean): Remove target.
25948 (realclean): Remove target.
25949 (generated): Add new variable with contents from mostlyclean and
25950 realclean, remove entries duplicated in common-mostlyclean, add
25951 stamp-libm-err and stamp-version.
25952 (generated-dirs): Add libc directory.
25953 ($(inst_infodir)/libc.info): Install files from build dir.
25954
25955 * manual/install.texi (Configuring and compiling): Adjust since
25956 the info files are not part of the tar ball anymore.
25957
25958 2012-05-14 Andreas Jaeger <aj@suse.de>
25959
25960 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25961 variable.
25962
25963 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25964
25965 [BZ #13717]
25966 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25967 to 2.2.0 where earlier.
25968 * sysdeps/unix/sysv/linux/configure: Regenerated.
25969 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25970 Remove conditional code.
25971 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25972 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25973 Remove conditional code.
25974 [!__NR_lchown]: Likewise.
25975 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25976 [__NR_lchown]: Likewise.
25977 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25978 comment referencing __ASSUME_LCHOWN_SYSCALL.
25979 * sysdeps/unix/sysv/linux/i386/sigaction.c
25980 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25981 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25982 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25983 Remove conditional code.
25984 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25985 (__protocol_available): Remove #if 0 code.
25986 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25987 conditional code.
25988 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25989 * sysdeps/unix/sysv/linux/kernel-features.h
25990 (__ASSUME_GETCWD_SYSCALL): Don't define.
25991 (__ASSUME_REALTIME_SIGNALS): Likewise.
25992 (__ASSUME_PREAD_SYSCALL): Likewise.
25993 (__ASSUME_PWRITE_SYSCALL): Likewise.
25994 (__ASSUME_POLL_SYSCALL): Likewise.
25995 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25996 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25997 non-SPARC.
25998 (__ASSUME_SIOCGIFNAME): Don't define.
25999 (__ASSUME_MSG_NOSIGNAL): Likewise.
26000 (__ASSUME_SENDFILE): Define unconditionally.
26001 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26002 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26003 conditional code.
26004 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26005 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26006 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26007 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26008 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26009 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26010 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26015 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26021 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26024 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26027 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26035 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26036 Remove conditional code.
26037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26038 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26039 Remove conditional code.
26040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26041 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26042 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26043 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26044 Remove conditional code.
26045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26046 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26047 Remove conditional code.
26048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26049 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26050 Remove conditional code.
26051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26052 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26053 Remove conditional code.
26054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26055 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26056 Remove conditional code.
26057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26058 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26061 * sysdeps/unix/sysv/linux/sigaction.c
26062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26064 * sysdeps/unix/sysv/linux/sigpending.c
26065 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26066 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26067 * sysdeps/unix/sysv/linux/sigprocmask.c
26068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26070 * sysdeps/unix/sysv/linux/sigsuspend.c
26071 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26072 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26073 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26074 (__libc_missing_rt_sigs): Remove.
26075 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26076 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26077 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26078 Remove conditional code.
26079 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26080 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26081 return 1.
26082 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26083 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26084 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26085 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26086
26087 2012-05-14 Andreas Jaeger <aj@suse.de>
26088
26089 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26090 it's not used in glibc.
26091 (__coshm1): Likewise.
26092 (__acosh1p): Likewise.
26093 (__sgn): Likewise.
26094
26095 * manual/string.texi (Copying and Concatenation): Add missing
26096 variable in concat example.
26097 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26098
26099 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26100
26101 [BZ #14103]
26102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26103 __builtin_clzl with __builtin_clzll.
26104
26105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26106
26107 [BZ #14104]
26108 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26109 libc_freeres_ptr.
26110
26111 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26112
26113 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26114 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26115 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26116 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26117
26118 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26119
26120 * NEWS: Update ia64 info.
26121
26122 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26123
26124 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26125 used as bcopy.
26126
26127 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26128
26129 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26130 * sysdeps/unix/syscalls.list (dup3): Likewise.
26131 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26132 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26133
26134 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26135
26136 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26137 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26138
26139 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26140
26141 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26142 thread pointer.
26143 (TLS_IE): Use mov/add instead of movq/addq to load thread
26144 pointer.
26145 (TLS_GD_PREFIX): New.
26146 (TLS_GD): Use it.
26147
26148 2012-05-11 David S. Miller <davem@davemloft.net>
26149
26150 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26151 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26152 (_FPU_SETCW): Likewise.
26153
26154 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26155
26156 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26157 is 32-byte aligned.
26158
26159 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26160
26161 [BZ #11837]
26162 * iconvdata/gb18030.c: Update tables.
26163 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26164 characters specially.
26165 (BODY for TO_LOOP): Add encoding of missing ranges.
26166
26167 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26168
26169 [BZ #13673]
26170 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26171 * sysdeps/mach/hurd/dup3.c: Likewise.
26172 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26173 * sysdeps/powerpc/memmove.c:: Likewise.
26174
26175 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26176
26177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26178 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26179
26180 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26181
26182 * elf/elf.h (R_X86_64_RELATIVE64): New.
26183 (R_X86_64_NUM): Updated.
26184 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26185 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26186 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26187 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26188 tst-quad1pie tst-quad2pie
26189 (modules-names): Add tst-quadmod1 tst-quadmod2.
26190 ($(objpfx)tst-quad1): New dependency.
26191 ($(objpfx)tst-quad2): Likewise.
26192 ($(objpfx)tst-quad1pie): Likewise.
26193 ($(objpfx)tst-quad2pie): Likewise.
26194 * sysdeps/x86_64/tst-quad1.c: New file.
26195 * sysdeps/x86_64/tst-quad1pie.c: New file.
26196 * sysdeps/x86_64/tst-quad2.c: Likewise.
26197 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26198 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26199 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26200 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26201 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26202
26203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26204
26205 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26206 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26207 * streams/stropts.h (t_scalar_t): Define type.
26208
26209 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26210 (_PATH_PRESERVE): Set to "/var/lib".
26211 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26212
26213 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26214 instead of int.
26215
26216 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26217 if __dir_mkfile succeeded.
26218
26219 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26220 checking for _hurd_dtablesize. Unlock it right after having
26221 finished _hurd_dtable allocation.
26222
26223 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26224
26225 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26226 * sysdeps/mach/hurd/configure: Regenerated.
26227 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26228 special-casing to...
26229 * sysdeps/gnu/configure.in: ... this new file.
26230 * sysdeps/unix/sysv/linux/configure: Regenerated.
26231 * sysdeps/gnu/configure: New generated file.
26232
26233 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26234 for Linux: use nsec instead of usec, as well as:
26235 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26236 members of type struct timespec.
26237 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26238 New macros.
26239 (struct stat64): Likewise.
26240 (_STATBUF_ST_NSEC): New macro.
26241 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26242
26243 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26244 __strtoul_internal rather than strtoul.
26245
26246 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26247
26248 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26249 and reject them.
26250
26251 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26252
26253 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26254 which preserves existing values.
26255 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26256
26257 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26258
26259 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26260 TIMEOUT values. Return EINVAL for NFDS values either negative or
26261 greater than FD_SETSIZE.
26262
26263 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26264
26265 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26266 allocated, call __vm_protect to finish enabling the existing space, and
26267 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26268 allocate the remainder.
26269
26270 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26271
26272 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26273 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26274
26275 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26276
26277 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26278 sysdeps/mach/hurd/readlink.c.
26279
26280 * posix/tst-sysconf.c (posix_options): Only use
26281 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26282 _POSIX_SYNCHRONIZED_IO when they are defined
26283 * sysdeps/mach/hurd/bits/posix_opt.h:
26284 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26285 (_XOPEN_REALTIME): Undefine macro.
26286 (_XOPEN_REALTIME_THREADS): Undefine macro.
26287 (_XOPEN_SHM): Undefine macro.
26288 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26289 macro to -1.
26290 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26291 macro to -1.
26292 (_POSIX_ASYNC_IO): Undefine macro.
26293 (_POSIX_PRIORITIZED_IO): Undefine macro.
26294 (_POSIX_SPIN_LOCKS): Define macro to -1.
26295
26296 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26297 SA_NODEFER, SA_RESETHAND.
26298 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26299 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26300 F_DUPFD_CLOEXEC.
26301
26302 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26303
26304 * elf/Makefile (pldd-modules): Define unconditionally.
26305
26306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26307
26308 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26309
26310 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26311
26312 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26313 Return ENOENT when name is empty.
26314 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26315
26316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26317
26318 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26319
26320 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26321
26322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26323
26324 Fix mlock in all cases except non-readable pages.
26325 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26326 instead of VM_PROT_ALL as parameter to __vm_wire function.
26327
26328 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26329 (__mkdir): When path is `/', just fail with EEXIST.
26330 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26331
26332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26333
26334 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26335 <sys/uio.h> (for writev).
26336 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26337 and <sys/param.h> (for MIN).
26338
26339 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26340
26341 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26342 REQUESTED_TIME. Properly set the remaining time and return EINTR
26343 if interrupted.
26344
26345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26346
26347 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26348 Depend on against $(link-rpcuserlibs).
26349
26350 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26351
26352 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26353 (__libc_stack_end): Do not use attribute_relro.
26354 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26355 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26356 to libthread-provided value.
26357 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26358 attribute_relro.
26359
26360 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26361
26362 [BZ #3748]
26363 * bits/libc-lock.h (__libc_once_get): New macro.
26364 * sysdeps/mach/bits/libc-lock.h: Likewise.
26365 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26366 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26367 instead of using implementation details.
26368
26369 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26370 * libio/freopen.c: Likewise.
26371 * libio/freopen64.c: Likewise.
26372 * misc/syslog.c: Likewise.
26373 * nscd/connections.c: Likewise.
26374 * nscd/netgroupcache.c: Likewise.
26375 * sysdeps/posix/getcwd.c: Likewise.
26376
26377 2012-05-10 Roland McGrath <roland@hack.frob.com>
26378
26379 * math/w_ilogbf.c: Add #include <limits.h>.
26380
26381 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26382
26383 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26384 path instead of returning without unlocking.
26385
26386 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26387 immediate-write ioctls.
26388 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26389
26390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26391
26392 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26393 __builtin_frame_address instead of making assumptions about the
26394 location of the return address relative to DATA. Force early load of
26395 the return address.
26396 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26397 __builtin_frame_address.
26398
26399 dup3 for GNU Hurd.
26400 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26401 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26402 implement dup3 and do some further code clean-ups.
26403 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26404 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26405
26406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26407
26408 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26409
26410 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26411 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26412 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26413 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26414 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26415 d->port.lock.
26416
26417 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26418 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26419 when handler == SIG_ERR, not when handler != SIG_ERR.
26420
26421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26422
26423 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26424 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26425 definitions.
26426
26427 accept4 for GNU Hurd.
26428 * include/sys/socket.h (__libc_accept4): New prototype.
26429 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26430 to implement __libc_accept4.
26431 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26432 __libc_accept4.
26433 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26434
26435 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26436 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26437 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26438 signal-defines.sym.
26439
26440 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26441
26442 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26443
26444 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26445
26446 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26447 assertion on O_CLOEXEC flag.
26448 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26449 * hurd/intern-fd.c: Likewise.
26450 * hurd/port2fd.c: Likewise.
26451
26452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26453
26454 [BZ #3906]
26455 * bits/in.h (IPV6_PKTINFO): Define new macro.
26456 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26457
26458 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26459
26460 [BZ #13954]
26461 [BZ #13955]
26462 [BZ #13956]
26463 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26465 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26466 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26468 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26469 * math/libm-test.inc (logb_test) : Additional logb tests.
26470
26471 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26472 Andreas Jaeger <aj@suse.de>
26473
26474 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26475 * configure: Regenerated.
26476 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26477 * config.make.in (link-obsolete-rpc): New substituted variable.
26478 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26479 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26480 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26481 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26482 so that libc.a contains the symbols.
26483 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26484 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26485 * sunrpc/auth_none.c: Likewise.
26486 * sunrpc/auth_unix.c: Likewise.
26487 * sunrpc/authdes_prot.c: Likewise.
26488 * sunrpc/authuxprot.c: Likewise.
26489 * sunrpc/clnt_gen.c: Likewise.
26490 * sunrpc/clnt_perr.c: Likewise.
26491 * sunrpc/clnt_raw.c: Likewise.
26492 * sunrpc/clnt_simp.c: Likewise.
26493 * sunrpc/clnt_tcp.c: Likewise.
26494 * sunrpc/clnt_udp.c: Likewise.
26495 * sunrpc/clnt_unix.c: Likewise.
26496 * sunrpc/des_crypt.c: Likewise.
26497 * sunrpc/des_soft.c: Likewise.
26498 * sunrpc/get_myaddr.c: Likewise.
26499 * sunrpc/key_call.c: Likewise.
26500 * sunrpc/key_prot.c: Likewise.
26501 * sunrpc/netname.c: Likewise.
26502 * sunrpc/pm_getmaps.c: Likewise.
26503 * sunrpc/pm_getport.c: Likewise.
26504 * sunrpc/pmap_clnt.c: Likewise.
26505 * sunrpc/pmap_prot.c: Likewise.
26506 * sunrpc/pmap_prot2.c: Likewise.
26507 * sunrpc/pmap_rmt.c: Likewise.
26508 * sunrpc/publickey.c: Likewise.
26509 * sunrpc/rpc_cmsg.c: Likewise.
26510 * sunrpc/rpc_common.c: Likewise.
26511 * sunrpc/rpc_dtable.c: Likewise.
26512 * sunrpc/rpc_prot.c: Likewise.
26513 * sunrpc/rpc_thread.c: Likewise.
26514 * sunrpc/rtime.c: Likewise.
26515 * sunrpc/svc.c: Likewise.
26516 * sunrpc/svc_auth.c: Likewise.
26517 * sunrpc/svc_raw.c: Likewise.
26518 * sunrpc/svc_run.c: Likewise.
26519 * sunrpc/svc_tcp.c: Likewise.
26520 * sunrpc/svc_udp.c: Likewise.
26521 * sunrpc/svc_unix.c: Likewise.
26522 * sunrpc/svcauth_des.c: Likewise.
26523 * sunrpc/xcrypt.c: Likewise.
26524 * sunrpc/xdr.c: Likewise.
26525 * sunrpc/xdr_array.c: Likewise.
26526 * sunrpc/xdr_float.c: Likewise.
26527 * sunrpc/xdr_intXX_t.c: Likewise.
26528 * sunrpc/xdr_mem.c: Likewise.
26529 * sunrpc/xdr_rec.c: Likewise.
26530 * sunrpc/xdr_ref.c: Likewise.
26531 * sunrpc/xdr_sizeof.c: Likewise.
26532 * sunrpc/xdr_stdio.c: Likewise.
26533
26534 2012-05-10 Roland McGrath <roland@hack.frob.com>
26535
26536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26537 change. Update copyright years.
26538
26539 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26540
26541 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26542
26543 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26544 Joseph Myers <joseph@codesourcery.com>
26545 Paul Pluzhnikov <ppluzhnikov@google.com>
26546
26547 [BZ #14012]
26548 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26549 requiring rpcgen.
26550 [cross-compiling] (extra-libs): Likewise.
26551 [cross-compiling] (extra-libs-others): Likewise.
26552 [cross-compiling] (librpcsvc-routines): Likewise.
26553 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26554 [cross-compiling] (omit-deps): Likewise.
26555 (sunrpc-CPPFLAGS): New variable.
26556 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26557 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26558 (cross-rpcgen-objs): New variable.
26559 (extra-objs): Append $(cross-rpcgen-objs).
26560 ($(cross-rpcgen-objs)): New rule.
26561 ($(objpfx)cross-rpcgen): Likewise.
26562 (rpcgen-cmd): Define to use $(built-program-file). Expand
26563 comment.
26564 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26565 ($(objpfx)x%.stmp): Likewise.
26566 * sunrpc/proto.h [IS_IN_build] (_): Define.
26567 [IS_IN_build] (_libc_intl_domainname): Likewise.
26568
26569 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26570
26571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26572 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26573 and R_X86_64_TPOFF64.
26574
26575 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26576
26577 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26578 sysdeps/unix/sysv/syscalls.list.
26579 (stime): Likewise.
26580 (utime): Likewise.
26581 * sysdeps/unix/sysv/syscalls.list: Remove file.
26582
26583 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26584
26585 [BZ #3440]
26586 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26587 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26588 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26589 (__LC_IDENTIFICATION): Make these macros useful in #if
26590 expressions, as required by C99.
26591
26592 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26593
26594 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26595 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26596 after this.
26597
26598 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26599
26600 * stdlib/longlong.h: Updated from GCC.
26601
26602 2012-05-09 Andreas Jaeger <aj@suse.de>
26603
26604 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26605 default is first entry.
26606 (run_mode): Set type.
26607 (main): Remove informal message about syslog.
26608 (options): Fix typo.
26609
26610 [BZ #14053]
26611 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26612 to asm.
26613 (lrint): Likewise.
26614 (llrintf): Likewise.
26615 (llrint): Likewise.
26616 (rint): Likewise.
26617 (rintf): Likewise.
26618 (nearbyint): Likewise.
26619 (nearbyintf): Likewise.
26620
26621 2012-05-09 Andreas Jaeger <aj@suse.de>
26622 Pedro Alves <palves@redhat.com>
26623
26624 * nscd/nscd.c (run_mode): Use enum.
26625 (main): Cleanup coding style issue.
26626
26627 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26628 Andreas Jaeger <aj@suse.de>
26629
26630 * nscd/nscd.c (go_background): Replaced with...
26631 (run_mode): ... this.
26632 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26633 (options): Add -F --foreground.
26634 (main): Implement it.
26635 (parse_opt): Parse it.
26636
26637 2012-05-09 Andreas Jaeger <aj@suse.de>
26638
26639 [BZ #14083]
26640 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26641 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26642 -Wconversion warning.
26643 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26644 Likewise.
26645
26646 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26647
26648 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26649 == 0.
26650 (LC_ALL): Use macro-int-constant.
26651 (LC_COLLATE): Likewise.
26652 (LC_CTYPE): Likewise.
26653 (LC_MESSAGES): Likewise.
26654 (LC_MONETARY): Likewise.
26655 (LC_NUMERIC): Likewise.
26656 (LC_TIME): Likewise.
26657 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26658 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26660 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26661 Specify type.
26662 [C99-based standards] (float_t): Expect type.
26663 [C99-based standards] (double_t): Expect type.
26664 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26665 type.
26666 [C99-based standards] (HUGE_VALL): Likewise.
26667 [C99-based standards] (INFINITY): Likewise.
26668 [C99-based standards] (NAN): Likewise.
26669 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26670 [C99-based standards] (FP_NAN): Likewise.
26671 [C99-based standards] (FP_NORMAL): Likewise.
26672 [C99-based standards] (FP_SUBNORMAL): Likewise.
26673 [C99-based standards] (FP_ZERO): Likewise.
26674 [C99-based standards] (FP_FAST_FMA): Use
26675 optional-macro-int-constant. Specify type. Require == 1.
26676 [C99-based standards] (FP_FAST_FMAF): Likewise.
26677 [C99-based standards] (FP_FAST_FMAL): Likewise.
26678 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26679 [C99-based standards] (FP_ILOGBNAN): Likewise.
26680 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26681 Specify type.
26682 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26683 [C99-based standards] (math_errhandling): Specify type.
26684 [ISO99 || ISO11] (signgam): Do not allow.
26685 [non-C99-based standards] (copysignf): Do not allow.
26686 [non-C99-based standards] (exp2f): Likewise.
26687 [non-C99-based standards] (log2f): Likewise.
26688 [non-C99-based standards] (modff): Allow.
26689 [non-C99-based standards] (erff): Do not allow.
26690 [non-C99-based standards] (erfcf): Likewise.
26691 [non-C99-based standards] (gammaf): Likewise.
26692 [non-C99-based standards] (hypotf): Likewise.
26693 [non-C99-based standards] (j0f): Likewise.
26694 [non-C99-based standards] (j1f): Likewise.
26695 [non-C99-based standards] (jnf): Likewise.
26696 [non-C99-based standards] (lgammaf): Likewise.
26697 [non-C99-based standards] (tgammaf): Likewise.
26698 [non-C99-based standards] (y0f): Likewise.
26699 [non-C99-based standards] (y1f): Likewise.
26700 [non-C99-based standards] (ynf): Likewise.
26701 [non-C99-based standards] (isnanf): Likewise.
26702 [non-C99-based standards] (acoshf): Likewise.
26703 [non-C99-based standards] (asinhf): Likewise.
26704 [non-C99-based standards] (atanhf): Likewise.
26705 [non-C99-based standards] (cbrtf): Likewise.
26706 [non-C99-based standards] (expm1f): Likewise.
26707 [non-C99-based standards] (ilogbf): Likewise.
26708 [non-C99-based standards] (log1pf): Likewise.
26709 [non-C99-based standards] (logbf): Likewise.
26710 [non-C99-based standards] (nextafterf): Likewise.
26711 [non-C99-based standards] (remainderf): Likewise.
26712 [non-C99-based standards] (rintf): Likewise.
26713 [non-C99-based standards] (scalbf): Likewise.
26714 [non-C99-based standards] (copysignl): Likewise.
26715 [non-C99-based standards] (exp2l): Likewise.
26716 [non-C99-based standards] (log2l): Likewise.
26717 [non-C99-based standards] (modfl): Allow.
26718 [non-C99-based standards] (erfl): Do not allow.
26719 [non-C99-based standards] (erfcl): Likewise.
26720 [non-C99-based standards] (gammal): Likewise.
26721 [non-C99-based standards] (hypotl): Likewise.
26722 [non-C99-based standards] (j0l): Likewise.
26723 [non-C99-based standards] (j1l): Likewise.
26724 [non-C99-based standards] (jnl): Likewise.
26725 [non-C99-based standards] (lgammal): Likewise.
26726 [non-C99-based standards] (tgammal): Likewise.
26727 [non-C99-based standards] (y0l): Likewise.
26728 [non-C99-based standards] (y1l): Likewise.
26729 [non-C99-based standards] (ynl): Likewise.
26730 [non-C99-based standards] (isnanl): Likewise.
26731 [non-C99-based standards] (acoshl): Likewise.
26732 [non-C99-based standards] (asinhl): Likewise.
26733 [non-C99-based standards] (atanhl): Likewise.
26734 [non-C99-based standards] (cbrtl): Likewise.
26735 [non-C99-based standards] (expm1l): Likewise.
26736 [non-C99-based standards] (ilogbl): Likewise.
26737 [non-C99-based standards] (log1pl): Likewise.
26738 [non-C99-based standards] (logbl): Likewise.
26739 [non-C99-based standards] (nextafterl): Likewise.
26740 [non-C99-based standards] (remainderl): Likewise.
26741 [non-C99-based standards] (rintl): Likewise.
26742 [non-C99-based standards] (scalbl): Likewise.
26743 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26744 [non-C99-based standards] (FP_*): Do not allow.
26745 [C99-based standards] (FP_*): Change to
26746 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26747 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26748 allow.
26749 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26750 (SIG_ERR): Likewise.
26751 [X/Open-based standards] (SIG_HOLD): Likewise.
26752 (SIG_IGN): Likewise.
26753 (SIGABRT): Use macro-int-constant. Specify type. Require
26754 positive value.
26755 (SIGFPE): Likewise.
26756 (SIGILL): Likewise.
26757 (SIGINT): Likewise.
26758 (SIGSEGV): Likewise.
26759 (SIGTER): Likewise.
26760 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26761 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26762 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26763 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26764 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26765 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26766 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26767 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26768 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26769 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26770 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26771 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26772 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26773 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26774 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26775 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26776 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26777 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26778 [X/Open-based standards] (SIGTRAP): Likewise.
26779 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26780 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26781 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26782 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26783 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26784 allow.
26785
26786 2012-05-08 Ian Wienand <ianw@vmware.com>
26787
26788 [BZ #14080]
26789 * time/tzset.c (__tzset_parse_tz): Update default rules for
26790 daylight time changes in the Energy Policy Act of 2005.
26791
26792 2012-05-09 Andreas Jaeger <aj@suse.de>
26793
26794 [BZ #13983]
26795 * elf/ldconfig.c (parse_conf): Change string to make clear that
26796 ldconfig only issued a warning if ld.so.conf does not exist.
26797
26798 2012-05-08 David S. Miller <davem@davemloft.net>
26799
26800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26801 movxtod instead of popping the value on the stack.
26802
26803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26804
26805 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26806
26807 * config.h.in: Add HAVE_ARM_PCS_VFP.
26808
26809 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26810
26811 [BZ #13979]
26812 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26813 checking but the checks are disabled for any reason.
26814
26815 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26816
26817 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26818 and ELF64_R_TYPE with ELFW(R_TYPE).
26819
26820 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26821
26822 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26823 (ulimit): Likewise.
26824
26825 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26826 (settimeofday): Likewise.
26827
26828 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26829
26830 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26831 a struct th_u2 inside the union, and move tu_block/tu_code into
26832 a new th_u3 union of tu_block/tu_code inside of that. Move
26833 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26834 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26835 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26836 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26837 (th_stuff): Change to th_u1.tu_stuff.
26838 (th_data): Define.
26839 (th_msg): Change to th_u1.th_u2.tu_data.
26840
26841 2012-05-07 David S. Miller <davem@davemloft.net>
26842
26843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26844
26845 [BZ #14074]
26846 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26847 (SETUP_PIC_REG): Use it.
26848 (SETUP_PIC_REG_LEAF): Use it.
26849
26850 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26851
26852 [BZ #13885]
26853 [BZ #13923]
26854 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26855 USE_AS_EXPM1L.
26856 (EXPL_FINITE): Likewise.
26857 (FLDLOG): Likewise.
26858 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26859 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26860 e_expl.S.
26861 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26862 USE_AS_EXPM1L.
26863 (EXPL_FINITE): Likewise.
26864 (FLDLOG): Likewise.
26865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26866 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26867 e_expl.S.
26868 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26869 test of -max_value argument for long double.
26870 * sysdeps/i386/fpu/libm-test-ulps: Update.
26871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26872
26873 2012-05-06 David S. Miller <davem@davemloft.net>
26874
26875 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26876 quad soft-float symbols whose references which are compiler
26877 generated.
26878 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26879
26880 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26881
26882 [BZ #13884]
26883 [BZ #13914]
26884 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26885 USE_AS_EXP10L.
26886 (EXPL_FINITE): Likewise.
26887 (FLDLOG): Likewise.
26888 (c0): Likewise.
26889 (c1): Likewise.
26890 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26891 Adjust comments for base varying.
26892 (__expl_finite): Change alias to EXPL_FINITE.
26893 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26894 e_expl.S.
26895 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26896 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26898 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26899 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26900 USE_AS_EXP10L.
26901 (EXPL_FINITE): Likewise.
26902 (FLDLOG): Likewise.
26903 (c0): Likewise.
26904 (c1): Likewise.
26905 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26906 Adjust comments for base varying.
26907 (__expl_finite): Change alias to EXPL_FINITE.
26908 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26909 tests for bugs.
26910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26911
26912 [BZ #14064]
26913 * math/libm-test.inc (check_float_internal): Correct ulp
26914 calculation for subnormal expected results.
26915
26916 2012-05-06 Andreas Jaeger <aj@suse.de>
26917
26918 * Makeconfig (+math-flags): New, set to -frounding-math.
26919 (+cflags): Add +math-flags so that all of glibc gets compiled with
26920 it.
26921
26922 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26923
26924 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26925
26926 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26927 Disable one test.
26928
26929 [BZ #13787]
26930 [BZ #13922]
26931 [BZ #14036]
26932 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26933 (__ieee754_expl): Allow for and saturate large arguments.
26934 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26935 (u_threshold): Likewise.
26936 (__exp): Call __ieee754_exp before checking for overflow and
26937 underflow.
26938 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26939 (u_threshold): Likewise.
26940 (__expf): Call __ieee754_expf before checking for overflow and
26941 underflow.
26942 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26943 (u_threshold): Likewise.
26944 (__expl): Call __ieee754_expl before checking for overflow and
26945 underflow.
26946 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26947 (__ieee754_expl): Allow for and saturate large arguments.
26948 * math/libm-test.inc (exp_test): Add another test. Do not allow
26949 missing overflow exception on overflow.
26950 (expm1_test): Do not allow missing overflow exception on overflow.
26951
26952 * sysdeps/i386/fpu/e_expl.c: Move to ...
26953 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26954 rather than using inline asm.
26955 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26956 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26957 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26958
26959 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26960 (nice): Likewise.
26961 (poll): Likewise.
26962 (signal): Likewise.
26963 (time): Likewise.
26964 (times): Likewise.
26965
26966 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26967
26968 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26969 sysdeps/unix/common/syscalls.list.
26970 (fchmod): Likewise.
26971 (fchown): Likewise.
26972 (ftruncate): Likewise.
26973 (getrusage): Likewise.
26974 (gettimeofday): Likewise.
26975 (setpgid): Likewise.
26976 (setregid): Likewise.
26977 (setreuid): Likewise.
26978 (sigaction): Likewise.
26979 (truncate): Likewise.
26980 (vhangup): Likewise.
26981 * sysdeps/unix/common/syscalls.list: Remove file.
26982 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26983 * sysdeps/unix/sysv/linux/Implies: Likewise.
26984
26985 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26986
26987 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26989 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26990 Moved to ...
26991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26992 Here.
26993 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26994 to ...
26995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26996 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26997 to ...
26998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26999 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27000 to ...
27001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27002 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27003 to ...
27004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27005 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27006 to ...
27007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27008 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27009 to ...
27010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27011 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27012 to ...
27013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27014 Here.
27015 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27016 to ...
27017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27018 Here.
27019 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27020 to ...
27021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27022 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27023 Moved to ...
27024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27025 Here.
27026 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27027 to ...
27028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27029
27030 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27031
27032 * sysdeps/unix/common/bits/dirent.h: Remove file.
27033 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27034
27035 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27036 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27037 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27038 * sysdeps/unix/bsd/isatty.c: Likewise.
27039 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27040 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27041 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27042
27043 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27044
27045 [BZ #13563]
27046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27047 long double comparison inaccuracies.
27048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27050
27051 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27052
27053 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27055
27056 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27057
27058 [BZ #14049]
27059 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27060 nonzero digits before rounding a hex value.
27061 * stdlib/tst-strtod.c (tests): Add another test.
27062
27063 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27064
27065 * sysdeps/s390/fpu/libm-test-ulps: Update.
27066
27067 2012-05-03 Andreas Jaeger <aj@suse.de>
27068
27069 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27070 does not get optimized out.
27071 (malloc_opt_barrier): New.
27072
27073 2012-05-03 Andreas Jaeger <aj@suse.de>
27074 Roland McGrath <roland@hack.frob.com>
27075
27076 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27077 intermediate file deletion.
27078 (generated): Add .symlist files.
27079
27080 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27081
27082 [BZ #13775]
27083 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27084 Redirect under this condition.
27085 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27086 [__USE_GNU] (__dprintf_chk): Not under this condition.
27087 [__USE_GNU] (__vdprintf_chk): Likewise.
27088 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27089 under this condition.
27090 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27091 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27092 [__USE_XOPEN2K8] (vdprintf): Likewise.
27093 [__USE_GNU] (__dprintf_chk): Not under this condition.
27094 [__USE_GNU] (__vdprintf_chk): Likewise.
27095 [__USE_GNU] (dprintf): Likewise.
27096 [__USE_GNU] (vdprintf): Likewise.
27097
27098 2012-05-03 Roland McGrath <roland@hack.frob.com>
27099
27100 * elf/Makefile (common-generated): Set this instead of generated for
27101 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27102 $(all-built-dso)-derived lists.
27103
27104 2012-05-03 Andreas Jaeger <aj@suse.de>
27105
27106 * sysdeps/i386/fpu/libm-test-ulps: Update.
27107
27108 * FAQ: Removed.
27109 * FAQ.in: Likewise.
27110 * scripts/gen-FAQ.pl: Likewise.
27111 * manual/install.texi (Installation): Point to online location of
27112 FAQ.
27113 * Makefile (files-for-dist): Remove FAQ.
27114 (FAQ): Remove.
27115
27116 2012-05-02 Allan McRae <allan@archlinux.org>
27117
27118 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27119 (LDFLAGS-reldepmod5.so): Likewise.
27120 (LDFLAGS-reldep6mod1.so): Likewise.
27121 (LDFLAGS-reldep6mod4.so): Likewise.
27122 (LDFLAGS-reldep8mod3.so): Likewise.
27123 (LDFLAGS-unload4mod1.so): Likewise.
27124 (LDFLAGS-unload4mod2.so): Likewise.
27125 (LDFLAGS-tst-initorder): Likewise.
27126 (LDFLAGS-tst-initordera2.so): Likewise.
27127 (LDFLAGS-tst-initordera3.so): Likewise.
27128 (LDFLAGS-tst-initordera4.so): Likewise.
27129 (LDFLAGS-tst-initorderb2.so): Likewise.
27130 (LDFLAGS-noload): Likewise.
27131 (LDFLAGS-next): Likewise.
27132 (LDFLAGS-order2mod1.so): Likewise.
27133 (LDFLAGS-order2mod2.so): Likewise.
27134 (LDFLAGS-tst-initorder2): Likewise.
27135 (LDFLAGS-tst-initorder2a.so): Likewise.
27136 (LDFLAGS-tst-initorder2b.so): Likewise.
27137 (LDFLAGS-tst-initorder2c.so): Likewise.
27138 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27139
27140 2012-05-02 David S. Miller <davem@davemloft.net>
27141
27142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27143
27144 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27145
27146 [BZ #14055]
27147 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27148
27149 2012-05-02 Andreas Jaeger <aj@suse.de>
27150
27151 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27152 since we manipulate rounding mode.
27153 (CPPFLAGS-test-idouble.c): Likewise.
27154 (CPPFLAGS-test-ifloat.c): Likewise.
27155 (CFLAGS-test-ldouble.c): Likewise.
27156 (CFLAGS-test-double.c): Likewise.
27157 (CFLAGS-test-float.c): Likewise.
27158 (CFLAGS-test-misc.c): Likewise.
27159 (CFLAGS-test-test-fenv.c): Likewise.
27160
27161 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27162
27163 [BZ #2550]
27164 [BZ #2570]
27165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27166 comparisons to determine direction to adjust input.
27167
27168 2012-05-01 Roland McGrath <roland@hack.frob.com>
27169
27170 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27171 output to the target.
27172
27173 * scripts/localplt.awk: New file.
27174 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27175 (check-localplt-CFLAGS): Variable removed.
27176 ($(all-built-dso:=.jmprel)): New static pattern rule.
27177 (generated): Add those targets.
27178 (localplt-built-dso): New variable.
27179 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27180
27181 * elf/check-localplt.c: File removed.
27182
27183 * scripts/check-execstack.awk: New file.
27184 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27185 (check-execstack-CFLAGS): Variable removed.
27186 ($(objpfx)check-execstack.h): Target removed.
27187 ($(objpfx)execstack-default): New target.
27188 (generated): Add that instead of check-execstack.h.
27189 ($(all-built-dso:=.phdr)): New static pattern rule.
27190 (generated): Add those targets.
27191 * elf/check-execstack.c: File removed.
27192
27193 * scripts/check-textrel.awk: New file.
27194 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27195 (check-textrel-CFLAGS): Variable removed.
27196 (all-built-dso): Use := to define.o
27197 ($(all-built-dso:=.dyn)): New static pattern rule.
27198 (generated): Add those targets.
27199 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27200 * config.make.in (READELF): New substituted variable.
27201 * elf/check-textrel.c: File removed.
27202
27203 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27204
27205 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27206 allow.
27207 * conform/data/ctype.h-data [C99-based standards] (isblank):
27208 Expect function.
27209 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27210 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27212 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27213 Specify type. Require positive value.
27214 (EILSEQ): Likewise.
27215 (ERANGE): Likewise.
27216 [ISO || POSIX] (EILSEQ): Do not expect.
27217 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27218 Specify type. Require positive value.
27219 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27220 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27221 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27222 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27223 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27224 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27228 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27229 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27230 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27231 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27233 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27234 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27235 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27236 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27237 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27238 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27239 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27240 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27241 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27242 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27243 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27248 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27249 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27250 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27251 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27252 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27253 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27254 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27256 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27257 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27258 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27259 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27260 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27263 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27266 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27268 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27269 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27270 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27271 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27272 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27273 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27274 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27275 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27276 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27277 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27278 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27279 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27280 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27281 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27282 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27283 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27284 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27285 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27286 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27287 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27288 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27289 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27290 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27291 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27292 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27293 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27294 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27295 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27296 Require >= 2.
27297 (FLT_ROUNDS): Expect as macro, not constant.
27298 (FLT_MANT_DIG): Use macro-int-constant.
27299 (DBL_MANT_DIG): Likewise.
27300 (LDBL_MANT_DIG): Likewise.
27301 (FLT_DIG): Likewise.
27302 (DBL_DIG): Likewise.
27303 (LDBL_DIG): Likewise.
27304 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27305 (DBL_MIN_EXP): Likewise.
27306 (LDBL_MIN_EXP): Likewise.
27307 (FLT_MAX_EXP): Use macro-int-constant.
27308 (DBL_MAX_EXP): Likewise.
27309 (LDBL_MAX_EXP): Likewise.
27310 (FLT_MAX_10_EXP): Likewise.
27311 (DBL_MAX_10_EXP): Likewise.
27312 (LDBL_MAX_10_EXP): Likewise.
27313 (FLT_MAX): Use macro-constant.
27314 (DBL_MAX): Likewise.
27315 (LDBL_MAX): Likewise.
27316 (FLT_EPSILON): Use macro-constant. Give upper bound.
27317 (DBL_EPSILON): Likewise.
27318 (LDBL_EPSILON): Likewise.
27319 (FLT_MIN): Likewise.
27320 (DBL_MIN): Likewise.
27321 (LDBL_MIN): Likewise.
27322 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27323 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27324 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27325 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27326 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27327 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27328 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27329 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27330 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27331 [ISO11] (FLT_TRUE_MIN): Likewise.
27332 [ISO11] (LDBL_TRUE_MIN): Likewise.
27333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27334 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27335 (SCHAR_MIN): Use macro-int-constant. Specify type.
27336 (SCHAR_MAX): Likewise.
27337 (UCHAR_MAX): Likewise.
27338 (CHAR_MIN): Likewise.
27339 (CHAR_MAX): Likewise.
27340 (MB_LEN_MAX): Use macro-int-constant.
27341 (SHRT_MIN): Use macro-int-constant. Specify type.
27342 (SHRT_MAX): Likewise.
27343 (USHRT_MAX): Likewise.
27344 (INT_MAX): Likewise.
27345 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27346 bound negative.
27347 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27348 bound with "U".
27349 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27350 bound with "L".
27351 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27352 bound negative. Suffix upper bound with "L".
27353 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27354 bound with "UL".
27355 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27356 Specify type.
27357 [C99-based standards] (LLONG_MAX): Likewise.
27358 [C99-based standards] (ULLONG_MAX): Likewise.
27359 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27360 == 0.
27361 [ISO11] (max_align_t): Require type.
27362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27363
27364 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27365 from $CFLAGS, without defining away __attribute__ calls.
27366 (checknamespace): Use $CFLAGS_namespace.
27367
27368 * conform/conformtest.pl (@keywords): Only include C99 keywords
27369 for standards based on C99 or C11.
27370
27371 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27372 Disable tests.
27373 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27374 UNIX98]: Likewise.
27375
27376 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27377 usability of symbols in #if.
27378
27379 * conform/conformtest.pl: If macro or constant types start
27380 "promoted:", expect the symbol to be of the following type
27381 promoted by the integer promotions.
27382
27383 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27384 in one place. Also handle "macro-constant".
27385
27386 * conform/conformtest.pl: Only accept expected macro values with
27387 "==". Parse all "macro" lines in one place.
27388 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27389
27390 * conform/conformtest.pl: Handle braced types on "constant" lines
27391 instead of handling "typed-constant".
27392 * conform/data/signal.h-data: Use "constant" instead of
27393 "typed-constant".
27394
27395 * conform/conformtest.pl: Handle "optional-" at start of lines in
27396 one place rather than duplicating several cases. Handle each
27397 format of "macro" line with initial "optional-".
27398
27399 * conform/conformtest.pl: Only accept expected constant or
27400 optional-constant values with "==". Parse all "constant" lines in
27401 one place. Parse all "optional-constant" lines in one place.
27402 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27403 * conform/data/fmtmsg.h-data: Likewise.
27404 * conform/data/netinet/in.h-data: Likewise.
27405 * conform/data/tar.h-data: Likewise.
27406 * conform/data/limits.h-data: Use "==" form on "constant" and
27407 "optional-constant" lines.
27408
27409 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27410 Use -std=c99 for XOPEN2K.
27411 (@knownproblems): Remove.
27412 (newtoken): Don't check %isknown.
27413
27414 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27415 Do not expect macro.
27416 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27417 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27418 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27419 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27420 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27421 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27422 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27423 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27424 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27425 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27426 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27427 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27428 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27429 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27430 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27431 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27432 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27433 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27434 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27435 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27436 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27437 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27438 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27439 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27440 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27441 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27442 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27443 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27444 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27445 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27446 [XPG3] (acosh): Likewise.
27447 [XPG3] (asinh): Likewise.
27448 [XPG3] (atanh): Likewise.
27449 [XPG3] (cbrt): Likewise.
27450 [XPG3] (expm1): Likewise.
27451 [XPG3] (ilogb): Likewise.
27452 [XPG3] (log1p): Likewise.
27453 [XPG3] (logb): Likewise.
27454 [XPG3] (nextafter): Likewise.
27455 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27456 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27457 [XPG3] (remainder): Likewise.
27458 [XPG3] (rint): Likewise.
27459 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27460 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27461 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27462 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27463 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27464 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27465 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27466 [UNIX98 || XOPEN2K] (scalb): Expect.
27467 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27468 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27469 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27470 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27471 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27472 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27473 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27474 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27475 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27476 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27477 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27478 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27479 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27480 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27481 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27482 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27483 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27484 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27485 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27486 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27487 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27488 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27489 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27490 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27491 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27492 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27493 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27494 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27495 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27496 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27497 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27498 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27499 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27500 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27501 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27502 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27503 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27504 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27505 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27506 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27507 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27508 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27509 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27510 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27511 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27512 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27513 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27514 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27515 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27516 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27517 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27518 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27519 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27520 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27521 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27522 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27523 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27524 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27525 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27526 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27527 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27528 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27529 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27530 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27531 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27532 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27533 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27534 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27535 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27536 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27537 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27538 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27539 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27540 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27541 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27542 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27543 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27544 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27545 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27546 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27547 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27548 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27549 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27550 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27551 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27552 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27553 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27554 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27555 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27556 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27557 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27558 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27559 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27560 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27561 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27562 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27563 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27564 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27565 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27566 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27567 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27568 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27569 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27570 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27571 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27572 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27573 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27574 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27575 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27576 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27577 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27578 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27579 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27580 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27581 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27582 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27583 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27584 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27585 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27586 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27587 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27588 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27589 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27590 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27591 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27592 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27593 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27594 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27595 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27596 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27597 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27598 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27599 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27600 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27601 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27602 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27603 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27604
27605 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27606 _XOPEN_SOURCE_EXTENDED for XPG4.
27607
27608 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27609
27610 * Makeconfig (localtime): Remove variable.
27611 (inst_localtime-file): Likewise.
27612
27613 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27614
27615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27616 Update.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27618 Update.
27619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27620 Update.
27621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27622 Update.
27623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27624 Update.
27625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27626 Update.
27627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27628 Update.
27629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27630 Update.
27631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27632 Update.
27633
27634 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27635
27636 [BZ #2550]
27637 [BZ #2570]
27638 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27639 comparisons to determine direction to adjust input.
27640 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27641 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27642 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27643 Likewise.
27644 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27645 Likewise.
27646 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27647 Likewise.
27648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27650 Likewise.
27651 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27652 Likewise.
27653 * math/libm-test.inc (nexttoward_test): Add more tests.
27654
27655 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27656
27657 [BZ #14040]
27658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27659 in version GLIBC_2.1, not GLIBC_2.0.
27660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27661 Likewise.
27662
27663 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27664
27665 [BZ #13942]
27666 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27667 (1 - x) * (1 + x).
27668 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27669 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27670 * math/libm-test.inc (acos_test): Add more tests.
27671 (asin_test): Likewise.
27672 * sysdeps/i386/fpu/libm-test-ulps: Update.
27673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27674
27675 [BZ #14034]
27676 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27677 of square root.
27678 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27679 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27680 * math/libm-test.inc (acos_test_tonearest): New function.
27681 (acos_test_towardzero): Likewise.
27682 (acos_test_downward): Likewise.
27683 (acos_test_upward): Likewise.
27684 (asin_test_tonearest): Likewise.
27685 (asin_test_towardzero): Likewise.
27686 (asin_test_downward): Likewise.
27687 (asin_test_upward): Likewise.
27688 (main): Call the new functions.
27689 * sysdeps/i386/fpu/libm-test-ulps: Update.
27690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27691
27692 [BZ #13884]
27693 [BZ #13924]
27694 * math/e_exp10.c: Include <float.h>.
27695 (__ieee754_exp10): Handle underflow here rather than multiplying
27696 large negative argument by M_LN10.
27697 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27698 of __ieee754_expf.
27699 * math/e_exp10l.c: Include <float.h>.
27700 (__ieee754_exp10l): Handle underflow here rather than multiplying
27701 large negative argument by M_LN10l.
27702 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27703 spurious overflow exception on underflow.
27704
27705 2012-04-29 Marek Polacek <polacek@redhat.com>
27706
27707 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27708 (__fortify_function): New macro.
27709 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27710 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27711 __extern_always_inline.
27712 * libio/bits/stdio2.h: Likewise.
27713 * libio/bits/stdio.h: Likewise.
27714 * string/string.h: Likewise.
27715 * string/bits/string3.h: Likewise.
27716 * include/stdio.h: Likewise.
27717 * stdlib/bits/stdlib.h: Likewise.
27718 * stdlib/stdlib.h: Likewise.
27719 * rt/bits/mqueue2.h: Likewise.
27720 * rt/mqueue.h: Likewise.
27721 * posix/bits/unistd.h: Likewise.
27722 * posix/unistd.h: Likewise.
27723 * io/bits/poll2.h: Likewise.
27724 * io/bits/fcntl2.h: Likewise.
27725 * io/fcntl.h: Likewise.
27726 * io/sys/poll.h: Likewise.
27727 * misc/bits/syslog.h: Likewise.
27728 * misc/bits/syslog-ldbl.h: Likewise.
27729 * misc/sys/syslog.h: Likewise.
27730 * socket/bits/socket2.h: Likewise.
27731 * socket/sys/socket.h: Likewise.
27732 * debug/tst-chk1.c: Likewise.
27733 * wcsmbs/bits/wchar2.h: Likewise.
27734 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27735 * wcsmbs/wchar.h: Likewise.
27736
27737 2012-04-29 Andreas Jaeger <aj@suse.de>
27738
27739 * Makerules (tests): Remove enable-check-abi protection.
27740 (check-abi-warn): Remove.
27741 (check-abi-%): Remove check-abi-warn usage.
27742
27743 * configure.in: Remove check-abi configure option.
27744 * configure: Regenerated.
27745 * config.make.in (enable-check-abi): Remove.
27746
27747 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27748
27749 [BZ #14033]
27750 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27751 double functions to double *_finite functions.
27752
27753 [BZ #13941]
27754 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27755 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27756 LDBL_MIN_EXP.
27757 * stdio-common/Makefile (tests): Add tst-sprintf3.
27758 * stdio-common/tst-sprintf3.c: New file.
27759
27760 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27761 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27762
27763 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27764
27765 * conform/conformtest.pl: Remove duplicate typed-constant
27766 handling.
27767
27768 2012-04-28 David S. Miller <davem@davemloft.net>
27769
27770 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27771 (check-abi-%): Remove AWK script prerequisite and explicit
27772 abilist directory.
27773 (check-abi): Rewrite to just diff the symlist with the abilist.
27774 (config-tls, config-abi-config): Delete, no longer used.
27775 (update-abi-%): Remove AWK script and explicit abilist directory.
27776 (update-abi): Rewrite to simply compare and conditionally copy the
27777 symlist and the sysdep abilist file. Remove update-abi-config
27778 checks.
27779 * abilist/ld.abilist: Remove.
27780 * abilist/libBrokenLocale.abilist: Remove.
27781 * abilist/libanl.abilist: Remove.
27782 * abilist/libcrypt.abilist: Remove.
27783 * abilist/libdl.abilist: Remove.
27784 * abilist/librt.abilist: Remove.
27785 * abilist/libthread_db.abilist: Remove.
27786 * abilist/libutil.abilist: Remove.
27787 * scripts/extract-abilist.awk: Remove.
27788 * scripts/merge-abilist.awk: Remove.
27789 * sysdeps/generic/libcidn.abilist: New file.
27790 * sysdeps/generic/libnss_compat.abilist: New file.
27791 * sysdeps/generic/libnss_db.abilist: New file.
27792 * sysdeps/generic/libnss_dns.abilist: New file.
27793 * sysdeps/generic/libnss_files.abilist: New file.
27794 * sysdeps/generic/libnss_hesiod.abilist: New file.
27795 * sysdeps/generic/libnss_nis.abilist: New file.
27796 * sysdeps/generic/libnss_nisplus.abilist: New file.
27797 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27798 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27799 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27800 file.
27801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27802 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27803 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27804 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27805 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27806 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27807 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27808 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27809 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27810 file.
27811 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27812 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27813 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27814 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27815 file.
27816 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27817 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27818 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27819 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27820 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27821 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27822 file.
27823 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27824 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27825 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27826 file.
27827 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27829 New file.
27830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27831 New file.
27832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27833 New file.
27834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27835 New file.
27836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27837 New file.
27838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27839 New file.
27840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27841 New file.
27842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27843 New file.
27844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27845 New file.
27846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27847 New file.
27848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27849 New file.
27850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27851 New file.
27852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27853 New file.
27854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27855 file.
27856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27857 New file.
27858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27859 New file.
27860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27861 file.
27862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27863 New file.
27864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27865 New file.
27866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27867 file.
27868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27869 New file.
27870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27871 New file.
27872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27873 New file.
27874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27875 New file.
27876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27877 New file.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27879 New file.
27880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27882 file.
27883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27884 New file.
27885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27886 file.
27887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27888 file.
27889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27890 file.
27891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27892 file.
27893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27894 file.
27895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27896 New file.
27897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27898 file.
27899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27900 file.
27901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27902 New file.
27903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27904 file.
27905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27907 file.
27908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27909 New file.
27910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27911 file.
27912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27913 file.
27914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27915 file.
27916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27917 file.
27918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27919 file.
27920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27921 New file.
27922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27923 file.
27924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27925 file.
27926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27927 New file.
27928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27929 file.
27930 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27931 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27932 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27933 file.
27934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27935 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27936 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27937 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27938 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27939 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27940 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27941 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27942 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27943 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27946 file.
27947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27948 New file.
27949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27950 file.
27951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27952 file.
27953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27954 file.
27955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27956 file.
27957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27958 file.
27959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27960 New file.
27961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27962 New file.
27963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27964 file.
27965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27966 New file.
27967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27968 file.
27969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27971 file.
27972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27973 New file.
27974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27975 file.
27976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27977 file.
27978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27979 file.
27980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27981 file.
27982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27983 file.
27984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27985 New file.
27986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27987 New file.
27988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27989 file.
27990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27991 New file.
27992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27993 file.
27994
27995 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27996
27997 * conform/conformtest.pl: Fix typo in handling typed-constant from
27998 allow-header.
27999
28000 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28001
28002 * README: Cut down references to pre-2.6 Linux kernels and
28003 Linuxthreads. Update lists of configurations in libc and ports
28004 and sort alphabetically. Say "or newer" with Linux kernel version
28005 requirements.
28006
28007 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28008
28009 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28010
28011 [BZ #887]
28012 * math/libm-test.inc (logb_test_downward): New test to expose
28013 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28014 rounding mode.
28015
28016 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28017
28018 [BZ #14027]
28019 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28020 to be done.
28021 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28022 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28023
28024 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28025
28026 * sysdeps/unix/i386/brk.S: Remove file.
28027 * sysdeps/unix/i386/dl-brk.S: Likewise.
28028 * sysdeps/unix/i386/pipe.S: Likewise.
28029 * sysdeps/unix/i386/sigreturn.S: Likewise.
28030 * sysdeps/unix/i386/syscall.S: Likewise.
28031 * sysdeps/unix/i386/vfork.S: Likewise.
28032 * sysdeps/unix/i386/wait.S: Likewise.
28033
28034 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28035 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28036
28037 * configure.in (arm*-none*): Do not allow without
28038 --enable-hacker-mode.
28039 (netbsd*): Remove case setting base_os.
28040 (386bsd*): Likewise.
28041 (freebsd*): Likewise.
28042 (bsdi*): Likewise.
28043 (osf*): Likewise.
28044 (sunos*): Likewise.
28045 (ultrix*): Likewise.
28046 (newsos*): Likewise.
28047 (dynix*): Likewise.
28048 (*bsd*): Likewise.
28049 (sysv*): Likewise.
28050 (isc*): Likewise.
28051 (esix*): Likewise.
28052 (sco*): Likewise.
28053 (minix*): Likewise.
28054 (irix4*): Likewise.
28055 (irix6*): Likewise.
28056 (solaris[2-9]*): Likewise.
28057 (none): Likewise.
28058 * configure: Regenerated.
28059
28060 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28061
28062 [BZ #11521]
28063 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28064 overflow or cancellation in calculating denominator.
28065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28067 down expression to avoid unexpected rounding in newer GCCs.
28068 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28069
28070 2012-04-26 David S. Miller <davem@davemloft.net>
28071
28072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28073 long-double compat symbols.
28074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28087
28088 2012-04-25 David S. Miller <davem@davemloft.net>
28089
28090 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28091 HWCAP_* values only after the memory barriers have been defined.
28092 (atomic_full_barrier): Define.
28093 (atomic_read_barrier): Define.
28094 (atomic_write_barrier): Define.
28095
28096 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28097
28098 * shlib-versions: Add libgcc_s version information.
28099 * sysdeps/generic/libgcc_s.h: Remove.
28100 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28101 libgcc_s.h.
28102 * sysdeps/gnu/unwind-resume.c: Likewise.
28103 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28104
28105 2012-04-25 David S. Miller <davem@davemloft.net>
28106
28107 * sysdeps/unix/sparc/brk.S: Delete.
28108 * sysdeps/unix/sparc/dl-brk.S: Delete.
28109 * sysdeps/unix/sparc/pipe.S: Delete.
28110 * sysdeps/unix/sparc/sysdep.S: Delete.
28111 * sysdeps/unix/sparc/sysdep.h: Delete.
28112 * sysdeps/unix/sparc/vfork.S: Delete.
28113 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28114 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28116 ret_ERRVAL, r0, r1, MOVE): Define.
28117 (JUMPTARGET): Remove.
28118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28119 sysdeps/unix/sparc/sysdep.h
28120 (ENTRY, END): Remove.
28121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28122
28123 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28124
28125 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28126 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28127 -DIS_IN_build.
28128
28129 * timezone/README: Update upstream location and email address for
28130 tzcode and tzdata.
28131 * timezone/zdump.c: Update from tzcode 2012b.
28132 * timezone/zic.c: Likewise.
28133
28134 * configure.in (libc_cv_as_needed): Remove test.
28135 * configure: Regenerated.
28136 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28137 conditional definition.
28138 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28139 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28140 * config.make.in (have-as-needed): Remove variable.
28141
28142 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28143 Paul Pluzhnikov <ppluzhnikov@google.com>
28144
28145 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28146 strings correctly.
28147
28148 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28149
28150 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28151 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28152 * sysdeps/sh/strlen.S: Likewise.
28153
28154 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28155
28156 * sysdeps/unix/fork.S: Remove file.
28157 * sysdeps/unix/i386/fork.S: Likewise.
28158 * sysdeps/unix/sparc/fork.S: Likewise.
28159
28160 * sysdeps/unix/system.c: Remove file.
28161 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28162
28163 * sysdeps/unix/getegid.S: Remove file.
28164 * sysdeps/unix/geteuid.S: Likewise.
28165
28166 2012-04-24 Roland McGrath <roland@hack.frob.com>
28167
28168 * scripts/check-localplt.awk: New file.
28169 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28170 of diff.
28171 * scripts/data/localplt-generic.data: Add a comment.
28172
28173 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28174 NODE when __dir_mkfile failed.
28175 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28176 Reported by Ludovic Courtès <ludo@gnu.org>.
28177
28178 2012-04-24 Andreas Jaeger <aj@suse.de>
28179
28180 * Makerules (common-clean): Also remove gen-as-const-headers
28181 files.
28182
28183 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28184
28185 * Makerules (native-compile): Do not change working directory for
28186 build. Use $(OUTPUT_OPTION) in command.
28187 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28188
28189 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28190
28191 [BZ #13886]
28192 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28193 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28194 * math/libm-test.inc (floor_test): Add more tests.
28195 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28196
28197 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28198
28199 * sysdeps/unix/getdents.c: Remove file.
28200 * sysdeps/unix/sysv/getdents.c: Likewise.
28201 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28202
28203 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28204 sysdeps/unix/mman/syscalls.list.
28205 (mmap): Likewise.
28206 (mprotect): Likewise.
28207 (msync): Likewise.
28208 (munmap): Likewise.
28209 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28210 * sysdeps/unix/mman/syscalls.list: Remove.
28211 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28212
28213 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28214 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28215 * configure: Regenerated.
28216 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28217 $(libgcc_s_suffix).
28218 * config.make.in (libgcc_s_suffix): Remove variable.
28219
28220 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28221
28222 * sysdeps/unix/sysv/gethostname.c: Move to ...
28223 * sysdeps/posix/gethostname.c: ... here.
28224
28225 * sysdeps/unix/execve.S: Remove file.
28226
28227 * sysdeps/unix/_exit.S: Remove file.
28228
28229 2012-04-23 Andreas Jaeger <aj@suse.de>
28230
28231 [BZ #13739]
28232 * manual/Makefile: Remove make dist support, there's no
28233 need for a stand-alone documentation tar ball.
28234 (TEXI2DVI): Define always, it's not in Makeconfig.
28235 (dist): Removed.
28236 (tar-it): Removed.
28237 (edition): Removed.
28238 (glibc-doc-$(edition).tar): Removed
28239 (%.Z): Removed.
28240 (%.gz): Removed.
28241 (%.uu): Removed.
28242 (ETAGS): Remove, it's in Makeconfig.
28243 (move-if-change): Remove, it's in Makeconfig.
28244
28245 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28246
28247 [BZ #13970]
28248 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28249 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28250 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28251 (strtod_l, strtof_l, strtold_l): Remove __wur.
28252 It is not necessarily an error to ignore strtol's return value.
28253 One can reliably look at the stored endptr to decide whether
28254 the number had valid syntax.
28255
28256 2012-04-21 Andreas Jaeger <aj@suse.de>
28257
28258 [BZ #13739]
28259 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28260
28261 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28262
28263 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28264 * sysdeps/unix/sysv/Versions: Remove file.
28265
28266 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28267
28268 [BZ #13927]
28269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28270
28271 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28272
28273 [BZ #7064]
28274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28275 version from __vm86.
28276
28277 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28278
28279 * sysdeps/unix/common/lxstat.c: Remove file.
28280 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28281
28282 * sysdeps/unix/sysv/Makefile: Remove file.
28283
28284 * sysdeps/unix/sysv/direct.h: Remove file.
28285
28286 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28287 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28288 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28289 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28290 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28291 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28292 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28293
28294 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28295
28296 * sysdeps/unix/xmknod.c: Remove file.
28297 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28298
28299 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28300
28301 * sysdeps/unix/sysv/i386/time.S: Remove file.
28302
28303 * sysdeps/unix/fxstat.c: Remove file.
28304 * sysdeps/unix/xstat.c: Likewise.
28305 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28306
28307 * sysdeps/unix/sysv/sigaction.c: Remove file.
28308
28309 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28310 (sysdep_headers): Remove variable.
28311 [termio.h not in sysdep_headers] (generated): Likewise.
28312 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28313 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28314 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28315 * sysdeps/unix/sysv/tcflow.c: Likewise.
28316 * sysdeps/unix/sysv/tcflush.c: Likewise.
28317 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28318 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28319 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28320 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28321 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28322
28323 * sysdeps/unix/siglist.c: Remove file.
28324
28325 * sysdeps/unix/getppid.S: Remove file.
28326
28327 * sysdeps/unix/mkdir.c: Remove file.
28328 * sysdeps/unix/rmdir.c: Likewise.
28329
28330 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28331
28332 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28333 ERR_MAX value.
28334 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28335 errlist-compat value.
28336
28337 2012-04-18 David S. Miller <davem@davemloft.net>
28338
28339 * sysdeps/generic/memcopy.h (reg_char): Delete.
28340 * debug/strcat_chk.c: Use char, not reg_char.
28341 * debug/strcpy_chk.c: Likewise.
28342 * debug/strncat_chk.c: Likewise.
28343 * debug/strncpy_chk.c: Likewise.
28344 * string/memchr.c: Likewise.
28345 * string/memrchr.c: Likewise.
28346 * string/rawmemchr.c: Likewise.
28347 * string/strcat.c: Likewise.
28348 * string/strchr.c: Likewise.
28349 * string/strchrnul.c: Likewise.
28350 * string/strcmp.c: Likewise.
28351 * string/strcpy.c: Likewise.
28352 * string/strncat.c: Likewise.
28353 * string/strncmp.c: Likewise.
28354 * string/strncpy.c: Likewise.
28355
28356 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28357
28358 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28359 __builtin_memcopy is called when src and dest ranges are known to not
28360 overlap.
28361
28362 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28363
28364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28365 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28366 fwd_align_merge macro call.
28367 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28368 bwd_align_merge macro call.
28369 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28370
28371 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28372
28373 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28374 bwd_align_merge macros.
28375 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28376 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28377 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28378
28379 2012-04-18 David S. Miller <davem@davemloft.net>
28380
28381 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28382
28383 2012-04-18 Andreas Jaeger <aj@suse.de>
28384
28385 [BZ# 6794]
28386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28387 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28388 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28389
28390 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28391 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28392 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28393
28394 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28395 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28396 Adjust for changed ldbl-128 files.
28397
28398 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28399 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28400 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28401
28402 2012-04-17 David S. Miller <davem@davemloft.net>
28403
28404 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28405
28406 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28407
28408 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28409 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28410 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28411 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28412 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28413 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28414
28415 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28416
28417 [BZ #6794]
28418 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28419 * math/libm-test.inc: Add ilogb errno and exception tests.
28420 * math/w_ilogb.c: New file: ilogb wrapper.
28421 * math/w_ilogbf.c: New file: ilogbf wrapper.
28422 * math/w_ilogbl.c: New file: ilogbl wrapper.
28423 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28424 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28425 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28426 exception being thrown with 0.0 as argument.
28427 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28428 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28429 exception being thrown with 0.0 as argument.
28430 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28431 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28432 exception being thrown with 0.0 as argument.
28433 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28434 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28435 exception being thrown with 0.0 as argument.
28436 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28437 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28439 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28441 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28442 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28443 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28444 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28445
28446 2012-04-17 Petr Baudis <pasky@ucw.cz>
28447
28448 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28449 with altivec.
28450
28451 2012-04-16 Marek Polacek <polacek@redhat.com>
28452
28453 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28454
28455 2012-04-16 Marek Polacek <polacek@redhat.com>
28456
28457 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28458 operands of fdivp instruction.
28459
28460 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28461
28462 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28463 * elf/tst-auditmod3b.c: Likewise.
28464 * elf/tst-auditmod4b.c: Likewise.
28465 * elf/tst-auditmod5b.c: Likewise.
28466 * elf/tst-auditmod6b.c: Likewise.
28467 * elf/tst-auditmod6c.c: Likewise.
28468 * elf/tst-auditmod7b.c: Likewise.
28469 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28470 * sysdeps/x86_64/preconfigure.in: Likewise.
28471 * sysdeps/x86_64/preconfigure: Regenerated.
28472
28473 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28474
28475 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28476 __ILP32__.
28477
28478 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28479
28480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28481 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28482
28483 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28484
28485 [BZ #13973]
28486 * locale/iso-639.def: Fix gl language name. Spotted by
28487 Yaron Shahrabani.
28488
28489 2012-04-12 Roland McGrath <roland@hack.frob.com>
28490
28491 [BZ #2074]
28492 * libio/libio.h (__io_write_fn): Update comment.
28493
28494 2012-04-12 Petr Baudis <pasky@ucw.cz>
28495
28496 [BZ #2074]
28497 * stdio.texi (Hook Functions): The user provided writer function
28498 is not allowed to return -1.
28499
28500 2012-04-11 David S. Miller <davem@davemloft.net>
28501
28502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28503
28504 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28505
28506 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28507 Add a leading slash to rtkaio.
28508
28509 2012-04-11 Jim Meyering <meyering@redhat.com>
28510
28511 [BZ #11959]
28512 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28513 It is not necessarily an error to ignore fwrite's return
28514 value. One can reliably use ferror to test for errors after
28515 the fact.
28516
28517 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28518
28519 * bits/types.h (__snseconds_t): New type.
28520 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28521
28522 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28524 (__SNSECONDS_T_TYPE): Likewise.
28525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28526 (__SNSECONDS_T_TYPE): Likewise.
28527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28528 (__SNSECONDS_T_TYPE): Likewise.
28529
28530 2012-04-10 Andreas Jaeger <aj@suse.de>
28531
28532 [BZ #2636]
28533 * manual/time.texi (Processor Time): Return type of times is
28534 elapsed real time since an arbitrary point in the past.
28535 (CPU Time): Move CLK_TCK from here...
28536 (Processor Time): ...to here. Correct description.
28537 * manual/conf.texi (Constants for Sysconf): Correct description of
28538 _SC_CLK_TCK.
28539
28540 2012-04-10 David S. Miller <davem@davemloft.net>
28541
28542 [BZ #13967]
28543 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28544 where the is a gap between DT_REL(A) and DT_JMPREL.
28545
28546 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28547
28548 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28549 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28550 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28551
28552 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28553
28554 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28555 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28556 (dl_main): Handle --inhibit-cache.
28557 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28558 _dl_inhibit_cache.
28559 * elf/dl-load.c (_dl_map_object): Use it.
28560 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28561
28562 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28563
28564 [BZ #13872]
28565 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28566 (__ieee754_powl): Saturate large exponents rather than testing for
28567 overflow of y*log2(x).
28568 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28569 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28570 exceptions.
28571
28572 [BZ #11521]
28573 * math/s_ctan.c: Include <float.h>.
28574 (__ctan): Avoid internal overflow or cancellation in calculating
28575 denominator.
28576 * math/s_ctanf.c: Likewise.
28577 * math/s_ctanl.c: Likewise.
28578 * math/s_ctanh.c: Likewise.
28579 * math/s_ctanhf.c: Likewise.
28580 * math/s_ctanhl.c: Likewise.
28581 * math/libm-test.inc (ctan_test): Add more tests.
28582 (ctanh_test): Likewise.
28583 * sysdeps/i386/fpu/libm-test-ulps: Update.
28584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28585
28586 2012-04-09 Andreas Jaeger <aj@suse.de>
28587
28588 [BZ #6894]
28589 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28590 is an optional BSD extension.
28591
28592 [BZ #10254]
28593 * manual/stdio.texi (Opening Streams): Document additional fopen
28594 parameters.
28595
28596 2012-04-09 Roland McGrath <roland@hack.frob.com>
28597
28598 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28599 %eax without telling the compiler.
28600
28601 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28602
28603 [BZ # 13963]
28604 * manual/install.texi: Use sourceware.org.
28605
28606 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28607
28608 [BZ #13873]
28609 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28610 (__ieee754_pow): Generate overflow and underflow using huge*huge
28611 and tiny*tiny rather than just returning constant infinity or zero
28612 for large exponents.
28613 * math/libm-test.inc (pow_test): Require overflow exceptions for
28614 applicable cases of large exponents.
28615
28616 [BZ #706]
28617 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28618 (__ieee754_pow): Use iterative multiplication algorithm only for
28619 integer exponents with absolute value below 1024. Check for odd
28620 integer exponents when using algorithm for real exponents.
28621 * math/libm-test.inc (pow_test): Add more tests.
28622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28623
28624 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28625
28626 [BZ #13705]
28627 * math/libm-test.inc (exp_test): Do not allow overflow exception
28628 on underflow test.
28629
28630 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28631
28632 [BZ #13705]
28633 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28634 instead of __kernel_standard_f.
28635
28636 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28637
28638 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28639 * sysdeps/x86_64/memset_chk.S: Likewise.
28640
28641 2012-04-08 Andreas Jaeger <aj@suse.de>
28642
28643 [BZ #10153]
28644 * manual/startup.texi (Environment Access): Describe return value
28645 for putenv and setenv.
28646
28647 [BZ #6895]
28648 * manual/filesys.texi (Directory Entries): Add description for
28649 DT_LNK.
28650
28651 [BZ #6890]
28652 * manual/filesys.texi (Directory Entries): Clarify that it's file
28653 system not operating system in the description of DT_UNKNOWN.
28654
28655 [BZ #6578]
28656 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28657
28658 2012-04-08 Stephen Compall <s11@member.fsf.org>
28659
28660 [BZ #6649]
28661 * manual/llio.texi (Opening and Closing Files): Add cross
28662 reference to explain mode argument.
28663
28664 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28665
28666 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28667 * sysdeps/x86_64/memset_chk.S: Likewise.
28668
28669 2012-04-07 David S. Miller <davem@davemloft.net>
28670
28671 * elf/elf.h (R_SPARC_WDISP10): Define.
28672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28673 R_SPARC_SIZE32.
28674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28675 R_SPARC_SIZE64 and R_SPARC_H34.
28676
28677 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28678
28679 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28680 conditions and remove no longer applicable assertion.
28681
28682 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28683
28684 * bits/byteswap.h: Include <features.h>.
28685 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28686 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28687
28688 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28689
28690 * bits/byteswap.h (__bswap_16): Removed.
28691 Include <bits/byteswap-16.h> to get __bswap_16.
28692 * sysdeps/i386/bits/byteswap.h: Likewise.
28693 * sysdeps/s390/bits/byteswap.h: Likewise.
28694 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28695 * bits/byteswap-16.h: New file.
28696 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28697 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28698 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28699 * string/Makefile (headers): Add bits/byteswap-16.h.
28700
28701 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28702
28703 [BZ #13895]
28704 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28705 extra indirection.
28706 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28707 * nss/tst-nss-static.c: New.
28708
28709 2012-04-06 Robert Millan <rmh@gnu.org>
28710
28711 [BZ #6486]
28712 * manual/llio.texi (File Position Primitive): lseek
28713 refers to WHENCE when it really means OFFSET.
28714
28715 2012-04-06 Andreas Jaeger <aj@suse.de>
28716
28717 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28718 strncmp declarations.
28719
28720 * abilist/libc.abilist: Add __poll and __ppoll.
28721
28722 2012-04-05 David S. Miller <davem@davemloft.net>
28723
28724 * scripts/check-local-headers.sh: Accept a host triplet in the
28725 path matched by the exclude regexp.
28726
28727 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28728 definition.
28729 * sysdeps/powerpc/powerpc32/dl-machine.h
28730 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28731 * sysdeps/s390/s390-32/dl-machine.h
28732 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28733 * sysdeps/sparc/sparc32/dl-machine.h
28734 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28735 * sysdeps/sparc/sparc64/dl-machine.h
28736 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28737
28738 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28739 lazy binding.
28740 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28741 undefined symbol errors.
28742
28743 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28744 DT_NEEDED entries.
28745
28746 2012-04-05 Michael Matz <matz@suse.de>
28747
28748 [BZ #13592]
28749 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28750
28751 2012-04-05 Andreas Jaeger <aj@suse.de>
28752
28753 [BZ #13908]
28754 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28755 comment.
28756
28757 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28758
28759 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28760 which ROUND is no valid rounding mode.
28761
28762 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28763
28764 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28765 read again.
28766 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28767
28768 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28769
28770 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28771 an exception using FPU order intentionally.
28772
28773 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28774
28775 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28776 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28777 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28778 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28779
28780 2012-04-05 Simon Josefsson <simon@josefsson.org>
28781
28782 [BZ #12340]
28783 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28784 EINVAL when BUFLEN is too smal.
28785
28786 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28787
28788 [BZ #13553]
28789 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28790 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28791
28792 2012-04-03 Andreas Jaeger <aj@suse.de>
28793
28794 [BZ #13938]
28795 * manual/setjmp.texi (System V contexts): Fix sentence.
28796
28797 [BZ #13926]
28798 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28799 New macro for this case.
28800 [!__GNUC__] (__bswap_64): New inline function for this case.
28801 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28802 * bits/byteswap.h: Likewise.
28803 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28804 ull, guard with __GLIBC_HAVE_LONG_LONG.
28805
28806 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28807 __GLIBC_HAVE_LONG_LONG.
28808
28809 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28810 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28811
28812 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28813
28814 [BZ #13691]
28815 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28816 inptr and inend, rather than using last_ch.
28817
28818 2012-04-02 David S. Miller <davem@davemloft.net>
28819
28820 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28821 * stdio-common/printf-parse.h (read_int): Change return type to
28822 'int', return -1 on INT_MAX overflow.
28823 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28824 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28825 overflows INT_MAX. Check for overflow of in-format-string precision
28826 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28827 SIZE_MAX not INT_MAX for integer overflow test.
28828 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28829 skip the construct in the format string but do not record anything.
28830 * stdio-common/bug22.c: Adjust to test both width/prevision
28831 INT_MAX overflow as well as total length INT_MAX overflow. Check
28832 explicitly for proper errno values.
28833
28834 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28835
28836 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28837 CHAR_MAX.
28838 * string/test-strcmp.c [! WIDE]: Likewise.
28839 * time/tst-mktime2.c: Likewise for INT_MAX.
28840 * string/test-string.h: #include <sys/param.h> for MIN.
28841
28842 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28843 * sysdeps/i386/init-first.c (init): Likewise.
28844 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28845 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28846 * sysdeps/sh/init-first.c (init): Likewise.
28847
28848 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28849
28850 * po/ru.po: Update from translation team.
28851 * po/vi.po: Likewise.
28852
28853 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28854
28855 * resolv/nss_dns/dns-host.c: Merge copyright years.
28856
28857 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28858
28859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28860 Optimize memcpy with prefetch if
28861 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28862 src, dst pointers have unequal 16 byte alignments.
28863
28864 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28865
28866 [BZ #13928]
28867 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28868 from a CNAME entry and return the minimum ttl for the query.
28869 (gaih_getanswer_slice): Likewise.
28870
28871 2012-03-30 Jeff Law <law@redhat.com>
28872
28873 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28874 due to long keys.
28875 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28876 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28877
28878 * resolv/nss_dns/dns-host.c: Update copyright year.
28879
28880 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28881
28882 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28883 requests to save a system call. Fix check that all bytes are sent.
28884
28885 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28886 comments for sendmmsg.
28887
28888 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28889
28890 [BZ #13691]
28891 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28892 with only 1 character between 0x0041 and 0x01b0.
28893 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28894 * wcsmbs/tst-mbsnrtowcs.c: New file.
28895
28896 2012-03-29 David S. Miller <davem@davemloft.net>
28897
28898 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28899 small copies by hand.
28900
28901 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28902
28903 [BZ #13761]
28904 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28905 _nss_compat_initgroups_dyn): Fall back to malloc/free
28906 for large group memberships.
28907
28908 2012-03-28 David S. Miller <davem@davemloft.net>
28909
28910 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28911 that branches into memcpy.
28912 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28914 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28915 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28917 bits.
28918 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28919 implementation too.
28920 * sysdeps/sparc/mempcpy.S: New file.
28921
28922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28923 the IFUNC routine in the libc case.
28924 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28925
28926 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28927 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28928 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28929 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28930 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28931 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28932 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28933 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28934
28935 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28936 loop to 256 bytes instead of 64 bytes and fix test signedness.
28937
28938 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28939 * sysdeps/sparc/sparc32/Makefile: rather than here...
28940 * sysdeps/sparc/sparc64/Makefile: and here.
28941
28942 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28943
28944 * malloc/mallocbug.c: Avoid warnings about unused variables.
28945
28946 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28947
28948 [BZ #13760]
28949 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28950 in the right place. Discard and retry query if response is
28951 larger than input buffer size.
28952
28953 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28954
28955 [BZ #369]
28956 [BZ #2678]
28957 [BZ #3866]
28958 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28959 x for large integer exponent.
28960 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28961 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28962 sign of result as needed afterwards.
28963 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28964 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28965 result for underflowing pow the same as for overflow.
28966 (__kernel_standard_l): Handle powl overflow and underflow here
28967 rather than calling __kernel_standard.
28968 * math/libm-test.inc (pow_test): Add more tests.
28969
28970 [BZ #3868]
28971 [BZ #13879]
28972 [BZ #13910]
28973 [BZ #13911]
28974 [BZ #13912]
28975 [BZ #13913]
28976 [BZ #13915]
28977 [BZ #13916]
28978 [BZ #13917]
28979 [BZ #13918]
28980 [BZ #13919]
28981 [BZ #13920]
28982 [BZ #13921]
28983 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28984 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28985 (__kernel_standard_l): New function.
28986 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28987 __kernel_standard.
28988 * math/w_acosl.c (__acosl): Likewise.
28989 * math/w_asinl.c (__asinl): Likewise.
28990 * math/w_atan2l.c (__atan2l): Likewise.
28991 * math/w_atanhl.c (__atanhl): Likewise.
28992 * math/w_coshl.c (__coshl): Likewise.
28993 * math/w_exp10l.c (__exp10l): Likewise.
28994 * math/w_exp2l.c (__exp2l): Likewise.
28995 * math/w_fmodl.c (__fmodl): Likewise.
28996 * math/w_hypotl.c (__hypotl): Likewise.
28997 * math/w_j0l.c (__j0l, __y0l): Likewise.
28998 * math/w_j1l.c (__j1l, __y1l): Likewise.
28999 * math/w_jnl.c (__jnl, __ynl): Likewise.
29000 * math/w_lgammal.c (__lgammal): Likewise.
29001 * math/w_log10l.c (__log10l): Likewise.
29002 * math/w_log2l.c (__log2l): Likewise.
29003 * math/w_logl.c (__logl): Likewise.
29004 * math/w_powl.c (__powl): Likewise.
29005 * math/w_remainderl.c (__remainderl): Likewise.
29006 * math/w_scalbl.c (sysv_scalbl): Likewise.
29007 * math/w_sinhl.c (__sinhl): Likewise.
29008 * math/w_sqrtl.c (__sqrtl): Likewise.
29009 * math/w_tgammal.c (__tgammal): Likewise.
29010 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29011 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29012 * math/libm-test.inc (acos_test): Add more tests.
29013 (acosh_test): Likewise.
29014 (asin_test): Likewise.
29015 (atanh_test): Likewise.
29016 (exp_test): Likewise.
29017 (exp10_test): Likewise.
29018 (exp2_test): Likewise.
29019 (expm1_test): Likewise.
29020 (lgamma_test): Likewise.
29021 (log_test): Likewise.
29022 (log10_test): Likewise.
29023 (log1p_test): Likewise.
29024 (log2_test): Likewise.
29025 (pow_test): Do not allow some spurious overflow exceptions.
29026 (sqrt_test): Add more tests.
29027 (tgamma_test): Likewise.
29028 (y0_test): Likewise.
29029 (y1_test): Likewise.
29030 (yn_test): Likewise.
29031
29032 2012-03-27 Anton Blanchard <anton@samba.org>
29033
29034 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29035 MAP_HUGETLB.
29036 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29037 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29038 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29039
29040 2012-03-27 David S. Miller <davem@davemloft.net>
29041
29042 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29043
29044 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29045 have-as-vis3 check.
29046
29047 2012-03-27 Andreas Jaeger <aj@suse.de>
29048
29049 * sysdeps/x86_64/elf/configure.in: Moved to ...
29050 * sysdeps/x86_64/configure.in: ... here.
29051 * sysdeps/x86_64/elf/start.S: Moved to ...
29052 * sysdeps/x86_64/start.S: ... here.
29053 * sysdeps/x86_64/elf/configure: Delete.
29054
29055 * sysdeps/x86_64/configure.in: Merge contents from
29056 sysdeps/i386/configure.in (without i686 check).
29057
29058 * sysdeps/i386/elf/Versions: Merge into ...
29059 * sysdeps/i386/Versions: ... this.
29060 * sysdeps/i386/elf/Versions: Delete file.
29061 * sysdeps/i386/elf/start.S: Moved to ...
29062 * sysdeps/i386/start.S: ...here.
29063 * sysdeps/i386/elf/configure.in: Merge into...
29064 * sysdeps/i386/configure.in: ...here.
29065 * sysdeps/i386/elf/configure.in: Delete file.
29066 * sysdeps/i386/elf/configure: Delete file.
29067
29068 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29069 * debug/backtracesyms.c: ... here.
29070 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29071 * debug/backtracesymsfd.c: ... here.
29072 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29073 * sysdeps/generic/ifunc-sel.h: ... here.
29074
29075 * sysdeps/unix/i386/start.c: Delete file.
29076 * sysdeps/unix/sparc/start.c: Delete file.
29077 * sysdeps/unix/start.c: Delete file.
29078
29079 * sysdeps/sh/elf/configure.in: Moved to ...
29080 * sysdeps/sh/configure.in: ... here.
29081 * sysdeps/sh/elf/start.S: Moved to ...
29082 * sysdeps/sh/start.S: ... here.
29083 * sysdeps/sh/elf/configure: Delete file.
29084
29085 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29086 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29087 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29088 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29089 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29090 * sysdeps/powerpc/powerpc64/start.S: here.
29091 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29092 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29093 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29094 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29095 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29096
29097 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29098 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29099 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29100 * sysdeps/powerpc/powerpc32/start.S: ... here.
29101 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29102 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29103 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29104
29105 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29106 * sysdeps/powerpc/ifunc-sel.h: ... here.
29107 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29108 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29109
29110 * sysdeps/sparc/elf/configure.in: Moved to ...
29111 * sysdeps/sparc/configure.in: ... here.
29112 * sysdeps/sparc/elf/configure: Delete file.
29113 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29114 * sysdeps/sparc/sparc32/start.S: ... here.
29115 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29116 * sysdeps/sparc/sparc64/start.S: ... here.
29117 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29118 * sysdeps/sparc/sparc32/Makefile: ... this.
29119 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29120 * sysdeps/sparc/sparc64/Makefile: ... this.
29121
29122 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29123 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29124 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29125 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29126 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29127 * sysdeps/s390/s390-32/setjmp.S: ... here.
29128 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29129 * sysdeps/s390/s390-32/configure.in: ... here.
29130 * sysdeps/s390/s390-32/elf/configure: Delete file.
29131 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29132 * sysdeps/s390/s390-32/start.S: ... here.
29133
29134 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29135 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29136 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29137 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29138 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29139 * sysdeps/s390/s390-64/setjmp.S: ... here.
29140 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29141 * sysdeps/s390/s390-64/configure.in: ... here
29142 * sysdeps/s390/s390-64/elf/configure: Delete file.
29143 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29144 * sysdeps/s390/s390-64/start.S: ... here.
29145 * sysdeps/s390/s390-64/elf/configure: Delete.
29146
29147 * configure.in: Remove support for elf directories in sysdeps.
29148
29149 * configure: Regenerated.
29150 * sysdeps/i386/configure: Regenerated.
29151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29153 * sysdeps/s390/s390-32/configure: Regenerated.
29154 * sysdeps/s390/s390-64/configure: Regenerated.
29155 * sysdeps/sh/configure: Regenerated.
29156 * sysdeps/sparc/configure: Regenerated.
29157 * sysdeps/x86_64/configure: Regenerated.
29158
29159 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29160
29161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29162
29163 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29164 denormal result into account.
29165
29166 2012-03-25 Roland McGrath <roland@hack.frob.com>
29167
29168 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29169 Reported by Allan McRae <allan@archlinux.org>.
29170
29171 2012-03-23 Jeff Law <law@redhat.com>
29172
29173 * nss/getnssent.c (__nss_getent): Fix typo.
29174
29175 2012-03-23 David S. Miller <davem@davemloft.net>
29176
29177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29178
29179 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29180
29181 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29182 to pad to uint64_t for each field.
29183 (dl_tls_index): Replace unsigned long with uint64_t.
29184
29185 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29186 Paul Pluzhnikov <ppluzhnikov@google.com>
29187
29188 [BZ #6528]
29189 * grp/Makefile (otherlibs): Don't set it.
29190 * inet/Makefile (otherlibs): Likewise.
29191 * login/Makefile (otherlibs): Likewise.
29192 * nscd/Makefile (otherlibs): Likewise.
29193 * posix/Makefile (otherlibs): Likewise.
29194 * pwd/Makefile (otherlibs): Likewise.
29195 * rt/Makefile (otherlibs): Likewise.
29196 * sunrpc/Makefile (otherlibs): Likewise.
29197 * nss/Makefile (otherlibs): Likewise.
29198 Add libnss_files to routines and static-only-routines.
29199 ($(objpfx)getent): Remove rule.
29200 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29201 static-only-routines.
29202
29203 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29204
29205 [BZ #13892]
29206 * math/s_cexp.c: Include <float.h>.
29207 (__cexp): Handle exp result overflowing not necessarily
29208 overflowing both real and imaginary parts of result.
29209 * math/s_cexpf.c: Likewise.
29210 * math/s_cexpl.c: Likewise.
29211 * math/libm-test.inc (cexp_test): Add more tests.
29212 * sysdeps/i386/fpu/libm-test-ulps: Update.
29213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29214
29215 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29216
29217 * include/link.h (ELFW): New macro.
29218 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29219 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29220
29221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29222
29223 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29224 with uint64_t.
29225
29226 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29227
29228 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29229 declaration.
29230 (struct La_x32_retval): Likewise.
29231
29232 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29233
29234 * sysdeps/x86_64/preconfigure.in: New file.
29235 * sysdeps/x86_64/preconfigure: New generated file.
29236
29237 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29238
29239 [BZ #13824]
29240 * math/e_exp2l.c: Include <float.h>.
29241 (__ieee754_exp2l): Handle overflow and underflow cases
29242 separately. Only pass fractional part of argument to
29243 __ieee754_expl.
29244 * math/libm-test.inc (exp2_test): Add more tests.
29245
29246 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29247 negating x to take absolute value.
29248 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29249 Likewise.
29250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29252 Likewise.
29253 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29254 computing low part if x was negated.
29255 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29256
29257 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29258
29259 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29260 la_x32_gnu_pltexit.
29261 (pltexit): Cast int_retval to ptrdiff_t.
29262 * elf/tst-auditmod3b.c: Likewise.
29263 * elf/tst-auditmod4b.c: Likewise.
29264 * elf/tst-auditmod5b.c: Likewise.
29265 * elf/tst-auditmod6b.c: Likewise.
29266 * elf/tst-auditmod6c.c: Likewise.
29267 * elf/tst-auditmod7b.c: Likewise.
29268
29269 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29270 and x32_gnu_pltexit.
29271
29272 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29273 __ELF_NATIVE_CLASS.
29274 (La_x32_regs): New macro.
29275 (La_x32_retval): Likewise.
29276 (la_x32_gnu_pltenter): New function prototype.
29277 (la_x32_gnu_pltexit): Likewise.
29278
29279 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29280
29281 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29282 exponent.
29283
29284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29285
29286 * configure.in (libc_cv_cc_nofma): Check for option to disable
29287 generation of FMA instructions.
29288 * configure: Regenerate.
29289 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29290 * sysdeps/ieee754/dbl-64/Makefile: New file.
29291 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29292 Remove brandred-fma4.
29293 (CFLAGS-brandred-fma4.c): Remove.
29294 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29295 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29296 define.
29297 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29298 define.
29299
29300 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29301
29302 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29303 LLONG_MAX != LONG_MAX.
29304 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29305 (_fitoa_word): Likewise.
29306 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29307 LLONG_MAX != LONG_MAX.
29308 * stdio-common/_itowa.h: Include <_itoa.h>.
29309 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29310 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29311 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29312 only if not defined.
29313 (_ITOA_WORD_TYPE): Likewise.
29314 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29315 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29316
29317 2012-03-21 David S. Miller <davem@davemloft.net>
29318
29319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29320
29321 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29322
29323 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29324 of x86_64 when setting libc_cv_slibdir, libdir and
29325 libc_cv_localedir.
29326 * sysdeps/unix/sysv/linux/configure: Regenerated.
29327
29328 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29329
29330 * manual/lang.texi (Old Varargs): Remove section.
29331 (How Variadic): Update menu.
29332 (va_start): Do not mention varargs.h.
29333
29334 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29335 Joseph Myers <joseph@codesourcery.com>
29336
29337 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29338 link test.
29339 * configure: Regenerated.
29340
29341 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29342
29343 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29344 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29345 conformtest.pl
29346
29347 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29348
29349 * NOTES: Remove.
29350 * Makefile (files-for-dist): Remove NOTES.
29351 (NOTES): Remove rule.
29352 * README: Don't refer to NOTES.
29353 * manual/creature.texi: Don't include macros.texi.
29354 * manual/intro.texi (creature.texi): Remove comment referring to
29355 NOTES.
29356
29357 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29358 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29359 * configure: Regenerated.
29360 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29361 LIBC_TRY_CC_OPTION.
29362 (libc_cv_as_i686): Likewise.
29363 (libc_cv_cc_avx): Likewise.
29364 (libc_cv_cc_sse2avx): Likewise.
29365 (libc_cv_cc_fma4): Likewise.
29366 (libc_cv_cc_novzeroupper): Likewise.
29367 * sysdeps/i386/configure: Regenerated.
29368
29369 [BZ #13883]
29370 * sysdeps/i386/fpu/s_cexp.S: Remove.
29371 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29372 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29373 * math/libm-test.inc (cexp_test): Add more tests.
29374 * sysdeps/i386/fpu/libm-test-ulps: Update.
29375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29376
29377 2012-03-21 Allan McRae <allan@archlinux.org>
29378
29379 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29380
29381 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29382
29383 [BZ #13871]
29384 * math/w_exp2.c: Do not include <float.h>.
29385 (o_threshold, u_threshold): Remove.
29386 (__exp2): Calculate result before checking finiteness and calling
29387 __kernel_standard.
29388 * math/w_exp2f.c: Likewise.
29389 * math/w_exp2l.c: Likewise.
29390 * math/libm-test.inc (exp2_test): Require overflow exception for
29391 1e6 input.
29392
29393 [BZ #3866]
29394 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29395 range of signed 64-bit integers before using fistpll. Remove
29396 checks for whether integers fit in mantissa bits.
29397 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29398 the range of signed 32-bit integers before using fistpl. Remove
29399 checks for whether integers fit in mantissa bits.
29400 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29401 (__ieee754_powl): Test for y outside the range of signed 64-bit
29402 integers before using fistpll. Reduce 64-bit values to 63-bit
29403 ones as needed.
29404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29405 divide-by-zero is raised for zero to large negative powers.
29406 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29407 (__ieee754_powl): Test for y outside the range of signed 64-bit
29408 integers before using fistpll. Reduce 64-bit values to 63-bit
29409 ones as needed.
29410 * math/libm-test.inc (pow_test): Add more tests.
29411
29412 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29413
29414 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29415 <stdio-common/_itoa.h>.
29416 * debug/segfault.c: Likewise.
29417 * elf/dl-cache.c: Likewise.
29418 * elf/dl-minimal.c: Likewise.
29419 * elf/dl-misc.c: Likewise.
29420 * elf/dl-sysdep.c: Likewise.
29421 * elf/dl-version.c: Likewise.
29422 * elf/rtld.c: Likewise.
29423 * hurd/hurdsock.c: Likewise.
29424 * hurd/lookup-retry.c: Likewise.
29425 * malloc/malloc.c: Likewise.
29426 * malloc/mtrace.c: Likewise.
29427 * nscd/nscd_getgr_r.c: Likewise.
29428 * nscd/nscd_getpw_r.c: Likewise.
29429 * nscd/nscd_getserv_r.c: Likewise.
29430 * posix/getopt_init.c: Likewise.
29431 * posix/wordexp.c: Likewise.
29432 * stdio-common/_itoa.c: Likewise.
29433 * stdio-common/printf_fphex.c: Likewise.
29434 * stdio-common/vfprintf.c: Likewise.
29435 * string/_strerror.c: Likewise.
29436 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29437 * sysdeps/i386/i686/hp-timing.h: Likewise.
29438 * sysdeps/mach/_strerror.c: Likewise.
29439 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29440 * sysdeps/mach/hurd/sethostid.c: Likewise.
29441 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29442 * sysdeps/mach/xpg-strerror.c: Likewise.
29443 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29444 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29445 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29446 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29447 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29448 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29449 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29450 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29451 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29452 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29453 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29454 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29455 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29456 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29457 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29458 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29459 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29460 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29461 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29462 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29463 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29464
29465 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29466
29467 * stdio-common/_itoa.h: Moved to ...
29468 * sysdeps/generic/_itoa.h: Here.
29469
29470 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29471
29472 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29473 instead of "_itoa.h" and "_itowa.h".
29474 * stdio-common/vfprintf.: Likewise.
29475
29476 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29477
29478 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29479 <bits/wordsize.h>.
29480 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29481 (__signbit): Likwise.
29482 (llrintf): Likwise.
29483 (llrint): Likwise.
29484
29485 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29486
29487 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29488 __WORDSIZE != 64.
29489
29490 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29491
29492 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29493 OVERFLOW_EXCEPTION_OK.
29494 * math/libm-test.inc ("Philosophy"): Update comment about
29495 exception testing.
29496 (OVERFLOW_EXCEPTION): Define.
29497 (OVERFLOW_EXCEPTION_OK): Likewise.
29498 (INVALID_EXCEPTION_OK): Renumber.
29499 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29500 (IGNORE_ZERO_INF_SIGN): Likewise.
29501 (test_exceptions): Handle FE_OVERFLOW.
29502 (exp10_test): Expect overflow exceptions.
29503 (exp2_test): Likewise.
29504 (expm1_test): Likewise.
29505 (nextafter_test): Likewise.
29506 (pow_test): Likewise.
29507 (scalbn_test): Likewise.
29508 (scalbln_test): Likewise.
29509
29510 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29511
29512 * sysdeps/x86_64/bits/atomic.h
29513 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29514 64bit integer.
29515 (atomic_exchange_acq): Likewise.
29516 (__arch_exchange_and_add_body): Likewise.
29517 (__arch_add_body): Likewise.
29518 (atomic_add_negative): Likewise.
29519 (atomic_add_zero): Likewise.
29520
29521 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29522
29523 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29524 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29525
29526 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29527
29528 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29529 Check __x86_64__ instead of __WORDSIZE.
29530
29531 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29532
29533 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29534
29535 2012-03-19 David S. Miller <davem@davemloft.net>
29536
29537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29538
29539 * sysdeps/sparc/fpu/fenv_private.h: New file.
29540 * sysdeps/sparc/fpu/math_private.h: Use it.
29541 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29542 Remove.
29543 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29544 (libc_feholdexcept_setroundl): Remove.
29545 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29546 Remove.
29547 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29548 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29549
29550 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29551
29552 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29553 int64_t instead of long int.
29554 (INSERT_WORDS64): Likwise.
29555
29556 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29557
29558 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29559 _Unwind_GetCFA return to _Unwind_Ptr first.
29560
29561 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29562
29563 [BZ #13629]
29564 * math/s_clog.c: Include <float.h>.
29565 (__clog): Scale large or subnormal inputs.
29566 * math/s_clogf.c: Likewise.
29567 * math/s_clogl.c: Likewise.
29568 * math/s_clog10.c: Include <float.h>.
29569 (M_LOG10_2): Define.
29570 (__clog10): Scale large or subnormal inputs.
29571 * math/s_clog10f.c: Likewise.
29572 * math/s_clog10l.c: Likewise.
29573 * math/libm-test.inc (clog_test): Add more tests.
29574 (clog10_test): Likewise.
29575 * sysdeps/i386/fpu/libm-test-ulps: Update.
29576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29577
29578 [BZ #11451]
29579 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29580 x and y.
29581 * math/libm-test.inc (atan2_test): Add another test.
29582
29583 * Makerules (common-objdir-compile): Remove.
29584 * sysdeps/unix/Makefile (config-generated): Do not add
29585 $(unix-generated) to variable.
29586 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29587 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29588 Remove rule.
29589 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29590 Likewise.
29591 [generic bits/local_lim.h] (before-compile): Do not append to
29592 variable.
29593 [generic bits/local_lim.h] (common-generated): Likewise.
29594 [generic sys/param.h] (before-compile): Do not append to variable.
29595 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29596 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29597 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29598 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29599 include.
29600 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29601 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29602 [generic sys/param.h] ($(addprefix
29603 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29604 [generic sys/param.h] (common-generated): Do not append to
29605 variable.
29606 [generic sys/param.h] (sysdep_headers): Likewise.
29607 [generic bits/errno.h] (before-compile): Do not append to
29608 variable.
29609 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29610 rule.
29611 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29612 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29613 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29614 [generic bits/errno.h] (common-generated): Do not append to
29615 variable.
29616 [generic bits/ioctls.h] (before-compile): Do not append to
29617 variable.
29618 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29619 rule.
29620 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29621 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29622 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29623 rule.
29624 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29625 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29626 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29627 [generic bits/ioctls.h] (common-generated): Do not append to
29628 variable.
29629 [generic sys/syscall.h] (syscall.h): Remove variable.
29630 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29631 rule.
29632 [generic sys/syscall.h] (before-compile): Do not append to
29633 variable.
29634 [generic sys/syscall.h] (common-generated): Likewise.
29635 * sysdeps/unix/errnos-tmpl.c: Remove file.
29636 * sysdeps/unix/errnos.awk: Likewise.
29637 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29638 * sysdeps/unix/ioctls.awk: Likewise.
29639 * sysdeps/unix/mk-local_lim.c: Likewise.
29640 * sysdeps/unix/snarf-ioctls: Likewise.
29641
29642 2012-03-19 Richard Henderson <rth@twiddle.net>
29643
29644 * sysdeps/i386/fpu/fenv_private.h: New file.
29645 * sysdeps/i386/fpu/math_private.h: Use it.
29646 (math_opt_barrier, math_force_eval): Remove.
29647 (libc_feholdexcept_setround_53bit): Remove.
29648 (libc_feupdateenv_53bit): Remove.
29649 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29650 (math_opt_barrier, math_force_eval): Remove.
29651 (libc_feholdexcept): Remove.
29652 (libc_feholdexcept_setround): Remove.
29653 (libc_fetestexcept, libc_fesetenv): Remove.
29654 (libc_feupdateenv_test): Remove.
29655 (libc_feupdateenv, libc_feholdsetround): Remove.
29656 (libc_feresetround): Remove.
29657
29658 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29659 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29660
29661 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29662 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29663 (libc_feupdateenv_testl): New.
29664 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29665 (libc_feupdateenv_testf): New.
29666 (libc_feupdateenv): Use libc_feupdateenv_test.
29667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29669
29670 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29671 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29672 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29673 (libc_feresetround_noex): New.
29674 (libc_feresetround_noexf): New.
29675 (libc_feresetround_noexl): New.
29676 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29677 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29678 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29679 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29680 SET_RESTORE_ROUND.
29681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29683 (__cos): Likewise.
29684 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29685 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29686 SET_RESTORE_ROUND_NOEX.
29687 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29688 SET_RESTORE_ROUND_NOEXF.
29689 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29690 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29691 (libc_feholdsetroundf): New.
29692 (libc_feresetround, libc_feresetroundf): New.
29693
29694 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29695 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29696 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29697
29698 * sysdeps/generic/math_private.h: Include <fenv.h>.
29699 (default_libc_feholdexcept): New.
29700 (default_libc_feholdexcept_setround): New.
29701 (default_libc_fesetenv, default_libc_feupdateenv): New.
29702 (libc_feholdexcept): Only define if undefined.
29703 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29704 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29705 (libc_feholdexcept_setroundl): Likewise.
29706 (libc_feholdexcept_setround_53bit): Likewise.
29707 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29708 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29709 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29710 (libc_feupdateenv_53bit): Likewise.
29711 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29712 (libc_feholdexcept): Convert from macro to inline function.
29713 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29714 (libc_fesetenv, libc_feupdateenv): Likewise.
29715
29716 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29717 not previously defined.
29718 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29719 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29720 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29721 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29722 * sysdeps/ieee754/flt-32/math_private.h: New file.
29723 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29724 math_private.h below SET_FLOAT_WORD.
29725 (__isnan, __isinf_ns, __finite): Remove.
29726 (__isnanf, __isinf_nsf, __finitef): Remove.
29727
29728 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29729
29730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29731
29732 2012-03-17 David S. Miller <davem@davemloft.net>
29733
29734 [BZ #6471]
29735 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29736 for 2.16.
29737
29738 2012-03-16 David S. Miller <davem@davemloft.net>
29739
29740 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29741 warnings.
29742
29743 [BZ #6471]
29744 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29745 properly.
29746 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29747 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29748 sysdep_routines when subdir is sysvipc.
29749 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29750 __getshmlba helper.
29751
29752 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29753
29754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29755
29756 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29757 [__LP64__].
29758
29759 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29760
29761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29762 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29763 (__lround): Renamed to ...
29764 (__llround): This. Replace long int with long long int.
29765 Define lround functions as aliases of llround functions.
29766 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29767
29768 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29769
29770 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29771 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29772 adresses to uintptr_t. Replace "long int" and "unsigned long
29773 int" with "greg_t" on va_arg.
29774
29775 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29776
29777 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29778 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29779
29780 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29781 Move e_machine check before EI_CLASS check. Handle x32
29782 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29783 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29784 SKIP_EM_IA_64 and include
29785 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29786
29787 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29788 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29789 (add_system_dir): New macro.
29790
29791 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29792 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29793
29794 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29795
29796 [BZ #2551]
29797 [BZ #2552]
29798 [BZ #2553]
29799 [BZ #2554]
29800 [BZ #2562]
29801 [BZ #2563]
29802 [BZ #2565]
29803 [BZ #2566]
29804 [BZ #2576]
29805 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29806 (y0): Likewise.
29807 * math/w_j0f.c (j0f): Likewise.
29808 (y0f): Likewise.
29809 * math/w_j0l.c (__j0l): Likewise.
29810 (__y0l): Likewise.
29811 * math/w_j1.c (j1): Likewise.
29812 (y1): Likewise.
29813 * math/w_j1f.c (j1f): Likewise.
29814 (y1f): Likewise.
29815 * math/w_j1l.c (__j1l): Likewise.
29816 (__y1l): Likewise.
29817 * math/w_jn.c (jn): Likewise.
29818 (yn): Likewise.
29819 * math/w_jnf.c (jnf): Likewise.
29820 (ynf): Likewise.
29821 * math/w_jnl.c (__jnl): Likewise.
29822 (__ynl): Likewise.
29823 * math/libm-test.inc (j0_test): Add more tests.
29824 (j1_test): Likewise.
29825 (jn_test): Likewise. Add trailing semicolon to existing test.
29826 (y0_test): Likewise.
29827 (y1_test): Likewise.
29828 * sysdeps/i386/fpu/libm-test-ulps: Update.
29829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29830
29831 [BZ #13851]
29832 [BZ #13854]
29833 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29834 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29835 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29836 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29837 (__tanl): Set errno for infinite argument.
29838 * sysdeps/i386/fpu/mptan.c: Remove.
29839 * sysdeps/i386/fpu/s_tan.S: Likewise.
29840 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29841 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29842 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29843 * math/libm-test.inc (tan_test): Add more tests and enable more
29844 tests for double and long double.
29845 * sysdeps/i386/fpu/libm-test-ulps: Update.
29846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29847
29848 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29849
29850 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29851 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29852
29853 2012-03-16 Roland McGrath <roland@hack.frob.com>
29854
29855 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29856 * configure.in: Use it for both main tree and add-ons.
29857 * configure: Regenerated.
29858
29859 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29860
29861 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29862
29863 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29864
29865 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29866 in comment.
29867
29868 [BZ #13851]
29869 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29870 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29871 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29872 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29873 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29874 infinite argument.
29875 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29877 != 0 for prec == 2.
29878 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29879 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29880 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29881 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29882 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29883 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29884 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29885 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29886 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29887 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29888 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29889 * math/libm-test.inc (cos_test): Add more tests and enable more
29890 tests for long double.
29891 (sin_test): Likewise.
29892 (sincos_test): Likewise.
29893 * sysdeps/i386/fpu/libm-test-ulps: Update.
29894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29895
29896 2012-03-16 David S. Miller <davem@davemloft.net>
29897
29898 * sysdeps/sparc/fpu/math_private.h: New file.
29899
29900 2012-03-15 David S. Miller <davem@davemloft.net>
29901
29902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29903 file.
29904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29906 file.
29907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29913 sysdep routines.
29914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29915
29916 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29917 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29918
29919 * sysdeps/sparc/sparc-ifunc.h: New file.
29920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29921 sparc-ifunc.h
29922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29924 Likewise.
29925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29926 Likewise.
29927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29931 Likewise.
29932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29937 Likewise.
29938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29939 Likewise.
29940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29964
29965 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29966
29967 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29968 scaling.
29969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29970
29971 2012-03-15 Andreas Jaeger <aj@suse.de>
29972
29973 [BZ #13852]
29974 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29975 ieee754/flt-32 implementation for sin, cos and sincos.
29976 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29977 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29978 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29979 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29980 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29981 ieee754/flt-32 implementation for tan.
29982
29983 * math/libm-test.inc (cos_test): Enable some large input tests for
29984 float as well
29985 (sin_test): Likewise.
29986 (sincos_test): Likewise.
29987 (tan_test): Add tests for large input.
29988
29989 * sysdeps/i386/fpu/libm-test-ulps: Update.
29990
29991 2012-03-15 Andreas Jaeger <aj@suse.de>
29992
29993 [BZ #13658]
29994 * math/libm-test.inc (cos_test): Add more test cases.
29995 (sin_test): Likewise.
29996 (sincos_test): Likewise.
29997
29998 2012-03-15 Andreas Jaeger <aj@suse.de>
29999
30000 [BZ #13837]
30001 * math/libm-test.inc (cos_test): Add a test case for large input
30002 value.
30003 (sin_test): Likewise.
30004 (sincos_test): Likewise.
30005
30006 2012-03-15 Andreas Jaeger <aj@suse.de>,
30007 Joseph Myers <joseph@codesourcery.com>
30008
30009 [BZ #13658]
30010 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30011 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30012 * sysdeps/i386/fpu/branred.c: Likewise.
30013 * sysdeps/i386/fpu/dosincos.c: Likewise.
30014 * sysdeps/i386/fpu/mpa.c: Likewise.
30015 * sysdeps/i386/fpu/s_cos.S: Likewise.
30016 * sysdeps/i386/fpu/s_sin.S: Likewise.
30017 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30018 * sysdeps/i386/fpu/sincos32.c: Likewise.
30019
30020 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30021 Define.
30022 (libc_feupdateenv_53bit): Define.
30023 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30024 Define.
30025 (libc_feupdateenv_53bit): Define.
30026
30027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30028 53 bit (without extend i386 double precision).
30029
30030 * math/libm-test.inc (sincos_test): Add tests for large input.
30031 (sin): Likewise.
30032 (cos): Likewise.
30033
30034 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30035
30036 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30037
30038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30039
30040 2012-03-15 David S. Miller <davem@davemloft.net>
30041
30042 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30043 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30044 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30045 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30058 file.
30059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30061 file.
30062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30064 file.
30065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30067 file.
30068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30070 fmin/fmax sysdep routines.
30071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30072
30073 2012-03-14 David S. Miller <davem@davemloft.net>
30074
30075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30082 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30104 routines.
30105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30106 file.
30107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30109 file.
30110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30112 file.
30113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30115 file.
30116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30118 file.
30119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30121 file.
30122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30123 file.
30124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30125 file.
30126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30127 file.
30128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30129 New file.
30130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30131 file.
30132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30133 file.
30134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30136 file.
30137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30139 file.
30140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30142 file.
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30145 VIS3 routines.
30146
30147 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30148 New file.
30149
30150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30151
30152 * sysdeps/sparc/configure.in: New file.
30153 * sysdeps/sparc/configure: Generate.
30154 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30155 * configure: Regenerate.
30156 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30157 * config.make.in (have-as-vis3): New.
30158 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30159 available use -Av9d instead of -Av9a.
30160 * sysdeps/sparc/sparc64/Makefile: Likewise.
30161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30163 New file.
30164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30165 file.
30166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30167 New file.
30168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30169 file.
30170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30175
30176 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30177 fzeros/fnegs to load 0x80000000 into a float register instead of
30178 using the stack.
30179 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30180
30181 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30182
30183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30184 bits/syscall.h.
30185 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30186 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30187 ($(inst_includedir)/bits/syscall.h): Remove rule.
30188 ($(objpfx)bits/syscall.d): Include instead of
30189 $(objpfx)syscall-list.d.
30190 (generated): Change syscall-list.h and syscall-list.d to
30191 bits/syscall.h and bits/syscall.d.
30192
30193 2012-03-14 Roland McGrath <roland@hack.frob.com>
30194
30195 [BZ #13846]
30196 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30197
30198 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30199
30200 [BZ #13841]
30201 * math/s_csqrt.c: Include <float.h>.
30202 (__csqrt): Scale large or subnormal inputs.
30203 * math/s_csqrtf.c: Likewise.
30204 * math/s_csqrtl.c: Likewise.
30205 * math/libm-test.inc (csqrt_test): Add more tests.
30206 * sysdeps/i386/fpu/libm-test-ulps: Update.
30207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30208
30209 [BZ #13840]
30210 * math/libm-test.inc (hypot_test): Add more tests.
30211
30212 2012-03-13 David S. Miller <davem@davemloft.net>
30213
30214 [BZ #13840]
30215 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30216 double-precision for the calculation instead of scaling.
30217
30218 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30219
30220 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30221 manipulate bits before adding and subtracting TWO52[sx].
30222 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30223 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30224 Likewise.
30225 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30226
30227 2012-03-13 David S. Miller <davem@davemloft.net>
30228
30229 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30230 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30232 rtld-global-offsets.h
30233 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30234
30235 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30236 large parameters.
30237
30238 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30239
30240 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30241 'err' in the ifdef scope in which it is actually used.
30242
30243 * nss/nss_db/db-init.c: Include string.h
30244
30245 2012-03-12 David S. Miller <davem@davemloft.net>
30246
30247 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30248 masking out of the most significant byte of random value used.
30249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30250 Fix coding style in previous change.
30251
30252 * sysdeps/unix/sysv/linux/kernel-features.h
30253 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30254 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30255 expression.
30256 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30257 later.
30258
30259 2012-03-11 David S. Miller <davem@davemloft.net>
30260
30261 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30262 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30264 for 'resultvar' otherwise things get truncated on 64-bit.
30265
30266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30267 Fix masking out of the most significant byte of random value used.
30268
30269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30270
30271 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30272
30273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30274
30275 2012-03-09 David S. Miller <davem@davemloft.net>
30276
30277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30278 variables with appropriate CPP guards.
30279 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30280 frame pointer, not the stack pointer. Correct layout comments. Fix test
30281 on resulting framesize and the management of the outregs buffer for pltexit.
30282 Preserve floating point return values across _dl_call_pltexit call.
30283 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30284 framesize and the management of the outregs buffer for pltexit.
30285 Preserve floating point return values across _dl_call_pltexit
30286 call.
30287 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30288 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30289 (print_exit): Fix format string for return register value.
30290
30291 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30292
30293 * sunrpc/Makefile (others): Add rpcgen.
30294 ($(objpfx)rpcgen): Remove special build rule and dependency on
30295 libc.
30296 * sunrpc/rpcgen.c: New file.
30297
30298 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30299
30300 [BZ #13673]
30301 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30302 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30303 * sysdeps/i386/crti.S: Likewise.
30304 * sysdeps/i386/crtn.S: Likewise.
30305 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30306 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30307 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30308 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30309 * sysdeps/sh/crti.S: Likewise.
30310 * sysdeps/sh/crtn.S: Likewise.
30311 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30312
30313 [BZ #13673]
30314 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30315 with URL.
30316 * locale/programs/locfile-kw.gperf: Likewise.
30317 * locale/programs/charmap-kw.h: Regenerated.
30318 * locale/programs/locfile-kw.h: Likewise.
30319
30320 [BZ #13673]
30321 * intl/plural.y: Replace FSF snail mail address with URL.
30322 * intl/plural.c: Regenerated.
30323
30324 2012-03-09 Richard Henderson <rth@twiddle.net>
30325
30326 * include/math_private.h: Remove file.
30327 * math/math_private.h: Move file ...
30328 * sysdeps/generic/math_private.h: ... here.
30329
30330 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30331 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30332 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30333
30334 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30335 and <math_private.h>.
30336 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30337 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30338 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30339 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30340 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30342 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30345 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30346 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30347 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30348 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30350 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30351 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30352 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30353 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30354 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30355 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30357 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30358 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30360 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30361 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30362 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30363 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30366 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30368 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30370 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30371 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30372 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30373 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30374 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30376 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30377 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30378 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30379 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30380 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30381 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30382 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30383 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30384 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30385 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30386 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30387 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30388 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30389 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30390 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30391 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30392 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30393 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30394 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30395 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30396 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30397 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30400 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30401 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30402 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30403 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30404 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30407 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30408 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30410 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30416 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30417 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30419 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30420 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30423 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30424 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30425 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30426 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30427 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30429 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30430 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30431 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30432 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30433 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30435 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30436 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30437 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30438 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30439 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30440 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30441 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30442 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30443 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30444 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30445 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30446 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30447 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30449 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30450 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30451 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30452 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30453 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30454 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30455 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30457 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30458 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30459 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30460 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30461 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30463 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30464 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30465 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30466 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30468 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30469 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30470 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30471 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30472 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30473 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30474 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30475 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30476 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30477 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30478 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30479 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30480 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30482 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30483 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30484 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30485 * sysdeps/ieee754/k_standard.c: Likewise.
30486 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30487 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30488 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30489 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30490 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30491 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30492 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30493 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30494 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30496 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30497 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30498 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30499 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30500 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30501 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30502 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30503 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30505 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30506 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30507 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30509 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30510 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30511 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30512 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30513 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30514 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30516 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30517 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30518 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30519 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30520 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30523 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30524 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30525 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30526 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30527 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30528 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30529 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30530 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30531 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30532 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30534 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30536 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30537 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30538 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30539 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30542 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30543 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30547 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30548 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30552 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30555 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30556 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30558 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30559 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30560 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30564 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30568 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30569 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30571 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30572 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30576 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30577 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30578 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30583 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30584 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30585 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30586 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30588 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30589 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30590 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30593 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30594 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30595 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30597 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30598 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30599 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30600 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30601 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30602 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30603 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30604 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30605 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30606 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30607 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30608 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30609 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30610 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30611 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30612 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30613 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30614 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30617 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30618 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30619 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30620 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30624 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30625 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30626 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30628 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30629 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30630 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30632 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30635 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30637 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30638 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30640 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30641 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30642 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30643 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30644 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30645 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30646 * sysdeps/ieee754/s_lib_version.c: Likewise.
30647 * sysdeps/ieee754/s_matherr.c: Likewise.
30648 * sysdeps/ieee754/s_signgam.c: Likewise.
30649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30651 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30652 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30653 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30654 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30655 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30656 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30657 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30658 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30659 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30660 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30661 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30662 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30663 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30664 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30665 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30666 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30667 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30670
30671 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30672
30673 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30674 * sunrpc/rpc_main.c: Likewise.
30675 * sunrpc/rpc_svcout.c: Likewise.
30676
30677 2012-03-09 David S. Miller <davem@davemloft.net>
30678
30679 * include/math_private.h: New file.
30680
30681 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30682
30683 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30684 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30685 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30686 from <bits/socket_type.h>.
30687 (enum __socket_type): Don't define here.
30688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30690 bits/socket_type.h.
30691
30692 [BZ #13566]
30693 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30694 checking __USE_GNU.
30695
30696 * Makerules ($(inst_includedir)/%.h): New rule.
30697 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30698 (install-others): Remove variable setting.
30699 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30700
30701 2012-03-08 Richard Henderson <rth@twiddle.net>
30702
30703 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30704 from macro to inline function; merge with the
30705 !__LIBC_INTERNAL_MATH_INLINES version.
30706 (__ieee754_sqrtf): Likewise.
30707
30708 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30709 to inline function.
30710 (__rintf, __floor, __floorf): Likewise.
30711
30712 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30713 macro to inline function.
30714 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30715
30716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30717 not <math/math_private.h>.
30718
30719 2012-03-08 David S. Miller <davem@davemloft.net>
30720
30721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30722 copyright year.
30723 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30724
30725 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30726
30727 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30728 normalization.
30729 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30730 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30731
30732 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30733
30734 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30735 be defined individually, they must be defined as a block. Define
30736 S for printing a string instead of hidint the different by using a
30737 macro for adding the 'l'.
30738 * stdio-common/tst-fphex-wide.c: Adjust.
30739
30740 2012-03-07 Marek Polacek <polacek@redhat.com>
30741
30742 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30743
30744 2012-03-08 Marek Polacek <polacek@redhat.com>
30745
30746 [BZ #13806]
30747 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30748 * stdio-common/tst-fphex.c: Define a few macros to make the
30749 test reusable. Use them.
30750 * stdio-common/tst-fphex-wide.c: New file.
30751
30752 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30753
30754 [BZ #6911]
30755 * manual/macros.texi (gnusystems): New macro.
30756 (nongnusystems): Likewise.
30757 (gnulinuxhurdsystems): Likewise.
30758 (gnuhurdsystems): Likewise..
30759 (gnulinuxsystems): Likewise.
30760 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30761 variants of the GNU system, not "GNU system".
30762 * manual/conf.texi: Likewise.
30763 * manual/errno.texi: Likewise. Update example of errno macro
30764 expansion.
30765 * manual/filesys.texi: Likewise.
30766 (getumask): Document as specific to GNU/Hurd.
30767 * manual/install.texi: Likewise. Reword some references to
30768 GNU/Linux.
30769 * manual/intro.texi: Likewise.
30770 * manual/io.texi: Likewise.
30771 (File Name Portability): Detail which constraints are inapplicable
30772 to all GNU systems and which are only inapplicable to GNU/Hurd.
30773 * manual/job.texi: Likewise.
30774 * manual/llio.texi: Likewise.
30775 (O_NOCTTY): Document as present on GNU/Linux.
30776 * manual/maint.texi: Likewise.
30777 * manual/memory.texi: Likewise.
30778 * manual/pattern.texi: Likewise.
30779 * manual/pipe.texi: Likewise.
30780 * manual/process.texi: Likewise.
30781 * manual/resource.texi: Likewise.
30782 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30783 child on GNU/Hurd.
30784 * manual/setjmp.texi: Likewise.
30785 * manual/signal.texi: Likewise.
30786 * manual/startup.texi: Likewise.
30787 * manual/stdio.texi: Likewise.
30788 * manual/terminal.texi: Likewise.
30789 (ONLCR): Document as POSIX.
30790 (OXTABS): Document availability on GNU/Linux as XTABS.
30791 (ONOEOT): Document availability separately from other bits.
30792 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30793 * manual/time.texi: Likewise.
30794 * manual/users.texi: Likewise.
30795 * INSTALL: Regenerated.
30796 * sysdeps/gnu/errlist.c: Regenerated.
30797
30798 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30799 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30800 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30801 puts.
30802 * configure: Regenerated.
30803
30804 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30805
30806 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30807 default includes instead of AC_HEADER_CHECK.
30808 * sysdeps/i386/configure: Regenerated.
30809
30810 [BZ #10716]
30811 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30812 * math/s_cacoshf.c (__cacoshf): Likewise.
30813 * math/s_cacoshl.c (__cacoshl): Likewise.
30814 * math/s_casinh.c (__casinh): Set signs of result from argument.
30815 * math/s_casinhf.c (__casinhf): Likewise.
30816 * math/s_casinhl.c (__casinhl): Likewise.
30817 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30818 (casinh_test): Add more tests.
30819 * sysdeps/i386/fpu/libm-test-ulps: Update.
30820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30821
30822 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30823
30824 * po/zh_TW.po: Update from translation team.
30825
30826 * login/Makefile (distribute): Remove variable.
30827 * catgets/Makefile: Likewise.
30828 * mach/Makefile: Likewise.
30829 * malloc/Makefile: Likewise.
30830 * misc/Makefile: Likewise.
30831 * iconv/Makefile: Likewise.
30832 * nscd/Makefile: Likewise.
30833 * hurd/Makefile: Likewise.
30834 * manual/Makefile: Likewise.
30835 * locale/Makefile: Likewise.
30836 * intl/Makefile: Likewise.
30837 * conform/Makefile: Likewise.
30838 * nss/Makefile: Likewise.
30839 * time/Makefile: Likewise.
30840 * soft-fp/Makefile: Likewise.
30841 * dirent/Makefile: Likewise.
30842 * gmon/Makefile: Likewise.
30843 * po/Makefile: Likewise.
30844 * rt/Makefile: Likewise.
30845 * socket/Makefile: Likewise.
30846 * math/Makefile: Likewise.
30847 * signal/Makefile: Likewise.
30848 * debug/Makefile: Likewise.
30849 * elf/Makefile: Likewise.
30850 * timezone/Makefile: Likewise.
30851 * stdlib/Makefile: Likewise.
30852 * iconvdata/Makefile: Likewise.
30853 * sunrpc/Makefile: Likewise.
30854 * io/Makefile: Likewise.
30855 * argp/Makefile: Likewise.
30856 * inet/Makefile: Likewise.
30857 * hesiod/Makefile: Likewise.
30858 * grp/Makefile: Likewise.
30859 * csu/Makefile: Likewise.
30860 * wctype/Makefile: Likewise.
30861 * crypt/Makefile: Likewise.
30862 * libio/Makefile: Likewise.
30863 * string/Makefile: Likewise.
30864 * nis/Makefile: Likewise.
30865 * resolv/Makefile: Likewise.
30866 * stdio-common/Makefile: Likewise.
30867 * wcsmbs/Makefile: Likewise.
30868 * dlfcn/Makefile: Likewise.
30869 * posix/Makefile: Likewise.
30870
30871 [BZ #6959]
30872 * timezone/Makefile: Don't install timezone files, just the programs
30873 and scripts.
30874
30875 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30876
30877 * nss/databases.def: Add missing gshadow entry.
30878
30879 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30880
30881 2012-03-06 Marek Polacek <polacek@redhat.com>
30882
30883 [BZ #13726]
30884 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30885 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30886 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30887 * stdio-common/tst-long-dbl-fphex.c: New file.
30888
30889 2012-03-06 David S. Miller <davem@davemloft.net>
30890
30891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30892 (set_obp_int): New function.
30893 (get_obp_int): New function.
30894 (__get_clockfreq_via_dev_openprom): Likewise.
30895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30896 Avoid unused variable warnings on 'val' and use builtin_expect.
30897 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30898 __builtin_expect.
30899 (INLINE_CLONE_SYSCALL): Likewise.
30900
30901 2012-03-05 David S. Miller <davem@davemloft.net>
30902
30903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30904
30905 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30906
30907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30908
30909 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30910 only for |x| >= 40.
30911 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30912
30913 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30914
30915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30916 Replace gettimeofday with __vdso_gettimeofday.
30917
30918 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30919 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30920 __vdso_clock_gettime and __vdso_getcpu.
30921
30922 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30923 time with __vdso_time.
30924
30925 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30926
30927 * manual/lang.texi (size_t): Note types to which size_t may be
30928 equivalent with the GNU C Library, but do not describe when
30929 differences between them are significant.
30930
30931 2012-03-05 Andreas Jaeger <aj@suse.de>
30932
30933 * sysdeps/i386/fpu/libm-test-ulps: Update.
30934
30935 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30936
30937 [BZ #3976]
30938 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30939 (__ieee754_pow): Save and restore rounding mode and use
30940 round-to-nearest for main computations.
30941 * math/libm-test.inc (pow_test_tonearest): New function.
30942 (pow_test_towardzero): Likewise.
30943 (pow_test_downward): Likewise.
30944 (pow_test_upward): Likewise.
30945 (main): Call the new functions.
30946 * sysdeps/i386/fpu/libm-test-ulps: Update.
30947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30948
30949 [BZ #3976]
30950 * math/libm-test.inc (cosh_test_tonearest): New function.
30951 (cosh_test_towardzero): Likewise.
30952 (cosh_test_downward): Likewise.
30953 (cosh_test_upward): Likewise.
30954 (sinh_test_tonearest): Likewise.
30955 (sinh_test_towardzero): Likewise.
30956 (sinh_test_downward): Likewise.
30957 (sinh_test_upward): Likewise.
30958 (main): Call the new functions.
30959 * sysdeps/i386/fpu/libm-test-ulps: Update.
30960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30961
30962 2012-03-05 Tom de Vries <tom@codesourcery.com>
30963
30964 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30965 default stack guard is set in last bytes.
30966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30967
30968 2012-03-05 Kees Cook <keescook@chromium.org>
30969
30970 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30971
30972 [BZ #13656]
30973 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30974 possibly allocate from heap instead of stack.
30975 * stdio-common/bug-vfprintf-nargs.c: New file.
30976 * stdio-common/Makefile (tests): Add nargs overflow test.
30977
30978 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30979
30980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30981
30982 2012-03-03 Marek Polacek <polacek@redhat.com>
30983
30984 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30985 * math/math_private.h: Likewise.
30986 * stdlib/tst-strtod.c: Likewise.
30987 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30988 * sysdeps/x86_64/bits/atomic.h: Likewise.
30989
30990 2012-03-02 David S. Miller <davem@davemloft.net>
30991
30992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30996 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30997 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30998 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30999 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31000
31001 2012-03-02 Roland McGrath <roland@hack.frob.com>
31002
31003 [BZ #13792]
31004 * manual/examples/README: New file, says the example source files
31005 can be used under GPL>=2.
31006 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31007 line containing just "*/".
31008 * manual/examples/add.c: Add copyright header (GPL>=2).
31009 * manual/examples/argp-ex1.c: Likewise.
31010 * manual/examples/argp-ex2.c: Likewise.
31011 * manual/examples/argp-ex3.c: Likewise.
31012 * manual/examples/argp-ex4.c: Likewise.
31013 * manual/examples/atexit.c: Likewise.
31014 * manual/examples/db.c: Likewise.
31015 * manual/examples/dir.c: Likewise.
31016 * manual/examples/dir2.c: Likewise.
31017 * manual/examples/execinfo.c: Likewise.
31018 * manual/examples/filecli.c: Likewise.
31019 * manual/examples/filesrv.c: Likewise.
31020 * manual/examples/fmtmsgexpl.c: Likewise.
31021 * manual/examples/genpass.c: Likewise.
31022 * manual/examples/inetcli.c: Likewise.
31023 * manual/examples/inetsrv.c: Likewise.
31024 * manual/examples/isockad.c: Likewise.
31025 * manual/examples/longopt.c: Likewise.
31026 * manual/examples/memopen.c: Likewise.
31027 * manual/examples/memstrm.c: Likewise.
31028 * manual/examples/mkfsock.c: Likewise.
31029 * manual/examples/mkisock.c: Likewise.
31030 * manual/examples/mygetpass.c: Likewise.
31031 * manual/examples/pipe.c: Likewise.
31032 * manual/examples/popen.c: Likewise.
31033 * manual/examples/rprintf.c: Likewise.
31034 * manual/examples/search.c: Likewise.
31035 * manual/examples/select.c: Likewise.
31036 * manual/examples/setjmp.c: Likewise.
31037 * manual/examples/sigh1.c: Likewise.
31038 * manual/examples/sigusr.c: Likewise.
31039 * manual/examples/stpcpy.c: Likewise.
31040 * manual/examples/strdupa.c: Likewise.
31041 * manual/examples/strftim.c: Likewise.
31042 * manual/examples/strncat.c: Likewise.
31043 * manual/examples/subopt.c: Likewise.
31044 * manual/examples/swapcontext.c: Likewise.
31045 * manual/examples/termios.c: Likewise.
31046 * manual/examples/testopt.c: Likewise.
31047 * manual/examples/testpass.c: Likewise.
31048 * manual/examples/timeval_subtract.c: Likewise.
31049
31050 [BZ #13792]
31051 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31052 function to ...
31053 * manual/timeval_subtract.c.texi: ... here, new file.
31054
31055 2012-03-02 David S. Miller <davem@davemloft.net>
31056
31057 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31058
31059 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31060
31061 [BZ #3976]
31062 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31063 (__sin): Save and restore rounding mode and use round-to-nearest
31064 for all computations.
31065 (__cos): Save and restore rounding mode and use round-to-nearest
31066 for all computations.
31067 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31068 <fenv.h>.
31069 (tan): Save and restore rounding mode and use round-to-nearest for
31070 all computations.
31071 * math/libm-test.inc (cos_test_tonearest): New function.
31072 (cos_test_towardzero): Likewise.
31073 (cos_test_downward): Likewise.
31074 (cos_test_upward): Likewise.
31075 (sin_test_tonearest): Likewise.
31076 (sin_test_towardzero): Likewise.
31077 (sin_test_downward): Likewise.
31078 (sin_test_upward): Likewise.
31079 (tan_test_tonearest): Likewise.
31080 (tan_test_towardzero): Likewise.
31081 (tan_test_downward): Likewise.
31082 (tan_test_upward): Likewise.
31083 (main): Call the new functions.
31084 * sysdeps/i386/fpu/libm-test-ulps: Update.
31085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31086
31087 [BZ #10135]
31088 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31089 small n, then large n, before computing and testing k+n.
31090 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31092 Likewise.
31093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31094 Likewise.
31095 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31096 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31097 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31098 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31103 * math/libm-test.inc (scalbn_test): Add more tests.
31104 (scalbln_test): Likewise.
31105
31106 * manual/filesys.texi (mode_t): Describe constraints on size and
31107 signedness, not exact equivalence to a particular type.
31108 (ino_t): Likewise.
31109 (ino64_t): Likewise.
31110 (dev_t): Likewise.
31111 (nlink_t): Likewise.
31112 (blkcnt_t): Likewise.
31113 (blkcnt64_t): Likewise.
31114 * manual/llio.texi (off_t): Likewise.
31115
31116 [BZ #3976]
31117 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31118 (__ieee754_exp): Save and restore rounding mode and use
31119 round-to-nearest for all computations.
31120 * math/libm-test.inc (exp_test_tonearest): New function.
31121 (exp_test_towardzero): Likewise.
31122 (exp_test_downward): Likewise.
31123 (exp_test_upward): Likewise.
31124 (main): Call the new functions.
31125 * sysdeps/i386/fpu/libm-test-ulps: Update.
31126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31127
31128 2012-03-01 Chris Demetriou <cgd@google.com>
31129
31130 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31131 have predictable order.
31132
31133 2012-03-01 David S. Miller <davem@davemloft.net>
31134
31135 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31136
31137 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31138 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31139 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31140 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31141
31142 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31143 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31144 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31146 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31147 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31148 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31149 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31150 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31151
31152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31153
31154 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31155 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31156 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31157
31158 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31159 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31160 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31161 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31162 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31165 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31166 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31167 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31168 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31172 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31174 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31175 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31176 * sysdeps/sparc/elf/configure: Regenerated.
31177
31178 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31179
31180 * configure.in (AS, LD): Require binutils 2.20 or later.
31181 * configure: Regenerated.
31182 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31183 as required minimum version.
31184 * INSTALL: Regenerated.
31185
31186 [BZ #2541]
31187 [BZ #4108]
31188 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31189 before squaring exponent.
31190 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31191 bottom long double and 27 bits of top long double before squaring
31192 exponent.
31193 * math/libm-test.inc (erfc_test): Add more tests.
31194 * sysdeps/i386/fpu/libm-test-ulps: Update.
31195 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31197
31198 2012-03-01 Kai Tietz <ktietz@redhat.com>
31199
31200 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31201 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31202 containing bit-fields.
31203 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31204 * soft-fp/single.h (_FP_UNION_S): Likewise.
31205 * soft-fp/double.h (_FP_UNION_D): Likewise.
31206
31207 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31208
31209 [BZ #13786]
31210 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31211 not include ../strcmp.S.
31212 [USE_AS_STRNCASECMP_L]: Likewise.
31213 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31214 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31215 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31216 (__strncasecmp_l_ia32): Define as alias to
31217 __strncasecmp_l_nonascii.
31218
31219 [BZ #5794]
31220 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31221 * sysdeps/i386/fpu/libm-test-ulps: Update.
31222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31223
31224 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31226
31227 2012-02-29 Jeff Law <law@redhat.com>
31228
31229 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31230 out of bounds read.
31231
31232 2012-02-29 Marek Polacek <polacek@redhat.com>
31233
31234 [BZ #13706]
31235 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31236 * elf/Makefile: Add rules to run tst-unused-dep.out.
31237
31238 2012-02-28 David S. Miller <davem@davemloft.net>
31239
31240 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31241 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31244 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31245 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31246
31247 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31248
31249 * math/libm-test.inc (llround_test): Move one test from
31250 lround_test. Use TEST_f_L in moved test.
31251 (lround_test): Move misplaced test to llround_test. Add testcase
31252 from bug 2561.
31253
31254 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31255
31256 * sysdeps/x86_64/fpu/e_expf.S: New file.
31257 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31258
31259 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31260
31261 [BZ #13637]
31262 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31263 of remain_len that may cause incomplete multi-byte character and
31264 false match.
31265 * posix/bug-regex33.c: New file.
31266 * posix/Makefile (tests): Add bug-regex33.
31267
31268 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31269
31270 * manual/macros.texi: New file.
31271 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31272 * manual/libc.texinfo: Include macros.texi.
31273 * manual/creatute.texi: Likewise.
31274 * manual/install.texi: Likewise.
31275 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31276 @glibcadj{} in references to the GNU C Library.
31277 * manual/charset.texi: Likewise.
31278 * manual/conf.texi: Likewise.
31279 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31280 when not using those macros.
31281 * manual/creature.texi: Likewise.
31282 * manual/crypt.texi: Likewise.
31283 * manual/errno.texi: Likewise.
31284 * manual/filesys.texi: Likewise.
31285 * manual/header.texi: Likewise.
31286 * manual/install.texi: Likewise.
31287 * manual/intro.texi: Likewise.
31288 * manual/io.texi: Likewise.
31289 * manual/job.texi: Likewise.
31290 * manual/lang.texi: Likewise.
31291 * manual/libc.texiinfo: Likewise.
31292 * manual/llio.texi: Likewise.
31293 * manual/locale.texi: Likewise.
31294 * manual/maint.texi: Likewise.
31295 * manual/math.texi: Likewise.
31296 * manual/memory.texi: Likewise.
31297 * manual/message.texi: Likewise.
31298 * manual/nss.texi: Likewise.
31299 * manual/pattern.texi: Likewise.
31300 * manual/process.texi: Likewise.
31301 * manual/resource.texi: Likewise.
31302 * manual/search.texi: Likewise.
31303 * manual/setjmp.texi: Likewise.
31304 * manual/signal.texi: Likewise.
31305 * manual/socket.texi: Likewise.
31306 * manual/startup.texi: Likewise.
31307 * manual/stdio.texi: Likewise.
31308 * manual/string.texi: Likewise.
31309 * manual/sysinfo.texi: Likewise.
31310 * manual/syslog.texi: Likewise.
31311 * manual/terminal.texi: Likewise.
31312 * manual/time.texi: Likewise.
31313 * manual/users.texi: Likewise.
31314 * INSTALL: Regenerated.
31315 * NOTES: Regenerated.
31316 * sysdeps/gnu/errlist.c: Regenerated.
31317
31318 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31319
31320 * include/dirent.h: Include <dirstream.h> before
31321 <dirent/dirent.h>.
31322
31323 2012-02-28 David S. Miller <davem@davemloft.net>
31324
31325 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31326 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31327 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31328 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31329
31330 2012-02-27 David S. Miller <davem@davemloft.net>
31331
31332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31334 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31335 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31336
31337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31338 frame pointer instead of stack pointer relative arg slot.
31339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31342
31343 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31344
31345 [BZ #3992]
31346 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31347
31348 2012-02-27 David S. Miller <davem@davemloft.net>
31349
31350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31356 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31358
31359 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31360
31361 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31362 later. Allow versions 5-9.
31363 * configure: Regenerated.
31364 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31365 required minimum version and 4.6 as recommended version. Do not
31366 mention bugs in GCC 2.7 and 2.8.
31367 * INSTALL: Regenerated.
31368
31369 2012-02-27 David S. Miller <davem@davemloft.net>
31370
31371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31375 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31376 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31377 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31378 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31379
31380 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31381 manipulate bits before adding and subtracting TWO112[sx].
31382 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31383
31384 2012-02-27 Roland McGrath <roland@hack.frob.com>
31385
31386 [BZ #13775]
31387 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31388 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31389 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31390 being in POSIX, because they are in 1003.1-2008.
31391
31392 * rt/tst-aio.c: Include <fcntl.h>.
31393 * rt/tst-aio7.c: Likewise.
31394 * rt/tst-aio64.c: Likewise.
31395
31396 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31397
31398 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31399
31400 * manual/install.texi (--with-headers): Describe headers as
31401 interface headers, not private headers.
31402 (Specific advice for GNU/Linux systems): Describe use of headers
31403 from "make headers_install", not private headers from older
31404 kernels.
31405 * INSTALL: Regenerated.
31406 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31407 Change to 2.6.19.
31408 * sysdeps/unix/sysv/linux/configure: Regenerated.
31409
31410 * manual/llio.texi (fclean): Remove documentation.
31411
31412 * manual/Makefile (libc-texi-generated): New variable. Include
31413 version.texi.
31414 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31415 $(libc-texi-generated), not duplicated list of files.
31416 (version.texi, stamp-version): New rules.
31417 (realclean): Remove $(libc-texi-generated), not individual files
31418 from that list. Do not remove dir-add.texinfo.
31419 * manual/libc.texinfo: Comment out uses of edition numbers and
31420 references to printed manual. Remove last-updated dates.
31421 (EDITION): Comment out.
31422 (ISBN): Likewise.
31423 (VERSION, UPDATED): Remove.
31424 (version.texi): Include.
31425
31426 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31427
31428 * sysdeps/posix/spawni.c: Include <signal.h>.
31429 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31430 * sysdeps/pthread/aio_fsync.c: Likewise.
31431
31432 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31433
31434 * conform/Makefile (tests): Run only when not cross-compiling and
31435 when fast-check is not defined.
31436
31437 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31438 * conform/data/limits.h-data: Fixes for POSIX2008.
31439 * conform/run-conformtest.sh: Run all tests.
31440 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31441 headers.
31442 * include/bits/dlfcn.h: Likewise.
31443 * include/langinfo.h: Likewise.
31444 * include/monetary.h: Likewise.
31445 * include/sys/poll.h: Likewise.
31446
31447 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31448 for __USE_GNU.
31449 * posix/spawn.h: Define __need_sigset_t.
31450 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31451 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31452 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31453 to get sigevent_t only.
31454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31455 only for __USE_GNU.
31456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31457 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31458 process_vm_writev only for __USE_GNU.
31459 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31460
31461 * conform/Makefile: For now ignore errors from run-conformtest.
31462 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31463 POSIX to avoid namespace pollution. Don't prepend headers.
31464 * conform/data/aio.h-data: Fixes for POSIX testing.
31465 * conform/data/fcntl.h-data: Likewise.
31466 * conform/data/glob.h-data: Likewise.
31467 * conform/data/grp.h-data: Likewise.
31468 * conform/data/pthread.h-data: Likewise.
31469 * conform/data/pwd.h-data: Likewise.
31470 * conform/data/signal.h-data: Likewise.
31471 * conform/data/spawn.h-data: Likewise.
31472 * conform/data/stdio.h-data: Likewise.
31473 * conform/data/stdlib.h-data: Likewise.
31474 * conform/data/stropts.h-data: Likewise.
31475 * conform/data/sys/mman.h-data: Likewise.
31476 * conform/data/sys/stat.h-data: Likewise.
31477 * conform/data/sys/types.h-data: Likewise.
31478 * conform/data/sys/wait.h-data: Likewise.
31479 * conform/data/time.h-data: Likewise.
31480 * conform/data/unistd.h-data: Likewise.
31481 * conform/data/utime.h-data: Likewise.
31482
31483 * io/sys/stat.h: fchmod was always in POSIX.
31484 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31485 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31486 * rt/aio.h: Define __need_timespec before including <time.h>.
31487 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31488 struct. Add forward declaration of pthread_attr_t and use it in
31489 sigevent.
31490 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31492 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31493 always remove CLK_TCK definition.
31494
31495 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31496
31497 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31498
31499 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31500
31501 * conform/run-conformtest.sh: New file.
31502 * conform/Makefile: Run run-conformtest for tests.
31503 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31504 support.
31505
31506 * conform/data/uchar.h-data: New file.
31507 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31508 * conform/data/arpa/inet.h-data: Likewise.
31509 * conform/data/assert.h-data: Likewise.
31510 * conform/data/complex.h-data: Likewise.
31511 * conform/data/cpio.h-data: Likewise.
31512 * conform/data/ctype.h-data: Likewise.
31513 * conform/data/dirent.h-data: Likewise.
31514 * conform/data/dlfcn.h-data: Likewise.
31515 * conform/data/errno.h-data: Likewise.
31516 * conform/data/fcntl.h-data: Likewise.
31517 * conform/data/float.h-data: Likewise.
31518 * conform/data/fmtmsg.h-data: Likewise.
31519 * conform/data/fnmatch.h-data: Likewise.
31520 * conform/data/ftw.h-data: Likewise.
31521 * conform/data/glob.h-data: Likewise.
31522 * conform/data/grp.h-data: Likewise.
31523 * conform/data/iconv.h-data: Likewise.
31524 * conform/data/inttypes.h-data: Likewise.
31525 * conform/data/langinfo.h-data: Likewise.
31526 * conform/data/libgen.h-data: Likewise.
31527 * conform/data/limits.h-data: Likewise.
31528 * conform/data/locale.h-data: Likewise.
31529 * conform/data/math.h-data: Likewise.
31530 * conform/data/monetary.h-data: Likewise.
31531 * conform/data/mqueue.h-data: Likewise.
31532 * conform/data/ndbm.h-data: Likewise.
31533 * conform/data/net/if.h-data: Likewise.
31534 * conform/data/netdb.h-data: Likewise.
31535 * conform/data/netinet/in.h-data: Likewise.
31536 * conform/data/nl_types.h-data: Likewise.
31537 * conform/data/poll.h-data: Likewise.
31538 * conform/data/pthread.h-data: Likewise.
31539 * conform/data/pwd.h-data: Likewise.
31540 * conform/data/regex.h-data: Likewise.
31541 * conform/data/sched.h-data: Likewise.
31542 * conform/data/search.h-data: Likewise.
31543 * conform/data/semaphore.h-data: Likewise.
31544 * conform/data/setjmp.h-data: Likewise.
31545 * conform/data/signal.h-data: Likewise.
31546 * conform/data/spawn.h-data: Likewise.
31547 * conform/data/stdarg.h-data: Likewise.
31548 * conform/data/stdio.h-data: Likewise.
31549 * conform/data/stdlib.h-data: Likewise.
31550 * conform/data/string.h-data: Likewise.
31551 * conform/data/strings.h-data: Likewise.
31552 * conform/data/stropts.h-data: Likewise.
31553 * conform/data/sys/ipc.h-data: Likewise.
31554 * conform/data/sys/mman.h-data: Likewise.
31555 * conform/data/sys/msg.h-data: Likewise.
31556 * conform/data/sys/resource.h-data: Likewise.
31557 * conform/data/sys/select.h-data: Likewise.
31558 * conform/data/sys/sem.h-data: Likewise.
31559 * conform/data/sys/shm.h-data: Likewise.
31560 * conform/data/sys/socket.h-data: Likewise.
31561 * conform/data/sys/stat.h-data: Likewise.
31562 * conform/data/sys/statvfs.h-data: Likewise.
31563 * conform/data/sys/time.h-data: Likewise.
31564 * conform/data/sys/timeb.h-data: Likewise.
31565 * conform/data/sys/times.h-data: Likewise.
31566 * conform/data/sys/types.h-data: Likewise.
31567 * conform/data/sys/uio.h-data: Likewise.
31568 * conform/data/sys/un.h-data: Likewise.
31569 * conform/data/sys/utsname.h-data: Likewise.
31570 * conform/data/sys/wait.h-data: Likewise.
31571 * conform/data/syslog.h-data: Likewise.
31572 * conform/data/tar.h-data: Likewise.
31573 * conform/data/termios.h-data: Likewise.
31574 * conform/data/utime.h-data: Likewise.
31575 * conform/data/utmpx.h-data: Likewise.
31576 * conform/data/varargs.h-data: Likewise.
31577 * conform/data/wchar.h-data: Likewise.
31578 * conform/data/wctype.h-data: Likewise.
31579 * conform/data/wordexp.h-data: Likewise.
31580
31581 * include/stropts.h: New file.
31582 * include/uchar.h: New file.
31583 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31584 * include/assert.h: Likewise.
31585 * include/ctype.h: Likewise.
31586 * include/dirent.h: Likewise.
31587 * include/dlfcn.h: Likewise.
31588 * include/fcntl.h: Likewise.
31589 * include/fnmatch.h: Likewise.
31590 * include/glob.h: Likewise.
31591 * include/grp.h: Likewise.
31592 * include/libio.h: Likewise.
31593 * include/locale.h: Likewise.
31594 * include/math.h: Likewise.
31595 * include/net/if.h: Likewise.
31596 * include/netdb.h: Likewise.
31597 * include/netinet/in.h: Likewise.
31598 * include/pthread.h: Likewise.
31599 * include/pwd.h: Likewise.
31600 * include/regex.h: Likewise.
31601 * include/sched.h: Likewise.
31602 * include/search.h: Likewise.
31603 * include/setjmp.h: Likewise.
31604 * include/signal.h: Likewise.
31605 * include/stdio.h: Likewise.
31606 * include/stdlib.h: Likewise.
31607 * include/string.h: Likewise.
31608 * include/sys/cdefs.h: Likewise.
31609 * include/sys/mman.h: Likewise.
31610 * include/sys/msg.h: Likewise.
31611 * include/sys/resource.h: Likewise.
31612 * include/sys/select.h: Likewise.
31613 * include/sys/socket.h: Likewise.
31614 * include/sys/stat.h: Likewise.
31615 * include/sys/statvfs.h: Likewise.
31616 * include/sys/time.h: Likewise.
31617 * include/sys/times.h: Likewise.
31618 * include/sys/uio.h: Likewise.
31619 * include/sys/utsname.h: Likewise.
31620 * include/sys/wait.h: Likewise.
31621 * include/termios.h: Likewise.
31622 * include/time.h: Likewise.
31623 * include/ulimit.h: Likewise.
31624 * include/unistd.h: Likewise.
31625 * include/utime.h: Likewise.
31626 * include/wchar.h: Likewise.
31627 * include/wctype.h: Likewise.
31628 * include/wordexp.h: Likewise.
31629
31630 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31631
31632 * time/time.h: TIME_UTC must be a macro.
31633 Make timespec_get available for ISO C11 only as well.
31634
31635 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31636
31637 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31638 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31639
31640 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31641
31642 * configure.in: Use -o not -a in test for unsupported multi-arch.
31643
31644 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31645
31646 * manual/texinfo.tex: Update to version 2012-01-19.16.
31647
31648 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31649
31650 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31651
31652 2012-02-24 Roland McGrath <roland@hack.frob.com>
31653
31654 [BZ #13738]
31655 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31656 * manual/fdl-1.3.texi: New file.
31657 * manual/fdl-1.1.texi: File removed.
31658
31659 [BZ #13738]
31660 * manual/libc.texinfo (FDL_VERSION): New @set.
31661 Use it for mention of FDL in cover text.
31662 (Documentation License): Use it in @include file name.
31663
31664 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31665 Roland McGrath <roland@hack.frob.com>
31666
31667 [BZ #5461]
31668 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31669 not LONG_LONG_MAX and LONG_LONG_MIN.
31670 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31671 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31672 name.
31673 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31674
31675 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31676
31677 [BZ #2547]
31678 [BZ #11365]
31679 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31680 manipulate bits before adding and subtracting TWO23[sx].
31681 * math/libm-test.inc (nearbyint_test): Add more tests.
31682
31683 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31684
31685 [BZ #2548]
31686 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31687 bits before adding and subtracting TWO23[sx].
31688 * math/libm-test.inc (rint_test): Add more tests.
31689 (rint_test_tonearest): Likewise.
31690 (rint_test_towardzero): Likewise.
31691 (rint_test_downward): Likewise.
31692 (rint_test_upward: Likewise.
31693
31694 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31695
31696 [BZ #10110]
31697 * include/stdc-predef.h: New file. Extracted from features.h.
31698 * include/features.h: Include stdc-predef.h.
31699 * Makefile (headers): Add stdc-predef.h.
31700 * CONFORMANCE (Compiler limitations): Update.
31701
31702 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31703
31704 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31705
31706 2012-02-21 David S. Miller <davem@davemloft.net>
31707
31708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31709 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31710
31711 2012-02-20 David S. Miller <davem@davemloft.net>
31712
31713 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31714 using a normal save/restore sequence, rather than allocating a
31715 dummy stack frame just to store a frame pointer and restore.
31716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31717
31718 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31719
31720 * manual/install.texi: Fix stray word in line-wrapped comment.
31721
31722 2012-02-20 David S. Miller <davem@davemloft.net>
31723
31724 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31725 both binutils and gcc support GOTDATA.
31726
31727 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31728 "rd %pc" in the PIC register setup sequences.
31729
31730 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31731 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31732 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31733 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31734 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31739 (SYSCALL_ERROR_HANDLER): Likewise.
31740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31743 (SYSCALL_ERROR_HANDLER): Likewise.
31744
31745 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31746 (HAVE_GCC_GOTDATA): New.
31747 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31748 relocation support in both binutils and gcc.
31749 * sysdeps/sparc/elf/configure: Regenerate.
31750
31751 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31752 * sysdeps/sparc/sparc32/elf/configure: Delete.
31753 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31754 * sysdeps/sparc/sparc64/elf/configure: Delete.
31755 * sysdeps/sparc/elf/configure.in: New file.
31756 * sysdeps/sparc/elf/configure: Generate.
31757
31758 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31759 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31760 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31761 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31762 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31763
31764 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31765
31766 * manual/install.texi: Do not mention specific glibc version
31767 numbers.
31768 * manual/libc.texinfo (VERSION, UPDATED): Update.
31769 (@copying): Use @copyright{} and range of years.
31770
31771 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31772
31773 [BZ #13695]
31774 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31775 [crti.S not in sysdirs] (generated): Do not append.
31776 [crti.S not in sysdirs] (omit-deps): Likewise.
31777 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31778 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31779 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31780 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31781 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31782 Likewise.
31783 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31784 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31785 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31786 * csu/defs.awk: Remove file.
31787 * sysdeps/generic/initfini.c: Likewise.
31788 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31789 variable.
31790 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31791 Likewise.
31792
31793 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31794
31795 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31796 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31797 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31800 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31801 <bits/epoll.h>.
31802 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31803 (__EPOLL_PACKED): Define to empty if not defined by
31804 <bits/epoll.h>.
31805 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31807 bits/epoll.h.
31808
31809 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31810
31811 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31812 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31814 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31815 <bits/timerfd.h>.
31816 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31818 bits/timerfd.h.
31819
31820 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31821
31822 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31823 in C locale.
31824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31828
31829 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31830
31831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31833
31834 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31835
31836 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31837 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31838 defined.
31839 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31840 Likewise.
31841 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31842 entry for 2.16.
31843
31844 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31845
31846 * math/w_acos.c: Use non-signaling floating-point comparisons.
31847 * math/w_acosf.c: Likewise.
31848 * math/w_acosh.c: Likewise.
31849 * math/w_acoshf.c: Likewise.
31850 * math/w_acoshl.c: Likewise.
31851 * math/w_acosl.c: Likewise.
31852 * math/w_asin.c: Likewise.
31853 * math/w_asinf.c: Likewise.
31854 * math/w_asinl.c: Likewise.
31855 * math/w_atanh.c: Likewise.
31856 * math/w_atanhf.c: Likewise.
31857 * math/w_atanhl.c: Likewise.
31858 * math/w_exp2.c: Likewise.
31859 * math/w_exp2f.c: Likewise.
31860 * math/w_exp2l.c: Likewise.
31861 * math/w_j0.c: Likewise.
31862 * math/w_j0f.c: Likewise.
31863 * math/w_j0l.c: Likewise.
31864 * math/w_j1.c: Likewise.
31865 * math/w_j1f.c: Likewise.
31866 * math/w_j1l.c: Likewise.
31867 * math/w_jn.c: Likewise.
31868 * math/w_jnf.c: Likewise.
31869 * math/w_log.c: Likewise.
31870 * math/w_log10.c: Likewise.
31871 * math/w_log10f.c: Likewise.
31872 * math/w_log10l.c: Likewise.
31873 * math/w_log2.c: Likewise.
31874 * math/w_log2f.c: Likewise.
31875 * math/w_log2l.c: Likewise.
31876 * math/w_logf.c: Likewise.
31877 * math/w_logl.c: Likewise.
31878 * math/w_sqrt.c: Likewise.
31879 * math/w_sqrtf.c: Likewise.
31880 * math/w_sqrtl.c: Likewise.
31881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31882 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31883 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31886
31887 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31888
31889 [BZ #9739]
31890 * manual/string.texi (strnlen): Use correct parameter name in
31891 equivalent expression.
31892
31893 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31894
31895 [BZ #11174]
31896 * manual/users.texi (seteuid): Consistently use neweuid for
31897 argument name.
31898
31899 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31900
31901 [BZ #13704]
31902 * manual/nss.texi (Services in the NSS configuration): Correct
31903 list of services in example configuration file.
31904
31905 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31906
31907 [BZ #11322]
31908 * manual/arith.texi: Remove statements about negative zero
31909 behaving identically to zero.
31910
31911 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31912
31913 [BZ #5993]
31914 * manual/install.texi: Do not document upgrading from libc5.
31915
31916 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31917
31918 [BZ #4596]
31919 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31920
31921 2012-02-18 David S. Miller <davem@davemloft.net>
31922
31923 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31924 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31925 %o7 across the call.
31926 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31927 instead.
31928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31929 SETUP_PIC_REG_LEAF.
31930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31931 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31932 * sysdeps/sparc/crtn.S: Likewise.
31933
31934 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31935
31936 * aout/Makefile: Remove.
31937
31938 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31939
31940 [BZ #13058]
31941 * manual/examples/argp-ex1.c (main): Format definition in GNU
31942 style.
31943 * manual/examples/argp-ex2.c (main): Likewise.
31944 * manual/examples/argp-ex3.c (main): Likewise.
31945 * manual/examples/argp-ex4.c (main): Likewise.
31946 * manual/examples/longopt.c (main): Use new-style prototype
31947 definition.
31948 * manual/examples/strncat.c (main): Specify return type and use
31949 (void) for arguments.
31950 * manual/examples/subopt.c (main): Use char **argv argument.
31951
31952 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31953
31954 [BZ #5077]
31955 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31956 rounding modes.
31957
31958 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31959
31960 [BZ #6907]
31961 * manual/string.texi (strchr): Change when strchrnul is
31962 recommended.
31963
31964 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31965
31966 [BZ #174]
31967 * manual/locale.texi (setlocale): Document LOCPATH.
31968
31969 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31970
31971 [BZ #10210]
31972 * manual/process.texi (execle): Move @dots{} before last argument.
31973
31974 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31975
31976 [BZ #12047]
31977 * manual/charset.texi (Generic Charset Conversion): Fix typo
31978 (LC_TYPE -> LC_CTYPE).
31979
31980 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31981
31982 [BZ #5805]
31983 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31984 (scalbnf): Likewise.
31985 (scalbnl): Likewise.
31986 (scalbln): Likewise.
31987 (scalblnf): Likewise.
31988 (scalblnl): Likewise.
31989 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31990 (vwarnx): Likewise.
31991 (verr): Likewise.
31992 (verrx): Likewise.
31993 * manual/filesys.texi (telldir): Use braces around return type.
31994 * manual/llio.texi (mmap): Add space after comma.
31995 (mmap64): Likewise.
31996 * manual/math.texi (jn): Use @var{} on parameter names.
31997 (jnf): Likewise.
31998 (jnl): Likewise.
31999 (yn): Likewise.
32000 (ynf): Likewise.
32001 (ynl): Likewise.
32002 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32003 line.
32004 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32005 "...".
32006 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32007 (sched_get_priority_max): Likewise.
32008 * manual/signal.texi (sigvec): Add space after comma.
32009 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32010 names.
32011 (if_indextoname): Likewise.
32012 (if_freenameindex): Likewise.
32013 (sendto): Use ',' instead of '.' in prototype.
32014 * manual/startup.texi (syscall): Use @dots{} instead of literal
32015 "...".
32016 * manual/stdio.texi (__fpending): Separate initial words of
32017 paragraph from @deftypefun line.
32018 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32019 "...".
32020 (vsyslog): Use @var{} on parameter names.
32021 * manual/terminal.texi (stty): Use @var{} on parameter names.
32022 * manual/users.texi (getutmp): Use @var{} on parameter names.
32023 (getutmpx): Likewise.
32024
32025 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32026
32027 [BZ #6884]
32028 * manual/stdio.texi (fopen): Fix typos in description of
32029 ",ccs=STRING".
32030
32031 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32032
32033 [BZ #4026]
32034 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32035 get clock_id definition.
32036
32037 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32038
32039 [BZ #4822]
32040 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32041 (madvise): Cast every argument to void on its own.
32042
32043 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32044
32045 [BZ #9902]
32046 * manual/startup.texi (Exit Status): Fix typo.
32047
32048 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32049
32050 [BZ #10140]
32051 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32052 * manual/examples/argp-ex2.c: Likewise.
32053 * manual/examples/argp-ex3.c: Likewise.
32054
32055 2012-02-16 Richard Henderson <rth@redhat.com>
32056
32057 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32058 * sysdeps/s390/s390-32/initfini.c: Remove.
32059 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32060 * sysdeps/s390/s390-64/initfini.c: Remove.
32061
32062 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32063
32064 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32065 compiler output for sysdeps/generic/initfini.c.
32066 * sysdeps/sh/elf/initfini.c: Remove file.
32067
32068 2012-02-16 David S. Miller <davem@davemloft.net>
32069
32070 [BZ #11494]
32071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32072
32073 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32074 * sysdeps/sparc/crti.S: New file.
32075 * sysdeps/sparc/crtn.S: New file.
32076 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32077 * sysdeps/sparc/sparc64/Makefile: Likewise.
32078
32079 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32080
32081 [BZ #3335]
32082 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32083
32084 2012-02-15 Roland McGrath <roland@hack.frob.com>
32085
32086 [BZ #4822]
32087 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32088
32089 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32090 (write, read, close): Likewise.
32091 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32092
32093 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32094
32095 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32096 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32097 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32098 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32099 <bits/signalfd.h>.
32100 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32102 bits/signalfd.h.
32103
32104 2012-02-14 Marek Polacek <polacek@redhat.com>
32105
32106 * sysdeps/x86_64/crti.S: New file.
32107 * sysdeps/x86_64/crtn.S: New file.
32108 * sysdeps/x86_64/elf/initfini.c: Remove file.
32109
32110 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32111
32112 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32113 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32114 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32115 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32116 <bits/inotify.h>.
32117 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32119 bits/inotify.h.
32120
32121 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32122
32123 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32124 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32125 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32126 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32127 <bits/eventfd.h>.
32128 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32130 bits/eventfd.h.
32131
32132 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32133
32134 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32135 __feraiseexcept instead of feraiseexcept.
32136
32137 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32138 nanosleep invocations.
32139 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32140 strings, and add error checking for a nanosleep invocations.
32141
32142 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32143
32144 Replace FSF snail mail address with URLs, as per GNU coding standards.
32145 Most of the snail mail addresses were wrong anyway, and omitting
32146 them makes the source code easier to maintain. Almost all of the
32147 changes are to license notices and to locale LC_IDENTIFICATION
32148 addresses, except for this one:
32149 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32150 not its snail mail address.
32151
32152 2012-02-09 Richard Henderson <rth@twiddle.net>
32153
32154 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32155 of kernel-features.h.
32156
32157 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32158
32159 2012-02-08 Marek Polacek <polacek@redhat.com>
32160
32161 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32162 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32163 * sysdeps/gnu/_G_config.h: Likewise.
32164 * sysdeps/generic/_G_config.h: Likewise.
32165
32166 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32167
32168 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32169 tests.
32170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32171
32172 * sysdeps/powerpc/powerpc32/crti.S: New file.
32173 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32174 * sysdeps/powerpc/powerpc64/crti.S: New file.
32175 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32176
32177 * Makeconfig (have-initfini): Don't set.
32178 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32179 * configure.in (nopic_initfini): Don't substitute.
32180 * config.h.in (HAVE_INITFINI): Don't #undef.
32181 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32182 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32183
32184 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32185
32186 Support crti.S and crtn.S provided directly by architectures.
32187 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32188 [crti.S in sysdirs] (omit-deps): Likewise.
32189 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32190 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32191 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32192 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32193 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32194 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32195 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32196 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32197 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32198 compiler output for sysdeps/generic/initfini.c.
32199 * sysdeps/i386/elf/Makefile: Remove file.
32200 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32201
32202 2012-02-07 Marek Polacek <polacek@redhat.com>
32203
32204 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32205 * sysdeps/gnu/_G_config.h: Likewise.
32206 * sysdeps/mach/hurd/_G_config.h: Likewise.
32207
32208 2012-02-07 Marek Polacek <polacek@redhat.com>
32209
32210 * math/Makefile (tests): Add tst-CMPLX2.
32211 * math/tst-CMPLX2.c: New file.
32212
32213 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32214
32215 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32216
32217 * math/libm-test.inc (jn_test): Add missing L suffix.
32218
32219 2012-02-06 Marek Polacek <polacek@redhat.com>
32220
32221 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32222 * sysdeps/i386/fpu/e_powf.S: Likewise.
32223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32224 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32225 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32226 * sysdeps/i386/fpu/e_pow.S: Likewise.
32227 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32228 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32229 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32230 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32231 * sysdeps/i386/fpu/e_log2.S: Likewise.
32232 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32233 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32234 * sysdeps/i386/fpu/e_powl.S: Likewise.
32235 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32237 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32238 * sysdeps/i386/fpu/e_logl.S: Likewise.
32239 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32240 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32241 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32242 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32244 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32245 * sysdeps/i386/fpu/e_log.S: Likewise.
32246 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32247 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32248 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32249 * sysdeps/i386/fpu/e_logf.S: Likewise.
32250 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32251 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32252 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32253 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32254 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32255 * sysdeps/i386/fpu/e_log10.S: Likewise.
32256 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32257 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32258 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32259 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32260 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32261 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32262 * sysdeps/i386/asm-syntax.h: Likewise.
32263 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32266 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32267 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32269 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32270 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32272 * sysdeps/powerpc/sysdep.h: Likewise.
32273 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32274 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32275
32276 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32277
32278 [BZ #411]
32279 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32280
32281 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32282
32283 * sysdeps/i386/sysdep.h: Include <features.h>.
32284 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32285 version.
32286
32287 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32288
32289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32290 Define.
32291 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32292 LOAD_PIC_REG_STR.
32293
32294 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32295
32296 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32297 (SETUP_PIC_REG): Use GET_PC_THUNK.
32298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32299 macro.
32300
32301 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32302
32303 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32304 for non-PIC compilation.
32305 (SETUP_PIC_REG): Add .p2align directive.
32306 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32307 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32309 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32311 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32312 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32325 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32328 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32329 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32333 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32334 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32335 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32336 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32337 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32338 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32339 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32340 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32347
32348 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32349
32350 * math/tst-CMPLX.c: Include <stdio.h>.
32351
32352 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32353
32354 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32355 float.
32356 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32357 * sysdeps/sparc/bits/mathdef.h: Likewise.
32358
32359 2012-01-31 Marek Polacek <polacek@redhat.com>
32360
32361 * libio/libio.h: Don't define _PARAMS.
32362 * locale/programs/config.h: Don't define PARAMS.
32363 * stdlib/strtol_l.c: Likewise.
32364 (__strtol_l): Remove PARAMS from the prototype.
32365
32366 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32367
32368 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32369 names. Just use the correct names. Remove unnecessary wrapper
32370 functions.
32371 * malloc/arena.c: Likewise.
32372 * malloc/hooks.c: Likewise.
32373
32374 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32375 ARENA_TEST says not to. Simplify test for creation of a new arena.
32376 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32377
32378 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32379
32380 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32381 into tail calls.
32382 (update_get_addr): New function.
32383 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32384 GET_ADDR_MODULE parameter.
32385
32386 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32387
32388 * crypt/cert.c: Remove __STDC__ conditionals.
32389 * crypt/crypt-entry.c: Likewise.
32390 * crypt/crypt_util.c: Likewise.
32391 * libio/filedoalloc.c: Likewise.
32392 * libio/fileops.c: Likewise.
32393 * libio/genops.c: Likewise.
32394 * libio/iofclose.c: Likewise.
32395 * libio/iofdopen.c: Likewise.
32396 * libio/iofopen.c: Likewise.
32397 * libio/iofopen64.c: Likewise.
32398 * libio/iogetdelim.c: Likewise.
32399 * libio/iopopen.c: Likewise.
32400 * libio/obprintf.c: Likewise.
32401 * libio/oldfileops.c: Likewise.
32402 * libio/oldiofclose.c: Likewise.
32403 * libio/oldiofdopen.c: Likewise.
32404 * libio/oldiofopen.c: Likewise.
32405 * libio/oldiopopen.c: Likewise.
32406 * libio/wfiledoalloc.c: Likewise.
32407 * libio/wgenops.c: Likewise.
32408 * locale/programs/xmalloc.c: Likewise.
32409 * misc/syslog.c: Likewise.
32410 * stdio-common/xbug.c: Likewise.
32411 * string/memchr.c: Likewise.
32412 * string/memcmp.c: Likewise.
32413 * string/memrchr.c: Likewise.
32414 * string/rawmemchr.c: Likewise.
32415 * sysdeps/posix/getcwd.c: Likewise.
32416 * time/strftime_l.c: Likewise.
32417
32418 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32419
32420 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32421 * config.make.in (config-cflags-sse2avx): Define.
32422 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32423 Fix typo.
32424
32425 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32426
32427 * scripts/config.guess: Update from upstream config git repository.
32428 * scripts/config.sub: Likewise.
32429
32430 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32431
32432 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32433 (EM_NUM): Update.
32434 (R_TILEPRO_*, R_TILEGX_*): New macros.
32435
32436 * scripts/firstversions.awk: Fix bug in version range handling.
32437
32438 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32439
32440 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32441
32442 * include/sys/epoll.h: New file.
32443 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32444 libc_hidden_def.
32445
32446 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32447
32448 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32449 Avoid unnecessary __WORDSIZE == 64 test.
32450 (fmaxf): Use VEX format if possible.
32451 (fmax): Likewise.
32452 (fminf): Likewise.
32453 (fmin): Likewise.
32454
32455 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32456 * math/math_private.h: Remove libc_fegetround* and
32457 libc_fesetround*.
32458 * sysdeps/i386/configure.in: Check for -msse2avx.
32459 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32460 also if SSE2AVX is defined.
32461 Remove libc_fegetround* and libc_fesetround*.
32462 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32463 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32465 of HAS_YMM_USABLE.
32466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32471
32472 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32473
32474 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32475
32476 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32477 size is not set.
32478 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32479
32480 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32481
32482 [BZ #13618]
32483 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32484 relocation.
32485 * Makeconfig (libm): Define.
32486 * elf/Makefile: Add rules to build and run tst-relsort1.
32487 * elf/tst-relsort1.c: New file.
32488 * elf/tst-relsort1mod1.c: New file.
32489 * elf/tst-relsort1mod2.c: New file.
32490
32491 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32492
32493 * math/s_ldexp.c: Remove __STDC__ conditionals.
32494 * math/s_ldexpf.c: Likewise.
32495 * math/s_ldexpl.c: Likewise.
32496 * math/s_nextafter.c: Likewise.
32497 * math/s_nexttowardf.c: Likewise.
32498 * math/s_significand.c: Likewise.
32499 * math/s_significandf.c: Likewise.
32500 * math/s_significandl.c: Likewise.
32501 * math/w_jnl.c: Likewise.
32502 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32503 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32504 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32505 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32506 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32514 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32516 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32519 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32521 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32522 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32523 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32528 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32529 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32530 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32532 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32533 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32535 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32536 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32537 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32538 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32542 * sysdeps/ieee754/k_standard.c: Likewise.
32543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32544 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32547 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32559 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32560 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32561 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32562 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32574 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32575 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32576 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32579 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32581 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32582 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32583 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32586 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32589 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32592 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32593 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32604 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32605 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32610 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32611 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32612 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32616 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32617 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32618 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32622 * sysdeps/ieee754/s_matherr.c: Likewise.
32623 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32624 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32627
32628 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32629
32630 * crypt/md5.h: Remove __STDC__ conditionals.
32631 * libio/libioP.h: Likewise.
32632 * locale/programs/config.h: Likewise.
32633 * sysdeps/generic/sysdep.h: Likewise.
32634 * sysdeps/i386/asm-syntax.h: Likewise.
32635 * sysdeps/s390/asm-syntax.h: Likewise.
32636 * sysdeps/unix/sysdep.h: Likewise.
32637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32639
32640 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32641
32642 * libio/libio.h: Remove __STDC__ conditionals.
32643 * malloc/obstack.h: Likewise.
32644 * math/complex.h: Likewise.
32645 * math/math.h: Likewise.
32646 * sysdeps/generic/_G_config.h: Likewise.
32647 * sysdeps/gnu/_G_config.h: Likewise.
32648 * sysdeps/mach/hurd/_G_config.h: Likewise.
32649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32651 * sysdeps/sparc/bits/mathdef.h: Likewise.
32652
32653 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32654
32655 [BZ #13583]
32656 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32657 Clean up HAS_* macros.
32658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32659 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32660 possible.
32661 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32662 HAS_AVX.
32663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32668
32669 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32670
32671 * elf/tst-unique3.cc (gets): Remove declaration.
32672 * elf/tst-unique3lib.cc (gets): Likewise.
32673 * elf/tst-unique3lib2.cc (gets): Likewise.
32674 * elf/tst-unique4.cc (gets): Likewise.
32675
32676 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32677
32678 * include/stdio.h: Add C++ protection. Add gets declarations and
32679 definitions.
32680 * debug/tst-chk1.c: Don't declare gets here.
32681 * stdio-common/tst-gets.c: Likewise.
32682
32683 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32684
32685 * posix/glob: Remove directory.
32686
32687 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32688
32689 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32690
32691 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32692
32693 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32694 of the non-standard EPFNOSUPPORT.
32695
32696 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32697
32698 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32699 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32700 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32701
32702 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32703
32704 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32705
32706 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32707
32708 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32709 transient errors.
32710 * nscd/grpcache.c (cache_addgr): Likewise.
32711 * nscd/hstcache.c (cache_addhst): Likewise.
32712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32713 * nscd/pwdcache.c (cache_addpw): Likewise.
32714 * nscd/servicescache.c (cache_addserv): Likewise.
32715
32716 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32717
32718 * malloc/malloc.c: Various cleanups.
32719 * malloc/hooks.c: Likewise.
32720
32721 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32722 * stdlib/bug-fmtmsg1.c: New file.
32723
32724 * stdlib/fmtmsg.c (init): Add missing unlock.
32725 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32726
32727 2012-01-12 Marek Polacek <polacek@redhat.com>
32728
32729 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32730 and _GNU_SOURCE.
32731
32732 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32733
32734 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32735 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32736 macro to ensure uniqueness of label name.
32737 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32738 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32739
32740 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32741
32742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32743
32744 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32745 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32748
32749 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32750
32751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32752
32753 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32754 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32755 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32756
32757 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32758
32759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32760 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32763
32764 * math/bits/math-finite.h: Add ldexp support.
32765
32766 2012-01-10 Marek Polacek <polacek@redhat.com>
32767
32768 * locale/programs/localedef.h (show_archive_content): Add noreturn
32769 attribute.
32770
32771 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32772
32773 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32774
32775 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32776
32777 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32778
32779 * io/Makefile (headers): Add bits/poll2.h.
32780
32781 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32782
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32784 typo #include statement.
32785
32786 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32787
32788 * include/sys/cdefs.h: Define __attribute_alloc_size.
32789 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32790 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32791 * elf/pldd.c: Likewise.
32792 * iconv/iconv_charmap.c: Likewise.
32793 * iconv/iconvconfig.c: Likewise.
32794 * iconv/strtab.c: Likewise.
32795 * locale/programs/locale.c: Likewise.
32796 * locale/programs/localedef.h: Likewise.
32797 * locale/programs/simple-hash.c: Likewise.
32798 * nscd/nscd.h: Likewise.
32799 * nss/makedb.c: Likewise.
32800 * sysdeps/generic/ldconfig.h: Likewise.
32801 * locale/programs/localedef.c: Remove xmalloc prototype.
32802 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32803
32804 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32805
32806 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32807 appropriate.
32808
32809 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32810
32811 * math/Makefile (tests): Add tst-CMPLX.
32812 * math/tst-CMPLX.c: New file.
32813
32814 * math/complex.h (CMPLXL): Fix typo.
32815
32816 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32817 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32818 GLIBC_2.16.
32819 * debug/tst-chk1.c: Add poll and ppoll tests.
32820 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32821 * include/sys/poll.h: Add hidden proto for ppoll.
32822 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32823 * sysdeps/mach/hurd/ppoll.c: Likewise.
32824 * io/ppoll.c: Likewise.
32825 * debug/poll_chk.c: New file.
32826 * debug/ppoll_chk.c: New file.
32827 * include/bits/poll2.h: New file.
32828 * io/bits/poll2.h: New file.
32829
32830 [BZ #1350]
32831 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32832
32833 * configure.in: static is always set to yes. Remove.
32834 * config.make.in: Don't set build-static.
32835 * Makeconfig: Remove use of build-static.
32836 * dlfcn/Makefile: Likewise.
32837 * elf/Makefile: Likewise.
32838 * math/Makefile: Likewise.
32839 * misc/Makefile: Likewise.
32840 * nptl/Makefile: Likewise.
32841 * sysdeps/mach/hurd/Makefile: Likewise.
32842
32843 * configure.in: PWD_P is not used anymore.
32844 * config.make.in: Remove PWD_P entry.
32845
32846 * configure.in: Remove last remnants of RANLIB.
32847 No need to check for signed size_t anymore.
32848 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32849 and IA-64.
32850 Remove __builtin_expect test because we require at least gcc 3.4.
32851 * aclocal.m4: Likewise.
32852
32853 * wcsmbs/mbrtoc16.c: Implement using towc function.
32854 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32855 * wcsmbs/wcsmbsload.c: Likewise.
32856 * iconv/gconv_simple.c: Likewise.
32857 * iconv/gconv_int.h: Likewise.
32858 * iconv/gconv_builtin.h: Likewise.
32859 * iconv/iconv_prog.c: Remove CHAR16 handling.
32860
32861 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32862
32863 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32864
32865 * configure.in: Remove --with-elf and --enable-bounded options.
32866 Dont set base_machine for ia64. More non-ELF conditions removed.
32867 Remove testing and setting of leading underscore information.
32868 * config.make.in (build-bounded): Set to no.
32869 * config.h.in: Remove NO_UNDERSCORES entry.
32870 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32871 them.
32872 * csu/start.c: Remove !NO_UNDERSCORE code.
32873 * locale/localeinfo.h: Likewise.
32874 * sysdeps/generic/machine-gmon.h: Likewise.
32875 * sysdeps/generic/sysdep.h: Likewise.
32876 * sysdeps/i386/sysdep.h: Likewise.
32877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32878 * sysdeps/mach/sysdep.h: Likewise.
32879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32881 * sysdeps/sh/sysdep.h: Likewise.
32882 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32883 * sysdeps/unix/i386/sysdep.S: Likewise.
32884 * sysdeps/unix/sparc/start.c: Likewise.
32885 * sysdeps/unix/sparc/sysdep.S: Likewise.
32886 * sysdeps/unix/sparc/sysdep.h: Likewise.
32887 * sysdeps/unix/start.c: Likewise.
32888 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32889 * sysdeps/x86_64/sysdep.h: Likewise.
32890
32891 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32892
32893 [BZ #13553]
32894 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32895 for non-gcc.
32896 * argp/argp-fmtstream.h: Use const instead __const.
32897 * argp/argp.h: Likewise.
32898 * assert/assert.h: Likewise.
32899 * bits/fenv.h: Likewise.
32900 * bits/sched.h: Likewise.
32901 * bits/sigset.h: Likewise.
32902 * bits/sigthread.h: Likewise.
32903 * catgets/nl_types.h: Likewise.
32904 * conform/data/pthread.h-data: Likewise.
32905 * crypt/crypt-private.h: Likewise.
32906 * crypt/crypt.h: Likewise.
32907 * crypt/crypt_util.c: Likewise.
32908 * ctype/ctype.h: Likewise.
32909 * debug/execinfo.h: Likewise.
32910 * debug/mbsnrtowcs_chk.c: Likewise.
32911 * debug/mbsrtowcs_chk.c: Likewise.
32912 * debug/wcsnrtombs_chk.c: Likewise.
32913 * debug/wcsrtombs_chk.c: Likewise.
32914 * debug/wcstombs_chk.c: Likewise.
32915 * dirent/dirent.h: Likewise.
32916 * dlfcn/dlfcn.h: Likewise.
32917 * elf/neededtest4.c: Likewise.
32918 * grp/grp.h: Likewise.
32919 * gshadow/gshadow.h: Likewise.
32920 * iconv/gconv.h: Likewise.
32921 * iconv/gconv_int.h: Likewise.
32922 * iconv/gconv_simple.c: Likewise.
32923 * iconv/iconv.h: Likewise.
32924 * iconv/loop.c: Likewise.
32925 * iconv/skeleton.c: Likewise.
32926 * include/aio.h: Likewise.
32927 * include/aliases.h: Likewise.
32928 * include/argz.h: Likewise.
32929 * include/arpa/inet.h: Likewise.
32930 * include/assert.h: Likewise.
32931 * include/dirent.h: Likewise.
32932 * include/dlfcn.h: Likewise.
32933 * include/execinfo.h: Likewise.
32934 * include/fcntl.h: Likewise.
32935 * include/fenv.h: Likewise.
32936 * include/glob.h: Likewise.
32937 * include/grp.h: Likewise.
32938 * include/libintl.h: Likewise.
32939 * include/mntent.h: Likewise.
32940 * include/netdb.h: Likewise.
32941 * include/pwd.h: Likewise.
32942 * include/rpc/netdb.h: Likewise.
32943 * include/sched.h: Likewise.
32944 * include/search.h: Likewise.
32945 * include/shadow.h: Likewise.
32946 * include/signal.h: Likewise.
32947 * include/stdio.h: Likewise.
32948 * include/stdlib.h: Likewise.
32949 * include/string.h: Likewise.
32950 * include/sys/socket.h: Likewise.
32951 * include/sys/stat.h: Likewise.
32952 * include/sys/statfs.h: Likewise.
32953 * include/sys/statvfs.h: Likewise.
32954 * include/sys/syslog.h: Likewise.
32955 * include/sys/time.h: Likewise.
32956 * include/sys/uio.h: Likewise.
32957 * include/time.h: Likewise.
32958 * include/unistd.h: Likewise.
32959 * include/utmp.h: Likewise.
32960 * include/wchar.h: Likewise.
32961 * include/wctype.h: Likewise.
32962 * inet/aliases.h: Likewise.
32963 * inet/arpa/inet.h: Likewise.
32964 * inet/netinet/ether.h: Likewise.
32965 * inet/netinet/in.h: Likewise.
32966 * intl/libintl.h: Likewise.
32967 * io/bits/fcntl2.h: Likewise.
32968 * io/fcntl.h: Likewise.
32969 * io/ftw.h: Likewise.
32970 * io/sys/poll.h: Likewise.
32971 * io/sys/stat.h: Likewise.
32972 * io/sys/statfs.h: Likewise.
32973 * io/sys/statvfs.h: Likewise.
32974 * io/utime.h: Likewise.
32975 * libio/bits/stdio.h: Likewise.
32976 * libio/bits/stdio2.h: Likewise.
32977 * libio/libio.h: Likewise.
32978 * libio/libioP.h: Likewise.
32979 * libio/stdio.h: Likewise.
32980 * locale/lc-ctype.c: Likewise.
32981 * locale/locale.h: Likewise.
32982 * login/utmp.h: Likewise.
32983 * malloc/arena.c: Likewise.
32984 * malloc/malloc.c: Likewise.
32985 * malloc/malloc.h: Likewise.
32986 * malloc/mcheck.c: Likewise.
32987 * malloc/mtrace.c: Likewise.
32988 * math/bits/mathcalls.h: Likewise.
32989 * math/fenv.h: Likewise.
32990 * math/math_private.h: Likewise.
32991 * misc/bits/error.h: Likewise.
32992 * misc/bits/syslog.h: Likewise.
32993 * misc/err.h: Likewise.
32994 * misc/error.h: Likewise.
32995 * misc/fstab.h: Likewise.
32996 * misc/mntent.h: Likewise.
32997 * misc/regexp.h: Likewise.
32998 * misc/search.h: Likewise.
32999 * misc/sgtty.h: Likewise.
33000 * misc/sys/mman.h: Likewise.
33001 * misc/sys/syslog.h: Likewise.
33002 * misc/sys/uio.h: Likewise.
33003 * misc/sys/xattr.h: Likewise.
33004 * misc/ttyent.h: Likewise.
33005 * nis/rpcsvc/ypclnt.h: Likewise.
33006 * nss/nss.h: Likewise.
33007 * posix/bits/unistd.h: Likewise.
33008 * posix/fnmatch.h: Likewise.
33009 * posix/glob.h: Likewise.
33010 * posix/sched.h: Likewise.
33011 * posix/spawn.h: Likewise.
33012 * posix/sys/wait.h: Likewise.
33013 * posix/unistd.h: Likewise.
33014 * posix/wordexp.h: Likewise.
33015 * pwd/pwd.h: Likewise.
33016 * resolv/netdb.h: Likewise.
33017 * resource/sys/resource.h: Likewise.
33018 * rt/aio.h: Likewise.
33019 * rt/bits/mqueue2.h: Likewise.
33020 * rt/mqueue.h: Likewise.
33021 * shadow/shadow.h: Likewise.
33022 * signal/signal.h: Likewise.
33023 * socket/send.c: Likewise.
33024 * socket/sendto.c: Likewise.
33025 * socket/sys/socket.h: Likewise.
33026 * stdio-common/printf.h: Likewise.
33027 * stdlib/bits/stdlib.h: Likewise.
33028 * stdlib/fmtmsg.h: Likewise.
33029 * stdlib/monetary.h: Likewise.
33030 * stdlib/stdlib.h: Likewise.
33031 * stdlib/ucontext.h: Likewise.
33032 * streams/stropts.h: Likewise.
33033 * string/argz.h: Likewise.
33034 * string/bits/string2.h: Likewise.
33035 * string/string.h: Likewise.
33036 * string/strings.h: Likewise.
33037 * sunrpc/rpc/auth.h: Likewise.
33038 * sunrpc/rpc/auth_des.h: Likewise.
33039 * sunrpc/rpc/clnt.h: Likewise.
33040 * sunrpc/rpc/netdb.h: Likewise.
33041 * sunrpc/rpc/pmap_clnt.h: Likewise.
33042 * sunrpc/rpc/xdr.h: Likewise.
33043 * sysdeps/generic/inttypes.h: Likewise.
33044 * sysdeps/generic/net/if.h: Likewise.
33045 * sysdeps/generic/sys/swap.h: Likewise.
33046 * sysdeps/gnu/net/if.h: Likewise.
33047 * sysdeps/gnu/utmpx.h: Likewise.
33048 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33049 * sysdeps/i386/i486/bits/string.h: Likewise.
33050 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33051 * sysdeps/s390/bits/string.h: Likewise.
33052 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33053 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33054 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33055 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33056 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33057 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33058 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33059 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33060 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33061 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33062 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33063 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33064 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33065 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33066 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33067 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33068 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33070 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33073 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33074 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33075 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33076 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33077 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33078 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33079 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33080 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33081 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33082 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33083 * sysvipc/sys/ipc.h: Likewise.
33084 * sysvipc/sys/msg.h: Likewise.
33085 * sysvipc/sys/sem.h: Likewise.
33086 * sysvipc/sys/shm.h: Likewise.
33087 * termios/termios.h: Likewise.
33088 * time/sys/time.h: Likewise.
33089 * time/time.h: Likewise.
33090 * wcsmbs/bits/wchar2.h: Likewise.
33091 * wcsmbs/uchar.h: Likewise.
33092 * wcsmbs/wchar.h: Likewise.
33093 * wctype/wctype.h: Likewise.
33094
33095 [BZ #13551]
33096 * Makeconfig: Remove all but ELF support including AIX support.
33097 * Makerules: Likewise.
33098 * config.h.in: Likewise.
33099 * config.make.in: Likewise.
33100 * configure: Likewise.
33101 * configure.in: Likewise.
33102 * csu/Makefile: Likewise.
33103 * csu/version.c: Likewise.
33104 * debug/Makefile: Likewise.
33105 * dlfcn/Makefile: Likewise.
33106 * elf/Makefile: Likewise.
33107 * extra-lib.mk: Likewise.
33108 * iconv/Makefile: Likewise.
33109 * include/libc-symbols.h: Likewise.
33110 * include/shlib-compat.h: Likewise.
33111 * resolv/Makefile: Likewise.
33112 * resolv/res_libc.c: Likewise.
33113 * rt/Makefile: Likewise.
33114 * sysdeps/i386/asm-syntax.h: Likewise.
33115 * sysdeps/i386/sysdep.h: Likewise.
33116 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33117 * sysdeps/mach/sysdep.h: Likewise.
33118 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33119 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33120 * sysdeps/s390/asm-syntax.h: Likewise.
33121 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33123 * sysdeps/sh/sysdep.h: Likewise.
33124 * sysdeps/unix/sparc/sysdep.h: Likewise.
33125 * sysdeps/wordsize-32/divdi3.c: Likewise.
33126 * sysdeps/x86_64/sysdep.h: Likewise.
33127
33128 * argp/Versions: Remove _argp_unlock_xxx.
33129
33130 [BZ #13559]
33131 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33132 * abilist/libBrokenLocale.abilist: Likewise.
33133 * abilist/libanl.abilist: Likewise.
33134 * abilist/libc.abilist: Likewise.
33135 * abilist/libcrypt.abilist: Likewise.
33136 * abilist/libdl.abilist: Likewise.
33137 * abilist/libm.abilist: Likewise.
33138 * abilist/libnsl.abilist: Likewise.
33139 * abilist/libpthread.abilist: Likewise.
33140 * abilist/libresolv.abilist: Likewise.
33141 * abilist/librt.abilist: Likewise.
33142 * abilist/libthread_db.abilist: Likewise.
33143 * abilist/libutil.abilist: Likewise.
33144 * abilist/libnss_db.abilist: New file.
33145
33146 * scripts/abilist.awk: Add support for indirect functions.
33147
33148 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33149
33150 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33151
33152 * shlib-versions: Remove entries for ports architectures.
33153
33154 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33155 files in ports.
33156 * elf/stackguard-macros.h: Remove support for IA-64.
33157 * elf/tst-auditmod1.c: Likewise.
33158 * sysdeps/generic/ldsodefs.h: Likewise.
33159
33160 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33161 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33162 configure files.
33163
33164 [BZ #13552]
33165 * configure.in: Remove --enable-omitfp support.
33166 * FAQ.in: Adjust.
33167 * config.make.in: Likewise.
33168 * Makeconfig: Likewise.
33169 * manual/install.texi: Likewise.
33170
33171 In case anyone cares, the IA-64 architecture could move to ports.
33172 * sysdeps/ia64/*: Removed.
33173 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33174 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33175
33176 [BZ #13555]
33177 * configure.in: Remove entries for unsupported architectures.
33178
33179 [BZ #13533]
33180 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33181 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33182 routines.
33183 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33184 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33185 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33186 fall back to using wcrtomb.
33187 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33188 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33189 renaming.
33190 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33191 * wcsmbs/tst-c16c32-1.c: New file.
33192
33193 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33194 local variable.
33195
33196 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33197
33198 * elf/tst-unique3.cc: Add explicit declaration of gets.
33199 * elf/tst-unique3lib.cc: Likewise.
33200 * elf/tst-unique3lib2.cc: Likewise.
33201 * elf/tst-unique4.cc: Likewise.
33202
33203 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33204
33205 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33206
33207 [BZ #13566]
33208 * assert/assert.h (static_assert): Don't define for C++.
33209 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33210 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33211
33212 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33213
33214 * iconv/loop.c (single loop): Fix assertion in storing of
33215 remaining bytes.
33216
33217 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33218
33219 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33220
33221 * posix/getconf.c: Update copyright year.
33222 * nss/getent.c: Likewise.
33223 * nss/makedb.c: Likewise.
33224 * iconv/iconvconfig.c: Likewise.
33225 * iconv/iconv_prog.c: Likewise.
33226 * elf/ldconfig.c: Likewise.
33227 * elf/pldd.c: Likewise.
33228 * elf/sotruss.ksh: Likewise.
33229 * catgets/gencat.c: Likewise.
33230 * csu/version.c: Likewise.
33231 * elf/ldd.bash.in: Likewise.
33232 * elf/sprof.c (print_version): Likewise.
33233 * locale/programs/locale.c: Likewise.
33234 * locale/programs/localedef.c: Likewise.
33235 * login/programs/pt_chown.c: Likewise.
33236 * nscd/nscd.c (print_version): Likewise.
33237 * debug/xtrace.sh: Likewise.
33238 * malloc/memusage.sh: Likewise.
33239 * malloc/mtrace.pl: Likewise.
33240 * debug/catchsegv.sh: Likewise.
33241
33242 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33243
33244 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33245 pure attribute.
33246
33247 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33248
33249 [BZ #13533]
33250 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33251 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33252 transformations.
33253 * iconv/gconv_int.h: Likewise.
33254 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33255 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33256 from libc for GLIBC_2.16.
33257 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33258 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33259 * wcsmbs/uchar.h: Really define mbstate_t.
33260 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33261 * wcsmbs/c16rtomb.c: New file.
33262 * wcsmbs/mbrtoc16.c: New file.
33263 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33264 for C/POSIX locale.
33265 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33266 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33267
33268 * wcsmbs/wchar.h: Add missing __restrict.
33269
33270 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33271
33272 [BZ #13532]
33273 * time/Makefile (routines): Add timespec_get.
33274 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33275 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33276 timespec for ISO C11.
33277 * time/timespec_get.c: New file.
33278 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33279 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33280
33281 [BZ #13531]
33282 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33283 * stdlib/stdlib.h: Declare aligned_alloc.
33284 * Versions.def: Add GLIBC_2.16 for libc.
33285 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33286
33287 [BZ 13527]
33288 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33289 ISO C11.
33290
33291 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33292 code.
33293
33294 [BZ #13528]
33295 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33296
33297 [BZ #13529]
33298 * assert/assert.h (static_assert): Define.
33299
33300 * version.h: Update for 2.16 development version.
33301
33302 [BZ #13526]
33303 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33304 _ISOC11_SOURCE.
33305
33306 * version.h (RELEASE): Bump for 2.15 release.
33307 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33308
33309 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33310 Patch by Marek Polacek <mpolacek@redhat.com>.
33311
33312 * bits/byteswap.h: Protect long long constants with __extension__.
33313 * sysdeps/i386/bits/byteswap.h: Likewise.
33314 * sysdeps/ia64/bits/byteswap.h: Likewise.
33315 * sysdeps/s390/bits/byteswap.h: Likewise.
33316 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33317
33318 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33319
33320 [BZ #13540]
33321 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33322 destination buffer.
33323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33324
33325 2011-12-23 Marek Polacek <polacek@redhat.com>
33326
33327 * elf/dl-addr.c (determine_info): Add inline keyword.
33328 * elf/tst-auditmod4b.c (check_avx): Likewise.
33329 * elf/tst-auditmod6b.c (check_avx): Likewise.
33330 * elf/tst-auditmod6c.c (check_avx): Likewise.
33331 * elf/tst-auditmod7b.c (check_avx): Likewise.
33332
33333 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33334
33335 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33336 !__SSE_MATH__.
33337
33338 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33339
33340 [BZ #13540]
33341 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33342 processing for last bytes.
33343
33344 2011-08-06 Bruno Haible <bruno@clisp.org>
33345
33346 [BZ #13061]
33347 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33348 U+0385, not to U+1FEE.
33349
33350 [BZ #13062]
33351 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33352 entry for U+00A5 U+0301.
33353
33354 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33355
33356 [BZ #13166]
33357 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33358 buffer for the output is too small.
33359
33360 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33361 optimization.
33362
33363 [BZ #13185]
33364 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33365 SSE flags if possible.
33366
33367 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33368
33369 [BZ #13540]
33370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33371 processing for last bytes.
33372
33373 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33374
33375 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33376 (syscall-list-default-options, syscall-list-default-condition)
33377 (syscall-list-includes): Define.
33378 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33379 list of ABIs and options and #if conditions for each ABI. Do not
33380 handle common syscalls between ABIs specially.
33381 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33382 Remove.
33383 (syscall-list-variants, syscall-list-32bit-options)
33384 (syscall-list-32bit-condition, syscall-list-64bit-options)
33385 (syscall-list-64bit-condition): Define.
33386 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33387 (syscall-list-variants, syscall-list-32bit-options)
33388 (syscall-list-32bit-condition, syscall-list-64bit-options)
33389 (syscall-list-64bit-condition): Define.
33390 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33391 Remove.
33392 (syscall-list-variants, syscall-list-32bit-options)
33393 (syscall-list-32bit-condition, syscall-list-64bit-options)
33394 (syscall-list-64bit-condition): Define.
33395 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33396 Remove.
33397 (syscall-list-variants, syscall-list-32bit-options)
33398 (syscall-list-32bit-condition, syscall-list-64bit-options)
33399 (syscall-list-64bit-condition): Define.
33400
33401 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33402
33403 * locale/iso-639.def: Add brx entry.
33404
33405 [BZ #13328]
33406 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33407 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33408
33409 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33410 __feraiseexcept_renamed.
33411
33412 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33413
33414 [BZ #13538]
33415 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33416 EPOLLET with unsigned values.
33417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33419
33420 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33421 to large cancellation.
33422 * math/s_cacoshf.c: Likewise.
33423 * math/s_cacoshl.c: Likewise.
33424
33425 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33426
33427 [BZ #13305]
33428 [BZ #12786]
33429 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33430 * math/s_cacoshf.c: Likewise.
33431 * math/s_cacoshl.c: Likewise.
33432
33433 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33434
33435 [BZ #13439]
33436 * iconv/gconv.h: Define __GCONV_SWAP.
33437 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33438 * iconvdata/utf-16.c: Likewise.
33439 * iconvdata/utf-32.c: Likewise.
33440
33441 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33442
33443 [BZ #13524]
33444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33445 numerator after shifting it by one limb.
33446
33447 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33448
33449 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33450 under [__USE_EXTERN_INLINES].
33451
33452 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33453
33454 [BZ #13446]
33455 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33456
33457 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33458
33459 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33460 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33461 optimized code.
33462 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33463 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33464 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33465 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33466 for strncasecmp/strncasecmp_l compilation.
33467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33468 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33469
33470 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33471
33472 [BZ #13484]
33473 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33474 of __asm__.
33475
33476 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33477
33478 [BZ #13506]
33479 * time/tzfile.c (__tzfile_read): Check values from file header.
33480
33481 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33482
33483 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33484 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33485 * powerpc/powerpc32/dl-start.S: Likewise.
33486 * powerpc/powerpc32/elf/start.S: Likewise.
33487 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33488 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33489 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33490 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33491 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33492 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33493 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33494 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33495 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33496 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33497 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33498 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33499 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33500 * powerpc/powerpc32/memset.S: Likewise.
33501 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33502 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33503 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33504 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33505 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33506 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33507 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33508 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33509 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33510 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33511 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33514
33515 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33516
33517 * math/libm-test.inc: Added more nearbyint tests.
33518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33522
33523 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33524
33525 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33526 FD_CLOEXEC.
33527
33528 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33529
33530 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33531 Add wcscpy-ssse3 wcscpy-c.
33532 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33533 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33534 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33535 * sysdeps/x86_64/wcschr.S: New file.
33536 * sysdeps/x86_64/wcsrchr.S: New file.
33537 * string/test-strcmp.c: Remove checking of wcscmp function for
33538 wrong alignments.
33539 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33540 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33541 wcsrchr-sse2 wcsrchr-c.
33542 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33543 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33544 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33545 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33546 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33547 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33548 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33549 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33550 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33551 * wcsmbc/wcschr.c (WCSCHR): New macro.
33552
33553 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33554
33555 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33556 * wcsmbs/test-wcsrchr.c: New file.
33557 * string/test-strrchr.c: Add wcsrchr support.
33558 (WIDE): New macro.
33559 * wcsmbs/test-wcscpy.c: New file.
33560 * string/test-strcpy.c: Add wcscpy support.
33561 (WIDE): New macro.
33562
33563 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33564
33565 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33566 the inner loop.
33567
33568 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33569
33570 [BZ #13472]
33571 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33572
33573 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33574
33575 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33576 Minor optimizations.
33577
33578 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33579 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33580 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33581
33582 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33583
33584 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33585 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33586 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33587 for gcc to avoid warnings.
33588 * inet/Makefile (tests): Add tst-checks.
33589 * inet/tst-checks.c: New file.
33590
33591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33592 warning.
33593
33594 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33595 __wmemcmp_sse2.
33596
33597 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33598 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33599
33600 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33601
33602 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33603
33604 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33605 problem.
33606
33607 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33608
33609 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33610
33611 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33612 conditional on GCC version.
33613 (__arch_compare_and_exchange_val_8_acq)
33614 (__arch_compare_and_exchange_val_16_acq)
33615 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33616 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33617 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33618
33619 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33620
33621 * sysdeps/sh/backtrace.c: New file.
33622
33623 2011-12-02 Andreas Schwab <schwab@redhat.com>
33624
33625 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33626 parenthesis.
33627
33628 2011-12-01 Andreas Schwab <schwab@redhat.com>
33629
33630 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33631 falling back to utime.
33632
33633 2011-11-30 Andreas Schwab <schwab@redhat.com>
33634
33635 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33636 expectations for float.
33637
33638 2011-11-29 Andreas Schwab <schwab@redhat.com>
33639
33640 * locale/weight.h (findidx): Add parameter len.
33641 * locale/weightwc.h (findidx): Likewise.
33642 * posix/fnmatch_loop.c (FCT): Adjust caller.
33643 * posix/regcomp.c (build_equiv_class): Likewise.
33644 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33645 * posix/regexec.c (check_node_accept_bytes): Likewise.
33646 * string/strcoll_l.c (STRCOLL): Likewise.
33647 * string/strxfrm_l.c (STRXFRM): Likewise.
33648
33649 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33650
33651 * Makefile.in: Remove CVSOPT handling.
33652 * configure.in: Remove use of AC_REVISION.
33653 * iconvdata/Makefile (distribute): No need to filter out CVS.
33654 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33655 handling.
33656
33657 2011-11-16 Andreas Schwab <schwab@redhat.com>
33658
33659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33660 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33661 [USE_AS_STRNCASECMP_L]: Likewise.
33662 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33663 NO_TLS_DIRECT_SEG_REFS.
33664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33665 Fix argument offsets for non-PIC.
33666 [USE_AS_STRNCASECMP_L]: Likewise.
33667 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33668 NO_TLS_DIRECT_SEG_REFS.
33669
33670 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33671
33672 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33673 O_CLOEXEC.
33674 * locale/loadlocale.c (_nl_load_locale): Likewise.
33675
33676 2011-11-15 Andreas Schwab <schwab@redhat.com>
33677
33678 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33679 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33680 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33681 (SYSCALL_GETTIME): Set errno on error.
33682
33683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33684 count references to noai6ai_cached.
33685
33686 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33687
33688 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33689
33690 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33691 FD_CLOEXEC for /proc/self/maps.
33692
33693 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33694 FD_CLOEXEC for /proc/meminfo.
33695
33696 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33697 gai.conf.
33698
33699 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33700 FD_CLOEXEC for given file.
33701
33702 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33703
33704 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33705 FD_CLOEXEC for /etc/hosts.
33706 (_gethtent): Likewise.
33707
33708 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33709
33710 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33711 cancellation and set FD_CLOEXEC for /etc/netgroup.
33712
33713 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33714 reading /etc/publickey.
33715
33716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33717 allow cancellation when reading /etc/group.
33718
33719 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33720 cancellation.
33721 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33722
33723 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33724 when using data file.
33725
33726 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33727
33728 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33729 (write_nis_obj): Use "c" and "e" in fopen.
33730
33731 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33732
33733 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33734
33735 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33736
33737 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33738
33739 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33740 locale.alias.
33741
33742 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33743
33744 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33745
33746 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33747
33748 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33749 file parsing and set FD_CLOEXEC.
33750
33751 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33752
33753 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33754
33755 2011-11-14 Andreas Schwab <schwab@redhat.com>
33756
33757 * malloc/arena.c (arena_get2): Don't call reused_arena when
33758 _int_new_arena failed.
33759
33760 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33761
33762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33763 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33764 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33765 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33766 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33767 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33768 to compile strcasecmp and strncasecmp.
33769 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33770 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33771
33772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33773
33774 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33775
33776 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33777 locale-defines.sym to gen-as-const-headers.
33778 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33779 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33781 to compile strcasecmp and strncasecmp.
33782 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33783 strcasecmp_l and strncasecmp_l.
33784 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33785 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33786 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33787 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33788 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33789 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33790 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33791 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33792 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33793 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33794 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33795
33796 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33797
33798 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33799 result of SYSDEP_GETTIME_CPU to retval.
33800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33801 parameter list to macro. Remove trailing semicolon. Adjust users.
33802
33803 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33804 variable.
33805
33806 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33807 mantissa words.
33808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33809
33810 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33811 from unused variable.
33812
33813 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33814 DWARF definitions.
33815 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33816 for assembling.
33817
33818 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33819 over namespaces.
33820
33821 * sunrpc/rpc_prot.c (rejected): Fix case value.
33822
33823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33824 unsigned long long int to avoid warnings in shift.
33825
33826 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33827 of use of trans.
33828 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33829 variable tmp.
33830
33831 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33832 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33833 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33834
33835 * nis/nis_table.c (nis_list): Use variable of correct type for
33836 result of __follow_path call.
33837
33838 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33839
33840 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33841 of math functions ceil, trunc, floor, round, and sqrt, when
33842 avaliable on the platform.
33843 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33844 name clash.
33845 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33846 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33847 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33848
33849 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33850
33851 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33852 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33853
33854 2011-11-11 Roland McGrath <roland@hack.frob.com>
33855
33856 * include/unistd.h: Fix __readlink return type.
33857 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33858
33859 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33860
33861 * stdlib/ucontext.h: Undo last change for makecontext.
33862
33863 2011-11-11 Andreas Schwab <schwab@redhat.com>
33864
33865 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33866
33867 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33868 * setjmp/setjmp.h: Mark functions as non-leaf.
33869 * setjmp/bits/setjmp2.h: Likewise.
33870 * stdlib/ucontext.h: Likewise.
33871
33872 2011-11-10 Andreas Schwab <schwab@redhat.com>
33873
33874 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33875 (reused_arena): Don't check arena limit.
33876 (arena_get2): Atomically check arena limit.
33877
33878 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33879
33880 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33881 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33882
33883 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33884 instructions.
33885
33886 2011-11-07 Andreas Schwab <schwab@redhat.com>
33887
33888 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33889 handler when locking.
33890
33891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33892 Fix size of allocated buffer.
33893
33894 2011-11-04 Andreas Schwab <schwab@redhat.com>
33895
33896 [BZ #10103]
33897 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33898 declarations for long double functions.
33899 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33900
33901 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33902
33903 2011-11-03 Andreas Schwab <schwab@redhat.com>
33904
33905 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33906 installed.
33907
33908 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33909 is disabled.
33910
33911 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33912
33913 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33914
33915 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33916
33917 * include/alloca.h (stackinfo_alloca_round): Define.
33918 (extend_alloca): Use it.
33919 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33920 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33921 here.
33922
33923 * scripts/check-local-headers.sh: Ignore libaudit.h.
33924
33925 * nscd/Makefile (extra-objs): Make recursively expanded.
33926
33927 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33928
33929 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33930 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33931
33932 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33933 * posix/tst-rfc3484-2.c: Likewise.
33934 * posix/tst-rfc3484-3.c: Likewise.
33935
33936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33937 process_vm_writev.
33938 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33939 process_vm_writev.
33940 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33941 process_vm_writev from libc using GLIBC_2.15 version.
33942
33943 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33944
33945 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33946
33947 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33948 stack usage.
33949
33950 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33951
33952 [BZ #13367]
33953 * nss/getent.c (initgroups_keys): Show error message in case no group
33954 names are given.
33955
33956 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33957 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33958 __bump_nl_timestamp.
33959 * nscd/connections (nscd_init): When host database is served open
33960 netlink socket and request notification about configuration changes.
33961 (main_loop_poll): Track netlink file descriptor and bump timestamp
33962 in case data becomes available.
33963 (main_loop_epoll): Likewise.
33964 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33965 (database_pers_head): Add extra_data fileds.
33966 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33967 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33968 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33969 Adjust caller.
33970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33971 in6ai data, call __free_in6ai.
33972 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33973 Add -DHAVE_NETLINK.
33974 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33975 interface information. Reuse previous data if netlink timestamp
33976 is not changed.
33977 (__bump_nl_timestamp): New function.
33978 (__free_in6ai): New function.
33979
33980 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33981
33982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33983 close_not_cancel_no_status here.
33984 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33985
33986 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33987
33988 [BZ #13276]
33989 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33990 return value.
33991
33992 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33993 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33994 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33995
33996 2011-07-03 Andreas Jaeger <aj@suse.de>
33997
33998 [BZ #10709]
33999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34000 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34001 * math/libm-test.inc (sin_test): Add test case.
34002
34003 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34004
34005 [BZ #13337]
34006 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34007 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34008
34009 * elf/chroot_canon.c (chroot_canon): Cleanups.
34010
34011 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34012
34013 [BZ #13335]
34014 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34015 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34016
34017 * string/test-strchr.c: Make usable for strchrnul testing.
34018 * string/test-strchrnul.c: New file.
34019 * string/Makefile (strop-tests): Add strchrnul.
34020
34021 * po/it.po: Update from translation team.
34022 * po/es.po: Likewise.
34023
34024 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34025
34026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34027 the three constants needed as parameters. Drop the others.
34028 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34029 __m128i_strloadu_tolower.
34030 Create and initialize variable zero and use it in all the places
34031 where _mm_setzero_si128 was used.
34032
34033 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34034 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34035 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34036 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34037 anymore.
34038 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34039 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34040 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34041 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34042 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34043 __mpranred, __mptan.
34044 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34045 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34046 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34047 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34048 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34049 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34050 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34051 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34052 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34053
34054 2011-10-28 Andreas Schwab <schwab@redhat.com>
34055
34056 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34057 redefine if SHARED.
34058 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34059
34060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34061 wide char related routines to wcsmbs subdir.
34062
34063 2011-10-27 Andreas Schwab <schwab@redhat.com>
34064
34065 [BZ #13344]
34066 * misc/sys/cdefs.h (__THROWNL): Define.
34067 * posix/unistd.h: Use __THREADNL instead of __THREAD
34068 for memory synchronization functions.
34069
34070 2011-10-26 Roland McGrath <roland@hack.frob.com>
34071
34072 [BZ #13349]
34073 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34074 doesn't exist.
34075 * manual/stdio.texi (Obstack Streams): Node removed.
34076
34077 2011-10-26 Andreas Schwab <schwab@redhat.com>
34078
34079 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34080 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34081 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34082
34083 * math/math_private.h (math_force_eval): Allow non-addressable
34084 arguments.
34085 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34086
34087 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34088
34089 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34090 file is not needed.
34091
34092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34095 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34098 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34099 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34100 Add AVX variants.
34101 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34102 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34103 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34104 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34105 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34106 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34107 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34108 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34109 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34110 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34111 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34112 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34114 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34117 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34118 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34119 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34120
34121 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34122 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34123
34124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34125 place. Use VEX encoding when compiling for AVX.
34126
34127 2011-10-25 Andreas Schwab <schwab@redhat.com>
34128
34129 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34130 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34131
34132 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34133
34134 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34135
34136 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34137 useless if() expression.
34138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34139 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34143 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34149 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34151 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34153 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34154 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34156 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34157
34158 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34159
34160 2011-10-25 Andreas Schwab <schwab@redhat.com>
34161
34162 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34163 condition.
34164 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34165
34166 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34167
34168 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34169 .text section. Avoid duplicate constants.
34170 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34171 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34177 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34178 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34179 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34180 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34181 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34182 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34183 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34184 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34185 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34186 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34188 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34190 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34191 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34192 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34193 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34194 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34195 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34196 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34197 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34198 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34199 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34201 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34202 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34203 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34204 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34205 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34206 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34207 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34208 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34209 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34210 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34211 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34212 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34214 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34215
34216 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34217
34218 * sysdeps/x86_64/dla.h: Move to ...
34219 * sysdeps/x86_64/fpu/dla.h: ...here.
34220 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34221 situations. Use __builtin_fma only for gcc 4.6 and up.
34222
34223 * config.make.in: Add have-mfma4 entry.
34224 * configure.in: Substitute libc_cv_cc_fma4.
34225 * math/Makefile (dbl-only-routines): Add sincostab.
34226 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34227 Use __sincostab not sincos.
34228 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34229 name is a macro.
34230 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34234 using __copysign.
34235 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34236 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34237 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34238 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34239 and __inv.
34240 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34241 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34242 __copysign.
34243 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34244 define aliases when function name is a macro.
34245 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34246 sysdeps/ieee754/dbl-64/sincos.tbl.
34247 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34248 fma4-enabled routines.
34249 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34250 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34251 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34252 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34254 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34257 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34259 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34260 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34261 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34262 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34264 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34265 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34266 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34267 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34269 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34270 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34276 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34277 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34278 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34279
34280 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34281 rename.
34282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34290
34291 2011-10-24 Andreas Schwab <schwab@redhat.com>
34292
34293 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34294
34295 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34296
34297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34298
34299 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34300 prediction.
34301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34302
34303 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34304 Remove unused variable magic_bits.
34305 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34306
34307 * string/strnlen.c: Define and use STRNLEN macro.
34308 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34309 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34311 * wcsmbs/wcslen.c: Define and use WCSLEN.
34312 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34313 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34314 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34315 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34316 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34317 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34318 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34319
34320 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34321
34322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34323 strnlen-sse2-no-bsf.
34324 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34326 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34327 Add strnlen support.
34328 (USE_AS_STRNLEN): New macro.
34329 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34330 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34331 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34332 * sysdeps/x86_64/wcslen.S: New file.
34333
34334 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34335
34336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34337 XMM-moves are used for copying on small sizes.
34338
34339 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34340
34341 * wcsmbs/Makefile (strop-tests): Add wcschr.
34342 * wcsmbs/test-wcschr.c: New file.
34343 * string/test-strchr.c: Update.
34344 Add wcschr support.
34345 (WIDE): New macro.
34346
34347 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34348
34349 * wcsmbs/Makefile (strop-tests): Add wcslen.
34350 * wcsmbs/test-wcslen.c: New file.
34351 * string/test-strlen.c: Update.
34352 Add wcslen support.
34353 (WIDE): New macro.
34354
34355 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34356
34357 * po/it.po: Update from translation team.
34358
34359 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34360
34361 * sysdeps/x86_64/wcscmp.S: Update.
34362 Fix wrong comparison semantics.
34363 wcscmp shall use signed comparison not unsigned.
34364 Don't use substraction to avoid overflow bug.
34365 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34366 * wcsmbc/wcscmp.c: Likewise.
34367 * string/test-strcmp.c: Likewise.
34368 Add new tests to check cases with negative values.
34369
34370 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34371
34372 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34373 * sysdeps/x86_64/dla.h: ...here. New file.
34374 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34383
34384 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34385
34386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34387 __ynl_finite aliases.
34388
34389 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34390
34391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34392
34393 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34394 define DLA_FMA.
34395 [DLA_FMA] (EMULV): Use DLA_FMA.
34396 [DLA_FMA] (MUL12): Use EMULV.
34397 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34398 that are not needed.
34399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34406
34407 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34408
34409 * math/s_nan.c: Undef __nan.
34410 * math/s_nanf.c: Undef __nanf.
34411 * math/s_nanl.c: Undef __nanl.
34412 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34413 "math_private.h".
34414
34415 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34416
34417 * math/s_catan.c: Add branch predictions.
34418 * math/s_catanf.c: Likewise.
34419 * math/s_catanh.c: Likewise.
34420 * math/s_catanhf.c: Likewise.
34421 * math/s_catanhl.c: Likewise.
34422 * math/s_catanl.c: Likewise.
34423 * math/s_cexp.c: Likewise.
34424 * math/s_cexpf.c: Likewise.
34425 * math/s_cexpl.c: Likewise.
34426 * math/s_clog.c: Likewise.
34427 * math/s_clog10.c: Likewise.
34428 * math/s_clog10f.c: Likewise.
34429 * math/s_clog10l.c: Likewise.
34430 * math/s_clogf.c: Likewise.
34431 * math/s_clogl.c: Likewise.
34432 * math/s_csqrt.c: Likewise.
34433 * math/s_csqrtf.c: Likewise.
34434 * math/s_csqrtl.c: Likewise.
34435 * math/s_ctanf.c: Likewise.
34436 * math/s_ctanh.c: Likewise.
34437 * math/s_ctanhf.c: Likewise.
34438 * math/s_ctanhl.c: Likewise.
34439 * math/s_ctanl.c: Likewise.
34440
34441 * math/math_private.h: Define __nan, __nanf, __nanl.
34442 * math/s_cacosh.c: Include <math_private.h>.
34443 * math/s_cacoshl.c: Likewise.
34444 * math/s_casinh.c: Likewise.
34445 * math/s_casinhf.c: Likewise.
34446 * math/s_casinhl.c: Likewise.
34447 * math/s_ccos.c: Rely entire on ccosh.
34448 * math/s_ccosf.c: Rely entire on ccoshf.
34449 * math/s_ccosl.c: Rely entirely on ccoshl.
34450 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34451 Remove tests for FE_INVALID.
34452 * math/s_ccoshf.c: Likewise.
34453 * math/s_ccoshl.c: Likewise.
34454 * math/s_csin.c: Likewise.
34455 * math/s_csinf.c: Likewise.
34456 * math/s_csinh.c Likewise.
34457 * math/s_csinhf.c: Likewise.
34458 * math/s_csinhl.c: Likewise.
34459 * math/s_csinl.c: Likewise.
34460 * math/s_ctan.c: Likewise.
34461 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34462 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34464
34465 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34466
34467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34468 compilation problems.
34469
34470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34471 __builtin_expect.
34472
34473 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34474
34475 * sysdeps/i386/configure.in: Test for -mfma4 option.
34476 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34477 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34478 COMMON_CPUID_INDEX_80000001.
34479 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34480 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34481 use it if FMA3 is not supported.
34482 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34483
34484 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34485 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34486
34487 2011-10-20 Andreas Schwab <schwab@redhat.com>
34488
34489 [BZ #12892]
34490 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34491 it would create a cycle with a link time dependency.
34492
34493 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34494
34495 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34496 instruction.
34497 * string/Makefile (strop-tests): Add rawmemchr.
34498 * string/test-rawmemchr.c: New file.
34499
34500 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34501 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34502 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34503 when compiling str{,n}casecmp and when AVX is available. Hook up
34504 new optimized code in initializers.
34505
34506 2011-10-19 Andreas Schwab <schwab@redhat.com>
34507
34508 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34509 __feraiseexcept instead of feraiseexcept.
34510
34511 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34512
34513 * math/math_private.h: Define defaults for libc_fetestexcept and
34514 libc_feupdateenv.
34515 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34516 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34517 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34518 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34519 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34520 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34521 libc_fetestexcept and libc_feupdateenv.
34522
34523 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34524 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34525 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34526 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34527 libc_feholdexcept_setround.
34528
34529 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34530 Add s_nearbyint-c and s_nearbyintf-c.
34531 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34532 nearbyintf inlines.
34533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34537
34538 * math/math_private.h: Define defaults for libc_fegetround,
34539 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34540 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34541 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34542 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34543 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34544 standard functions.
34545 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34546 Remove comments and hacks for old compiler versions.
34547 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34548 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34549 libc_feholdexceptl.
34550
34551 2011-10-18 Andreas Schwab <schwab@redhat.com>
34552
34553 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34554 (__feraiseexcept_renamed): Add __NTH.
34555 (feraiseexcept): Add __NTH. Rename local variables to fix
34556 namespace violations.
34557
34558 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34559
34560 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34561
34562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34563
34564 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34565 recently added interfaces.
34566 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34567
34568 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34569 about macro parameter expansion.
34570
34571 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34572 __NO_MATH_INLINES is defined. Cleanups.
34573
34574 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34575 and __floorf is target has SSE4.1.
34576 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34577 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34578 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34579 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34580
34581 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34582 name.
34583 (floorf): Likewise.
34584
34585 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34586
34587 2011-10-17 Andreas Schwab <schwab@redhat.com>
34588
34589 * misc/sys/cdefs.h: Fix last change.
34590
34591 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34592 database lookup.
34593
34594 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34595
34596 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34597
34598 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34600 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34603 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34605 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34606 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34607 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34608 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34609 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34610 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34611 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34612 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34613 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34614 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34615 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34616 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34617 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34618 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34619 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34620
34621 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34622 ceil, ceilf, floor, floorf.
34623
34624 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34625 Perform IRELATIVE relocations last.
34626
34627 * elf/do-rel.h: Add another parameter nrelative, replacing the
34628 local variable with the same name. Change name of the function
34629 to end in Rel or Rela (uppercase).
34630 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34631 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34632 elf_dynamic_do_##reloc function.
34633
34634 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34635
34636 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34637 is sufficient, at least on modern CPUs.
34638
34639 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34640
34641 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34642 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34643
34644 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34645 __expl_finite.
34646 * math/bits/math-finite.h: Add entries for exp.
34647 * math/e_expl.c: Add __*_finite alias.
34648 * sysdeps/i386/fpu/e_exp.S: Likewise.
34649 * sysdeps/i386/fpu/e_expf.S: Likewise.
34650 * sysdeps/i386/fpu/e_expl.c: Likewise.
34651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34653 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34655 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34656 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34657 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34658
34659 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34660 is sufficient, at least on modern CPUs.
34661
34662 * ctype/ctype-info.c (__ctype_init): Define.
34663 * include/ctype.h (__ctype_init): Declare.
34664 (__ctype_b_loc): The variable is always initialized.
34665 (__ctype_toupper_loc): Likewise.
34666 (__ctype_tolower_loc): Likewise.
34667 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34668 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34669
34670 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34671
34672 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34673
34674 * configure.in: Also look in $cxxmachine/include for C++ system
34675 headers.
34676
34677 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34678
34679 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34680 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34681 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34682 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34683 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34684 (USE_AS_WMEMCMP): New macro.
34685 Fixing indents.
34686 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34687 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34688 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34689 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34691 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34692 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34693 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34694 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34695 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34696 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34697 (USE_AS_WMEMCMP): New macro.
34698 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34699 * sysdeps/string/test-memcmp.c: Update.
34700 Fix simple_wmemcmp.
34701 Add new tests.
34702 * wcsmbs/wmemcmp.c: Update.
34703 (WMEMCMP): New macro.
34704 Fix overflow bug.
34705
34706 2011-10-12 Andreas Jaeger <aj@suse.de>
34707
34708 [BZ #13268]
34709 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34710
34711 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34712
34713 * libio/iofwide.c (do_length): Avoid warning.
34714
34715 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34716
34717 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34718
34719 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34720
34721 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34722 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34723 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34724 * sysdeps/i386/i686/fpu/e_log.S: New file.
34725 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34726 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34727
34728 * ctype/ctype.h: Add support for inlined isXXX functions when
34729 compiling C++ code.
34730
34731 2011-10-14 Andreas Schwab <schwab@redhat.com>
34732
34733 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34734
34735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34736
34737 2011-10-13 Roland McGrath <roland@hack.frob.com>
34738
34739 [BZ #13291]
34740 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34741
34742 2011-10-13 Andreas Schwab <schwab@redhat.com>
34743
34744 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34745 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34746 feraiseexcept.
34747
34748 * sysdeps/x86_64/memrchr.S: Check for zero size.
34749
34750 * string/stratcliff.c: Add memrchr tests.
34751
34752 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34753
34754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34755 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34756 rawmemchr-sse2 rawmemchr-sse2-bsf.
34757 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34758 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34759 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34760 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34761 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34762 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34763 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34764 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34765 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34767 * string/memrchr.c (MEMRCHR): New macro.
34768
34769 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34770
34771 Add integration with gcc's -ffinite-math-only and optimize wrapper
34772 functions in libm.
34773 * Versions.def: Define GLIBC_2.15 version for libm.
34774 * math/Makefile (headers): Add bits/math-finite.h.
34775 * math/bits/math-finite.h: New file.
34776 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34777 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34778 * math/e_acoshl.c: Add __*_finite alias.
34779 * math/e_acosl.c: Likewise.
34780 * math/e_asinl.c: Likewise.
34781 * math/e_atan2l.c: Likewise.
34782 * math/e_atanhl.c: Likewise.
34783 * math/e_coshl.c: Likewise.
34784 * math/e_exp10.c: Likewise.
34785 * math/e_exp10f.c: Likewise.
34786 * math/e_exp10l.c: Likewise.
34787 * math/e_exp2l.c: Likewise.
34788 * math/e_fmodl.c: Likewise.
34789 * math/e_gammal_r.c: Likewise.
34790 * math/e_hypotl.c: Likewise.
34791 * math/e_j0l.c: Likewise.
34792 * math/e_j1l.c: Likewise.
34793 * math/e_jnl.c: Likewise.
34794 * math/e_lgammal_r.c: Likewise.
34795 * math/e_log10l.c: Likewise.
34796 * math/e_log2l.c: Likewise.
34797 * math/e_logl.c: Likewise.
34798 * math/e_powl.c: Likewise.
34799 * math/e_sinhl.c: Likewise.
34800 * math/e_sqrtl.c: Likewise.
34801 * math/e_scalb.c: Completely rewritten and optimized.
34802 * math/e_scalbf.c: Likewise.
34803 * math/e_scalbl.c: Likewise.
34804 * math/w_acos.c: Likewise.
34805 * math/w_acosf.c: Likewise.
34806 * math/w_acosl.c: Likewise.
34807 * math/w_acosh.c: Likewise.
34808 * math/w_acoshf.c: Likewise.
34809 * math/w_acoshl.c: Likewise.
34810 * math/w_asin.c: Likewise.
34811 * math/w_asinf.c: Likewise.
34812 * math/w_asinl.c: Likewise.
34813 * math/w_atan2.c: Likewise.
34814 * math/w_atan2f.c: Likewise.
34815 * math/w_atan2l.c: Likewise.
34816 * math/w_atanh.c: Likewise.
34817 * math/w_atanhf.c: Likewise.
34818 * math/w_atanhl.c: Likewise.
34819 * math/w_exp10.c: Likewise.
34820 * math/w_exp10f.c: Likewise.
34821 * math/w_exp10l.c: Likewise.
34822 * math/w_fmod.c: Likewise.
34823 * math/w_fmodf.c: Likewise.
34824 * math/w_fmodl.c: Likewise.
34825 * math/w_j0.c: Likewise.
34826 * math/w_j0f.c: Likewise.
34827 * math/w_j0l.c: Likewise.
34828 * math/w_j1.c: Likewise.
34829 * math/w_j1f.c: Likewise.
34830 * math/w_j1l.c: Likewise.
34831 * math/w_jn.c: Likewise.
34832 * math/w_jnf.c: Likewise.
34833 * math/w_log.c: Likewise.
34834 * math/w_logf.c: Likewise.
34835 * math/w_logl.c: Likewise.
34836 * math/w_log10.c: Likewise.
34837 * math/w_log10f.c: Likewise.
34838 * math/w_log10l.c: Likewise.
34839 * math/w_log2.c: Likewise.
34840 * math/w_log2f.c: Likewise.
34841 * math/w_log2l.c: Likewise.
34842 * math/w_pow.c: Likewise.
34843 * math/w_powf.c: Likewise.
34844 * math/w_powl.c: Likewise.
34845 * math/w_remainder.c: Likewise.
34846 * math/w_remainderf.c: Likewise.
34847 * math/w_remainderl.c: Likewise.
34848 * math/w_scalb.c: Likewise.
34849 * math/w_scalbf.c: Likewise.
34850 * math/w_scalbl.c: Likewise.
34851 * math/w_sqrt.c: Likewise.
34852 * math/w_sqrtf.c: Likewise.
34853 * math/w_sqrtl.c: Likewise.
34854 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34855 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34856 used.
34857 * math/math_private.h: Declare __kernel_standard_f.
34858 * math/w_cosh.c: Remove cruft and optimize a bit.
34859 * math/w_coshf.c: Likewise.
34860 * math/w_coshl.c: Likewise.
34861 * math/w_exp2.c: Likewise.
34862 * math/w_exp2f.c: Likewise.
34863 * math/w_exp2l.c: Likewise.
34864 * math/w_hypot.c: Likewise.
34865 * math/w_hypotf.c: Likewise.
34866 * math/w_hypotl.c: Likewise.
34867 * math/w_lgamma.c: Likewise.
34868 * math/w_lgamma_r.c: Likewise.
34869 * math/w_lgammaf.c: Likewise.
34870 * math/w_lgammaf_r.c: Likewise.
34871 * math/w_lgammal.c: Likewise.
34872 * math/w_lgammal_r.c: Likewise.
34873 * math/w_sinh.c: Likewise.
34874 * math/w_sinhf.c: Likewise.
34875 * math/w_sinhl.c: Likewise.
34876 * math/w_tgamma.c: Likewise.
34877 * math/w_tgammaf.c: Likewise.
34878 * math/w_tgammal.c: Likewise.
34879 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34881 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34882 Minor optimizations. Pretty printing. Remove cruft.
34883 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34885 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34887 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34888 * sysdeps/i386/fpu/e_asin.S: Likewise.
34889 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34890 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34891 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34892 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34896 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34897 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34898 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34899 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34900 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34901 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34902 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34903 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34904 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34905 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34906 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34907 * sysdeps/i386/fpu/e_log.S: Likewise.
34908 * sysdeps/i386/fpu/e_log10.S: Likewise.
34909 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34911 * sysdeps/i386/fpu/e_log2.S: Likewise.
34912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34913 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34914 * sysdeps/i386/fpu/e_logf.S: Likewise.
34915 * sysdeps/i386/fpu/e_logl.S: Likewise.
34916 * sysdeps/i386/fpu/e_pow.S: Likewise.
34917 * sysdeps/i386/fpu/e_powf.S: Likewise.
34918 * sysdeps/i386/fpu/e_powl.S: Likewise.
34919 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34920 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34921 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34925 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34926 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34927 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34931 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34932 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34933 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34935 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34938 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34939 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34942 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34944 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34948 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34949 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34950 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34951 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34952 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34954 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34955 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34956 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34957 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34958 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34959 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34962 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34963 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34964 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34965 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34966 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34967 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34968 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34969 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34977 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34978 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34979 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34983 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34984 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34985 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34986 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34996 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35002 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35003 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35011 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35012 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35013 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35014 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35015 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35016 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35017 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35018 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35019 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35021 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35025 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35026 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35027 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35028 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35029 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35030 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35031 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35032 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35033 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35034 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35036 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35037 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35038 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35039 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35040 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35041 (__isnanf): Likewise.
35042 (__isinf_ns): Likewise.
35043 (__isinf_nsf): Likewise.
35044 (__finite): Likewise.
35045 (__finitef): Likewise.
35046 (__ieee754_sqrt): Define as macro.
35047 (__ieee754_sqrtf): Define as macro.
35048 (__ieee754_sqrtl): Define as macro.
35049 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35050 inlined copy.
35051 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35052 __FINITE_MATH_ONLY__ consistent.
35053 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35054
35055 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35056
35057 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35058 of rawmemchr.
35059
35060 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35061
35062 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35063
35064 * po/ja.po: Update from translation team.
35065
35066 2011-10-08 Roland McGrath <roland@hack.frob.com>
35067
35068 * locale/programs/locarchive.c (prepare_address_space): New function.
35069 (create_archive, enlarge_archive, open_archive): Use it.
35070
35071 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35072 inside [SHARED], where it is used.
35073
35074 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35075
35076 * nss/getent.c (netgroup_keys): Remove unused variable.
35077 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35078
35079 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35080
35081 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35084 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35085 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35086 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35087 * math/Makefile (libm-calls): Add s_isinf_ns.
35088 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35089 * math/multc3.c: Likewise.
35090 * math/s_casin.c: Likewise.
35091 * math/s_casinf.c: Likewise.
35092 * math/s_casinl.c: Likewise.
35093 * math/s_ccos.c: Likewise.
35094 * math/s_ccosf.c: Likewise.
35095 * math/s_ccosl.c: Likewise.
35096 * math/s_ctan.c: Likewise.
35097 * math/s_ctanf.c: Likewise.
35098 * math/s_ctanh.c: Likewise.
35099 * math/s_ctanhf.c: Likewise.
35100 * math/s_ctanhl.c: Likewise.
35101 * math/s_ctanl.c: Likewise.
35102 * math/w_fmod.c: Likewise.
35103 * math/w_fmodf.c: Likewise.
35104 * math/w_fmodl.c: Likewise.
35105 * math/w_remainder.c: Likewise.
35106 * math/w_remainderf.c: Likewise.
35107 * math/w_remainderl.c: Likewise.
35108 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35109 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35112 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35113 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35114 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35115 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35116
35117 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35118 of the number.
35119 * stdio-common/printf_fphex.c: Likewise.
35120 * stdio-common/printf_size.c: Likewise.
35121
35122 * math/e_exp10.c: Include math_private.h using <...> not "...".
35123 * math/e_exp10f.c: Likewise.
35124 * math/e_exp10l.c: Likewise.
35125 * math/e_exp2l.c: Likewise.
35126 * math/e_j0l.c: Likewise.
35127 * math/e_j1l.c: Likewise.
35128 * math/e_jnl.c: Likewise.
35129 * math/e_lgammal_r.c: Likewise.
35130 * math/e_rem_pio2l.c: Likewise.
35131 * math/e_scalb.c: Likewise.
35132 * math/e_scalbf.c: Likewise.
35133 * math/e_scalbl.c: Likewise.
35134 * math/k_cosl.c: Likewise.
35135 * math/k_sinl.c: Likewise.
35136 * math/k_tanl.c: Likewise.
35137 * math/s_cacoshf.c: Likewise.
35138 * math/s_catan.c: Likewise.
35139 * math/s_catanf.c: Likewise.
35140 * math/s_catanh.c: Likewise.
35141 * math/s_catanhf.c: Likewise.
35142 * math/s_catanhl.c: Likewise.
35143 * math/s_catanl.c: Likewise.
35144 * math/s_ccosh.c: Likewise.
35145 * math/s_ccoshf.c: Likewise.
35146 * math/s_ccoshl.c: Likewise.
35147 * math/s_cexp.c: Likewise.
35148 * math/s_cexpf.c: Likewise.
35149 * math/s_cexpl.c: Likewise.
35150 * math/s_clog.c: Likewise.
35151 * math/s_clog10.c: Likewise.
35152 * math/s_clog10f.c: Likewise.
35153 * math/s_clog10l.c: Likewise.
35154 * math/s_clogf.c: Likewise.
35155 * math/s_clogl.c: Likewise.
35156 * math/s_csin.c: Likewise.
35157 * math/s_csinf.c: Likewise.
35158 * math/s_csinh.c: Likewise.
35159 * math/s_csinhf.c: Likewise.
35160 * math/s_csinhl.c: Likewise.
35161 * math/s_csinl.c: Likewise.
35162 * math/s_csqrt.c: Likewise.
35163 * math/s_csqrtf.c: Likewise.
35164 * math/s_csqrtl.c: Likewise.
35165 * math/s_ctan.c: Likewise.
35166 * math/s_ctanf.c: Likewise.
35167 * math/s_ctanh.c: Likewise.
35168 * math/s_ctanhf.c: Likewise.
35169 * math/s_ctanhl.c: Likewise.
35170 * math/s_ctanl.c: Likewise.
35171 * math/s_ldexp.c: Likewise.
35172 * math/s_ldexpf.c: Likewise.
35173 * math/s_ldexpl.c: Likewise.
35174 * math/s_significand.c: Likewise.
35175 * math/s_significandf.c: Likewise.
35176 * math/s_significandl.c: Likewise.
35177 * math/w_acos.c: Likewise.
35178 * math/w_acosf.c: Likewise.
35179 * math/w_acosh.c: Likewise.
35180 * math/w_acoshf.c: Likewise.
35181 * math/w_acoshl.c: Likewise.
35182 * math/w_acosl.c: Likewise.
35183 * math/w_asin.c: Likewise.
35184 * math/w_asinf.c: Likewise.
35185 * math/w_asinl.c: Likewise.
35186 * math/w_atan2.c: Likewise.
35187 * math/w_atan2f.c: Likewise.
35188 * math/w_atan2l.c: Likewise.
35189 * math/w_atanh.c: Likewise.
35190 * math/w_atanhf.c: Likewise.
35191 * math/w_atanhl.c: Likewise.
35192 * math/w_cosh.c: Likewise.
35193 * math/w_coshf.c: Likewise.
35194 * math/w_coshl.c: Likewise.
35195 * math/w_dremf.c: Likewise.
35196 * math/w_exp10.c: Likewise.
35197 * math/w_exp10f.c: Likewise.
35198 * math/w_exp10l.c: Likewise.
35199 * math/w_exp2.c: Likewise.
35200 * math/w_exp2f.c: Likewise.
35201 * math/w_fmod.c: Likewise.
35202 * math/w_fmodf.c: Likewise.
35203 * math/w_fmodl.c: Likewise.
35204 * math/w_hypot.c: Likewise.
35205 * math/w_hypotf.c: Likewise.
35206 * math/w_hypotl.c: Likewise.
35207 * math/w_j0.c: Likewise.
35208 * math/w_j0f.c: Likewise.
35209 * math/w_j0l.c: Likewise.
35210 * math/w_j1.c: Likewise.
35211 * math/w_j1f.c: Likewise.
35212 * math/w_j1l.c: Likewise.
35213 * math/w_jn.c: Likewise.
35214 * math/w_jnf.c: Likewise.
35215 * math/w_jnl.c: Likewise.
35216 * math/w_lgamma.c: Likewise.
35217 * math/w_lgamma_r.c: Likewise.
35218 * math/w_lgammaf.c: Likewise.
35219 * math/w_lgammaf_r.c: Likewise.
35220 * math/w_lgammal.c: Likewise.
35221 * math/w_lgammal_r.c: Likewise.
35222 * math/w_log.c: Likewise.
35223 * math/w_log10.c: Likewise.
35224 * math/w_log10f.c: Likewise.
35225 * math/w_log10l.c: Likewise.
35226 * math/w_log2.c: Likewise.
35227 * math/w_log2f.c: Likewise.
35228 * math/w_log2l.c: Likewise.
35229 * math/w_logf.c: Likewise.
35230 * math/w_logl.c: Likewise.
35231 * math/w_pow.c: Likewise.
35232 * math/w_powf.c: Likewise.
35233 * math/w_powl.c: Likewise.
35234 * math/w_remainder.c: Likewise.
35235 * math/w_remainderf.c: Likewise.
35236 * math/w_remainderl.c: Likewise.
35237 * math/w_scalb.c: Likewise.
35238 * math/w_scalbf.c: Likewise.
35239 * math/w_scalbl.c: Likewise.
35240 * math/w_sinh.c: Likewise.
35241 * math/w_sinhf.c: Likewise.
35242 * math/w_sinhl.c: Likewise.
35243 * math/w_sqrt.c: Likewise.
35244 * math/w_sqrtf.c: Likewise.
35245 * math/w_sqrtl.c: Likewise.
35246 * math/w_tgamma.c: Likewise.
35247 * math/w_tgammaf.c: Likewise.
35248 * math/w_tgammal.c: Likewise.
35249
35250 * po/ja.po: Update from translation team.
35251
35252 2011-09-29 Andreas Jaeger <aj@suse.de>
35253
35254 [BZ #13179]
35255 * sunrpc/netname.c (netname2host): Fix logic.
35256
35257 [BZ #6779]
35258 [BZ #6783]
35259 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35260 correctly.
35261 * math/w_remainder.c (__remainder): Likewise.
35262 * math/w_remainderf.c (__remainderf): Likewise.
35263 * math/libm-test.inc (remainder_test): Add test cases.
35264
35265 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35266
35267 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35268 sdiv_qrnnd.
35269
35270 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35271
35272 * string/test-memcmp.c: Avoid unncessary #defines.
35273 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35274
35275 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35276
35277 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35278 Use new sse2 version for core i3 - i7 as it's faster
35279 than sse42 version.
35280 (bit_Prefer_PMINUB_for_stringop): New.
35281 * sysdeps/x86_64/rawmemchr.S: Update.
35282 Replace with faster SSE2 version.
35283 * sysdeps/x86_64/memrchr.S: New file.
35284 * sysdeps/x86_64/memchr.S: Update.
35285 Replace with faster SSE2 version.
35286
35287 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35288
35289 * elf/dl-load.c (lose): Add cast to avoid warning.
35290
35291 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35292
35293 * po/ca.po: Update from translation team.
35294
35295 * inet/getnetgrent_r.c: Hook up nscd.
35296 * nscd/Makefile (routines): Add nscd_netgroup.
35297 (nscd-modules): Add netgroupcache.
35298 (CFLAGS-netgroupcache.c): Define.
35299 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35300 (cache_search): Add const to second parameter.
35301 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35302 INNETGR.
35303 (dbs): Add netgrdb entry.
35304 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35305 (verify_persistent_db): Handle netgrdb.
35306 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35307 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35308 GETFDNETGR.
35309 (netgroup_response_header): Define.
35310 (innetgroup_response_header): Define.
35311 (datahead): Add netgroup_response_header and innetgroup_response_header
35312 elements.
35313 * nscd/nscd.conf: Add entries for netgroup cache.
35314 * nscd/nscd.h (dbtype): Add netgrdb.
35315 (_PATH_NSCD_NETGROUP_DB): Define.
35316 (netgroup_iov_disabled): Declare.
35317 (xmalloc, xcalloc, xrealloc): Move declarations here.
35318 (cache_search): Adjust prototype.
35319 Add netgroup-related prototypes.
35320 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35321 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35322 (__nscd_innetgr): Declare.
35323 * nscd/selinux.c (perms): Use access_vector_t as element type and
35324 add netgroup-related initializers.
35325 * nscd/netgroupcache.c: New file.
35326 * nscd/nscd_netgroup.c: New file.
35327 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35328 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35329 For four parameters use innetgr.
35330 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35331 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35332 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35333 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35334
35335 * nscd/connections.c (register_traced_file): Don't register file
35336 for disabled databases.
35337
35338 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35339
35340 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35341
35342 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35343 from tree and freeing node.
35344
35345 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35346
35347 * nss/nsswitch.c (__nss_database_lookup): Handle
35348 nss_parse_service_list out of memory case.
35349
35350 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35351
35352 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35353 out of memory case.
35354
35355 2011-10-04 Andreas Schwab <schwab@redhat.com>
35356
35357 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35358 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35359 pass it down.
35360 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35361 elf_machine_rela, elf_machine_lazy_rel.
35362 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35363 (ELF_DYNAMIC_DO_REL): Likewise.
35364 (ELF_DYNAMIC_DO_RELA): Likewise.
35365 (ELF_DYNAMIC_RELOCATE): Likewise.
35366 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35367 to ELF_DYNAMIC_DO_REL.
35368 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35369 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35370 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35371 elf_machine_rela.
35372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35373 skip_ifunc, don't call ifunc function if non-zero.
35374 (elf_machine_rela): Likewise.
35375 (elf_machine_lazy_rel): Likewise.
35376 (elf_machine_lazy_rela): Likewise.
35377 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35378 (elf_machine_lazy_rel): Likewise.
35379 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35380 Likewise.
35381 (elf_machine_lazy_rel): Likewise.
35382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35383 Likewise.
35384 (elf_machine_lazy_rel): Likewise.
35385 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35386 (elf_machine_lazy_rel): Likewise.
35387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35388 (elf_machine_lazy_rel): Likewise.
35389 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35390 (elf_machine_lazy_rel): Likewise.
35391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35392 (elf_machine_lazy_rel): Likewise.
35393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35394 (elf_machine_lazy_rel): Likewise.
35395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35396 (elf_machine_lazy_rel): Likewise.
35397
35398 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35399
35400 * nss/nss_files/files-init.c (_nss_files_init): Use static
35401 initialization for all the *_traced_file variables.
35402
35403 2011-09-28 Andreas Schwab <schwab@redhat.com>
35404
35405 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35406
35407 2011-09-27 Roland McGrath <roland@hack.frob.com>
35408
35409 [BZ #13226]
35410 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35411
35412 2011-09-27 Andreas Schwab <schwab@redhat.com>
35413
35414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35415 Reread the line before reparsing it.
35416
35417 2011-09-26 Andreas Schwab <schwab@redhat.com>
35418
35419 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35420
35421 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35422 Maxim Kuvyrkov <maxim@codesourcery.com>
35423 Joseph Myers <joseph@codesourcery.com>
35424
35425 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35426 if needed for __stack_chk_guard.
35427
35428 2011-09-19 Roland McGrath <roland@hack.frob.com>
35429
35430 * sysdeps/posix/spawni.c (script_execute): Always define it.
35431 It will be optimized away if unused.
35432 (maybe_script_execute): New function.
35433 (__spawni): Call it.
35434
35435 * Makerules: Don't include tls.make.
35436 (config-tls): Always set to thread.
35437 * tls.make.c: File removed.
35438
35439 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35440
35441 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35442 * config.make.in (CPPFLAGS-config): New substituted variable.
35443
35444 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35445
35446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35447
35448 [BZ #13192]
35449 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35450 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35451
35452 2011-09-15 Roland McGrath <roland@hack.frob.com>
35453
35454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35455 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35457 (CALL_FAIL): Likewise.
35458 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35459 (CALL_FAIL): Macro removed.
35460 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35461
35462 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35463
35464 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35465 for __FINITE_MATH_ONLY__ == 1.
35466
35467 2011-09-15 Andreas Schwab <schwab@redhat.com>
35468
35469 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35470 __ieee754_sqrt instead of sqrt.
35471 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35472 __ieee754_sqrtf instead of sqrtf.
35473 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35474 __floorf instead of floorf.
35475 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35476 __floorf, __truncf instead of floorf, truncf.
35477
35478 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35479
35480 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35481
35482 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35483 __extern_always_inline.
35484 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35485 32-bit.
35486
35487 2011-09-14 Andreas Schwab <schwab@redhat.com>
35488
35489 * elf/rtld.c (dl_main): Also relocate in dependency order when
35490 doing symbol dependency testing.
35491
35492 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35493
35494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35495 Always define `refsym'.
35496
35497 2011-09-13 Andreas Schwab <schwab@redhat.com>
35498
35499 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35500 (__FD_ELT): Renamed from __FDELT.
35501 * misc/bits/select2.h (__FD_ELT): Likewise.
35502 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35503 __FD_MASK instead of __FDELT, __FDMASK.
35504 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35505 Likewise.
35506 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35507 Likewise.
35508
35509 * elf/Makefile (gen-ldd): Fix pattern.
35510
35511 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35512 (init_tls): Likewise.
35513
35514 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35515
35516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35517
35518 2011-09-12 Andreas Schwab <schwab@redhat.com>
35519
35520 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35521 `struct cmsghdr *' instead of `void *'.
35522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35523 Likewise.
35524
35525 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35526
35527 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35528 if non-absolute.
35529 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35530 ldd_rewrite_script.
35531
35532 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35533
35534 * configure.in: Remove --with-tls option.
35535 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35536 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35537 out in case it is missing.
35538 * sysdeps/ia64/elf/configure.in: Likewise.
35539 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35540 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35541 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35542 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35543 * sysdeps/sh/elf/configure.in: Likewise.
35544 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35545 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35546 * sysdeps/x86_64/elf/configure.in: Likewise.
35547 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35548 * sysdeps/mach/hurd/tls.h: Likewise.
35549
35550 [BZ #13067]
35551 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35552
35553 [BZ #13090]
35554 * configure.in: Fix use of AC_INIT.
35555
35556 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35557
35558 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35559
35560 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35561 __set_errno.
35562 * malloc/hooks.c: Likewise.
35563
35564 [BZ #11929]
35565 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35566 variables statically.
35567 (narenas): Initialize.
35568 (list_lock): Initialize.
35569 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35570 initializtion of main_arena and list_lock. Small cleanups.
35571 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35572 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35573 Add initializers to main_arena and mp_.
35574 (malloc_state): Remove pagesize member. Change all users to use
35575 GLRO(dl_pagesize).
35576
35577 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35578 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35579 is always initialized.
35580
35581 * malloc/malloc.c: Removed unused configurations and dead code.
35582 * malloc/arena.c: Likewise.
35583 * malloc/hooks.c: Likewise.
35584 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35585
35586 * include/tls.h: Removed. USE___THREAD must always be defined.
35587 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35588 * elf/dl-libc.c: Likewise.
35589 * elf/dl-tsd.c: Likewise.
35590 * include/errno.h: Likewise.
35591 * include/netdb.h: Likewise.
35592 * include/resolv.h: Likewise.
35593 * inet/herrno-loc.c: Likewise.
35594 * inet/herrno.c: Likewise.
35595 * malloc/arena.c: Likewise.
35596 * malloc/hooks.c: Likewise.
35597 * malloc/malloc.c: Likewise.
35598 * resolv/res-state.c: Likewise.
35599 * resolv/res_libc.c: Likewise.
35600 * sysdeps/i386/dl-machine.h: Likewise.
35601 * sysdeps/ia64/dl-machine.h: Likewise.
35602 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35603 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35604 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35605 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35606 * sysdeps/sh/dl-machine.h: Likewise.
35607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35608 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35609 * sysdeps/unix/i386/sysdep.S: Likewise.
35610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35611 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35616 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35620 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35621 * sysdeps/x86_64/dl-machine.h: Likewise.
35622 * tls.make.c: Likewise.
35623
35624 * configure.in: Remove --with-__thread option. Make tests for
35625 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35626 tls_model attribute fail if no support is available. Remove
35627 USE_IN_LIBIO.
35628 * Makeconfig: Adjust for dropped configure option. All features are
35629 now mandatory.
35630 * Makerules: Likewise.
35631 * Versions.def: Likewise.
35632 * argp/argp-fmtstream.c: Likewise.
35633 * argp/argp-fmtstream.h: Likewise.
35634 * argp/argp-help.c: Likewise.
35635 * assert/assert.c: Likewise.
35636 * config.h.in: Likewise.
35637 * config.make.in: Likewise.
35638 * configure: Likewise.
35639 * configure.in: Likewise.
35640 * csu/Versions: Likewise.
35641 * csu/init.c: Likewise.
35642 * elf/tst-audit2.c: Likewise.
35643 * elf/tst-tls10.c: Likewise.
35644 * elf/tst-tls10.h: Likewise.
35645 * elf/tst-tls11.c: Likewise.
35646 * elf/tst-tls12.c: Likewise.
35647 * elf/tst-tls14.c: Likewise.
35648 * elf/tst-tlsmod11.c: Likewise.
35649 * elf/tst-tlsmod12.c: Likewise.
35650 * elf/tst-tlsmod13.c: Likewise.
35651 * elf/tst-tlsmod13a.c: Likewise.
35652 * elf/tst-tlsmod14a.c: Likewise.
35653 * elf/tst-tlsmod15b.c: Likewise.
35654 * elf/tst-tlsmod16a.c: Likewise.
35655 * elf/tst-tlsmod16b.c: Likewise.
35656 * elf/tst-tlsmod7.c: Likewise.
35657 * elf/tst-tlsmod8.c: Likewise.
35658 * elf/tst-tlsmod9.c: Likewise.
35659 * gmon/gmon.c: Likewise.
35660 * grp/fgetgrent_r.c: Likewise.
35661 * grp/putgrent.c: Likewise.
35662 * hurd/fopenport.c: Likewise.
35663 * include/libc-symbols.h: Likewise.
35664 * include/tls.h: Likewise.
35665 * intl/gettextP.h: Likewise.
35666 * intl/loadinfo.h: Likewise.
35667 * locale/global-locale.c: Likewise.
35668 * locale/localeinfo.h: Likewise.
35669 * mach/devstream.c: Likewise.
35670 * malloc/arena.c: Likewise.
35671 * malloc/set-freeres.c: Likewise.
35672 * misc/err.c: Likewise.
35673 * misc/getttyent.c: Likewise.
35674 * misc/mntent_r.c: Likewise.
35675 * posix/getopt.c: Likewise.
35676 * posix/wordexp.c: Likewise.
35677 * pwd/fgetpwent_r.c: Likewise.
35678 * resolv/Versions: Likewise.
35679 * resolv/res_hconf.c: Likewise.
35680 * shadow/fgetspent_r.c: Likewise.
35681 * shadow/putspent.c: Likewise.
35682 * stdio-common/printf_fphex.c: Likewise.
35683 * stdio-common/tmpfile.c: Likewise.
35684 * stdlib/abort.c: Likewise.
35685 * stdlib/fmtmsg.c: Likewise.
35686 * sunrpc/auth_unix.c: Likewise.
35687 * sunrpc/clnt_perr.c: Likewise.
35688 * sunrpc/clnt_tcp.c: Likewise.
35689 * sunrpc/clnt_udp.c: Likewise.
35690 * sunrpc/clnt_unix.c: Likewise.
35691 * sunrpc/openchild.c: Likewise.
35692 * sunrpc/svc_simple.c: Likewise.
35693 * sunrpc/svc_tcp.c: Likewise.
35694 * sunrpc/svc_udp.c: Likewise.
35695 * sunrpc/svc_unix.c: Likewise.
35696 * sunrpc/xdr.c: Likewise.
35697 * sunrpc/xdr_array.c: Likewise.
35698 * sunrpc/xdr_rec.c: Likewise.
35699 * sunrpc/xdr_ref.c: Likewise.
35700 * sunrpc/xdr_stdio.c: Likewise.
35701
35702 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35703
35704 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35705
35706 2011-07-03 Andreas Jaeger <aj@suse.de>
35707
35708 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35709 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35710 regenerate with gen-libm-tests.pl.
35711
35712 2010-05-12 Petr Baudis <pasky@suse.cz>
35713
35714 [BZ #11589]
35715 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35716 around j0() zero points by switching to j1().
35717 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35721
35722 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35723
35724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35725 instead of 0.
35726 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35727 instead of 0.
35728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35729 Patch in part by Pavel Roskin <proski@gnu.org>.
35730
35731 [BZ #13138]
35732 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35733 realloc.
35734 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35735 Free memory block if necessary.
35736
35737 [BZ #12847]
35738 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35739 be NULL. Don't lock in this case.
35740
35741 2011-09-09 Roland McGrath <roland@hack.frob.com>
35742
35743 * elf/elf.h (ELFOSABI_GNU): New macro.
35744 (ELFOSABI_LINUX): Define to that.
35745
35746 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35747
35748 * string/strncat.c (strncat): Undef the symbol in case it has been
35749 defined in bits/string.h.
35750
35751 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35752
35753 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35754
35755 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35756 link map.
35757
35758 2011-08-17 Andreas Jaeger <aj@suse.de>
35759
35760 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35761
35762 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35763 Ian Lance Taylor <iant@google.com>
35764
35765 * math/libm-test.inc (lround_test): New testcase.
35766 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35767
35768 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35769
35770 * Makefile: Remove support for automatic cvs check-ins.
35771 * Makerules: Likewise.
35772 * config.make.in: Likewise.
35773 * configure.in: Likewise.
35774 * intl/Makefile: Likewise.
35775 * locale/Makefile: Likewise.
35776 * po/Makefile: Likewise.
35777 * posix/Makefile: Likewise.
35778 * sysdeps/gnu/Makefile: Likewise.
35779 * sysdeps/mach/hurd/Makefile: Likewise.
35780 * sysdeps/sparc/sparc32/Makefile: Likewise.
35781
35782 [BZ #13118]
35783 * posix/Makefile (bug-regex32-ENV): Define.
35784 Patch by John Stanley <jpsinthemix@verizon.net>.
35785
35786 * misc/Makefile (headers): Add bits/select2.h.
35787 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35788 * misc/bits/select2.h: New file.
35789 * include/bits/select2.h: New file.
35790 * debug/Makefile (routines): Add fdelt_chk.
35791 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35792 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35793 FD_ISSET.
35794 * debug/fdelt_chk.c: New file.
35795
35796 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35797 * wcsmbs/test-wmemcmp.c: Likewise.
35798 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35799 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35800
35801 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35802
35803 * string/Makefile (strop-tests): Add memcmp.
35804 * string/test-wmemcmp.c: New file.
35805 * string/test-memcmp.c: Add wmemcmp support.
35806
35807 2011-09-08 Roland McGrath <roland@hack.frob.com>
35808
35809 [BZ #13153]
35810 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35811 2011-07-19 change.
35812
35813 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35814 garbage value in a __mach_port_mod_refs call in the cases of the
35815 task-self and thread-self ports.
35816
35817 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35818
35819 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35820
35821 2011-09-08 Andreas Schwab <schwab@redhat.com>
35822
35823 * elf/dl-load.c (lose): Check for non-null L.
35824
35825 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35826
35827 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35828
35829 * elf/dl-libc.c (dlerror_run): Pass back error code from
35830 dl_catch_error.
35831
35832 [BZ #13123]
35833 * elf/dl-load.c (lose): Free l_origin if it is valid.
35834
35835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35836 names.
35837 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35838 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35841 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35842 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35843
35844 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35845
35846 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35847 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35848 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35850 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35851 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35852 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35853 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35854 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35855 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35856
35857 2011-08-15 Alan Modra <amodra@gmail.com>
35858
35859 [BZ #13092]
35860 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35861 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35862 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35863 ppc_mcount to static-only-routines.
35864 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35865 __mcount_internal.
35866 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35867 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35868
35869 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35870
35871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35872 for finite and infinity parameters.
35873
35874 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35875
35876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35877 and add nop instructions for throughput optimization.
35878 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35879
35880 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35881
35882 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35883 aligned copy for power7 with vector-scalar instructions.
35884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35885
35886 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35887
35888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35889 AVX check.
35890
35891 2011-09-07 Andreas Schwab <schwab@redhat.com>
35892
35893 [BZ #13144]
35894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35895 last change.
35896
35897 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35898
35899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35900 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35901 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35902 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35903 clock_gettime.
35904
35905 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35906
35907 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35908 Forgot to demangle the pointer.
35909
35910 * sysdeps/i386/sysdep.h: Define atom_text_section.
35911 * sysdeps/x86_64/sysdep.h: Likewise.
35912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35913 section with atom_text_section.
35914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35916 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35918 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35919
35920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35922 already be defined. Change to take two parameters and don't assign
35923 result to variable. Adjust all users.
35924 Define INTERNAL_GETTIME if not already defined.
35925 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35926 call.
35927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35928 HAVE_CLOCK_GETTIME_VSYSCALL.
35929 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35930
35931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35932 gettimeofday vsyscall, just use time.
35933
35934 2011-09-06 Andreas Schwab <schwab@redhat.com>
35935
35936 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35937 <errno.h>.
35938
35939 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35940
35941 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35942 syscall on x86-64.
35943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35944 syscall.
35945 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35947 syscall if possible.
35948
35949 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35950
35951 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35952 e_ident. Don't pass to find_mapsXX.
35953 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35954
35955 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35956
35957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35958 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35959 * sysdeps/x86_64/multiarch/strchr.S: Update.
35960 Check bit_slow_BSF bit.
35961 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35962 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35964
35965 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35966
35967 [BZ #13134]
35968 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35969 before glibc 2.15.
35970 (tryshell): Define.
35971 (__spawni): Change last parameter to be flag. Test
35972 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35973 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35974 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35975 * posix/spawni.c: Likewise.
35976 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35977 * posix/spawnp.c: Likewise. Change normal version to use
35978 SPAWN_XFLAGS_USE_PATH.
35979 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35980 SPAWN_XFLAGS_TRY_SHELL.
35981
35982 [BZ #13150]
35983 * posix/glob.h: Remove gcc 1.x support.
35984
35985 [BZ #13068]
35986 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35987
35988 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35989
35990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35991 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35992 strrchr-sse2-bsf
35993 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35994 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35997 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35999
36000 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36001
36002 * sysdeps/x86_64/wcscmp.S: New file.
36003
36004 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36005 wcscmp-c wcscmp-sse2
36006 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36007 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36008 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36009 * wcsmbs/wcscmp.c: Allow renaming.
36010
36011 2011-09-05 David S. Miller <davem@davemloft.net>
36012
36013 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36014 stack slot, rather than the struct return pointer slot.
36015 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36016 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36018 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36019
36020 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36021
36022 * po/ja.po: Update from translation team.
36023
36024 [BZ #13144]
36025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36026 kernel in 64-bit binaries.
36027
36028 2011-09-01 David S. Miller <davem@davemloft.net>
36029
36030 * elf/elf.h (HWCAP_SPARC_*): Move to..
36031 * sysdeps/sparc/sysdep.h: this new file and add new values.
36032 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36033 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36034 _DL_HWCAP_COUNT to 24.
36035 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36036 entries.
36037 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36038 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36039 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36041 instead of magic constants.
36042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36043
36044 2011-08-31 David S. Miller <davem@davemloft.net>
36045
36046 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36048 Reimplement to do errno handling inline.
36049 (SYSCALL_ERROR_HANDLER): New macro.
36050 (__SYSCALL_STRING): Do not do errno handling in asm.
36051 (__CLONE_SYSCALL_STRING): Delete.
36052 (__INTERNAL_SYSCALL_STRING): Delete.
36053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36054 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36055 (PSEUDO): Reimplement to do errno handling inline.
36056 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36057 (SYSCALL_ERROR_HANDLER): New macro.
36058 (__SYSCALL_STRING): Do not do errno handling in asm.
36059 (__CLONE_SYSCALL_STRING): Delete.
36060 (__INTERNAL_SYSCALL_STRING): Delete.
36061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36062 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36063 i386.
36064 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36065 (inline_syscall*): Add 'err' argument.
36066 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36067 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36068 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36069 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36070
36071 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36072 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36073
36074 2011-08-30 Andreas Schwab <schwab@redhat.com>
36075
36076 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36077
36078 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36079
36080 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36081 directive.
36082
36083 2011-08-24 David S. Miller <davem@davemloft.net>
36084
36085 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36086
36087 2011-08-24 Andreas Schwab <schwab@redhat.com>
36088
36089 * elf/Makefile: Add rules to build and run unload8 test.
36090 * elf/unload8.c: New file.
36091 * elf/unload8mod1.c: New file.
36092 * elf/unload8mod1x.c: New file.
36093 * elf/unload8mod2.c: New file.
36094 * elf/unload8mod3.c: New file.
36095
36096 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36097 it wasn't used.
36098
36099 2011-08-23 David S. Miller <davem@davemloft.net>
36100
36101 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36102 subtract stack bias.
36103 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36104 %sp not %fp in calculations.
36105 (_JMPBUF_UNWINDS_ADJ): Likewise.
36106
36107 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36108 (aio_suspend): Call it to force an exception region around the
36109 AIO_MISC_WAIT() invocation.
36110
36111 2011-08-23 Andreas Schwab <schwab@redhat.com>
36112
36113 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36114 backslash.
36115
36116 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36117
36118 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36119 protection macro.
36120 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36121 and <dl-machine.h>.
36122 (Elf64_FuncDesc): Remove.
36123
36124 2011-08-22 David S. Miller <davem@davemloft.net>
36125
36126 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36127 sigaltstack check, add missing cfi directives.
36128 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36129 missing cfi directives, and sigaltstack handling.
36130
36131 2011-08-16 Andreas Schwab <schwab@redhat.com>
36132
36133 [BZ #11724]
36134 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36135 object is seen twice.
36136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36137
36138 * elf/Makefile (distribute): Add tst-initorder2.c.
36139 (tests): Add tst-initorder2.
36140 (modules-names): Add tst-initorder2a tst-initorder2b
36141 tst-initorder2c tst-initorder2d. Add rules to build them.
36142 ($(objpfx)tst-initorder2.out): New rule.
36143 * elf/tst-initorder2.c: New file.
36144 * elf/tst-initorder2.exp: New file.
36145
36146 2011-08-22 Andreas Schwab <schwab@redhat.com>
36147
36148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36149
36150 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36151 dependencies back to end of function.
36152
36153 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36154 $(elfobjdir)/ld.so.
36155
36156 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36157
36158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36159 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36161 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36162 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36163 of __vdso_gettimeofday.
36164 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36165 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36166 attribute_hidden.
36167 (_libc_vdso_platform_setup): Remove initialization of
36168 __vdso_gettimeofday and __vdso_time.
36169
36170 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36171
36172 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36173 and fgetc_unlocked.
36174 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36175 getc_unlocked.
36176
36177 * elf/dl-open.c (add_to_global): Report additions to the global scope
36178 for LD_DEBUG=scopes.
36179 (dl_open_worker): Also print scope of newly loaded dependencies.
36180 (_dl_show_scope): Indicate if there is no scope.
36181
36182 [BZ #13114]
36183 * stdio-common/Makefile (tests): Add bug24.
36184 * stdio-common/bug24.c: New file.
36185
36186 2011-08-19 Andreas Jaeger <aj@suse.de>
36187
36188 [BZ #13114]
36189 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36190 non-existant file when using close-on-exec mode.
36191
36192 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36193
36194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36195 the very first instruction.
36196
36197 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36198 the CFI state in the end.
36199 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36200 inclusion of dl-trampoline.h.
36201 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36202
36203 2011-08-19 Andreas Schwab <schwab@redhat.com>
36204
36205 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36206 expectations for long double.
36207
36208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36209 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36210
36211 2011-08-14 David S. Miller <davem@davemloft.net>
36212
36213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36214 artificual limit depends upon the system page size.
36215
36216 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36217
36218 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36219 * resolv/Makefile: Define CFLAGS-libresolv.
36220
36221 2011-08-17 Andreas Schwab <schwab@redhat.com>
36222
36223 * nss/makedb.c (compute_tables): Make variables used in nested
36224 function static.
36225
36226 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36227
36228 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36229 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36230 if buffer was too small.
36231
36232 * elf/pldd.c (main): Attach to all threads in the process.
36233 Rewrite /proc handling to use *at functions.
36234
36235 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36236
36237 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36238 specifies first scope to show.
36239 (dl_open_worker): Update callers. Move printing scope of new
36240 object to before the relocation.
36241 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36242 * sysdeps/generic/ldsodefs.h: Update declaration.
36243
36244 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36245 string for the scope number.
36246
36247 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36248
36249 * nscd/servicescache.c (cache_addserv): Make sure written is always
36250 initialized.
36251
36252 2011-08-14 Roland McGrath <roland@hack.frob.com>
36253
36254 * sysdeps/i386/i486/bits/atomic.h
36255 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36256 statement expression, so as to suppress "set but not used" warning.
36257 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36258
36259 * string/strncat.c (STRNCAT): Use prototype definition.
36260
36261 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36262 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36263 -Iprograms here.
36264 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36265 (localedef-modules): Add localedef.
36266 (locale-modules): Add locale.
36267
36268 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36269 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36270 to avoid a warning.
36271
36272 2011-08-14 David S. Miller <davem@davemloft.net>
36273
36274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36275 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36276
36277 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36278
36279 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36280 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36281 * elf/rtld.c (dl_main): Set l_name of vDSO.
36282 Call _dl_show_scope when DL_DEBUG_SCOPES.
36283 (process_dl_debug): Recognize scopes flag and also set it for all.
36284 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36285 Declare _dl_show_scope.
36286
36287 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36288 (do_dlopen): Pass caller_dlopen to dl_open.
36289 (__libc_dlopen_mode): Initialize caller_dlopen.
36290
36291 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36292 of libc. Make tolower call locale-independent. Optimize a bit by
36293 using isdigit instead of isalnum.
36294 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36295
36296 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36297
36298 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36299 was a dependency or dynamically loaded.
36300
36301 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36302
36303 * intl/l10nflist.c: Allow architecture-specific pop function.
36304 * sysdeps/x86_64/l10nflist.c: New file.
36305
36306 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36307 classification.
36308
36309 2011-08-10 Andreas Schwab <schwab@redhat.com>
36310
36311 * include/dirent.h: Add libc_hidden_proto for scandirat and
36312 scandirat64. Don't declare __scandirat64.
36313 * dirent/scandirat.c: Add libc_hidden_def.
36314 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36315 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36316
36317 2011-08-10 David S. Miller <davem@davemloft.net>
36318
36319 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36320 enum.
36321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36323 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36324
36325 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36326
36327 * Versions.def [libc]: Add GLIBC_2.15.
36328 * dirent/Makefile (routines): Add scandirat and scandirat64.
36329 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36330 GLIBC_2.15.
36331 * dirent/dirent.h: Declare scandirat and scandirat64.
36332 * dirent/scandirat.c: New file.
36333 * dirent/scandirat64.c: New file.
36334 * sysdeps/wordsize-64/scandirat.c: New file.
36335 * sysdeps/wordsize-64/scandirat64.c: New file.
36336 * dirent/opendir.c: Define opendirat.
36337 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36338 using scandirat.
36339 * dirent/scandir64.c: Adjust for scandir.c change.
36340 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36341 __scandirat64, and __scandir_cancel_handler.
36342 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36343 additional parameter and use openat instead of open (outside of ld.so).
36344 Add new __opendir as wrapper around __opendirat.
36345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36346 here without requiring old scandirat implementation.
36347
36348 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36349
36350 * dirent/scandir.c (cancel_handler): Renamed to
36351 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36352 defined. Adjust users.
36353 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36355
36356 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36357
36358 * string/test-string.h (IMPL): Use __STRING to expand name and then
36359 stringify it.
36360
36361 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36362 of cleanups.
36363
36364 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36365
36366 * string/Makefile: Update.
36367 (strop-tests): Append strncat.
36368 * string/test-wcscmp.c: New file.
36369 New comprehensive test for wcscmp.
36370 * string/test-strcmp.c: Update.
36371 (WIDE): New define.
36372
36373 2011-07-22 Andreas Schwab <schwab@redhat.com>
36374
36375 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36376 line.
36377
36378 2011-07-26 Andreas Schwab <schwab@redhat.com>
36379
36380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36381 encoding to ACE if AI_IDN.
36382
36383 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36384
36385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36386 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36387
36388 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36389
36390 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36391 Fix overflow bug in strncat.
36392 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36393
36394 * string/test-strncat.c: Update.
36395 Add new tests for checking overflow bugs.
36396
36397 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36398
36399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36400 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36401 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36402 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36404 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36405 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36406 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36407 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36408
36409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36410 (USE_AS_STRCAT): Define.
36411 Add strcat and strncat support.
36412 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36413
36414 2011-07-25 Andreas Schwab <schwab@redhat.com>
36415
36416 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36417 __n bigger than INT_MAX+1.
36418 (__strncmp_g): Likewise.
36419
36420 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36421
36422 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36423 * libio/stido.h: Likewise.
36424
36425 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36426 (AF_NFC): Define.
36427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36428 (AF_NFC): Define.
36429
36430 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36432 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36435
36436 [BZ #13021]
36437 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36438 installed.
36439
36440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36441 typo.
36442 (_dl_x86_64_save_sse): Likewise.
36443
36444 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36445
36446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36447 OSXSAVE.
36448 (_dl_x86_64_save_sse): Likewise.
36449
36450 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36451
36452 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36453
36454 2011-07-21 Andreas Schwab <schwab@redhat.com>
36455
36456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36457 change.
36458 (_dl_x86_64_save_sse): Use correct AVX check.
36459
36460 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36461
36462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36463 bug in strncpy/strncat.
36464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36465
36466 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36467
36468 * string/tester.c (test_strcat): Add tests for different alignments
36469 of source and destination.
36470 (test_strncat): Likewise.
36471
36472 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36473
36474 [BZ #12852]
36475 * posix/glob.c (glob): Check passed in values before using them in
36476 expressions to avoid some overflows.
36477 (glob_in_dir): Likewise.
36478
36479 [BZ #13007]
36480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36481 check for AVX enablement so that we don't crash with old kernels and
36482 new hardware.
36483 * elf/tst-audit4.c: Add same checks here.
36484 * elf/tst-audit6.c: Likewise.
36485
36486 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36487
36488 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36489
36490 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36491
36492 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36493
36494 * po/cs.po: Update from translation team.
36495 * po/bg.po: Likewise.
36496
36497 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36498
36499 * misc/sys/cdefs.h: Add support for const attribute.
36500 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36501 to gnu_dev_{major,minor,makedev} functions.
36502
36503 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36504
36505 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36506
36507 2011-07-20 Andreas Schwab <schwab@redhat.com>
36508
36509 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36510 strlen results.
36511
36512 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36513
36514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36515 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36516 register in order to avoid conflicts with the soft frame pointer
36517 being held in r11 when necessary.
36518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36519 (INTERNAL_VSYSCALL_NCS): Likewise.
36520
36521 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36522
36523 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36524 * elf/dl-fini.c (_dl_fini): Adjust caller.
36525 * elf/dl-close.c (_dl_close_worker): Likewise.
36526 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36527
36528 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36529
36530 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36531 "aux_cache->nlibs < 0".
36532
36533 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36534 in the reload-count case.
36535
36536 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36537
36538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36539 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36540 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36541 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36542 * sysdeps/x86_64/multiarch/strcat.S: New file.
36543 * sysdeps/x86_64/multiarch/strncat.S: New file.
36544 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36545 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36546 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36547 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36548 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36549 (USE_AS_STRCAT): Define.
36550 Add strcat and strncat support.
36551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36553 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36554 * string/strncat.c: Update.
36555 (USE_AS_STRNCAT): Define.
36556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36557 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36558 and i7.
36559 * sysdeps/x86_64/multiarch/init-arch.h
36560 (bit_Prefer_PMINUB_for_stringop): New.
36561 (index_Prefer_PMINUB_for_stringop): Likewise.
36562 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36563 bit_Prefer_PMINUB_for_stringop.
36564
36565 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36566
36567 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36568 buffer64.
36569 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36570 of casting of buffer.
36571 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36572 buffer32 and buffer64.
36573 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36574 writes instead of casting of buffer.
36575 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36576 buffer32.
36577 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36578 casting of buffer.
36579
36580 2011-07-19 Andreas Schwab <schwab@redhat.com>
36581
36582 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36583
36584 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36585
36586 * nscd/nscd.c (termination_handler): Don't do anything for a database
36587 if it has not yet been initialized.
36588
36589 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36590
36591 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36592
36593 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36594
36595 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36596
36597 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36598
36599 * po/nl.po: Update from translation team.
36600 * po/sv.po: Likewise.
36601
36602 2011-07-16 Roland McGrath <roland@hack.frob.com>
36603
36604 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36605 now disallowed by GCC.
36606
36607 * configure.in (use-default-link): Default to yes if a test -shared
36608 link meets our qualifications.
36609 * configure: Regenerated.
36610
36611 * config.make.in (output-format): New variable.
36612 * configure.in: Check for ld --print-output-format support.
36613 * configure: Regenerated.
36614 * Makerules ($(common-objpfx)format.lds)
36615 [$(output-format) != unknown]: Just use $(output-format),
36616 instead of the linker-script munging.
36617
36618 2011-07-14 Roland McGrath <roland@hack.frob.com>
36619
36620 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36621 of $(common-objpfx)shlib.lds.
36622 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36623
36624 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36625 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36626
36627 * configure.in (-z relro check): Adjust test code to add a large
36628 writable data section after it.
36629 * configure: Regenerated.
36630
36631 2011-07-11 Roland McGrath <roland@hack.frob.com>
36632
36633 * configure.in (-z relro check): Fix test code to make the variable
36634 truly const.
36635 * configure: Regenerated.
36636
36637 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36638
36639 * nscd/nscd.h (struct traced_file): Define.
36640 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36641 elements. Add traced_files.
36642 (inotify_fd): Declare.
36643 (register_traced_file): Declare.
36644 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36645 (inotify_fd): Export.
36646 (resolv_conf_descr): Remove.
36647 (nscd_init): Move inotify descriptor creation to main.
36648 Don't register files for notification here.
36649 (register_traced_file): New function.
36650 (invalidate_cache): Don't use reset_res to determine whether to call
36651 res_init, go through the list of registered files.
36652 (main_loop_poll): The inotify descriptors are now stored in the
36653 structures for the traced files.
36654 (main_loop_epoll): Likewise
36655 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36656 to __nss_disable_nscd.
36657 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36658 for a database anymore. Check the records for all the registered
36659 files instead.
36660 * nss/Makefile (libnss_files-routines): Add files-init.
36661 (libnss_db-routines): Add db-init.
36662 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36663 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36664 * nss/nss_db/db-init.c: New file.
36665 * nss/nss_files/files-init.c: New file.
36666 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36667 __nss_lookup_function.
36668 (__nss_lookup_function): Call nss_load_library.
36669 (nss_load_all_libraries): New function.
36670 (__nss_disable_nscd): Take parameter with callback function for files
36671 to register. Set is_nscd. Load all the DSOs for the NSS modules
36672 used for the cached services.
36673 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36674 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36675 options for features to all the files in nscd.
36676
36677 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36678
36679 2011-07-10 Roland McGrath <roland@hack.frob.com>
36680
36681 * csu/elf-init.c (__libc_csu_init): Comment typo.
36682
36683 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36684
36685 * po/pl.po: Update from translation team.
36686 * po/ja.po: Likewise.
36687 * po/ru.po: Likewise.
36688 * po/ko.po: Likewise.
36689 * po/fr.po: Likewise.
36690
36691 2011-07-09 Roland McGrath <roland@hack.frob.com>
36692
36693 * configure.in (.ctors/.dtors header and trailer check):
36694 Use an empirical test on a built program.
36695 * configure: Regenerated.
36696
36697 * configure.in (-z relro check): Use an empirical test on a built DSO.
36698 Detect, but do not require, on ia64.
36699 * configure: Regenerated.
36700
36701 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36702 Update tests that use readelf to use $READELF instead.
36703 * configure: Regenerated.
36704
36705 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36706
36707 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36708 if the result is not used.
36709
36710 2011-07-05 Andreas Jaeger <aj@suse.de>
36711
36712 [BZ#9696]
36713 * stdlib/tst-strtod.c: Add testcase.
36714
36715 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36716
36717 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36718 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36719 The latter has a higher limit. Take additional parameter to pass to
36720 the new function.
36721 (__pathconf): Pass file to __statfs_link_max.
36722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36723 __statfs_link_max.
36724 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36725 __statfs_link_max.
36726
36727 [BZ #12868]
36728 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36730 Handle Lustre.
36731 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36732 (__statfs_filesize_max): Likewise.
36733 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36734
36735 2011-07-05 Andreas Jaeger <aj@suse.de>
36736
36737 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36738
36739 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36740
36741 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36742 `status' variable.
36743 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36744 Likewise.
36745
36746 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36747
36748 * Makefile (strop-tests): Add strncat.
36749 * string/test-strncat.c: New file.
36750
36751 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36752
36753 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36754
36755 2011-06-21 Andreas Jaeger <aj@suse.de>
36756
36757 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36758 Copy rule from iconvdata/Makefile.
36759
36760 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36761
36762 [BZ #12922]
36763 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36764 but no long options are defined, just return 'W'.
36765
36766 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36767
36768 [BZ #9696]
36769 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36770
36771 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36772
36773 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36774 netgroups to read.
36775 (innetgr): Likewise.
36776
36777 2011-07-05 Roland McGrath <roland@hack.frob.com>
36778
36779 * config.make.in (install_root): Default to $(DESTDIR).
36780
36781 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36782
36783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36784
36785 2011-07-02 Roland McGrath <roland@hack.frob.com>
36786
36787 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36788
36789 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36790 containing directory rather than embedding absolute directory names.
36791
36792 * scripts/check-local-headers.sh: Rewritten using awk.
36793 Match by word, not by line. Print error messages for matches.
36794 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36795
36796 * Makerules [shlib-lds-flags empty]:
36797 ($(common-objpfx)libc_pic.opts): New target.
36798 ($(common-objpfx)libc_pic.os.clean): New target.
36799 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36800
36801 * config.make.in (OBJCOPY): New variable.
36802 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36803 * configure: Regenerated.
36804
36805 * config.make.in (use-default-link): New variable.
36806 * configure.in (use_default_link): Grok --with-default-link to set it.
36807 * configure: Regenerated.
36808 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36809 (shlib-lds, shlib-lds-flags): Define to empty.
36810
36811 * Makerules (shlib-lds): New variable.
36812 (shlib-lds-flags): New variable.
36813 (build-shlib, build-moduile, build-module-asneeded): Use it.
36814 ($(common-objpfx)libc.so): Use $(shlib-lds).
36815 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36816 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36817
36818 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36819 DT_FLAGS/DT_FLAGS_1 with zero flags.
36820
36821 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36822 linker script munging.
36823
36824 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36825
36826 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36827 as 128-bit value.
36828 * crypt/sha512.c (sha512_process_block): Perform total addition using
36829 128-bit if possible.
36830 (__sha512_finish_ctx): Likewise.
36831 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36832 as 64-bit value.
36833 * crypt/sha256.c (SWAP64): Define.
36834 (sha256_process_block): Perform total addition using 64-bit if
36835 possible.
36836 (__sha256_finish_ctx): Likewise.
36837
36838 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36839
36840 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36842 * nscd/hstcache.c (cache_addhst): Likewise.
36843 * nscd/grpcache.c (cache_addgr): Likewise.
36844 * nscd/aicache.c (addhstaiX): Likewise
36845 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36846
36847 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36848
36849 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36851 * nscd/hstcache.c (cache_addhst): Likewise.
36852 * nscd/grpcache.c (cache_addgr): Likewise.
36853 * nscd/aicache.c (addhstaiX): Likewise
36854
36855 2011-07-01 Andreas Schwab <schwab@redhat.com>
36856
36857 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36858 domain only when needed.
36859
36860 2011-06-30 Andreas Schwab <schwab@redhat.com>
36861
36862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36863 is always restored.
36864
36865 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36866
36867 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36868 are re-adding the entry.
36869 * nscd/servicescache.c (cache_addserv): Likewise.
36870
36871 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36872
36873 * sysdeps/generic/dl-irel.h: fix protection against multiple
36874 inclusions.
36875 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36876
36877 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36878
36879 [BZ #12935]
36880 * malloc/memusage.sh: Fix quoting in message.
36881 * debug/xtrace.sh: Likewise.
36882
36883 * configure.in: Remove support for --experimental-malloc option, make
36884 it the default.
36885 * config.make.in: Likewise.
36886 * malloc/Makefile: Likewise.
36887
36888 2011-06-27 Andreas Schwab <schwab@redhat.com>
36889
36890 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36891 two-byte characters.
36892
36893 2011-06-27 Roland McGrath <roland@hack.frob.com>
36894
36895 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36896 AC_CACHE_CHECK invocation.
36897 * configure: Regenerated.
36898
36899 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36900
36901 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36902
36903 [BZ #12350]
36904 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36905 bit from old_res_options.
36906
36907 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36908
36909 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36910 value type for setfct.
36911
36912 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36913
36914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36915 __gettimeofday instead of gettimeofday.
36916
36917 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36918
36919 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36920
36921 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36922
36923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36924
36925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36926 info.
36927
36928 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36929
36930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36931 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36932 strcpy-sse2-unaligned strncpy-sse2-unaligned
36933 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36934 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36935 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36936 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36937 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36939 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36940 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36941 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36942 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36943 (STRCPY): Support SSE2 and SSSE3 versions.
36944
36945 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36946
36947 [BZ #12874]
36948 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36949 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36950 kernels which artificially limit size of requests.
36951
36952 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36953
36954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36955 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36956 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36957 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36958 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36959 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36960 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36961 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36964 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36965 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36966 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36967 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36968 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36970 Enable unaligned load optimization for Intel Core i3, i5 and i7
36971 processors.
36972 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36973 Define.
36974 (index_Fast_Unaligned_Load): Define.
36975 (HAS_FAST_UNALIGNED_LOAD): Define.
36976
36977 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36978
36979 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36980
36981 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36982
36983 [BZ #12907]
36984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36985 until it is clear that the information is realy needed.
36986 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36987
36988 2011-06-22 Andreas Schwab <schwab@redhat.com>
36989
36990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36991
36992 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36993
36994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36995 /sys/devices/system/cpu/online if it is usable.
36996
36997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36998 reading the information from the /proc filesystem to once a second.
36999
37000 2011-06-21 Andreas Jaeger <aj@suse.de>
37001
37002 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37003 NULL after inclusion of kernel headers.
37004
37005 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37006
37007 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37008 calls to internal_setent.
37009
37010 [BZ #12885]
37011 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37012 addresses using gethostbyname4_r ignore IPv4 addresses.
37013
37014 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37015 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37016
37017 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37018
37019 2011-06-20 David S. Miller <davem@davemloft.net>
37020
37021 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37022 inclusions.
37023 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37024
37025 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37026 (elf_irel): Use it.
37027 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37028 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37029 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37030 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37031 * sysdeps/x86_64/dl-irel.h: Likewise.
37032
37033 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37034 * elf/dl-sym.c: Likewise.
37035
37036 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37037
37038 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37039 need to dereference resplen2.
37040
37041 2011-06-14 Andreas Schwab <schwab@redhat.com>
37042
37043 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37044
37045 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37046
37047 * Makeconfig: Define vardbdir and inst_vardbdir.
37048 * nss/Makefile: Add rules to install db-Makefile.
37049
37050 * nss/nss_db/db-XXX.c: Cleanup.
37051
37052 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37053 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37054 GLIBC_PRIVATE.
37055 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37056 * nss/makedb.c: Implement -g option to specify that value strings
37057 are generated and should not be added to table iterated over for
37058 get*ent calls.
37059 * nss/nss_db/db-initgroups.c: New file.
37060
37061 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37062 interface.
37063
37064 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37065 (internal_getgrouplist): Adjust to name change.
37066 Update use_initgroups_entry if this is not the first call.
37067 * nss/databases.def: Add initgroups entry.
37068
37069 * nss/makedb.c (compute_tables): Check result of multiple hash table
37070 sizes to minimize maximum chain length.
37071
37072 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37073
37074 * Versions.def: Add entry for libnss_db.
37075 * shlib-versions: Likewise.
37076 * nss/Makefile: Add rules to build libnss_db.
37077 * nss/Versions: Add libnss_db information. Organize libnss_files
37078 entries better.
37079 * nss/db-Makefile: Add gshadow support. Change rules for the new
37080 makedb progra. Some minor improvements to generate smaller files.
37081 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37082 here from...
37083 * nss/makedb.c: ...here.
37084 Improve database format to be smaller and require less memory at
37085 runtime.
37086 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37087 db anymore.
37088 * nss/nss_db/db-netgrp.c: Likewise.
37089 * nss/nss_db/db-open.c: Likewise.
37090 * nss/nss_files/flies-XXX.x: Adjust comments.
37091 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37092 * nss/nss_files/files-grp.c: Likewise.
37093 * nss/nss_files/files-hosts.c: Likewise.
37094 * nss/nss_files/files-network.c: Likewise.
37095 * nss/nss_files/files-proto.c: Likewise.
37096 * nss/nss_files/files-pwd.c: Likewise.
37097 * nss/nss_files/files-rpc.c: Likewise.
37098 * nss/nss_files/files-service.c: Likewise.
37099 * nss/nss_files/files-sgrp.c: Likewise.
37100 * nss/nss_files/files-spwd.c: Likewise.
37101 * nss/nss_db/db-alias.c: Removed.
37102 * nss/nss_db/dummy-db.h: Removed.
37103
37104 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37105
37106 * nss/makedb.c: Rewritten to not use database library.
37107 * nss/Makefile: Update to build new makedb program.
37108
37109 2011-06-14 Andreas Jaeger <aj@suse.de>
37110
37111 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37112 memset declaration.
37113
37114 2011-06-10 Andreas Schwab <schwab@redhat.com>
37115
37116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37117 tmpbuf.
37118
37119 2011-06-10 Roland McGrath <roland@hack.frob.com>
37120
37121 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37122 * elf/Makefile ($(objpfx)ld.so): Likewise.
37123
37124 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37125 Don't list ld.so twice in dependencies.
37126
37127 * posix/bug-regex31.c: Include <stdlib.h>.
37128
37129 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37130
37131 * nis/nss_compat/compat-spwd.c
37132 (getspent_next_nss_netgr): Remove unused variable.
37133 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37134
37135 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37136 nonmembers" output to use the right array.
37137
37138 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37139
37140 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37141
37142 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37143 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37144 * catgets/gencat.c (read_input_file): Likewise.
37145 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37146
37147 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37148 variable definition inside #if's controlling its use.
37149
37150 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37151
37152 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37153
37154 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37155
37156 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37157 unreachable code.
37158
37159 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37160
37161 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37162 * configure: Regenerated.
37163
37164 * Makerules: Revert last change.
37165 * elf/Makefile: Likewise.
37166
37167 2011-06-09 Roland McGrath <roland@hack.frob.com>
37168
37169 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37170 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37171 (reloc-link): Likewise.
37172
37173 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37174
37175 * elf/Makefile: Add rules to build pldd.
37176 * elf/pldd.c: New file.
37177 * elf/pldd-xx.c: New file.
37178
37179 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37180
37181 * version.h: Update for 2.15 development version.
37182
37183 2011-06-07 David S. Miller <davem@davemloft.net>
37184
37185 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37186 ifuncs.
37187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37188 elf_machine_lazy_rel): Likewise.
37189 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37191 elf_machine_lazy_rel): Likewise.
37192 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37193 dl_hwcap via passed in argument.
37194 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37195 Likewise.
37196
37197 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37198
37199 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37200
37201 2011-06-06 Roland McGrath <roland@hack.frob.com>
37202
37203 [BZ #12849]
37204 * manual/fdl-1.1.texi: New file, verbatim from:
37205 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37206 * manual/lgpl-2.1.texi: New file, verbatim from:
37207 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37208 * manual/Makefile (licenses): New variable, list those new file names.
37209 (texis): Use it.
37210 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37211
37212 * manual/fdl.texi: File removed.
37213 * manual/lesser.texi: File removed.
37214 * manual/libc.texinfo (Copying, Documentation License):
37215 Use new @include file names, put @appendix directive before @include.
37216
37217 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37218
37219 [BZ #12841]
37220 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37221 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37222 (mq_open): Add __NTH.
37223
37224 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37225
37226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37227 Assume Intel Core i3/i5/i7 processor if AVX is available.
37228
37229 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37230
37231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37232 typo.
37233
37234 2011-05-31 Andreas Schwab <schwab@redhat.com>
37235
37236 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37237 memory. Use alloca_account. Fix memory leak when retrying.
37238
37239 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37240
37241 * version.h (RELEASE): Bump for 2.14 release.
37242 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37243
37244 * config.make.in (RANLIB): Remove entry.
37245
37246 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37247
37248 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37249 (libc.pot): Work around missing support for .ksh extension in xgettext.
37250
37251 [BZ #12684]
37252 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37253 if both request failed.
37254 (send_dg): In case of server errors clear resplen or *resplen2.
37255
37256 [BZ #12454]
37257 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37258 when there are multiple maps.
37259 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37260 (_dl_fini): Remove test here.
37261
37262 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37263
37264 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37265
37266 [BZ #12350]
37267 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37268 bit from old_res_options.
37269 (gaih_inet): Likewise.
37270
37271 [BZ #11099]
37272 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37273 as signed.
37274
37275 * resolv/res_init.c (res_setoptions): Make the code more compact.
37276
37277 [BZ #11558]
37278 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37279 set RES_USEVC.
37280
37281 [BZ #11634]
37282 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37283
37284 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37285
37286 [BZ #11781]
37287 * malloc/malloc.h: Declare malloc hook variables as volatile.
37288
37289 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37290 in last patch.
37291
37292 [BZ #11799]
37293 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37294 raise in the comment.
37295 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37297 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37298
37299 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37300
37301 [BZ #12811]
37302 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37303 grow the buffers more if it already has to be sufficient.
37304 (build_wcs_upper_buffer): Likewise.
37305 * posix/regexec.c (check_matching): Likewise.
37306 (clean_state_log_if_needed): Likewise.
37307 (extend_buffers): Don't enlarge buffers beyond size of the input
37308 buffer.
37309 Patches mostly by Emil Wojak <emil@wojak.eu>.
37310 * posix/bug-regex32.c: New file.
37311 * posix/Makefile (tests): Add bug-regex32.
37312
37313 * locale/findlocale.c (_nl_find_locale): Return right away if
37314 _nl_explode_name failed.
37315 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37316
37317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37318
37319 * debug/xtrace.sh: Unify messages.
37320 * malloc/memusage.sh: Likewise.
37321
37322 [BZ #12813]
37323 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37324 time symbol from vDSO. Substitute with vsyscall if not available.
37325 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37326 __vdso_time.
37327
37328 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37329 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37330 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37331 Add sendmmsg and internal_sendmmsg.
37332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37335
37336 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37337 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37339
37340 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37341
37342 [BZ #12813]
37343 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37344 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37345 available.
37346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37347 __vdso_getcpu.
37348
37349 [BZ #12814]
37350 * iconvdata/Makefile (tests): Add bug-iconv9.
37351 * iconvdata/bug-iconv9.c: New file.
37352
37353 2011-05-27 Andreas Schwab <schwab@redhat.com>
37354
37355 [BZ #12814]
37356 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37357
37358 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37359
37360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37361 (struct user_regs_struct): Change intcs field back to cs.
37362
37363 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37364
37365 * po/ja.po: Update from translation team.
37366
37367 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37368
37369 [BZ #12795]
37370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37371 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37372
37373 2011-05-20 Andreas Schwab <schwab@redhat.com>
37374
37375 * stdlib/longlong.h: Update from GCC.
37376
37377 2011-05-23 Andreas Schwab <schwab@redhat.com>
37378
37379 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37380 parameter name.
37381 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37382 Add parameter name.
37383 (__sysconf): Pass it down.
37384
37385 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37386
37387 [BZ #12671]
37388 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37389 some situations.
37390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37391 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37392 add in in __libc_use_alloca calls. Adjust callers.
37393 (glob): Use malloc in some situations.
37394
37395 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37396 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37397 pltexit.
37398
37399 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37400
37401 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37402 and CLOCK_BOOTTIME_ALARM.
37403
37404 [BZ #12782]
37405 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37406 is returned.
37407
37408 * string/_strerror.c (__strerror_r): Print negative errors as signed
37409 numbers.
37410
37411 [BZ #12777]
37412 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37413 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37414 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37415
37416 * configure.in: Fix typo in redirection and correct removal of test
37417 files in two cases.
37418
37419 [BZ #12788]
37420 * locale/setlocale.c (new_composite_name): Fix test to check for
37421 identical name of all categories.
37422
37423 [BZ #12792]
37424 * libio/filedoalloc.c (local_isatty): New function.
37425 (_IO_file_doallocate): Use local_isatty.
37426 * stdio-common/perror.c (perror): In case a new stream is used
37427 forward the stream error.
37428 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37429 error flag.
37430
37431 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37432
37433 [BZ #11869]
37434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37435 alloca.
37436 * include/alloca.h (extend_alloca_account): Define.
37437
37438 [BZ #11857]
37439 * posix/regex.h: Fix comments with documentation of user-accessible
37440 fields after compilation and describe correct free'ing of pattern
37441 after re_compile_pattern.
37442 Patch by Reuben Thomas <rrt@sc3d.org>.
37443
37444 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37445
37446 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37447 and -mno-altivec to prevent the compiler from using Altivec and/or
37448 VSX instructions when the corresponding registers are not available.
37449
37450 2011-05-19 Andreas Schwab <schwab@redhat.com>
37451
37452 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37453
37454 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37455
37456 * libio/freopen.c (freopen): Use __dup2, not dup2.
37457 * libio/freopen64.c (freopen64): Likewise.
37458
37459 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37460
37461 [BZ #12775]
37462 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37463 * math/Makefile (tests): Add test-powl.
37464 (CFLAGS-test-powl.c): Define.
37465 * math/test-powl.c: New file.
37466
37467 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37468
37469 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37470
37471 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37472
37473 [BZ #11837]
37474 * iconvdata/gb18030.c: Update to GB18020-2005.
37475
37476 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37477
37478 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37479 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37480 Patch by Aharon Robbins <arnold@skeeve.com>.
37481
37482 [BZ #11892]
37483 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37484 on the stack.
37485
37486 [BZ #11895]
37487 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37488 through underflows.
37489
37490 [BZ #12766]
37491 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37492 point to strings before performing equality test for error_one_per_line
37493 mode.
37494
37495 [BZ #11697]
37496 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37497
37498 [BZ #11820]
37499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37500 (struct user_fpregs_struct): Avoid __uint*_t types.
37501
37502 [BZ #6420]
37503 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37504 symbol info. Use it instead of calling _dl_addr locally.
37505 (lock_and_info): New function.
37506 (tr_freehook): Call lock_and_info and pass symbol info as additional
37507 parameter to tr_where.
37508 (tr_mallochook): Likewise.
37509 (tr_reallochook): Likewise.
37510 (tr_memalignhook): Likewise.
37511
37512 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37513 used and couldn't be at all thread-safe.
37514
37515 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37516
37517 * libio/freopen.c (freopen): Don't close old file descriptor
37518 before the new one is opened. Instead dup the new file descriptor
37519 to the old one after the new stream is created.
37520 * libio/freopen64.c (freopen64): Likewise.
37521 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37522 * libio/fileops.c (_IO_new_file_close_it): Handle new
37523 _IO_FLAGS2_NOCLOSE flag.
37524 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37525 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37526 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37527 _IO_FLAGS2_NOCLOSE flag.
37528 * include/unistd.h: Add hidden_proto for dup3.
37529 Define __have_dup3.
37530 * io/dup3.c: Define hidden symbol.
37531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37532
37533 [BZ #7101]
37534 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37535 when an incomplete long option is used.
37536 * posix/tst-getopt_long1.c: New file.
37537 * posix/Makefile (tests): Add tst-getopt_long1.
37538
37539 [BZ #10138]
37540 * scripts/config.guess: Update from autoconf-2.68.
37541 * scripts/config.sub: Likewise.
37542
37543 [BZ #10157]
37544 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37545 tests into ...
37546 (has_cpuclock): ...this. New function.
37547 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37548 macro here based on has_cpuclock code.
37549
37550 [BZ #10149]
37551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37552 First byte (not low byte) is now always NUL.
37553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37554
37555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37556 Use non-cancelable interfaces.
37557
37558 [BZ #9809]
37559 * locale/iso-639.def: Add entry for Sorani.
37560
37561 [BZ #11901]
37562 * include/stdlib.h: Move include protection to the right place.
37563 Define abort_msg_s. Declare __abort_msg with it.
37564 * stdlib/abort.c (__abort_msg): Adjust type.
37565 * assert/assert.c (__assert_fail_base): New function. Majority
37566 of code from __assert_fail. Allocate memory for __abort_msg with
37567 mmap.
37568 (__assert_fail): Now call __assert_fail_base.
37569 * assert/assert-perr.c: Remove bulk of implementation. Use
37570 __assert_fail_base.
37571 * include/assert.hL Declare __assert_fail_base.
37572 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37573 mmap.
37574 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37575
37576 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37577
37578 [BZ #11952]
37579 [BZ #12453]
37580 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37581 until all modules are registered in the DTV.
37582 * elf/Makefile: Add rules to build and run tst-tls19.
37583 * elf/tst-tls19.c: New file.
37584 * elf/tst-tls19mod1.c: New file.
37585 * elf/tst-tls19mod2.c: New file.
37586 * elf/tst-tls19mod3.c: New file.
37587 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37588
37589 [BZ #12083]
37590 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37591 correctly.
37592
37593 [BZ #12601]
37594 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37595 two-byte sequence errors.
37596 * iconvdata/Makefile (tests): Add bug-iconv8.
37597 * iconvdata/bug-iconv8.c: New file.
37598
37599 [BZ #12626]
37600 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37601 buf2 definition.
37602
37603 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37604
37605 [BZ #12432]
37606 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37607 (dummy_getcfa): New function.
37608 (init): Get _Unwind_GetCFA address, use dummy if not found.
37609 (backtrace_helper): In recursion check, also check whether CFA changes.
37610 (__backtrace): Completely initialize arg.
37611
37612 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37613 storing incomplete byte sequence in state object. Avoid testing for
37614 guaranteed too small input if we know there is enough data available.
37615
37616 2011-05-11 Andreas Schwab <schwab@redhat.com>
37617
37618 * Makeconfig (+link-pie): Indent.
37619 * Rules (binaries-pie): Define if $(have-fpie) and
37620 $(build-shared).
37621 (binaries-shared): Also filter out $(binaries-pie).
37622 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37623 * nscd/Makefile (others-pie): Add nscd.
37624 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37625 ($(objpfx)nscd): Remove command override.
37626 * login/Makefile (others-pie): Add pt_chown.
37627 ($(objpfx)pt_chown): Remove command override.
37628 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37629 remove command overrides.
37630
37631 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37632
37633 * libio/tst_putwc.c: Fix error messages.
37634
37635 [BZ #12724]
37636 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37637 currently writing and seek to current position when not.
37638 * libio/Makefile (tests): Add bug-fclose1.
37639 * libio/bug-fclose1.c: New file.
37640
37641 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37642
37643 [BZ #12511]
37644 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37645 don't set DF_1_NODELETE here.
37646 (do_lookup_x): When entering new entry test for copy relocation
37647 and if necessary set DF_1_NODELETE flag.
37648 * elf/tst-unique4.cc: New file.
37649 * elf/tst-unique4.h: New file.
37650 * elf/tst-unique4lib.cc: New file.
37651 * elf/Makefile: Add rules to build and run tst-unique4.
37652 Patch by Piotr Bury <pbury@goahead.com>.
37653
37654 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37655
37656 [BZ #12052]
37657 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37658
37659 [BZ #12625]
37660 * misc/mntent_r.c (addmntent): Flush the stream after the output
37661
37662 [BZ #12393]
37663 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37664 (is_trusted_path_normalize): Skip initial colon. Append slash
37665 to empty buffer. Duplicate is_trusted_path code but allow
37666 constructed patch to be prefix.
37667 (is_dst): Allow $ORIGIN followed by /.
37668 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37669 Correct testing of result of is_trusted_path_normalize
37670 (decompose_rpath): Fix warning.
37671
37672 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37673
37674 [BZ #11257]
37675 * grp/initgroups.c (internal_getgrouplist): When we found the service
37676 list through the initgroups entry in nsswitch.conf do not always
37677 continue on a successful lookup. Don't always use the
37678 __nss_group_database value if it is set.
37679 * nss/nsswitch.conf (initgroups): Change action for successful db
37680 lookup to continue for compatibility.
37681
37682 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37683
37684 [BZ #11532]
37685 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37686 and CP774 modules.
37687 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37688 and CP774 modules.
37689 * iconvdata/tst-tables.sh: Likewise.
37690 * iconvdata/cp770.c: New file.
37691 * iconvdata/cp771.c: New file.
37692 * iconvdata/cp772.c: New file.
37693 * iconvdata/cp773.c: New file.
37694 * iconvdata/cp774.c: New file.
37695 * iconvdata/testdata/CP770: New file.
37696 * iconvdata/testdata/CP770..UTF8: New file.
37697 * iconvdata/testdata/CP771: New file.
37698 * iconvdata/testdata/CP771..UTF8: New file.
37699 * iconvdata/testdata/CP772: New file.
37700 * iconvdata/testdata/CP772..UTF8: New file.
37701 * iconvdata/testdata/CP773: New file.
37702 * iconvdata/testdata/CP773..UTF8: New file.
37703 * iconvdata/testdata/CP774: New file.
37704 * iconvdata/testdata/CP774..UTF8: New file.
37705
37706 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37707 END CHARMAP line.
37708 * iconvdata/gen-8bit-gap.sh: Likewise.
37709 * iconvdata/gen-8bit.sh: Likewise.
37710
37711 * locale/iso-639.def: Add ary entry.
37712
37713 [BZ #11258]
37714 * locale/C-translit.h.in: Add U20A1 transliteration.
37715
37716 [BZ #12178]
37717 * locale/iso-639.def: Add wae entry.
37718 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37719
37720 [BZ #12545]
37721 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37722 for n.
37723
37724 [BZ #12711]
37725 * locale/C-translit.h.in: Add entry for U20B9.
37726 Patch by pravin.d.s@gmail.com.
37727
37728 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37729
37730 [BZ #12713]
37731 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37732 ENAMETOOLONG use generic getcwd.
37733 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37734 in rtld. Use *stat64.
37735 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37736 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37737 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37738 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37739 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37740 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37741 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37742 __fstatat64 macros.
37743 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37744 * dirent/rewinddir.c: Add libc_hidden_def.
37745 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37746 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37747
37748 * include/dirent.h (__alloc_dir): Add flags parameter.
37749 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37750 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37751 __alloc_dir.
37752 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37753 from fdopendir if O_CLOEXEC is already set.
37754
37755 2011-03-15 Alan Modra <amodra@gmail.com>
37756
37757 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37758 l_tls_firstbyte_offset non-zero. Save padding offset in
37759 l_tls_firstbyte_offset for later use.
37760 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37761 freeing static tls block.
37762
37763 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37764
37765 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37766 where #ifdef was intended. The intent is to prevent ARG_MAX from
37767 being defined by the kernel headers.
37768
37769 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37770
37771 [BZ #12734]
37772 * resolv/resolv.h: Define RES_NOTLDQUERY.
37773 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37774 no-tld-query and set RES_NOTLDQUERY.
37775 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37776 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37777 modern BIND to search name as TLD unless forbidden.
37778
37779 2011-05-07 Petr Baudis <pasky@suse.cz>
37780 Ulrich Drepper <drepper@gmail.com>
37781
37782 [BZ #12393]
37783 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37784 (is_trusted_path): ...to here.
37785 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37786 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37787 using is_trusted_path_normalize() in setuid scripts.
37788
37789 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37790
37791 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37792 __BEGIN/__END_DECLS.
37793
37794 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37795
37796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37797 NSS_STATUS_NOTFOUND if no record was found.
37798
37799 2011-05-05 Andreas Schwab <schwab@redhat.com>
37800
37801 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37802 (headers-not-in-tirpc): Remove rpc/netdb.h
37803 * resolv/netdb.h: Revert last change.
37804
37805 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37806
37807 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37808 circular dependency between libgcc.a and libc.a.
37809
37810 2011-05-05 Andreas Schwab <schwab@redhat.com>
37811
37812 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37813 * nis/Makefile: Don't install rpcsvc/*.
37814 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37815 instead of <rpc/types.h>.
37816 (MAXHOSTNAMELEN): Define.
37817
37818 2011-05-03 Andreas Schwab <schwab@redhat.com>
37819
37820 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37821
37822 2011-04-28 Maciej Babinski <mbabinski@google.com>
37823
37824 [BZ #12714]
37825 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37826 gethostbyname4_r when IPv6 results are possible.
37827
37828 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37829
37830 [BZ #12723]
37831 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37832 _PC_PIPE_BUF handling.
37833
37834 2011-04-30 Bruno Haible <bruno@clisp.org>
37835
37836 [BZ #12717]
37837 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37838 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37839 to 'int'.
37840 * inet/getnameinfo.c (getnameinfo): Likewise.
37841
37842 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37843
37844 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37845 to groups setting in database lookup.
37846 * nss/nsswitch.conf: Add initgroups entry.
37847
37848 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37849
37850 [BZ #12685]
37851 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37852 mode string.
37853 Patch by Eric Blake <eblake@redhat.com>.
37854
37855 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37856
37857 * sunrpc/Makefile (need-export-routines): Add svc_run.
37858 (routines): Remove svc_run.
37859 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37860 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37861 * sunrpc/svc_run.c (svc_run): Likewise.
37862 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37863
37864 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37865
37866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37867 problem in reallocation in last patch.
37868
37869 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37870
37871 * sunrpc/Makefile: Move inclusion of Rules.
37872
37873 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37874
37875 * nss/nss_files/files-initgroups.c: New file.
37876 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37877 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37878 _nss_files_initgroups_dyn.
37879
37880 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37881
37882 * elf/elf.h (R_ARM_IRELATIVE): Define.
37883
37884 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37885
37886 * po/ru.po: Update from translation team.
37887
37888 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37889
37890 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37891 dependencies.
37892
37893 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37894
37895 [BZ #12653]
37896 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37897 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37899 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37901
37902 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37903
37904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37905 differing bytes.
37906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37909
37910 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37911
37912 [BZ #12420]
37913 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37914 storing it.
37915 * stdlib/bug-getcontext.c: New file.
37916 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37917
37918 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37919
37920 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37921 instructions into .machine "z9-109".
37922 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37923 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37924
37925 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37926
37927 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37928 between environment variables and auxiliary vector.
37929
37930 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37931
37932 * Makefile: Add rules to build linkobj/libc.so.
37933 * include/libc-symbols.h: Define libc_hidden_nolink.
37934 * include/rpc/auth.h: Mark functions which are to be hidden.
37935 * include/rpc/auth_des.h: Likewise.
37936 * include/rpc/auth_unix.h: Likewise.
37937 * include/rpc/clnt.h: Likewise.
37938 * include/rpc/des_crypt.h: Likewise.
37939 * include/rpc/key_prot.h: Likewise.
37940 * include/rpc/pmap_clnt.h: Likewise.
37941 * include/rpc/pmap_prot.h: Likewise.
37942 * include/rpc/pmap_rmt.h: Likewise.
37943 * include/rpc/rpc_msg.h: Likewise.
37944 * include/rpc/svc.h: Likewise.
37945 * include/rpc/svc_auth.h: Likewise.
37946 * include/rpc/xdr.h: Likewise.
37947 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37948 * nss/Makefile: Likewise.
37949 * sunrpc/Makefile: Don't install headers. Build library with normal
37950 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37951 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37952 for the compat linking library. Remove use of INTDEF/INTUSE.
37953 * sunrpc/auth_none.c: Likewise.
37954 * sunrpc/auth_unix.c: Likewise.
37955 * sunrpc/authdes_prot.c: Likewise.
37956 * sunrpc/authuxprot.c: Likewise.
37957 * sunrpc/clnt_gen.c: Likewise.
37958 * sunrpc/clnt_perr.c: Likewise.
37959 * sunrpc/clnt_raw.c: Likewise.
37960 * sunrpc/clnt_simp.c: Likewise.
37961 * sunrpc/clnt_tcp.c: Likewise.
37962 * sunrpc/clnt_udp.c: Likewise.
37963 * sunrpc/clnt_unix.c: Likewise.
37964 * sunrpc/des_crypt.c: Likewise.
37965 * sunrpc/des_soft.c: Likewise.
37966 * sunrpc/get_myaddr.c: Likewise.
37967 * sunrpc/key_call.c: Likewise.
37968 * sunrpc/key_prot.c: Likewise.
37969 * sunrpc/netname.c: Likewise.
37970 * sunrpc/pm_getmaps.c: Likewise.
37971 * sunrpc/pm_getport.c: Likewise.
37972 * sunrpc/pmap_clnt.c: Likewise.
37973 * sunrpc/pmap_prot.c: Likewise.
37974 * sunrpc/pmap_prot2.c: Likewise.
37975 * sunrpc/pmap_rmt.c: Likewise.
37976 * sunrpc/publickey.c: Likewise.
37977 * sunrpc/rpc_cmsg.c: Likewise.
37978 * sunrpc/rpc_common.c: Likewise.
37979 * sunrpc/rpc_dtable.c: Likewise.
37980 * sunrpc/rpc_prot.c: Likewise.
37981 * sunrpc/rpc_thread.c: Likewise.
37982 * sunrpc/rtime.c: Likewise.
37983 * sunrpc/svc.c: Likewise.
37984 * sunrpc/svc_auth.c: Likewise.
37985 * sunrpc/svc_authux.c: Likewise.
37986 * sunrpc/svc_raw.c: Likewise.
37987 * sunrpc/svc_run.c: Likewise.
37988 * sunrpc/svc_simple.c: Likewise.
37989 * sunrpc/svc_tcp.c: Likewise.
37990 * sunrpc/svc_udp.c: Likewise.
37991 * sunrpc/svc_unix.c: Likewise.
37992 * sunrpc/svcauth_des.c: Likewise.
37993 * sunrpc/xcrypt.c: Likewise.
37994 * sunrpc/xdr.c: Likewise.
37995 * sunrpc/xdr_array.c: Likewise.
37996 * sunrpc/xdr_float.c: Likewise.
37997 * sunrpc/xdr_intXX_t.c: Likewise.
37998 * sunrpc/xdr_mem.c: Likewise.
37999 * sunrpc/xdr_rec.c: Likewise.
38000 * sunrpc/xdr_ref.c: Likewise.
38001 * sunrpc/xdr_sizeof.c: Likewise.
38002 * sunrpc/xdr_stdio.c: Likewise.
38003
38004 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38005
38006 [BZ #12650]
38007 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38008 * sysdeps/ia64/dl-tls.h: Likewise.
38009 * sysdeps/powerpc/dl-tls.h: Likewise.
38010 * sysdeps/s390/dl-tls.h: Likewise.
38011 * sysdeps/sh/dl-tls.h: Likewise.
38012 * sysdeps/sparc/dl-tls.h: Likewise.
38013 * sysdeps/x86_64/dl-tls.h: Likewise.
38014 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38015
38016 2011-03-14 Andreas Schwab <schwab@redhat.com>
38017
38018 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38019 rpath element also skip the following colon.
38020 (expand_dynamic_string_token): Add is_path parameter and pass
38021 down to DL_DST_REQUIRED and _dl_dst_substitute.
38022 (decompose_rpath): Call expand_dynamic_string_token with
38023 non-zero is_path. Ignore empty rpaths.
38024 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38025 with zero is_path.
38026
38027 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38028
38029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38030 Make cancelable.
38031
38032 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38033
38034 [BZ #12655]
38035 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38036 Patch by Filipe David Manana <fdmanana@apache.org>.
38037
38038 2011-04-07 Andreas Schwab <schwab@redhat.com>
38039
38040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38041 Maintain aligned stack.
38042 (CHECK_RSP): Remove unused macro.
38043
38044 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38045
38046 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38048
38049 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38050
38051 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38052
38053 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38054
38055 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38056
38057 [BZ #12518]
38058 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38059 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38060 * sysdeps/x86_64/memmove.c: New file.
38061 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38062 (memcpy): Renamed to ...
38063 (__new_memcpy): This.
38064 (memcpy): Provide GLIBC_2_14 memcpy.
38065 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38066 (memcpy): Provide GLIBC_2_2_5 memcpy.
38067
38068 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38069
38070 [BZ #12631]
38071 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38072
38073 2011-03-30 Andreas Schwab <schwab@redhat.com>
38074
38075 * misc/syncfs.c: New file.
38076 * misc/Makefile (routines): Add syncfs.
38077 * posix/unistd.h: Declare syncfs.
38078 * sysdeps/unix/syscalls.list: Add syncfs.
38079
38080 2011-04-01 Andreas Schwab <schwab@redhat.com>
38081
38082 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38083 open_by_handle_at.
38084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38085 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38089 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38090 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38091
38092 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38093
38094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38095 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38096 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38101
38102 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38103 sync_file_range.c with -fexceptions.
38104 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38105 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38106 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38107 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38108 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38109 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38111 sync_file_range as cancellation point
38112 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38113 now a wrapper around __call_sync_file_range with cancellation handling.
38114 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38115 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38116 function name to __call_sync_file_range.
38117 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38118 Add call_sync_file_range.
38119
38120 2011-04-01 Andreas Schwab <schwab@redhat.com>
38121
38122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38123 bits/timex.h.
38124
38125 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38126
38127 * iconv/iconv.h: Fix typo in comment.
38128 * io/fcntl.h: Likewise.
38129 * libio/stdio.h: Likewise.
38130 * posix/spawn.h: Likewise.
38131 * posix/unistd.h: Likewise.
38132 * stdlib/stdlib.h: Likewise.
38133 * time/time.h: Likewise.
38134 * wcsmbs/wchar.h: Likewise.
38135
38136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38137 open_by_handle): Add.
38138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38139 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38140 Augment a few comments.
38141 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38143 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38146 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38147 open_by_handle.
38148
38149 * io/fcntl.h (AT_EMPTY_PATH): Define.
38150
38151 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38152
38153 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38154 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38155 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38156 to...
38157 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38158 * Versions.def: Add GLIBC_2.14.
38159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38160 Export.
38161
38162 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38163
38164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38165 round counter.
38166 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38167
38168 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38169
38170 [BZ #12597]
38171 * string/test-strncmp.c (do_page_test): New function.
38172 (check2): Likewise.
38173 (test_main): Call check2.
38174 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38175
38176 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38177
38178 [BZ #12587]
38179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38180 Handle cache information in CPU leaf 4.
38181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38182
38183 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38184
38185 [BZ #12583]
38186 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38187 character representation.
38188 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38189
38190 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38191
38192 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38193 END(__isnan) to END(__isnanf) to match function entry point/label
38194 EALIGN(__isnanf,...).
38195
38196 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38197
38198 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38199
38200 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38201
38202 [BZ #12510]
38203 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38204 copy from the symbol referenced in the relocation to initialize the
38205 used variable.
38206 Patch by Piotr Bury <pbury@goahead.com>.
38207 * elf/Makefile: Add rules to build and tst-unique3.
38208 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38209 * elf/tst-unique3.cc: New file.
38210 * elf/tst-unique3.h: New file.
38211 * elf/tst-unique3lib.cc: New file.
38212 * elf/tst-unique3lib2.cc: New file.
38213
38214 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38215
38216 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38217
38218 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38219 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38220 to _start.
38221
38222 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38223
38224 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38225 to-be-loaded object along a path to loader is ld.so.
38226
38227 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38228 Ulrich Drepper <drepper@gmail.com>
38229
38230 * sysdeps/x86_64/memset.S: After aligning destination, code
38231 branches to different locations depending on the value of
38232 misalignment, when multiarch is enabled. Fix this.
38233
38234 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38235
38236 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38237 Set _x86_64_preferred_memory_instruction for AMD processsors.
38238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38239 Set bit_Prefer_SSE_for_memop for AMD processors.
38240
38241 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38242
38243 * libio/fmemopen.c (fmemopen): Optimize a bit.
38244
38245 2011-03-03 Andreas Schwab <schwab@redhat.com>
38246
38247 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38248
38249 2011-03-03 Roland McGrath <roland@redhat.com>
38250
38251 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38252
38253 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38254
38255 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38256 __bzero_ultra1 instead of __memset_ultra1.
38257
38258 2011-02-23 Andreas Schwab <schwab@redhat.com>
38259 Ulrich Drepper <drepper@gmail.com>
38260
38261 [BZ #12509]
38262 * include/link.h (struct link_map): Add l_orig_initfini.
38263 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38264 returning unsuccessfully.
38265 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38266 close of a file loaded at startup, restore the original l_initfini
38267 list.
38268 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38269 list, store the pointer.
38270 * elf/Makefile ($(objpfx)noload-mem): New rule.
38271 (noload-ENV): Define.
38272 (tests): Add $(objpfx)noload-mem.
38273 * elf/noload.c: Include <memcheck.h>.
38274 (main): Call mtrace. Close all opened handles.
38275
38276 2011-02-17 Andreas Schwab <schwab@redhat.com>
38277
38278 [BZ #12454]
38279 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38280 dependencies are missing.
38281
38282 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38283
38284 Fix __if_freereq crash: Unlike the generic version which uses free,
38285 Hurd needs munmap.
38286 * sysdeps/mach/hurd/ifreq.h: New file.
38287
38288 2011-01-27 Petr Baudis <pasky@suse.cz>
38289 Ulrich Drepper <drepper@gmail.com>
38290
38291 [BZ 12445]#
38292 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38293 to extend_alloca().
38294 * stdio-common/bug23.c: New file.
38295 * stdio-common/Makefile (tests): Add bug23.
38296
38297 2010-09-28 Andreas Schwab <schwab@redhat.com>
38298 Ulrich Drepper <drepper@gmail.com>
38299
38300 [BZ #12489]
38301 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38302 before performing relro protection. At old place add assertion
38303 to make sure nothing changed.
38304
38305 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38306 Glauber de Oliveira Costa <glommer@gmail.com>
38307
38308 * elf/elf.h: Add new ARM TLS relocs.
38309
38310 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38311
38312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38313 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38314 cast from r3.
38315 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38316 'tests' variable.
38317 * sysdeps/wordsize-64/tst-writev.c: New file.
38318
38319 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38320
38321 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38322 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38323 insns in _dl_start to prevent a TOC reference before relocs are
38324 resolved.
38325
38326 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38327
38328 [BZ #12469]
38329 * Makeconfig: Remove RANLIB definition.
38330 * Makerules: Don't use RANLIB.
38331 * aclocal.m4: Remove ranlib test.
38332 * configure.in: No need to check for ranlib.
38333 * elf/rtld-Rules: Don't use RANLIB.
38334
38335 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38336
38337 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38338 protection macro.
38339 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38340 inclusion protection macro.
38341
38342 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38343 SIGRTMIN and SIGRTMAX and print information in that case only when
38344 SIGRTMIN is defined.
38345
38346 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38347
38348 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38349 arginfo fn returning -1.
38350
38351 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38352 and thousands string is zero terminated.
38353
38354 2011-02-03 Andreas Schwab <schwab@redhat.com>
38355
38356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38357 sysdeps/unix/sysv/linux/bits/socket.h.
38358
38359 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38360
38361 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38362 (__CPU_COUNT): Remove old macros.
38363 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38364 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38365 (__CPU_ALLOC, __CPU_FREE): Add macros.
38366 (__sched_cpualloc, __sched_cpufree): Add declarations.
38367
38368 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38369
38370 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38371 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38372 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38373 (readdhstai): Return value of addhstaiX call.
38374 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38375 (addgrbyX): Return value returned by cache_addgr.
38376 (readdgrbyname): Return value returned by addgrbyX.
38377 (readdgrbygid): Likewise.
38378 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38379 (addpwbyX): Return value returned by cache_addpw.
38380 (readdpwbyname): Return value returned by addhstbyX.
38381 (readdpwbyuid): Likewise.
38382 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38383 (addservbyX): Return value returned by cache_addserv.
38384 (readdservbyname): Return value returned by addservbyX:
38385 (readdservbyport): Likewise.
38386 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38387 (addhstbyX): Return value returned by cache_addhst.
38388 (readdhstbyname): Return value returned by addhstbyX.
38389 (readdhstbyaddr): Likewise.
38390 (readdhstbynamev6): Likewise.
38391 (readdhstbyaddrv6): Likewise.
38392 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38393 (readdinitgroups): Return value returned by addinitgroupsX.
38394 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38395 (prune_cache): Keep track of timeout value of re-added entries.
38396 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38397 * nscd/nscd.h: Adjust prototypes of readd* functions.
38398
38399 2011-02-04 Roland McGrath <roland@redhat.com>
38400
38401 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38402 (nis_stats): Likewise.
38403 * nis/nis_modify.c (nis_modify): Likewise.
38404 * nis/nis_remove.c (nis_remove): Likewise.
38405 * nis/nis_add.c (nis_add): Likewise.
38406
38407 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38408
38409 * posix/fnmatch_loop.c: Add some consts.
38410
38411 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38412
38413 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38414
38415 [BZ #12460]
38416 * config.make.in (config-cflags-novzeroupper): Define.
38417 * configure.in: Substitute libc_cv_cc_novzeroupper.
38418 * elf/Makefile (AVX-CFLAGS): Define.
38419 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38420 (CFLAGS-tst-auditmod4a.c): Likewise.
38421 (CFLAGS-tst-auditmod4b.c): Likewise.
38422 (CFLAGS-tst-auditmod6b.c): Likewise.
38423 (CFLAGS-tst-auditmod6c.c): Likewise.
38424 (CFLAGS-tst-auditmod7b.c): Likewise.
38425 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38426
38427 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38428
38429 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38430 function to the callback.
38431 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38432
38433 2011-02-02 Andreas Schwab <schwab@redhat.com>
38434
38435 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38436 of errno.
38437
38438 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38439
38440 [BZ #11724]
38441 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38442 of constructors.
38443 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38444 of destructors.
38445 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38446
38447 [BZ #11724]
38448 * elf/Makefile: Add rules to build and run new test.
38449 * elf/tst-initorder.c: New file.
38450 * elf/tst-initorder.exp: New file.
38451 * elf/tst-initordera1.c: New file.
38452 * elf/tst-initordera2.c: New file.
38453 * elf/tst-initordera3.c: New file.
38454 * elf/tst-initordera4.c: New file.
38455 * elf/tst-initorderb1.c: New file.
38456 * elf/tst-initorderb2.c: New file.
38457 * elf/tst-order-a1.c: New file.
38458 * elf/tst-order-a2.c: New file.
38459 * elf/tst-order-a3.c: New file.
38460 * elf/tst-order-a4.c: New file.
38461 * elf/tst-order-b1.c: New file.
38462 * elf/tst-order-b2.c: New file.
38463 * elf/tst-order-main.c: New file.
38464 New test case by George Gensure <werkt0@gmail.com>.
38465
38466 2010-10-01 Andreas Schwab <schwab@redhat.com>
38467
38468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38469 decoding ACE if AI_CANONIDN.
38470
38471 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38472
38473 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38474
38475 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38476
38477 * version.h (RELEASE): Bump for 2.13 release.
38478 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38479
38480 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38481
38482 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38483 MADV_NOHUGEPAGE.
38484 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38485 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38486 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38489 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38490
38491 * posix/getconf.c: Update copyright year.
38492 * catgets/gencat.c: Likewise.
38493 * csu/version.c: Likewise.
38494 * debug/catchsegv.sh: Likewise.
38495 * debug/xtrace.sh: Likewise.
38496 * elf/ldconfig.c: Likewise.
38497 * elf/ldd.bash.in: Likewise.
38498 * elf/sprof.c (print_version): Likewise.
38499 * iconv/iconv_prog.c: Likewise.
38500 * iconv/iconvconfig.c: Likewise.
38501 * locale/programs/locale.c: Likewise.
38502 * locale/programs/localedef.c: Likewise.
38503 * malloc/memusage.sh: Likewise.
38504 * malloc/mtrace.pl: Likewise.
38505 * nscd/nscd.c (print_version): Likewise.
38506 * nss/getent.c: Likewise.
38507
38508 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38509 PF_CAIF, and PF_ALG.
38510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38511
38512 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38513
38514 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38515 (modules-names): Use them.
38516 (ifunc-test-modules, ifunc-pie-tests): Define.
38517 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38518 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38519 (test-extras): Likewise.
38520 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38521 $(compile-command.c).
38522 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38523 (all-built-dso): Define.
38524 (check-textrel.out, check-execstack.out): Depend on it.
38525
38526 * configure.in: Don't override --enable-multi-arch.
38527
38528 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38529
38530 [BZ #6812]
38531 * nscd/hstcache.c (tryagain): Define.
38532 (cache_addhst): Return tryagain not notfound for temporary errors.
38533 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38534 failed.
38535
38536 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38537
38538 [BZ #10563]
38539 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38540 to make the syscall.
38541 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38542
38543 [BZ #12378]
38544 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38545 and fall back to matching as normal character if the string ends before
38546 the matching ']' is found. This is what POSIX requires.
38547 * posix/testfnm.c: Adjust test result.
38548 * posix/globtest.sh: Adjust test result. Add new test.
38549 * posix/tst-fnmatch.input: Likewise.
38550 * posix/tst-fnmatch2.c: Add new test.
38551
38552 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38553
38554 * elf/Makefile (check-execstack): Revert last change. Depend on
38555 check-execstack.h.
38556 (check-execstack.h): New target.
38557 (generated): Add check-execstack.h.
38558 * elf/check-execstack.c: Include "check-execstack.h".
38559 (main): Revert last change.
38560 (handle_file): Return zero if GNU_STACK is absent and
38561 DEFAULT_STACK_PERMS doesn't include PF_X.
38562
38563 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38564
38565 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38566 in child fails because the descriptor is already closed.
38567 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38568 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38570
38571 [BZ #12397]
38572 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38573 syscall.
38574
38575 [BZ #10484]
38576 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38577 temporary buffer used to handle multi lookups locally.
38578 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38579
38580 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38581
38582 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38583 loader is ld.so.
38584
38585 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38586
38587 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38588 alignment for SSE2.
38589
38590 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38591
38592 [BZ #12394]
38593 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38594 characters. When rounding increased number of integer digits recompute
38595 number of groups.
38596 * stdio-common/tst-grouping.c: New file.
38597 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38598
38599 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38600
38601 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38602 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38603
38604 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38605 void.
38606 * bits/select.h: Likewise.
38607
38608 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38609
38610 * po/ja.po: Update from translation team.
38611
38612 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38613
38614 [BZ #11155]
38615 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38616 implementation just like for lxstat, fxstatat, et al.
38617
38618 2010-12-27 Jim Meyering <meyering@redhat.com>
38619
38620 [BZ #12348]
38621 * posix/regexec.c (build_trtable): Return failure indication upon
38622 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38623
38624 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38625
38626 [BZ #12201]
38627 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38628 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38629 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38631
38632 [BZ #12207]
38633 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38634
38635 [BZ #12204]
38636 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38637 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38638
38639 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38640
38641 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38642 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38643 script has SORT_BY_INIT_PRIORITY.
38644 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38645 NO_CTORS_DTORS_SECTIONS is defined.
38646 * elf/soinit.c: Likewise.
38647 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38648 NO_CTORS_DTORS_SECTIONS is defined.
38649 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38650 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38651 * sysdeps/sh/init-first.c: Likewise.
38652 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38653
38654 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38655
38656 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38657 always use the slow path.
38658
38659 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38660
38661 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38662 similar rule which adds the sysdep directories to the header search in
38663 order to pick up the correct platform stackinfo.h.
38664 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38665 perform test if it is, otherwise return successfully without testing.
38666 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38667 DEFAULT_STACK_PERMS define in stackinfo.h.
38668 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38669 defined in stackinfo.h.
38670 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38671 DEFAULT_STACK_PERMS defined in stackinfo.h.
38672 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38673 * sysdeps/ia64/stackinfo.h: Likewise.
38674 * sysdeps/s390/stackinfo.h: Likewise.
38675 * sysdeps/sh/stackinfo.h: Likewise.
38676 * sysdeps/sparc/stackinfo.h: Likewise.
38677 * sysdeps/x86_64/stackinfo.h: Likewise.
38678 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38679 PF_X for powerpc64. Retain PF_X for powerpc32.
38680
38681 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38682
38683 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38684 accurately.
38685 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38686 GETDENTS_64BIT_ALIGNED.
38687
38688 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38689
38690 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38691
38692 2010-12-10 Andreas Schwab <schwab@redhat.com>
38693
38694 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38695 _GNU_SOURCE.
38696
38697 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38698 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38699 Remove __restrict.
38700 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38701 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38702
38703 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38704
38705 [BZ #11655]
38706 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38707 are initialized.
38708
38709 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38710
38711 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38712
38713 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38714
38715 * po/it.po: Update from translation team.
38716
38717 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38718
38719 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38720 unused codes.
38721
38722 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38723
38724 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38725
38726 2010-11-24 Andreas Schwab <schwab@redhat.com>
38727
38728 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38729 specially.
38730 (gaih_getanswer_slice): Likewise.
38731
38732 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38733
38734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38735
38736 2010-05-31 Petr Baudis <pasky@suse.cz>
38737
38738 [BZ #11149]
38739 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38740 silently even in the chroot mode.
38741
38742 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38743
38744 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38745 last patch a bit. Pretty printing
38746
38747 2010-05-31 Petr Baudis <pasky@suse.cz>
38748
38749 [BZ #10085]
38750 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38751 initialization of skip_initgroups_dyn.
38752
38753 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38754
38755 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38756 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38757
38758 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38759
38760 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38761
38762 2010-11-11 Andreas Schwab <schwab@redhat.com>
38763
38764 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38765 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38766 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38767 ($(objpfx)tst-fnmatch-mem): New rule.
38768 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38769 * posix/tst-fnmatch.c (main): Call mtrace.
38770
38771 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38772
38773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38774 Support Intel processor model 6 and model 0x2c.
38775
38776 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38777
38778 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38779 signed comparison.
38780
38781 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38782
38783 [BZ #12205]
38784 * string/test-strncasecmp.c (check_result): New function.
38785 (do_one_test): Use it.
38786 (check1): New function.
38787 (test_main): Use it.
38788 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38789 Support strcasecmp and strncasecmp.
38790
38791 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38792
38793 [BZ #12194]
38794 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38796
38797 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38798
38799 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38800 IFUNC support.
38801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38802 memset-x86-64.
38803 * sysdeps/x86_64/multiarch/bzero.S: New file.
38804 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38805 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38806 * sysdeps/x86_64/multiarch/memset.S: New file.
38807 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38809 Set bit_Prefer_SSE_for_memop for Intel processors.
38810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38811 Define.
38812 (index_Prefer_SSE_for_memop): Define.
38813 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38814
38815 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38816
38817 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38819
38820 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38821
38822 [BZ #12191]
38823 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38824 (__x86_64_raw_data_cache_size_half): Likewise.
38825 (__x86_64_raw_shared_cache_size): Likewise.
38826 (__x86_64_raw_shared_cache_size_half): Likewise.
38827
38828 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38829 (__x86_64_raw_data_cache_size_half): Likewise.
38830 (__x86_64_raw_shared_cache_size): Likewise.
38831 (__x86_64_raw_shared_cache_size_half): Likewise.
38832 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38833 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38834 and __x86_64_raw_shared_cache_size_half. Round
38835 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38836 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38837 to multiple of 256 bytes.
38838
38839 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38840
38841 [BZ #12167]
38842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38843 of inacessible symlinks. Verify result of symlink before returning it.
38844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38845 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38846
38847 2010-10-28 Erich Ritz <erichritz@gmail.com>
38848
38849 * math/math.h (isinf): Fix typo in comment.
38850
38851 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38852
38853 * po/da.po: Update from translation team.
38854
38855 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38856
38857 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38858 is added to the list.
38859
38860 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38861 Ulrich Drepper <drepper@gmail.com>
38862
38863 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38864 the global list here. Move code to...
38865 (_dl_add_to_namespace_list): ...here. New function.
38866 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38867 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38868 * elf/dl-load.c (lose): Don't remove the element from the list.
38869 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38870 (_dl_map_object): Likewise.
38871
38872 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38873
38874 [BZ #12159]
38875 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38876 into all bytes of SSE register.
38877 Patch by Richard Li <richardpku@gmail.com>.
38878
38879 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38880
38881 [BZ #12140]
38882 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38883 perturbing.
38884
38885 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38886
38887 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38888 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38889 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38892 submachine.
38893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38894
38895 2010-10-22 Andreas Schwab <schwab@redhat.com>
38896
38897 * include/dlfcn.h (__RTLD_SECURE): Define.
38898 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38899 mode & __RTLD_SECURE instead.
38900 (open_path): Rename preloaded parameter to secure.
38901 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38902 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38903 * elf/dl-deps.c (openaux): Likewise.
38904 * elf/rtld.c (struct map_args): Remove is_preloaded.
38905 (map_doit): Don't use it.
38906 (dl_main): Likewise.
38907 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38908 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38909
38910 2010-09-09 Andreas Schwab <schwab@redhat.com>
38911
38912 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38913 (sysd-rules-targets): Remove duplicates.
38914 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38915 rtld-%.$o dependency.
38916
38917 2010-10-18 Andreas Schwab <schwab@redhat.com>
38918
38919 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38920 _dl_map_object do it.
38921
38922 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38923
38924 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38925 fast fma builtins, define the macros in the C99 standard.
38926 (FP_FAST_FMAF): Likewise.
38927 (FP_FAST_FMAL): Likewise.
38928 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38929
38930 * bits/mathdef.h: Update copyright year.
38931 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38932
38933 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38934
38935 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38936 builtins, define the macros in the C99 standard.
38937 (FP_FAST_FMAF): Likewise.
38938 (FP_FAST_FMAL): Likewise.
38939 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38940 multiply/add.
38941 (FP_FAST_FMAF): Likewise.
38942
38943 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38944
38945 [BZ #3268]
38946 * math/libm-test.inc (fma_test): Some new testcases.
38947 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38948 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38949 y and infinite z. Do multiplication by C already in long double.
38950 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38952 y and infinite z. Do bitwise or of inexact bit into u.d.
38953 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38954 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38955 * sysdeps/i386/fpu/s_fma.S: Removed.
38956 * sysdeps/i386/fpu/s_fmal.S: Removed.
38957
38958 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38959
38960 [BZ #3268]
38961 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38963 computation is not scheduled after fetestexcept. Fix value
38964 of minimum denormal long double.
38965
38966 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38967
38968 [BZ #3268]
38969 * math/libm-test.inc (fma_test): Add some more tests.
38970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38971 correctly.
38972
38973 2010-10-15 Andreas Schwab <schwab@redhat.com>
38974
38975 * scripts/data/localplt-s390-linux-gnu.data: New file.
38976 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38977
38978 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38979
38980 [BZ #3268]
38981 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38982 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38983 instead of dbl-64.
38984 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38985 inlines.
38986 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38988 if one of x and y is very large and the other is subnormal.
38989 * sysdeps/s390/fpu/s_fmaf.c: New file.
38990 * sysdeps/s390/fpu/s_fma.c: New file.
38991 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38992 * sysdeps/powerpc/fpu/s_fma.S: New file.
38993 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38994 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38995 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38996
38997 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38998
38999 [BZ #3268]
39000 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39001 fma tests.
39002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39003 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39004 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39005 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39006 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39007 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39009
39010 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39011
39012 [BZ #12078]
39013 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39014 * posix/bug-regex31.input: Add test case.
39015
39016 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39017
39018 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39019 * posix/bug-regex31.input: New file.
39020
39021 [BZ #12078]
39022 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39023 (parse_sub_exp): Fix last change, use postorder.
39024
39025 * posix/bug-regex31.c: New file.
39026 * posix/Makefile: Add rules to build and run bug-regex31.
39027
39028 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39029
39030 [BZ #12078]
39031 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39032
39033 [BZ #12108]
39034 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39035 to have entries in sys_siglist.
39036
39037 [BZ #12093]
39038 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39039 be NULL.
39040
39041 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39042
39043 [BZ #3268]
39044 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39045 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39046 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39047 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39048 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39049 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39050 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39051 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39052 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39053 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39054 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39055 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39056 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39057 * math/ftestexcept.c (fetestexcept): Likewise.
39058 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39059 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39060 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39061 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39062 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39063 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39064 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39065
39066 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39067
39068 [BZ #12107]
39069 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39070 newline.
39071
39072 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39073
39074 * string/bug-strstr1.c: New file.
39075 * string/Makefile: Add rules to build and run bug-strstr1.
39076
39077 2010-10-05 Eric Blake <eblake@redhat.com>
39078
39079 [BZ #12092]
39080 * string/str-two-way.h (two_way_long_needle): Always clear memory
39081 when skipping input due to the shift table.
39082
39083 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39084
39085 [BZ #12005]
39086 * malloc/mcheck.c: Handle large requests.
39087
39088 [BZ #12077]
39089 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39090 for strncmp and strncasecmp.
39091 * string/stratcliff.c: Add tests for strcmp and strncmp.
39092 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39093
39094 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39095
39096 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39097 __set_fpscr.
39098
39099 2010-09-30 Andreas Jaeger <aj@suse.de>
39100
39101 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39102 (CGROUP_SUPER_MAGIC): Define.
39103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39104 Handle btrfs and cgroup file systems.
39105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39106 Likewise.
39107
39108 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39109
39110 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39111 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39112
39113 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39114
39115 [BZ #12067]
39116 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39117 trying to locate the ELF header.
39118
39119 2010-09-27 Andreas Schwab <schwab@redhat.com>
39120
39121 [BZ #11611]
39122 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39123 Mask out sign-bit copies when constructing f_fsid.
39124
39125 2010-09-24 Petr Baudis <pasky@suse.cz>
39126
39127 * debug/stack_chk_fail_local.c: Add missing licence exception.
39128 * debug/warning-nop.c: Likewise.
39129
39130 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39131
39132 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39133 implementing getdents64 using getdents syscall, set d_type if
39134 __ASSUME_GETDENTS32_D_TYPE.
39135
39136 2010-09-16 Andreas Schwab <schwab@redhat.com>
39137
39138 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39139 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39140
39141 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39142
39143 [BZ #12037]
39144 * posix/unistd.h: Undo change of feature selection for ftruncate from
39145 2010-01-11.
39146
39147 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39148
39149 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39150 detection.
39151
39152 2010-09-20 Andreas Schwab <schwab@redhat.com>
39153
39154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39155 fanotify_mark.
39156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39157
39158 2010-09-14 Andreas Schwab <schwab@redhat.com>
39159
39160 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39161 variables after CHECK_SP call.
39162 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39163
39164 2010-09-13 Andreas Schwab <schwab@redhat.com>
39165 Ulrich Drepper <drepper@redhat.com>
39166
39167 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39168 re-relocationg ld.so.
39169 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39170 _dl_init_paths call.
39171 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39172 here anymore.
39173
39174 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39175
39176 * resolv/res_init.c (__res_vinit): Count the default server we added.
39177
39178 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39179 Ulrich Drepper <drepper@redhat.com>
39180
39181 [BZ #11968]
39182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39183 (____longjmp_chk): Use %ebx for saving value across system call.
39184 Add unwind info.
39185
39186 2010-09-06 Andreas Schwab <schwab@redhat.com>
39187
39188 * manual/Makefile: Don't mix pattern rules with normal rules.
39189
39190 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39191
39192 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39193 operation.
39194 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39195 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39196 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39197 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39199 Likewise.
39200
39201 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39202
39203 [BZ #11979]
39204 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39205 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39206
39207 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39208
39209 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39210 * sysdeps/x86_64/addmul_1.S: Likewise.
39211 * sysdeps/x86_64/lshift.S: Likewise.
39212 * sysdeps/x86_64/mul_1.S: Likewise.
39213 * sysdeps/x86_64/rshift.S: Likewise.
39214 * sysdeps/x86_64/sub_n.S: Likewise.
39215 * sysdeps/x86_64/submul_1.S: Likewise.
39216
39217 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39218
39219 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39220 Define __sched_param instead of SCHED_* and sched_param when
39221 <bits/sched.h> is included with __need_schedparam defined.
39222 * bits/sched.h [__need_schedparam]
39223 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39224 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39225 (__defined_schedparam): Define to 1.
39226 (__sched_param): New structure, identical to sched_param.
39227 (__need_schedparam): Undefine.
39228
39229 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39230
39231 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39232 (epoll_create1): Declare.
39233
39234 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39235
39236 2010-08-31 Andreas Schwab <schwab@redhat.com>
39237
39238 [BZ #7066]
39239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39240 shifting retval into place.
39241
39242 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39243
39244 * nis/rpcsvc/nis.h: Update copyright notice.
39245 * nis/rpcsvc/nis.x: Likewise.
39246 * nis/rpcsvc/nis_callback.h: Likewise.
39247 * nis/rpcsvc/nis_callback.x: Likewise.
39248 * nis/rpcsvc/nis_object.x: Likewise.
39249 * nis/rpcsvc/nis_tags.h: Likewise.
39250 * nis/rpcsvc/yp.h: Likewise.
39251 * nis/rpcsvc/yp.x: Likewise.
39252 * nis/rpcsvc/ypupd.h: Likewise.
39253 * nis/yp_xdr.c: Likewise.
39254 * nis/ypupdate_xdr.c: Likewise.
39255
39256 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39257 mainly the body of pmap_getport. Add parameters to specify timeouts.
39258 (pmap_getport): Use __libc_rpc_getport.
39259 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39260 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39261 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39262
39263 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39264
39265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39266 fanotify_mark.
39267
39268 2010-08-27 Roland McGrath <roland@redhat.com>
39269
39270 * sysdeps/i386/i686/multiarch/Makefile
39271 (CFLAGS-varshift.c): New variable.
39272
39273 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39274
39275 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39276 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39277
39278 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39279
39280 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39281
39282 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39283
39284 * sysdeps/x86_64/strlen.S: Unroll the loop.
39285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39286 strlen-sse2 strlen-sse2-bsf.
39287 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39288 __strlen_no_bsf if bit_Slow_BSF is set.
39289 (__strlen_sse42): Removed.
39290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39291 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39292
39293 2010-08-25 Roland McGrath <roland@redhat.com>
39294
39295 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39296 * sysdeps/x86_64/multiarch/varshift.c: New file.
39297 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39298 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39299 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39300 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39301
39302 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39303
39304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39305 strlen-sse2 strlen-sse2-bsf.
39306 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39307 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39308 (__strlen_sse2): Removed.
39309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39310 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39312 bit_Slow_BSF for Atom.
39313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39314 (index_Slow_BSF): Define.
39315 (HAS_SLOW_BSF): Define.
39316
39317 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39318
39319 [BZ #10851]
39320 * resolv/res_init.c (__res_vinit): When no server address at all
39321 is given default to loopback.
39322
39323 2010-08-24 Roland McGrath <roland@redhat.com>
39324
39325 * configure.in: Remove config-name.h generation.
39326 * configure: Regenerated.
39327 * config-name.in: File removed.
39328 * scripts/config-uname.sh: New file.
39329 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39330 ($(objdir)config-name.h): New target.
39331
39332 * sunrpc/rpc_parse.h: Avoid nested comment.
39333
39334 2010-08-24 Richard Henderson <rth@redhat.com>
39335 Ulrich Drepper <drepper@redhat.com>
39336 H.J. Lu <hongjiu.lu@intel.com>
39337
39338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39340 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39341 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39342 _mm_alignr_epi8 with _mm_loadu_si128.
39343 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39344 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39345 (__m128i_shift_right): Removed.
39346 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39347 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39348 * sysdeps/x86_64/multiarch/varshift.h: New file.
39349 * sysdeps/x86_64/multiarch/varshift.S: New file.
39350
39351 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39352
39353 * configure.in: Move assembler checks to before sysdep dir checking.
39354
39355 2010-08-20 Petr Baudis <pasky@suse.cz>
39356
39357 * LICENSES: Sync the sunrpc license.
39358
39359 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39360
39361 * sunrpc/auth_des.c: Update copyright notice once again.
39362 * sunrpc/auth_none.c: Likewise.
39363 * sunrpc/auth_unix.c: Likewise.
39364 * sunrpc/authdes_prot.c: Likewise.
39365 * sunrpc/authuxprot.c: Likewise.
39366 * sunrpc/bindrsvprt.c: Likewise.
39367 * sunrpc/clnt_gen.c: Likewise.
39368 * sunrpc/clnt_perr.c: Likewise.
39369 * sunrpc/clnt_raw.c: Likewise.
39370 * sunrpc/clnt_simp.c: Likewise.
39371 * sunrpc/clnt_tcp.c: Likewise.
39372 * sunrpc/clnt_udp.c: Likewise.
39373 * sunrpc/clnt_unix.c: Likewise.
39374 * sunrpc/des_crypt.c: Likewise.
39375 * sunrpc/des_soft.c: Likewise.
39376 * sunrpc/get_myaddr.c: Likewise.
39377 * sunrpc/getrpcport.c: Likewise.
39378 * sunrpc/key_call.c: Likewise.
39379 * sunrpc/key_prot.c: Likewise.
39380 * sunrpc/openchild.c: Likewise.
39381 * sunrpc/pm_getmaps.c: Likewise.
39382 * sunrpc/pm_getport.c: Likewise.
39383 * sunrpc/pmap_clnt.c: Likewise.
39384 * sunrpc/pmap_prot.c: Likewise.
39385 * sunrpc/pmap_prot2.c: Likewise.
39386 * sunrpc/pmap_rmt.c: Likewise.
39387 * sunrpc/rpc/auth.h: Likewise.
39388 * sunrpc/rpc/auth_unix.h: Likewise.
39389 * sunrpc/rpc/clnt.h: Likewise.
39390 * sunrpc/rpc/des_crypt.h: Likewise.
39391 * sunrpc/rpc/key_prot.h: Likewise.
39392 * sunrpc/rpc/netdb.h: Likewise.
39393 * sunrpc/rpc/pmap_clnt.h: Likewise.
39394 * sunrpc/rpc/pmap_prot.h: Likewise.
39395 * sunrpc/rpc/pmap_rmt.h: Likewise.
39396 * sunrpc/rpc/rpc.h: Likewise.
39397 * sunrpc/rpc/rpc_des.h: Likewise.
39398 * sunrpc/rpc/rpc_msg.h: Likewise.
39399 * sunrpc/rpc/svc.h: Likewise.
39400 * sunrpc/rpc/svc_auth.h: Likewise.
39401 * sunrpc/rpc/types.h: Likewise.
39402 * sunrpc/rpc/xdr.h: Likewise.
39403 * sunrpc/rpc_clntout.c: Likewise.
39404 * sunrpc/rpc_cmsg.c: Likewise.
39405 * sunrpc/rpc_common.c: Likewise.
39406 * sunrpc/rpc_cout.c: Likewise.
39407 * sunrpc/rpc_dtable.c: Likewise.
39408 * sunrpc/rpc_hout.c: Likewise.
39409 * sunrpc/rpc_main.c: Likewise.
39410 * sunrpc/rpc_parse.c: Likewise.
39411 * sunrpc/rpc_parse.h: Likewise.
39412 * sunrpc/rpc_prot.c: Likewise.
39413 * sunrpc/rpc_sample.c: Likewise.
39414 * sunrpc/rpc_scan.c: Likewise.
39415 * sunrpc/rpc_scan.h: Likewise.
39416 * sunrpc/rpc_svcout.c: Likewise.
39417 * sunrpc/rpc_tblout.c: Likewise.
39418 * sunrpc/rpc_util.c: Likewise.
39419 * sunrpc/rpc_util.h: Likewise.
39420 * sunrpc/rpcinfo.c: Likewise.
39421 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39422 * sunrpc/rpcsvc/key_prot.x: Likewise.
39423 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39424 * sunrpc/rpcsvc/mount.x: Likewise.
39425 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39426 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39427 * sunrpc/rpcsvc/rex.x: Likewise.
39428 * sunrpc/rpcsvc/rstat.x: Likewise.
39429 * sunrpc/rpcsvc/rusers.x: Likewise.
39430 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39431 * sunrpc/rpcsvc/spray.x: Likewise.
39432 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39433 * sunrpc/rtime.c: Likewise.
39434 * sunrpc/svc.c: Likewise.
39435 * sunrpc/svc_auth.c: Likewise.
39436 * sunrpc/svc_authux.c: Likewise.
39437 * sunrpc/svc_raw.c: Likewise.
39438 * sunrpc/svc_run.c: Likewise.
39439 * sunrpc/svc_simple.c: Likewise.
39440 * sunrpc/svc_tcp.c: Likewise.
39441 * sunrpc/svc_udp.c: Likewise.
39442 * sunrpc/svc_unix.c: Likewise.
39443 * sunrpc/svcauth_des.c: Likewise.
39444 * sunrpc/xcrypt.c: Likewise.
39445 * sunrpc/xdr.c: Likewise.
39446 * sunrpc/xdr_array.c: Likewise.
39447 * sunrpc/xdr_float.c: Likewise.
39448 * sunrpc/xdr_mem.c: Likewise.
39449 * sunrpc/xdr_rec.c: Likewise.
39450 * sunrpc/xdr_ref.c: Likewise.
39451 * sunrpc/xdr_sizeof.c: Likewise.
39452 * sunrpc/xdr_stdio.c: Likewise.
39453
39454 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39455 handling.
39456
39457 2010-08-19 Andreas Schwab <schwab@redhat.com>
39458
39459 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39460
39461 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39462
39463 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39465 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39466 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39467 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39468 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39469 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39470 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39473 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39475 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39476 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39477
39478 2010-07-26 Anton Blanchard <anton@samba.org>
39479
39480 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39481 * malloc/arena.c (heap_trim): Likewise.
39482
39483 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39484
39485 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39486 here. Not...
39487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39488 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39489
39490 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39491
39492 * sysdeps/i386/elf/Makefile: New file.
39493
39494 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39495
39496 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39497 from fanotify_init.
39498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39500
39501 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39502
39503 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39504 of strncasecmp_l.
39505 * sysdeps/multiarch/strcmp.S: Likewise.
39506
39507 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39508
39509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39510 strncase_l-nonascii.
39511 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39512 Add strncase_l-ssse3.
39513 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39514 * sysdeps/x86_64/strcmp.S: Likewise.
39515 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39516 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39517 * sysdeps/x86_64/strncase.S: New file.
39518 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39519 * sysdeps/x86_64/strncase_l.S: New file.
39520 * string/Makefile (strop-tests): Add strncasecmp.
39521 * string/test-strncasecmp.c: New file.
39522
39523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39524 warning.
39525
39526 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39527 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39528
39529 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39530
39531 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39532
39533 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39534
39535 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39536 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39538
39539 2010-05-01 Alan Modra <amodra@gmail.com>
39540
39541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39542 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39543 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39544 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39545 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39546 tidying. Don't tail-call __sigjmp_save for static lib.
39547 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39548 save location.
39549 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39550 (CALL_MCOUNT): Add eh info, and nop after bl.
39551 (TAIL_CALL_SYSCALL_ERROR): New macro.
39552 (PSEUDO_RET): Use it.
39553 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39554 Correct save location of integer regs and cr.
39555 (_dl_profile_resolve): Correct cr save location. Delete nops
39556 after bl when SHARED. Reduce cfi size a little by better
39557 placement of cfi directives.
39558 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39559 make a stack frame. Instead use parm save area as a temp.
39560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39561 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39563 Don't make a stack frame for parent, use parm save area.
39564 Increase child stack frame to 112 bytes. Don't save unused reg,
39565 and adjust reg usage. Set up cfi on error recovery and
39566 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39568 (__makecontext): Add dummy nop after jump to exit.
39569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39570 Use correct parm save area and cr save, reduce stack frame.
39571 Correct cfi for possible PSEUDO_RET frame setup.
39572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39573 Branch to local label emitted by PSEUDO_RET rather than
39574 __syscall_error.
39575
39576 2010-08-12 Andreas Schwab <schwab@redhat.com>
39577
39578 [BZ #11904]
39579 * locale/programs/locale.c (print_assignment): New function.
39580 (show_locale_vars): Use it.
39581
39582 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39583
39584 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39585 field.
39586 (struct statfs64): Likewise.
39587 (_STATFS_F_FLAGS): Define.
39588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39590 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39591 (ST_VALID): Define locally.
39592 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39593 __statvfs_getflags, use the provided value.
39594 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39595 __ASSUME_STATFS_F_FLAGS.
39596
39597 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39598
39599 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39600 Add sys/fanotify.h.
39601 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39602 fanotify_mask for GLIBC_2.13.
39603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39604 fanotify_init and fanotify_mark.
39605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39606 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39607
39608 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39609 Add prlimit.
39610 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39611 prlimit64 for GLIBC_2.13.
39612 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39613 prlimit64.
39614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39615 syscall.
39616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39617 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39618 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39619 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39621 add prlimit alias.
39622 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39623
39624 [BZ #11903]
39625 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39626 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39627
39628 * nss/Makefile: Add rules to build and run tst-nss-test1.
39629 * shlib-versions: Add entry for libnss_test1.
39630 * nss/nss_test1.c: New file.
39631 * nss/tst-nss-test1.c: New file.
39632
39633 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39634 (__nss_configure_lookup): Set appropriate entry in
39635 __nss_configure_lookup to true.
39636 * nss/nsswitch.h: Define enum with indeces of databases in
39637 databases and __nss_database_custom arrays. Declare
39638 __nss_database_custom.
39639 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39640 to avoid using nscd when custom rules are installed.
39641 * nss/getXXbyYY_r.c: Likewise.
39642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39643
39644 * nss/nss_files/files-parse.c: Whitespace fixes.
39645
39646 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39647
39648 [BZ #11883]
39649 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39650 * posix/fnmatch_loop.c: Likewise.
39651
39652 2010-07-17 Andi Kleen <ak@linux.intel.com>
39653
39654 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39655 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39656 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39657 * Versions.def [GLIBC_2.13]: Add.
39658
39659 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39660
39661 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39662 Also fail if tpwd after pwuid call is NULL.
39663
39664 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39665
39666 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39667 when converting to ms.
39668
39669 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39670
39671 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39672 EOPNOTSUPP errors with ENOTTY.
39673 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39674 EOPNOTSUPP errors with ENOTTY.
39675
39676 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39677
39678 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39679 Add strcasecmp_l-ssse3.
39680 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39681 strcasecmp.
39682 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39683 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39684 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39685
39686 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39687
39688 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39689
39690 * string/Makefile (strop-tests): Add strcasecmp.
39691 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39692 strcasecmp_l-nonascii.
39693 (gen-as-const-headers): Add locale-defines.sym.
39694 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39695 * sysdeps/x86_64/strcasecmp.S: New file.
39696 * sysdeps/x86_64/strcasecmp_l.S: New file.
39697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39698 * sysdeps/x86_64/locale-defines.sym: New file.
39699 * string/test-strcasecmp.c: New file.
39700
39701 * string/test-strcasestr.c: Test both ends of the range of characters.
39702 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39703
39704 2010-07-29 Roland McGrath <roland@redhat.com>
39705
39706 [BZ #11856]
39707 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39708
39709 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39710
39711 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39712 for ld.so.
39713
39714 2010-07-27 Andreas Schwab <schwab@redhat.com>
39715
39716 * manual/memory.texi (Malloc Tunable Parameters): Document
39717 M_PERTURB.
39718
39719 2010-07-26 Roland McGrath <roland@redhat.com>
39720
39721 [BZ #11840]
39722 * configure.in (-fgnu89-inline check): Set and substitute
39723 gnu89_inline, not libc_cv_gnu89_inline.
39724 * configure: Regenerated.
39725 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39726
39727 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39728
39729 * string/test-strnlen.c: New file.
39730 * string/Makefile (strop-tests): Add strnlen.
39731 * string/tester.c (test_strnlen): Add a few more test cases.
39732 * string/tst-strlen.c: Better error reporting.
39733
39734 * sysdeps/x86_64/strnlen.S: New file.
39735
39736 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39737
39738 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39739 lower-latency instructions.
39740
39741 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39742
39743 * string/test-strcasestr.c: New file.
39744 * string/test-strstr.c: New file.
39745 * string/Makefile (strop-tests): Add strstr and strcasestr.
39746 * string/str-two-way.h: Don't undefine MAX.
39747 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39748
39749 2010-07-21 Andreas Schwab <schwab@redhat.com>
39750
39751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39752 strcasestr-nonascii.
39753 (CFLAGS-strcasestr-nonascii.c): Define.
39754 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39755 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39756 Remove unused attribute.
39757
39758 2010-07-20 Roland McGrath <roland@redhat.com>
39759
39760 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39761 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39762 ld.so.cache was broken. With it, there is no way to disable dsocaps
39763 like LD_HWCAP_MASK can disable hwcaps.
39764
39765 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39766
39767 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39768
39769 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39770
39771 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39772 call in strcasestr.
39773 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39774 __strcasestr_sse42_nonascii.
39775 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39776 strcasestr-nonascii.c.
39777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39778
39779 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39780
39781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39785
39786 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39787
39788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39789 fcntl.
39790
39791 2010-07-06 Andreas Schwab <schwab@redhat.com>
39792
39793 [BZ #11577]
39794 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39795 dl_signal_cerror.
39796
39797 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39798
39799 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39800 _PC_PIPE_BUF using F_GETPIPE_SZ.
39801
39802 2010-07-05 Roland McGrath <roland@redhat.com>
39803
39804 * manual/arith.texi (Rounding Functions): Fix rint description
39805 implicit in round description.
39806
39807 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39808
39809 * elf/Makefile: Fix linking for a few tests to make recent linker
39810 happy.
39811
39812 2010-06-30 Andreas Schwab <schwab@redhat.com>
39813
39814 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39815 $(common-objpfx)libc_nonshared.a.
39816
39817 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39818
39819 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39820 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39821 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39822 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39823 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39824 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39825 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39826 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39841 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39842 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39843 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39844 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39845 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39846 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39847 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39848 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39849 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39850 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39851 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39852 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39867
39868 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39869
39870 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39871 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39872 * string/memmove.c (memmove): Renamed to ...
39873 (MEMMOVE): ...this. Default to memmove.
39874 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39875 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39876 (END_CHK): Define.
39877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39878 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39879 mempcpy-ssse3-back memmove-ssse3-back.
39880 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39883 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39884 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39885 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39886 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39887 * sysdeps/x86_64/multiarch/memmove.c: New file.
39888 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39889 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39890 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39891 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39892 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39894 Define.
39895 (index_Fast_Copy_Backward): Define.
39896 (HAS_ARCH_FEATURE): Define.
39897 (HAS_FAST_REP_STRING): Define.
39898 (HAS_FAST_COPY_BACKWARD): Define.
39899
39900 2010-06-21 Andreas Schwab <schwab@redhat.com>
39901
39902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39903 Restore proper fallback handling.
39904
39905 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39906
39907 [BZ #11701]
39908 * posix/group_member.c (__group_member): Correct checking loop.
39909
39910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39911 OOM in getpwuid_r correctly. Return error number when the caller
39912 should return, otherwise -1.
39913 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39914 call returning > 0 value.
39915 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39916
39917 2010-06-07 Andreas Schwab <schwab@redhat.com>
39918
39919 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39920 libc_nonshared.a from targets in modules-names.
39921
39922 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39923
39924 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39925 requires it.
39926
39927 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39928
39929 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39930 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39931 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39933
39934 2010-06-02 Andreas Schwab <schwab@redhat.com>
39935
39936 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39937
39938 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39939
39940 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39941 and F_GETPIPE_SZ.
39942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39947 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39948
39949 2010-06-14 Roland McGrath <roland@redhat.com>
39950
39951 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39952
39953 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39954
39955 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39956 __REDIRECT followed by __THROW.
39957 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39958 * posix/getopt.h (getopt): Likewise.
39959
39960 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39961
39962 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39963 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39964 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39965 in AT_FLAGS.
39966 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39967 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39968
39969 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39970
39971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39972
39973 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39974
39975 [BZ #11640]
39976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39977 Properly check family and model.
39978
39979 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39980
39981 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39982
39983 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39984
39985 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39986
39987 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39988
39989 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39990 symbol reference.
39991
39992 2010-05-19 Andreas Schwab <schwab@redhat.com>
39993
39994 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39995 symbol reference.
39996
39997 2010-05-21 Andreas Schwab <schwab@redhat.com>
39998
39999 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40000 and internal_recvmmsg.
40001 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40002 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40003 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40004 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40005
40006 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40007 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40008 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40009
40010 2010-05-20 Andreas Schwab <schwab@redhat.com>
40011
40012 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40013
40014 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40015
40016 POWER7 optimizations.
40017 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40018 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40019
40020 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40021
40022 * version.h: Update for 2.13 development version.
40023
40024 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40025
40026 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40027 exceptions. Return 0.
40028
40029 2010-05-07 Roland McGrath <roland@redhat.com>
40030
40031 * elf/ldconfig.c (main): Add a const.
40032
40033 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40034
40035 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40036 (args_options): Add no-idn option.
40037 (ahosts_keys_int): Add idn_flags to ai_flags.
40038 (parse_option): Handle 'i' option to clear idn_flags.
40039
40040 * malloc/malloc.c (_int_free): Possible race in the most recently
40041 added check. Only act on the data if no current modification
40042 happened.
40043
40044 See ChangeLog.17 for earlier changes.