]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Minor formatting fix
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b8cd1c4e
SP
12014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4
bd939d23
RS
52014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6
7 * benchtests/bench-strrchr.c: Print length instead of position.
8
5d7b57ca
JM
92014-02-20 Joseph Myers <joseph@codesourcery.com>
10
bc688c10
JM
11 [BZ #16611]
12 * sysdeps/unix/sysv/linux/kernel-features.h
13 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17 Likewise.
18 [__i386__ || __powerpc__ || __sh__ || __sparc__]
19 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21 (__ASSUME_SENDMMSG): Define instead of using previous
22 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24 (__ASSUME_SENDMMSG_SYSCALL): Define.
25 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
27 Likewise.
28 * sysdeps/unix/sysv/linux/arm/kernel-features.h
29 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30 Likewise.
31 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33 Likewise.
34 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37 [__ASSUME_SENDMMSG]: Change conditionals to
38 [__ASSUME_SENDMMSG_SOCKETCALL].
39 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41 Define.
42 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
44 Likewise.
45 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48 [!__ASSUME_SENDMMSG]: Change conditional to
49 [!__ASSUME_SENDMMSG_SOCKETCALL].
50 * sysdeps/unix/sysv/linux/tile/kernel-features.h
51 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
52 Define.
53
0e31b18c
JM
54 [BZ #16610]
55 * sysdeps/unix/sysv/linux/kernel-features.h
56 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
57 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
58 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
59 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
60 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
61 [__i386__ || __sparc__]
62 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
63 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
64 (__ASSUME_RECVMMSG): Define instead of using previous
65 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
66 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
67 (__ASSUME_RECVMMSG_SYSCALL): Define.
68 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
69 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
70 Likewise.
71 * sysdeps/unix/sysv/linux/arm/kernel-features.h
72 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
73 Likewise.
74 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
75 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
76 Likewise.
77 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
78 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
79 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
80 [__ASSUME_RECVMMSG]: Change condition to
81 [__ASSUME_RECVMMSG_SOCKETCALL].
82 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
83 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
84 Define.
85 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
86 * sysdeps/unix/sysv/linux/mips/kernel-features.h
87 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
88 Likewise.
89 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
90 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
91 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
92 [!__ASSUME_RECVMMSG]: Change condition to
93 [!__ASSUME_RECVMMSG_SOCKETCALL].
94 * sysdeps/unix/sysv/linux/tile/kernel-features.h
95 (__ASSUME_RECVMMSG_SYSCALL): Define.
96
dd481ccf
JM
97 [BZ #16609]
98 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
99 __powerpc__ || __s390__ || __sh__ || __sparc__]
100 (__ASSUME_SOCKETCALL): Define.
101 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
102 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
103 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
104 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
105 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
106 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
107 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
108 (__ASSUME_ACCEPT4): Define instead of using previous
109 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
110 __powerpc__ || __sparc__ || __s390__)] condition.
111 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
112 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
113 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
114 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
115 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
116 [!__ASSUME_ACCEPT4]: Change condition to
117 [!__ASSUME_ACCEPT4_SOCKETCALL].
118 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
119 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
120 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
121 * sysdeps/unix/sysv/linux/arm/kernel-features.h
122 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
123 __ASSUME_ACCEPT4_SYSCALL.
124 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
125 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
126 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
127 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
128 __ASSUME_ACCEPT4_SYSCALL.
129 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
130 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
131 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
132 [__ASSUME_ACCEPT4]: Change condition to
133 [__ASSUME_ACCEPT4_SOCKETCALL].
134 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
135 (__ASSUME_SOCKETCALL): Define.
136 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
137 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
138 (__ASSUME_SOCKETCALL): Define.
139 (__ASSUME_ACCEPT4): Remove.
140 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
141 Define.
142 * sysdeps/unix/sysv/linux/mips/kernel-features.h
143 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
144 Likewise.
145 * sysdeps/unix/sysv/linux/tile/kernel-features.h
146 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
147
5d7b57ca
JM
148 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
149 macro.
150 (HWCAP_ARM_LPAE): Likewise.
151 (HWCAP_ARM_EVTSTRM): Likewise.
152 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
153 Add vpfd32, lpae and evtstrm.
154 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
155 Increase to 22.
156
63689d61
JM
1572014-02-19 Joseph Myers <joseph@codesourcery.com>
158
159 * math/auto-libm-test-in: Add tests of clog10.
160 * math/auto-libm-test-out: Regenerated.
161 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
162 * sysdeps/i386/fpu/libm-test-ulps: Update.
163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
164
ab09bf61
AS
1652014-02-18 Andreas Schwab <schwab@suse.de>
166
167 [BZ #16574]
168 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
169 Store non-zero if the second buffer was newly allocated.
170 (send_dg): Likewise.
171 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
172 to send_vc and send_dg.
173 (res_nsend): Pass NULL for ansp2_malloced.
174 * resolv/res_query.c (__libc_res_nquery): Add parameter
175 answerp2_malloced and pass it down to __libc_res_nsend.
176 (res_nquery): Pass additional NULL to __libc_res_nquery.
177 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
178 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
179 second answer buffer if answerp2_malloced was set.
180 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
181 (__libc_res_nquerydomain): Add parameter
182 answerp2_malloced and pass it down to __libc_res_nquery.
183 (res_nquerydomain): Pass additional NULL to
184 __libc_res_nquerydomain.
185 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
186 additional NULL to __libc_res_nsend and __libc_res_nquery.
187 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
188 additional NULL to __libc_res_nsearch.
189 (_nss_dns_gethostbyname4_r): Revert last change. Use new
190 parameter of __libc_res_nsearch to check for separately allocated
191 second buffer.
192 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
193 __libc_res_nquery.
194 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
195 additional NULL to __libc_res_nquery.
196 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
197 __libc_res_nsearch.
198 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
199 * include/resolv.h: Update prototypes of __libc_res_nquery,
200 __libc_res_nsearch, __libc_res_nsend.
201
a4fb7861
JM
2022014-02-18 Joseph Myers <joseph@codesourcery.com>
203
c6af2d89
JM
204 * math/auto-libm-test-in: Add tests of fma.
205 * math/auto-libm-test-out: Regenerated.
206 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
207 (fma_towardzero_test_data): Likewise.
208 (fma_downward_test_data): Likewise.
209 (fma_upward_test_data): Likewise.
210 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
211 mpc_mode.
212 (rounding_modes): Add values for new field.
213 (func_calc_method): Add value mpfr_fff_f.
214 (func_calc_desc): Add mpfr_fff_f union field.
215 (test_function): Add field exact_args.
216 (FUNC): Add macro argument EXACT_ARGS.
217 (FUNC_mpfr_f_f): Update call to FUNC.
218 (FUNC_mpfr_f_f): Likewise.
219 (FUNC_mpfr_ff_f): Likewise.
220 (FUNC_mpfr_if_f): Likewise.
221 (FUNC_mpc_c_f): Likewise.
222 (FUNC_mpc_c_c): Likewise.
223 (test_functions): Add fma. Update calls to FUNC.
224 (handle_input_arg): Add argument exact_args.
225 (add_test): Update call to handle_input_arg.
226 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
227 (output_for_one_input_case): Update call to calc_generic_results.
228 Recalculate exact zero results in each rounding mode.
229
a4fb7861
JM
230 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
231 non-negative before setting low bit.
232 * math/auto-libm-test-in: Mark one asin test possibly having
233 spurious underflow.
234 * math/auto-libm-test-out: Regenerated.
235 * sysdeps/i386/fpu/libm-test-ulps: Update.
236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
237
ef114eaf
DH
2382014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
239
240 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
241 * sysdeps/unix/sysv/linux/microblaze: Move directory from
242 ports/sysdeps/unix/sysv/linux/microblaze.
243 * README: Add missing listing for microblaze*-*-linux-gnu.
244
c70a4b1d
MF
2452014-02-16 Mike Frysinger <vapier@gentoo.org>
246
247 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
248 * sysdeps/unix/sysv/linux/ia64: Move directory from
249 ports/sysdeps/unix/sysv/linux/ia64.
250 * README: Update listing for ia64-*-linux-gnu.
251
591aeaf7
TD
2522014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
253 Joseph Myers <joseph@codesourcery.com>
254
255 * Makeconfig (test-name): New variable.
256 (evaluate-test): Likewise.
257 * Makerules (do-test-clean): Remove .test-result files.
258 (common-mostlyclean): Likewise.
259 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
260 * scripts/evaluate-test.sh: New file.
261
6e89caf1
JM
2622014-02-14 Joseph Myers <joseph@codesourcery.com>
263
7f98f180
JM
264 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
265 separate $(objpfx)tst-fopenloc-cmp.out and
266 $(objpfx)tst-fopenloc-mem.out targets.
267 (tests): Update dependencies.
268 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
269 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
270 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
271 (tst-rxspencer-no-utf8-ARGS): New variable.
272 (tst-rxspencer-no-utf8-ENV): Likewise.
273 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
274 instead of $(objpfx)tst-rxspencer-mem.
275 ($(objpfx)tst-rxspencer-mem): Change target to
276 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
277 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
278 * posix/tst-rxspencer-no-utf8.c: New file.
279
6e89caf1
JM
280 * elf/Makefile ($(objpfx)order.out): Remove rule.
281 [$(run-built-tests) = yes] (tests): Depend on
282 $(objpfx)order-cmp.out.
283 ($(objpfx)order-cmp.out): New rule.
284 [$(run-built-tests) = yes] (tests): Depend on
285 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
286 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
287 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
288 $(objpfx)tst-array5-static-cmp.out.
289 ($(objpfx)tst-array1.out): Remove rule.
290 ($(objpfx)tst-array1-cmp.out): New rule.
291 ($(objpfx)tst-array1-static.out): Remove rule.
292 ($(objpfx)tst-array1-static-cmp.out): New rule.
293 ($(objpfx)tst-array2.out): Remove rule.
294 ($(objpfx)tst-array2-cmp.out): New rule.
295 ($(objpfx)tst-array3.out): Remove rule.
296 ($(objpfx)tst-array3-cmp.out): New rule.
297 ($(objpfx)tst-array4.out): Remove rule.
298 ($(objpfx)tst-array4-cmp.out): New rule.
299 ($(objpfx)tst-array5.out): Remove rule.
300 ($(objpfx)tst-array5-cmp.out): New rule.
301 ($(objpfx)tst-array5-static.out): Remove rule.
302 ($(objpfx)tst-array5-static-cmp.out): New rule.
303 [$(run-built-tests) = yes] (tests): Depend on
304 $(objpfx)order2-cmp.out.
305 ($(objpfx)order2.out): Remove rule.
306 ($(objpfx)order2-cmp.out): New rule.
307 ($(objpfx)tst-initorder.out): Remove rule.
308 [$(run-built-tests) = yes] (tests): Depend on
309 $(objpfx)tst-initorder-cmp.out.
310 ($(objpfx)tst-initorder-cmp.out): New rule.
311 ($(objpfx)tst-initorder2.out): Remove rule.
312 [$(run-built-tests) = yes] (tests): Depend on
313 $(objpfx)tst-initorder2-cmp.out.
314 ($(objpfx)tst-initorder2-cmp.out): New rule.
315 [$(run-built-tests) = yes] (tests): Depend on
316 $(objpfx)tst-unused-dep-cmp.out.
317 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
318 ($(objpfx)tst-unused-dep-cmp.out): New rule.
319 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
320 on $(objpfx)tst-setvbuf1-cmp.out.
321 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
322 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
323 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
324 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
325 ($(objpfx)tst-svc.out): Remove rule.
326 ($(objpfx)tst-svc-cmp.out): New rule.
327
ed9a38e2
JM
3282014-02-13 Joseph Myers <joseph@codesourcery.com>
329
330 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
331 * ctype/ctype.h [__USE_MISC]: Likewise.
332 * dirent/dirent.h [__USE_MISC]: Likewise.
333 * grp/grp.h [__USE_MISC]: Likewise.
334 * io/fcntl.h [__USE_MISC]: Likewise.
335 * io/sys/stat.h [__USE_MISC]: Likewise.
336 * libio/stdio.h [__USE_MISC]: Likewise.
337 * posix/unistd.h [__USE_MISC]: Likewise.
338 * pwd/pwd.h [__USE_MISC]: Likewise.
339 * stdlib.h [__USE_MISC]: Likewise.
340 * string/bits/string2.h [__USE_MISC]: Likewise.
341 * string/string.h [__USE_MISC]: Likewise.
342 * time/time.h [__USE_MISC]: Likewise.
343
d6680619
AS
3442014-02-13 Andreas Schwab <schwab@suse.de>
345
346 [BZ #16574]
347 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
348 second answer buffer if it was separately allocated.
349
ace614b8
JM
3502014-02-12 Joseph Myers <joseph@codesourcery.com>
351
743151ae
JM
352 * sysdeps/mips/math-tests.h: Include <features.h>.
353 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
354 (ROUNDING_TESTS_long_double): Do not define.
355 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
356 (EXCEPTION_TESTS_long_double): Likewise.
357 * sysdeps/mips/mips64/libm-test-ulps: Update.
358
498afc54
JM
359 * include/features.h (__USE_BSD): Remove macro definitions.
360 (__USE_SVID): Likewise.
361 (_BSD_SOURCE): Likewise.
362 (_SVID_SOURCE): Likewise.
363 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
364 from definition of _DEFAULT_SOURCE.
365 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
366 [_DEFAULT_SOURCE].
367 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
368 * bits/mman.h [__USE_BSD]: Likewise.
369 * bits/termios.h [__USE_BSD]: Likewise.
370 * bits/waitstatus.h [__USE_BSD]: Likewise.
371 * ctype/ctype.h [__USE_SVID]: Likewise.
372 * dirent/dirent.h [__USE_BSD]: Likewise.
373 * grp/grp.h [__USE_SVID]: Likewise.
374 [__USE_BSD]: Likewise.
375 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
376 * io/fcntl.h [__USE_BSD]: Likewise.
377 * io/ftw.h [__USE_BSD]: Likewise.
378 * io/sys/stat.h [__USE_BSD]: Likewise.
379 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
380 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
381 * libio/stdio.h [__USE_SVID]: Likewise.
382 [__USE_BSD]: Likewise.
383 * math/math.h [__USE_SVID]: Likewise.
384 [__USE_BSD]: Likewise.
385 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
386 * misc/bits/syslog.h [__USE_BSD]: Likewise.
387 * misc/search.h [__USE_SVID]: Likewise.
388 * misc/sys/mman.h [__USE_BSD]: Likewise.
389 * misc/sys/syslog.h [__USE_BSD]: Likewise.
390 * misc/sys/uio.h [__USE_BSD]: Likewise.
391 * posix/bits/unistd.h [__USE_BSD]: Likewise.
392 * posix/glob.h [__USE_BSD]: Likewise.
393 * posix/regex.h [__USE_BSD]: Likewise.
394 * posix/sys/types.h [__USE_BSD]: Likewise.
395 [__USE_SVID]: Likewise.
396 * posix/sys/utsname.h [__USE_SVID]: Likewise.
397 * posix/sys/wait.h [__USE_BSD]: Likewise.
398 [__USE_SVID]: Likewise.
399 * posix/unistd.h [__USE_BSD]: Likewise.
400 [__USE_SVID]: Likewise.
401 * pwd/pwd.h [__USE_SVID]: Likewise.
402 * resolv/netdb.h [__USE_BSD]: Likewise.
403 * setjmp/setjmp.h [__USE_BSD]: Likewise.
404 * signal/signal.h [__USE_BSD]: Likewise.
405 [__USE_SVID]: Likewise.
406 * socket/sys/socket.h [__USE_BSD]: Likewise.
407 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
408 * stdlib/stdlib.h [__USE_BSD]: Likewise.
409 [__USE_SVID]: Likewise.
410 * string/bits/string2.h [__USE_BSD]: Likewise.
411 [__USE_SVID]: Likewise.
412 * string/bits/string3.h [__USE_BSD]: Likewise.
413 * string/endian.h [__USE_BSD]: Likewise.
414 * string/string.h [__USE_SVID]: Likewise.
415 [__USE_BSD]: Likewise.
416 * string/strings.h [__USE_BSD]: Likewise.
417 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
418 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
419 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
420 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
421 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
422 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
423 Likewise.
424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
425 Likewise.
426 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
427 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
428 Likewise.
429 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
430 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
431 Likewise.
432 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
433 Likewise.
434 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
435 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
436 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
437 Likewise.
438 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
439 Likewise.
440 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
441 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
442 * termios/termios.h [__USE_BSD]: Likewise.
443 * time/sys/time.h [__USE_BSD]: Likewise.
444 * time/time.h [__USE_BSD]: Likewise.
445 [__USE_SVID]: Likewise.
446
dd7b064c
JM
447 * Makefile (subdir_targets): Remove subdir_lint.out.
448
a2c4c199
JM
449 * stdio-common/Makefile (do-tst-unbputc): Remove target.
450 (do-tst-printf): Likewise.
451 (tests): Depend directly on $(objpfx)tst-unbputc.out and
452 $(objpfx)tst-printf.out.
453
8756f740
JM
454 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
455
1b6dd3f1
JM
456 * Makerules (check-abi-%): Change target to
457 $(objpfx)check-abi-%.out.
458 (check-abi target): Update dependencies.
459 (check-abi-pattern variable): Redirect output of diff to $@.
460 (check-abi variable): Likewise.
461 * elf/Makefile (check-abi): Update dependencies.
462
ace614b8
JM
463 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
464 unused.
465 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
466 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
467 subnormal range.
468 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
469 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
470 value has largest subnormal exponent.
471 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
472 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
473 * sysdeps/aarch64/soft-fp/sfp-machine.h
474 (_FP_TININESS_AFTER_ROUNDING): New macro.
475 * sysdeps/alpha/soft-fp/sfp-machine.h
476 (_FP_TININESS_AFTER_ROUNDING): Likewise.
477 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
478 Likewise.
479 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
480 (_FP_TININESS_AFTER_ROUNDING): Likewise.
481 * sysdeps/mips/soft-fp/sfp-machine.h
482 (_FP_TININESS_AFTER_ROUNDING): Likewise.
483 * sysdeps/powerpc/soft-fp/sfp-machine.h
484 (_FP_TININESS_AFTER_ROUNDING): Likewise.
485 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
486 Likewise.
487 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
488 (_FP_TININESS_AFTER_ROUNDING): Likewise.
489 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
490 (_FP_TININESS_AFTER_ROUNDING): Likewise.
491 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
492 Likewise.
493
fbfdf9cb
DAS
4942014-02-12 Dylan Alex Simon <dylan@dylex.net>
495
496 [BZ #16545]
497 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
498 model 1.
499
68b7efaa
RH
5002014-02-12 Richard Henderson <rth@redhat.com>
501
c70a4b1d 502 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
503 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
504 * sysdeps/unix/sysv/linux/alpha: Move directory from
505 ports/sysdeps/unix/sysv/linux/alpha.
506 * README: Update listing for alpha-*-linux-gnu.
507
cb4a2928
JM
5082014-02-11 Joseph Myers <joseph@codesourcery.com>
509
c941736c
JM
510 * include/features.h: Update comment documenting feature test
511 macros.
512 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
513 _DEFAULT_SOURCE.
514 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
515 (_SVID_SOURCE): Likewise.
516 (_DEFAULT_SOURCE): Update description of default features.
517 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
518 with _GNU_SOURCE.
519 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
520 (S_ISVTX): Likewise.
521 * manual/math.texi (Mathematical Constants): Likewise.
522 * manual/signal.texi (Interrupted Primitives): Likewise.
523 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
524 * math/test-matherr.c (_SVID_SOURCE): Do not define.
525 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
526 Don't refer to _SVID_SOURCE in warning text.
527
e8d8d7ec
JM
528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
529
cb4a2928
JM
530 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
531 already defined.
532 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
533 * sysdeps/mips/dl-lookup.c: Remove.
534 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
535
7e6424e3
AK
5362014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
537
538 [BZ #16447]
539 * math/auto-libm-test-in: Add testcase for expl.
540 * math/auto-libm-test-out: Regenerate.
541 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
542 calculation of unsafe.
543 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
544
75eff3fe
MS
5452014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
546
547 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
548 * sysdeps/unix/sysv/linux/aarch64: Move directory from
549 ports/sysdeps/unix/sysv/linux/aarch64.
550 * README: Update listing for aarch64*-*-linux-gnu.
551
d35f1e80
WN
5522014-02-11 Will Newton <will.newton@linaro.org>
553
554 * manual/probes.texi (Mathematical Function Probes): Use
555 "triggered" instead of "hit".
556
7b3436d4
WN
5572014-02-11 Will Newton <will.newton@linaro.org>
558
559 * manual/probes.texi (Internal Probes): Add documentation
560 of setjmp, longjmp and longjmp_target probes.
561
b4f12ca3
WN
5622014-02-11 Will Newton <will.newton@linaro.org>
563
564 * include/stap-probe.h: Add comment about probe argument
565 format.
566
c13a72b7
WN
5672014-02-11 Will Newton <will.newton@linaro.org>
568
569 * malloc/mtrace.c (attribute_hidden): Remove unused macro
570 definition. (tr_where, tr_freehook, tr_mallochook,
571 tr_reallochook, tr_memalignhook): Use ANSI protoype.
572
195b8165
DM
5732014-02-11 David S. Miller <davem@davemloft.net>
574
575 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
576 processing int_tests.
577
2ad7600b
JM
5782014-02-10 Joseph Myers <joseph@codesourcery.com>
579
580 * sysdeps/mips: Move directory from ports/sysdeps/mips.
581 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
582 * sysdeps/unix/sysv/linux/mips: Move directory from
583 ports/sysdeps/unix/sysv/linux/mips.
584 * README: Update listing for mips-*-linux-gnu and
585 mips64-*-linux-gnu.
586
73588a72
AS
5872014-02-10 Andreas Schwab <schwab@linux-m68k.org>
588
589 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
590 * sysdeps/unix/sysv/linux/m68k: Move directory from
591 ports/sysdeps/unix/sysv/linux/m68k.
592 * README: Update listing for m68k-*-linux-gnu.
593
4372980f
CM
5942014-02-10 Chris Metcalf <cmetcalf@tilera.com>
595
596 * sysdeps/tile: Move directory from ports/sysdeps/tile.
597 * sysdeps/unix/sysv/linux/generic: Move directory from
598 ports/sysdeps/unix/sysv/linux/generic.
599 * sysdeps/unix/sysv/linux/tile: Move directory from
600 ports/sysdeps/unix/sysv/linux/tile.
601 * README: Update listing for tile*-*-linux-gnu.
602
a1ffb40e
OB
6032014-02-10 Ondřej Bílka <neleai@seznam.cz>
604
605 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
606 * benchtests/bench-memmem.c (simple_memmem): Likewise.
607 * catgets/open_catalog.c (__open_catalog): Likewise.
608 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
609 * debug/confstr_chk.c: Likewise.
610 * debug/fread_chk.c (__fread_chk): Likewise.
611 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
612 * debug/getgroups_chk.c: Likewise.
613 * debug/mbsnrtowcs_chk.c: Likewise.
614 * debug/mbsrtowcs_chk.c: Likewise.
615 * debug/mbstowcs_chk.c: Likewise.
616 * debug/memcpy_chk.c: Likewise.
617 * debug/memmove_chk.c: Likewise.
618 * debug/mempcpy_chk.c: Likewise.
619 * debug/memset_chk.c: Likewise.
620 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
621 * debug/strcat_chk.c (__strcat_chk): Likewise.
622 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
623 * debug/strncat_chk.c (__strncat_chk): Likewise.
624 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
625 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
626 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
627 * debug/wcpncpy_chk.c: Likewise.
628 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
629 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
630 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
631 * debug/wcsncpy_chk.c: Likewise.
632 * debug/wcsnrtombs_chk.c: Likewise.
633 * debug/wcsrtombs_chk.c: Likewise.
634 * debug/wcstombs_chk.c: Likewise.
635 * debug/wmemcpy_chk.c: Likewise.
636 * debug/wmemmove_chk.c: Likewise.
637 * debug/wmempcpy_chk.c: Likewise.
638 * debug/wmemset_chk.c: Likewise.
639 * dirent/scandirat.c (SCANDIRAT): Likewise.
640 * dlfcn/dladdr1.c (dladdr1): Likewise.
641 * dlfcn/dladdr.c (dladdr): Likewise.
642 * dlfcn/dlclose.c (dlclose_doit): Likewise.
643 * dlfcn/dlerror.c (__dlerror): Likewise.
644 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
645 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
646 * dlfcn/dlopen.c (dlopen_doit): Likewise.
647 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
648 * dlfcn/dlsym.c (dlsym_doit): Likewise.
649 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
650 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
651 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
652 Likewise.
653 * elf/dl-conflict.c: Likewise.
654 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
655 * elf/dl-dst.h: Likewise.
656 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
657 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
658 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
659 * elf/dl-init.c (call_init, _dl_init): Likewise.
660 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
661 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
662 _dl_map_object_from_fd, open_verify, open_path,
663 _dl_map_object): Likewise.
664 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
665 Likewise.
666 * elf/dl-minimal.c (__libc_memalign): Likewise.
667 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
668 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
669 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
670 * elf/dl-sym.c (do_sym): Likewise.
671 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
672 _dl_tls_get_addr_soft): Likewise.
673 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
674 * elf/dl-writev.h (_dl_writev): Likewise.
675 * elf/ldconfig.c (search_dir): Likewise.
676 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
677 dl_main): Likewise.
678 * elf/setup-vdso.h (setup_vdso): Likewise.
679 * grp/compat-initgroups.c (compat_call): Likewise.
680 * grp/fgetgrent.c (fgetgrent): Likewise.
681 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
682 * grp/putgrent.c (putgrent): Likewise.
683 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
684 Likewise.
685 * hurd/hurdinit.c: Likewise.
686 * iconvdata/8bit-gap.c (struct): Likewise.
687 * iconvdata/ansi_x3.110.c : Likewise.
688 * iconvdata/big5.c : Likewise.
689 * iconvdata/big5hkscs.c : Likewise.
690 * iconvdata/cp1255.c: Likewise.
691 * iconvdata/cp1258.c : Likewise.
692 * iconvdata/cp932.c : Likewise.
693 * iconvdata/euc-cn.c: Likewise.
694 * iconvdata/euc-jisx0213.c : Likewise.
695 * iconvdata/euc-jp.c: Likewise.
696 * iconvdata/euc-jp-ms.c : Likewise.
697 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
698 * iconvdata/gb18030.c : Likewise.
699 * iconvdata/gbbig5.c (const): Likewise.
700 * iconvdata/gbgbk.c: Likewise.
701 * iconvdata/gbk.c : Likewise.
702 * iconvdata/ibm1364.c : Likewise.
703 * iconvdata/ibm930.c : Likewise.
704 * iconvdata/ibm932.c: Likewise.
705 * iconvdata/ibm933.c : Likewise.
706 * iconvdata/ibm935.c : Likewise.
707 * iconvdata/ibm937.c : Likewise.
708 * iconvdata/ibm939.c : Likewise.
709 * iconvdata/ibm943.c: Likewise.
710 * iconvdata/iso_11548-1.c: Likewise.
711 * iconvdata/iso-2022-cn.c : Likewise.
712 * iconvdata/iso-2022-cn-ext.c : Likewise.
713 * iconvdata/iso-2022-jp-3.c: Likewise.
714 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
715 * iconvdata/iso-2022-kr.c : Likewise.
716 * iconvdata/iso646.c (gconv_end): Likewise.
717 * iconvdata/iso_6937-2.c : Likewise.
718 * iconvdata/iso_6937.c : Likewise.
719 * iconvdata/iso8859-1.c: Likewise.
720 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
721 * iconvdata/shift_jisx0213.c : Likewise.
722 * iconvdata/sjis.c : Likewise.
723 * iconvdata/t.61.c : Likewise.
724 * iconvdata/tcvn5712-1.c : Likewise.
725 * iconvdata/tscii.c: Likewise.
726 * iconvdata/uhc.c : Likewise.
727 * iconvdata/unicode.c (gconv_end): Likewise.
728 * iconvdata/utf-16.c (gconv_end): Likewise.
729 * iconvdata/utf-32.c (gconv_end): Likewise.
730 * iconvdata/utf-7.c (base64): Likewise.
731 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
732 * iconv/gconv_close.c (__gconv_close): Likewise.
733 * iconv/gconv_open.c (__gconv_open): Likewise.
734 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
735 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
736 internal_ucs4le_loop_single, ucs4le_internal_loop,
737 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
738 * iconv/iconv.c (iconv): Likewise.
739 * iconv/iconv_close.c: Likewise.
740 * iconv/loop.c (SINGLE): Likewise.
741 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
742 * include/atomic.h: Likewise.
743 * inet/inet6_option.c (option_alloc): Likewise.
744 * intl/bindtextdom.c (set_binding_values): Likewise.
745 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
746 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
747 * intl/localealias.c (read_alias_file): Likewise.
748 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
749 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
750 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
751 * libio/fmemopen.c (fmemopen): Likewise.
752 * libio/iofgets.c (_IO_fgets): Likewise.
753 * libio/iofgets_u.c (fgets_unlocked): Likewise.
754 * libio/iofgetws.c (fgetws): Likewise.
755 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
756 * libio/iogetdelim.c (_IO_getdelim): Likewise.
757 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
758 adjust_wide_data, _IO_wfile_seekoff): Likewise.
759 * locale/findlocale.c (_nl_find_locale): Likewise.
760 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
761 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
762 Likewise.
763 * locale/setlocale.c (setlocale): Likewise.
764 * login/programs/pt_chown.c (main): Likewise.
765 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
766 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
767 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
768 mmap, mmap64, mremap, munmap): Likewise.
769 * math/e_exp2l.c: Likewise.
770 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
771 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
772 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
773 * math/s_catan.c (__catan): Likewise.
774 * math/s_catanf.c (__catanf): Likewise.
775 * math/s_catanh.c (__catanh): Likewise.
776 * math/s_catanhf.c (__catanhf): Likewise.
777 * math/s_catanhl.c (__catanhl): Likewise.
778 * math/s_catanl.c (__catanl): Likewise.
779 * math/s_ccosh.c (__ccosh): Likewise.
780 * math/s_ccoshf.c (__ccoshf): Likewise.
781 * math/s_ccoshl.c (__ccoshl): Likewise.
782 * math/s_cexp.c (__cexp): Likewise.
783 * math/s_cexpf.c (__cexpf): Likewise.
784 * math/s_cexpl.c (__cexpl): Likewise.
785 * math/s_clog10.c (__clog10): Likewise.
786 * math/s_clog10f.c (__clog10f): Likewise.
787 * math/s_clog10l.c (__clog10l): Likewise.
788 * math/s_clog.c (__clog): Likewise.
789 * math/s_clogf.c (__clogf): Likewise.
790 * math/s_clogl.c (__clogl): Likewise.
791 * math/s_csin.c (__csin): Likewise.
792 * math/s_csinf.c (__csinf): Likewise.
793 * math/s_csinh.c (__csinh): Likewise.
794 * math/s_csinhf.c (__csinhf): Likewise.
795 * math/s_csinhl.c (__csinhl): Likewise.
796 * math/s_csinl.c (__csinl): Likewise.
797 * math/s_csqrt.c (__csqrt): Likewise.
798 * math/s_csqrtf.c (__csqrtf): Likewise.
799 * math/s_csqrtl.c (__csqrtl): Likewise.
800 * math/s_ctan.c (__ctan): Likewise.
801 * math/s_ctanf.c (__ctanf): Likewise.
802 * math/s_ctanh.c (__ctanh): Likewise.
803 * math/s_ctanhf.c (__ctanhf): Likewise.
804 * math/s_ctanhl.c (__ctanhl): Likewise.
805 * math/s_ctanl.c (__ctanl): Likewise.
806 * math/w_pow.c: Likewise.
807 * math/w_powf.c: Likewise.
808 * math/w_powl.c: Likewise.
809 * math/w_scalb.c (sysv_scalb): Likewise.
810 * math/w_scalbf.c (sysv_scalbf): Likewise.
811 * math/w_scalbl.c (sysv_scalbl): Likewise.
812 * misc/error.c (error_tail): Likewise.
813 * misc/pselect.c (__pselect): Likewise.
814 * nis/nis_callback.c (__nis_create_callback): Likewise.
815 * nis/nis_call.c (__nisfind_server): Likewise.
816 * nis/nis_creategroup.c (nis_creategroup): Likewise.
817 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
818 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
819 * nis/nis_getservlist.c (nis_getservlist): Likewise.
820 * nis/nis_lookup.c (nis_lookup): Likewise.
821 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
822 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
823 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
824 * nis/nis_xdr.c (xdr_endpoint): Likewise.
825 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
826 internal_getgrgid_r): Likewise.
827 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
828 Likewise.
829 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
830 internal_getpwuid_r): Likewise.
831 * nis/nss_compat/compat-spwd.c (getspent_next_file,
832 internal_getspnam_r): Likewise.
833 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
834 _nss_nis_getaliasbyname_r): Likewise.
835 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
836 _nss_nis_getntohost_r): Likewise.
837 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
838 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
839 Likewise.
840 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
841 internal_nis_gethostent_r, internal_gethostbyname2_r,
842 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
843 _nss_nis_gethostbyname4_r): Likewise.
844 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
845 initgroups_netid): Likewise.
846 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
847 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
848 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
849 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
850 _nss_nis_getprotobynumber_r): Likewise.
851 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
852 _nss_nis_getsecretkey): Likewise.
853 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
854 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
855 Likewise.
856 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
857 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
858 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
859 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
860 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
861 _nss_nis_getspnam_r): Likewise.
862 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
863 Likewise.
864 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
865 _nss_nisplus_getntohost_r): Likewise.
866 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
867 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
868 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
869 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
870 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
871 Likewise.
872 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
873 _nss_nisplus_getnetbyaddr_r): Likewise.
874 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
875 _nss_nisplus_getprotobynumber_r): Likewise.
876 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
877 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
878 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
879 Likewise.
880 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
881 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
882 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
883 _nss_nisplus_getspnam_r): Likewise.
884 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
885 * nscd/aicache.c (addhstaiX): Likewise.
886 * nscd/cache.c (cache_search, prune_cache): Likewise.
887 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
888 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
889 * nscd/grpcache.c (addgrbyX): Likewise.
890 * nscd/hstcache.c (addhstbyX): Likewise.
891 * nscd/initgrcache.c (addinitgroupsX): Likewise.
892 * nscd/mem.c (gc, mempool_alloc): Likewise.
893 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
894 Likewise.
895 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
896 Likewise.
897 * nscd/nscd_getai.c (__nscd_getai): Likewise.
898 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
899 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
900 Likewise.
901 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
902 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
903 * nscd/nscd_helper.c (__readvall, open_socket,
904 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
905 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
906 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
907 * nscd/pwdcache.c (addpwbyX): Likewise.
908 * nscd/selinux.c (preserve_capabilities): Likewise.
909 * nscd/servicescache.c (addservbyX): Likewise.
910 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
911 * posix/fnmatch.c (fnmatch): Likewise.
912 * posix/getopt.c (_getopt_internal_r): Likewise.
913 * posix/glob.c (glob, glob_in_dir): Likewise.
914 * posix/wordexp.c (exec_comm_child): Likewise.
915 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
916 gaih_getanswer_slice): Likewise.
917 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
918 * resolv/res_init.c: Likewise.
919 * resolv/res_mkquery.c (res_nmkquery): Likewise.
920 * resolv/res_query.c (__libc_res_nquery): Likewise.
921 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
922 Likewise.
923 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
924 * stdio-common/perror.c (perror): Likewise.
925 * stdio-common/printf_fp.c (___printf_fp): Likewise.
926 * stdio-common/tmpnam.c (tmpnam): Likewise.
927 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
928 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
929 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
930 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
931 * stdlib/putenv.c (putenv): Likewise.
932 * stdlib/setenv.c (__add_to_environ): Likewise.
933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
934 * stdlib/strtol_l.c (INTERNAL): Likewise.
935 * string/memmem.c (memmem): Likewise.
936 * string/strerror.c (strerror): Likewise.
937 * string/strnlen.c (__strnlen): Likewise.
938 * string/test-memmem.c (simple_memmem): Likewise.
939 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
940 * sunrpc/pm_getport.c (__get_socket): Likewise.
941 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
942 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
943 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
944 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
945 Likewise.
946 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
947 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
948 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
949 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
950 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
951 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
952 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
953 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
954 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
956 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
957 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
959 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
960 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
961 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
962 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
963 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
964 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
965 Likewise.
966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
967 Likewise.
968 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
969 Likewise.
970 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
971 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
973 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
974 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
975 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
976 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
978 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
979 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
980 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
982 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
983 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
985 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
986 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
987 Likewise.
988 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
989 Likewise.
990 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
991 Likewise.
992 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
994 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
995 Likewise.
996 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
997 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
998 * sysdeps/posix/opendir.c (__opendirat): Likewise.
999 * sysdeps/posix/sleep.c: Likewise.
1000 * sysdeps/posix/tempname.c: Likewise.
1001 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1002 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1003 Likewise.
1004 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1005 elf_machine_rela): Likewise.
1006 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1007 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1008 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1009 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1010 Likewise.
1011 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1012 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1013 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1014 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1015 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1016 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1017 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1018 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1019 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1020 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1022 elf_machine_lazy_rel): Likewise.
1023 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1025 elf_machine_lazy_rel): Likewise.
1026 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1027 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1028 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1029 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1030 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1031 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1032 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1034 Likewise.
1035 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1036 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1037 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1038 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1039 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1040 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1041 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1042 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1043 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1044 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1045 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1046 Likewise.
1047 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1048 (__posix_fallocate64_l64): Likewise.
1049 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1050 (posix_fallocate): Likewise.
1051 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1052 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1053 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1054 getifaddrs_internal): Likewise.
1055 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1056 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1057 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1058 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1059 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1060 (__posix_fallocate64_l64): Likewise.
1061 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1062 Likewise.
1063 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1064 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1065 Likewise.
1066 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1067 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1068 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1070 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1071 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1072 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1073 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1076 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1077 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1078 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1079 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1080 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1081 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1084 (posix_fallocate): Likewise.
1085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1086 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1087 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1088 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1089 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1090 Likewise.
1091 * time/asctime.c (asctime_internal): Likewise.
1092 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1093 * time/tzset.c (__tzset_parse_tz): Likewise.
1094 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1095 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1096 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1097 * wcsmbs/wcsmbsload.h: Likewise.
1098
f3d338c9
OB
10992014-02-10 Ondřej Bílka <neleai@seznam.cz>
1100
1101 [BZ #15894]
1102 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1103
bdfe308a
OB
11042014-02-10 Ondřej Bílka <neleai@seznam.cz>
1105
1106 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1107 arena_get2): Remove THREAD_STATS conditionals.
1108 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1109 __malloc_stats, int): Likewise.
1110
d674667c
MF
11112014-02-08 Mike Frysinger <vapier@gentoo.org>
1112
1113 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1114 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1115
6349768c
MF
11162014-02-08 Mike Frysinger <vapier@gentoo.org>
1117
1118 * manual/setjmp.texi: Fix typos/grammar errors.
1119
0b7c7473
MF
11202014-02-08 Mike Frysinger <vapier@gentoo.org>
1121
1122 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1123 Only return early when n is <= 0. Delete unused return statement.
1124
ac8cc9e3
MF
11252014-02-08 Mike Frysinger <vapier@gentoo.org>
1126
1127 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1128 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1129 * debug/tst-longjmp_chk3.c: New file.
1130
c5bb8e23
MF
11312014-02-08 Mike Frysinger <vapier@gentoo.org>
1132
1133 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1134 (test_main): Replace code with set_fortify_handler call.
1135 * debug/test-strcpy_chk.c: Likewise.
1136 * debug/tst-chk1.c: Likewise.
1137 * debug/tst-longjmp_chk.c: Likewise.
1138 * test-skeleton.c: Include fcntl.h & paths.h
1139 (set_fortify_handler): Define.
1140
10444e42
MF
11412014-02-08 Mike Frysinger <vapier@gentoo.org>
1142
1143 * debug/tst-longjmp_chk.c: Add header comment and include
1144 ../test-skeleton.c.
1145 (do_test): Mark static.
1146 (TEST_FUNCTION): Define.
1147
1e805e8d
MF
11482014-02-08 Mike Frysinger <vapier@gentoo.org>
1149
1150 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1151 (IP_PMTUDISC_INTERFACE): Likewise.
1152 (IP_MULTICAST_IF): Likewise.
1153 (IP_MULTICAST_TTL): Likewise.
1154 (IP_MULTICAST_LOOP): Likewise.
1155 (IP_ADD_MEMBERSHIP): Likewise.
1156 (IP_DROP_MEMBERSHIP): Likewise.
1157 (IP_UNBLOCK_SOURCE): Likewise.
1158 (IP_BLOCK_SOURCE): Likewise.
1159 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1160 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1161 (IP_MSFILTER): Likewise.
1162 (MCAST_JOIN_GROUP): Likewise.
1163 (MCAST_BLOCK_SOURCE): Likewise.
1164 (MCAST_UNBLOCK_SOURCE): Likewise.
1165 (MCAST_LEAVE_GROUP): Likewise.
1166 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1167 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1168 (MCAST_MSFILTER): Likewise.
1169 (IP_MULTICAST_ALL): Likewise.
1170 (IP_UNICAST_IF): Likewise.
1171
73f79bb7
MF
11722014-02-08 Mike Frysinger <vapier@gentoo.org>
1173
1174 * timezone/Makefile: Delete $(have-ksh) check.
1175 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1176 * timezone/tzselect.ksh: Add +x mode bits.
1177
8da79b60
MF
11782014-02-08 Mike Frysinger <vapier@gentoo.org>
1179
1180 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1181 (ANON_INODE_FS_MAGIC): Likewise.
1182 (BDEVFS_MAGIC): Likewise.
1183 (BINFMTFS_MAGIC): Likewise.
1184 (BTRFS_TEST_MAGIC): Likewise.
1185 (CRAMFS_MAGIC_WEND): Likewise.
1186 (DEBUGFS_MAGIC): Likewise.
1187 (ECRYPTFS_SUPER_MAGIC): Likewise.
1188 (EXT3_SUPER_MAGIC): Likewise.
1189 (EXT4_SUPER_MAGIC): Likewise.
1190 (FUTEXFS_SUPER_MAGIC): Likewise.
1191 (HOSTFS_SUPER_MAGIC): Likewise.
1192 (HUGETLBFS_MAGIC): Likewise.
1193 (MINIX3_SUPER_MAGIC): Likewise.
1194 (MTD_INODE_FS_MAGIC): Likewise.
1195 (NILFS_SUPER_MAGIC): Likewise.
1196 (OPENPROM_SUPER_MAGIC): Likewise.
1197 (PIPEFS_MAGIC): Likewise.
1198 (PSTOREFS_MAGIC): Likewise.
1199 (QNX6_SUPER_MAGIC): Likewise.
1200 (RAMFS_MAGIC): Likewise.
1201 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1202 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1203 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1204 (SECURITYFS_MAGIC): Likewise.
1205 (SELINUX_MAGIC): Likewise.
1206 (SMACK_MAGIC): Likewise.
1207 (SOCKFS_MAGIC): Likewise.
1208 (SQUASHFS_MAGIC): Likewise.
1209 (STACK_END_MAGIC): Likewise.
1210 (TMPFS_MAGIC): Likewise.
1211 (USBDEVICE_SUPER_MAGIC): Likewise.
1212 (V9FS_MAGIC): Likewise.
1213 (XENFS_SUPER_MAGIC): Likewise.
1214 (CRAMFS_MAGIC): Fix typo in comment.
1215 (EXT2_SUPER_MAGIC): Update comment.
1216 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1217
464263cc
JM
12182014-02-08 Joseph Myers <joseph@codesourcery.com>
1219
c6bfe5c4
JM
1220 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1221 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1222 * sysdeps/unix/sysv/linux/arm: Move directory from
1223 ports/sysdeps/unix/sysv/linux/arm.
1224 * README: Update listing for arm-*-linux-gnueabi.
1225
464263cc
JM
1226 * README: Remove mention of am33.
1227
32749f6c
RM
12282014-02-07 Roland McGrath <roland@hack.frob.com>
1229
1230 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1231 than the comma operator, to avoid "rhs of comma has no effect"
1232 compiler warnings.
1233 (__sigfillset, __sigandset, __sigorset): Likewise.
1234 * include/signal.h (__sigemptyset): Likewise.
1235 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1236
d5b396c1
AM
12372014-02-07 Allan McRae <allan@archlinux.org>
1238
1239 * version.h (RELEASE): Set to "development".
1240 (VERSION): Set to "2.19.90"
1241 * NEWS: Add 2.20 section.
1242
3bfff2ed
CD
12432014-02-06 Carlos O'Donell <carlos@redhat.com>
1244
1245 [BZ #16529]
1246 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1247
ee7cc385
SP
12482014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1249
1250 * manual/contrib.texi: Update entry for Carlos O'Donell,
1251 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1252
f877c4f2
CD
12532014-02-05 Carlos O'Donell <carlos@rehdat.com>
1254
27e839f6
CD
1255 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1256
f877c4f2
CD
1257 * sysdeps/unix/sysv/linux/kernel-features.h
1258 [__LINUX_KERNEL_VERSION >= 0x020621]
1259 (__ASSUME_PROC_PID_TASK_COMM): Define.
1260
68159946
SP
12612014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1262
1263 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1264 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1265 Leonard and Allan McRae.
1266
2b528732
DM
12672014-02-04 David S. Miller <davem@davemloft.net>
1268
1269 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1270 32-bit.
1271
0ff82463
AZ
12722014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1273
c01603f7
AZ
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1275 file
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1277 New file
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1279 file.
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1281 file.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1283 New file.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1285 file.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1287 file.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1289 New file.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1291 New file.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1293 New file.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1295 New file.
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1297 New file.
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1299 New file.
1300
13012014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1302
0ff82463
AZ
1303 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1304 * shlib-versions: Likewise.
1305
1695c773
AZ
13062014-02-04 Roland McGrath <roland@hack.frob.com>
1307 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1308
1309 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1310 (abilist-pattern): New variable, set to %-le.abilist.
1311
1312 * Makerules (abilist-pattern): New variable.
1313 (vpath): Use $(abilist-pattern) in place of %.abilist.
1314 (check-abi-% pattern rule): Likewise.
1315 (check-abi, update-abi): Likewise.
1316
6c0ce4b4
EW
13172014-02-04 Eric Wong <normalperson@yhbt.net>
1318
1319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1320
dc98b8f5
EW
13212014-02-04 Eric Wong <normalperson@yhbt.net>
1322
1323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1324
481e3524
CD
13252014-02-03 Carlos O'Donell <carlos@redhat.com>
1326
1327 * manual/startup.texi: Add next, previous, and top entries for
1328 the `Program Arguments' and `Environment Variables' nodes.
1329
375592d3
AO
13302014-02-03 Alexandre Oliva <aoliva@redhat.com>
1331
1332 * manual/macros.texi: Add comments before MTASC-safety macros.
1333
f54838ba
AO
1334 * manual/users.texi: Document MTASC-safety properties.
1335
909e12ad
AO
1336 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1337 pthread_getspecific, pthread_setspecific): Format with
1338 @deftypefun, and add @safety note.
1339 * manual/signal.texi: Move comments that analyze the above
1340 functions to their home place.
1341
fd3daba4
AM
13422014-02-03 Allan McRae <allan@archlinux.org>
1343
1344 * po/sl.po: Update Slovenian translation from translation project.
1345
597636d7
AO
13462014-02-02 Alexandre Oliva <aoliva@redhat.com>
1347
1348 * manual/time.texi (timegm): Add missing blank after @c.
1349 Reported by Joseph Myers <joseph@codesourcery.com>.
1350
ee196e3c
AO
13512014-02-01 Alexandre Oliva <aoliva@redhat.com>
1352
1353 * manual/check-safety.sh: New.
1354 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1355
f8d529d5
AO
1356 * manual/terminal.texi: Document MTASC-safety properties.
1357
de55fdf4
AO
1358 * manual/filesys.texi: Document MTASC-safety properties.
1359
c3299c08
AO
1360 * manual/errno.texi: Document MTASC-safety properties.
1361
06e90b14
AO
1362 * manual/intro.texi: Document safety identifiers and
1363 conditionals.
1364
1acd4371
AO
1365 * manual/string.texi (wcstok): Fix prototype.
1366 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1367
23e5b8cb
AO
1368 * manual/time.texi: Document MTASC-safety properties.
1369
11087373
AO
1370 * manual/string.texi: Document MTASC-safety properties.
1371
5da2c93d
AO
1372 * manual/threads.texi: Document MTASC-safety properties.
1373
171e9210
AO
1374 * manual/stdio.texi: Document MTASC-safety properties.
1375
d9e02532
AO
1376 * manual/syslog.texi: Document MTASC-safety properties.
1377
6af8bab7
AO
1378 * manual/sysinfo.texi: Document MTASC-safety properties.
1379
663b02d7
AO
1380 * manual/startup.texi: Document MTASC-safety properties.
1381
973f180b
AO
1382 * manual/socket.texi: Document MTASC-safety properties.
1383
8f3c25c8
AO
1384 * manual/signal.texi: Document MTASC-safety properties.
1385
542210fb
AO
13862014-01-31 Alexandre Oliva <aoliva@redhat.com>
1387
1388 * manual/setjmp.texi: Document MTASC-safety properties.
1389
433c45a2
AO
1390 * manual/search.texi: Document MTASC-safety properties.
1391
c8ce789c
AO
1392 * manual/resource.texi: Document MTASC-safety properties.
1393
19f5d29c
AO
1394 * manual/process.texi: Document MTASC-safety properties.
1395
e2dfb7f4
AO
1396 * manual/platform.texi: Document MTASC-safety properties.
1397
8c1413f5
AO
1398 * manual/pipe.texi: Document MTASC-safety properties.
1399
03483ada
AO
1400 * manual/pattern.texi: Document MTASC-safety properties.
1401
29e7e2df
AO
1402 * manual/message.texi: Document MTASC-safety properties.
1403
9f529d7c
AO
1404 [BZ #12751]
1405 * manual/memory.texi: Document MTASC-safety properties.
1406
27aaa791
AO
1407 * manual/math.texi: Document MTASC-safety properties.
1408
f2d58726
AO
1409 * manual/locale.texi: Document MTASC-safety properties.
1410
2cc3615c
AO
1411 * manual/llio.texi: Document MTASC-safety properties.
1412
d9f0ec97
AO
1413 * manual/libdl.texi: New.
1414
e7c4409a
AO
1415 * manual/lang.texi: Document MTASC-safety properties.
1416
27bdc63c
AO
1417 * manual/job.texi: Document MTASC-safety properties.
1418
a7b90ea9
AO
1419 * manual/getopt.texi: Document MTASC-safety properties.
1420
c49130e3
AO
1421 * manual/ctype.texi: Document MTASC-safety properties.
1422
0d23a5c1
MR
14232014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1424
1425 [BZ #16046]
1426 * csu/libc-tls.c (static_map): Remove variable.
1427 (__libc_setup_tls): Use main executable's link map for TLS data.
1428 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1429 casing for LM_ID_BASE and GL(dl_nns).
1430 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1431 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1432 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1433 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1434 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1435 member.
1436 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1437 l_phnum members.
1438
0037bb60
AO
14392014-01-30 Alexandre Oliva <aoliva@redhat.com>
1440
1441 * manual/debug.texi: Document MTASC-safety properties.
1442
409e00bd
L
14432014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 [BZ #16510]
1446 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1447 of __x86_64__ when disabling x87 inline functions.
1448
86e60666
AO
14492014-01-29 Alexandre Oliva <aoliva@redhat.com>
1450
1451 * manual/charset.texi: Document MTASC-safety properties.
1452
76167637
AO
1453 * manual/crypt.texi: Document MTASC-safety properties.
1454
e567f2a0
AO
1455 * manual/conf.texi: Document MTASC-safety properties.
1456
b719dafd
AO
1457 * manual/arith.texi: Document MTASC-safety properties.
1458
4a16c662
AO
1459 * manual/argp.texi: Document MTASC-safety properties.
1460
0a57b83e
AO
1461 * manual/macros.texi: Introduce macros to document multi
1462 thread, asynchronous signal and asynchronous cancellation
1463 safety properties.
1464 * manual/intro.texi: Introduce the properties themselves.
1465
feab2397
KK
14662014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1467
1468 * sysdeps/sh/sh4/Makefile: New file.
1469
1c0d11bc
AS
14702014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1471
1472 * math/gen-libm-test.pl ($srcdir): New variable.
1473 ($auto_input): Use it.
1474
af37a8a3
SP
14752014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1476
d7b00f98
SP
1477 [BZ #16506]
1478 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1479 access beyond array bounds when parsing netgroups file.
1480
af37a8a3
SP
1481 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1482 the old buffer before realloc.
1483
0c00f062
AM
14842014-01-27 Allan McRae <allan@archlinux.org>
1485
1486 * po/fr.po: Update French translation from translation project.
1487
7d69a1b0
KK
14882014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1489
1490 * sysdeps/sh/libm-test-ulps: Regenerate.
1491
6e697ff7
DM
14922014-01-24 David S. Miller <davem@davemloft.net>
1493
1494 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1495
9cadb35c
KK
14962014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1497
1498 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1499 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1500
5d41dadf
SP
15012013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1502
1503 [BZ #16474]
1504 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1505 string pointers after reallocation.
1506
0bad441c
KK
15072014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1508
1509 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1510 __SH4A__ instead of __SH_FPU_ANY__.
1511
7007c661
KK
15122014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1513
1514 * sysdeps/sh/fpu_control.h: New file.
1515 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1516 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1517 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1518 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1519 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1520 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1521 * sysdeps/sh/sys/ucontext.h: Remove.
1522 * sysdeps/sh/sys: Remove directory.
1523
0f0c35e4
AK
15242014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1525
1526 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1527 s390/sys/ucontext.h.
1528 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1530
4959e284
L
15312014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1532
1533 [BZ #15605]
1534 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1535
d98720e0
AZ
15362014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1537
1538 [BZ#16431]
1539 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1540 Adjust the vDSO correctly for internal calls.
1541 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1542
91cbd0bc
AM
15432014-01-20 Allan McRae <allan@archlinux.org>
1544
1545 * po/ca.po: Update Catalan translation from translation project.
1546
7a02cfad
MF
15472014-01-16 Mike Frysinger <vapier@gentoo.org>
1548
1549 * sysdeps/s390/sotruss-lib.c: New file.
1550
736c304a
AZ
15512014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552
1553 [BZ#16430]
6e077ee5 1554 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1555 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1556 local calls issues by not having a PLT stub required for IFUNC calls.
1557 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1558
94d0cea0
JM
15592014-01-16 Joseph Myers <joseph@codesourcery.com>
1560
1561 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1562 * math/test-fpucw-static.c: Likewise.
1563
980cb518
SP
15642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1565
1566 [BZ #16453]
1567 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1568
2393fc01
AZ
15692014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570
1571 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1572 implementation for powerpc.
1573
d359bcc2
OB
15742014-01-15 Ondřej Bílka <neleai@seznam.cz>
1575
1576 [BZ #14782]
1577 * sysdeps/posix/system.c (__libc_system): Do not enable
1578 asynchronous cancellation.
1579
7beb48cb
AK
15802014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1581
1582 [BZ #16427]
1583 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1584 handling only for numbers special also in the IEEE case.
1585
c20d5bf5
AK
15862014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1587
1588 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1589
e83bd4ee
AM
15902014-01-11 Allan McRae <allan@archlinux.org>
1591
76d0ea69
AM
1592 * po/bg.po: Update Bulgarian translation from translation project.
1593
e83bd4ee
AM
1594 * po/de.po: Update German translation from translation project.
1595
bc2ba20a
RM
15962014-01-10 Roland McGrath <roland@hack.frob.com>
1597
1598 * sysdeps/generic/gcc-compat.h: New file.
1599
649ecea2
SP
16002014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1601
1602 * benchtests/asin-inputs: Correct slow inputs.
1603 * benchtests/acos-inputs: Likewise.
1604
1b19c006
AM
16052014-01-10 Allan McRae <allan@archlinux.org>
1606
a46dab08
AM
1607 * po:sv.po: Update Swedish translation from translation project.
1608
421df74a
AM
1609 * po/vi.po: Update Vietnamese translation from translation project.
1610
d61c51a7
AM
1611 * po/eo.po: Update Esperanto translation from translation project.
1612
0339a319
AM
1613 * po/cs.po: Update Czech translation from translation project.
1614
94ad3e99
AM
1615 * po/nl.po: Update Dutch translation from translation project.
1616
e349ca71
AM
1617 * po/pl.po: Update Polish translation from translation project.
1618
ddf930c1
AM
1619 * po/ru.po: Update Russian translation from translation project.
1620
1b19c006
AM
1621 * po/uk.po: Update Ukrainian translation from translation project.
1622
9f236c49
BM
16232014-01-08 Brooks Moses <bmoses@google.com>
1624
1625 * elf/dl-load.c: Fix comment typo.
1626
cd6701cf
CD
16272014-01-08 Carlos O'Donell <carlos@redhat.com>
1628
1629 * po/header.pot: Rename to...
1630 * po/pot.header: ... this.
1631 * po/Makefile: Use pot.header.
1632
66671c84
YK
16332014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1634 Maxim Kuvyrkov <maxim@kugelworks.com>
1635
1636 [BZ #16394]
cd6701cf
CD
1637 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1638 SRC and DEST against LEN.
66671c84 1639
38f34581
AZ
16402014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641
1642 [BZ #16414]
1643 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1644 implementation.
1645 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1646
16472014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1648
1649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1650
4c327f2a
JM
16512014-01-08 Joseph Myers <joseph@codesourcery.com>
1652
1653 [BZ #16408]
1654 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1655 for large positive arguments.
1656
b821f414
JM
16572014-01-07 Joseph Myers <joseph@codesourcery.com>
1658
1f0f2067
JM
1659 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1660
a5a326f6
JM
1661 * math/auto-libm-test-in: Mark various tests with
1662 xfail-rounding:ldbl-128ibm.
1663 * math/auto-libm-test-out: Regenerated.
1664
b821f414
JM
1665 [BZ #16407]
1666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1667 Increase overflow threshold.
1668
94c8a4bc
OB
16692014-01-07 Ondřej Bílka <neleai@seznam.cz>
1670
1671 [BZ #14286]
1672 * stdio-common/vfprintf.c: Check for integer overflow.
1673
87ded0c3
AK
16742014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1675
1676 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1677 the first argument and return value of __tls_get_addr_internal.
1678
c5eebdd0
AK
16792014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1680
1681 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1682 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1683
05d138ef
AK
16842014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1685
1686 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1687 * sysdeps/s390/rtld-global-offsets.sym: New file.
1688 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1689 GLIBC_2.19 symbol.
1690 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1691 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1692 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1693 ... this.
1694 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1695 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1696 ... this.
1697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1698 Regenerate.
1699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1700 Regenerate.
1701 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1702 halfs of GPRs for high_gprs contexts.
1703 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1704 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1705 field.
1706 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1707 uc_flags field.
1708 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1709 64 bit versions:
1710 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1711 for high GPRs (uc_high_gprs) and for future extensions
1712 (__reserved).
1713 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1714 for future extensions (__reserved).
1715 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1716 64 bit versions:
1717 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1718 SC_HIGHGPRS offset definition.
1719 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1720 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1721
93a45ff1
AK
17222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1723
1724 * Versions.def: Add GLIBC_2.19 for libpthread.
1725 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1726 siglongjmp for libpthread with GLIBC_2.19 symver.
1727 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1728 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1729 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1730 * sysdeps/s390/__longjmp.c: New file.
1731 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1732 * sysdeps/s390/longjmp.c: New file.
1733 * sysdeps/s390/setjmp.S: New file.
1734 * sysdeps/s390/sigjmp.S: New file.
1735 * sysdeps/s390/v1-longjmp.c: New file.
1736 * sysdeps/s390/v1-setjmp.h: New file.
1737 * sysdeps/s390/v1-sigjmp.c: New file.
1738 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1739 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1740 GLIBC_2.19 version.
1741 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1742 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1743 versioned symbols for ____longjmp_chk.
1744 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1745 Likewise.
1746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1747 Regenerate.
1748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1749 Regenerate.
1750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1751 Regenerate.
1752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1753 Regenerate.
1754 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1755 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1756 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1757 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1758 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1759 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1760 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1761 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1762 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1763 * sysdeps/s390/rtld-__longjmp.c: New file.
1764 * sysdeps/s390/rtld-setjmp.S: New file.
1765
eb3fc44b
JM
17662014-01-06 Joseph Myers <joseph@codesourcery.com>
1767
1768 [BZ #16400]
1769 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1770 Return -__logl (x) for small positive arguments without evaluating
1771 a polynomial.
1772
9341dde4
MF
17732014-01-06 Mike Frysinger <vapier@gentoo.org>
1774
1775 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1776 Rename to ...
1777 (__ptrace_peeksiginfo_args): ... this.
1778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1781
4cff0293
AM
17822014-01-06 Allan McRae <allan@archlinux.org>
1783
1784 * inet/netinet/in.h: Fix typo in comment.
1785
75595dcf
AJ
17862014-01-05 Andreas Jaeger <aj@suse.de>
1787
1788 * sysdeps/i386/fpu/libm-test-ulps: Update.
1789
79c1e109
AM
17902014-01-05 Allan McRae <allan@archlinux.org>
1791
dd804818
AM
1792 * po/libc.pot: Regenerated.
1793
79c1e109
AM
1794 * malloc/memusagestat.c: Fix gettext call formatting.
1795
0c813d1f
SK
17962014-01-04 Sami Kerola <kerolasa@iki.fi>
1797
1798 * nscd/nscd.c: Improve usage() output.
1799
20f4a8d9
MF
18002014-01-04 Mike Frysinger <vapier@gentoo.org>
1801
1802 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1803 * sysdeps/unix/sysv/linux/configure: Regenerated.
1804 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1805 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1806
22562bb2
JM
18072014-01-03 Joseph Myers <joseph@codesourcery.com>
1808
1809 [BZ #16390]
1810 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1811 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1812
d7ad2d9b
AZ
18132014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1814
1815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1816 extra tokens at end of #undef directive.
1817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1818 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1819 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1820
7dd009d8
JM
18212014-01-03 Joseph Myers <joseph@codesourcery.com>
1822
24db925a
JM
1823 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1824
7dd009d8
JM
1825 * math/auto-libm-test-in: Mark various tests with
1826 xfail-rounding:ldbl-128ibm.
1827 * math/auto-libm-test-out: Regenerated.
1828
396e3ecf
JM
18292014-01-02 Joseph Myers <joseph@codesourcery.com>
1830
819e5d50
JM
1831 [BZ #16386]
1832 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1833 numbers with subnormal high part when calculating exponent.
1834
90b6a1e5
JM
1835 [BZ #16385]
1836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1837 fabs.
1838
396e3ecf
JM
1839 [BZ #16384]
1840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1841 M_LN2l.
1842 (__ieee754_acoshl): Use __log1pl not __log1p.
1843
6c8dbf00
OB
18442013-01-02 Ondřej Bílka <neleai@seznam.cz>
1845
1846 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1847 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1848 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1849 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1850 Convert to GNU style.
1851 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1852 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1853 memalign_check, __malloc_set_state): Likewise.
1854 * malloc/mallocbug.c (main): Likewise.
1855 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1856 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1857 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1858 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1859 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1860 * malloc/malloc.h: Likewise.
1861 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1862 memalignhook, reallochook, mabort): Likewise.
1863 * malloc/mcheck.h: Likewise.
1864 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1865 mmap64, mremap, munmap, dest): Likewise.
1866 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1867 * malloc/morecore.c (__default_morecore): Likewise.
1868 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1869 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1870 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1871 print_and_abort): Likewise.
1872 * malloc/obstack.h: Likewise.
1873 * malloc/set-freeres.c (__libc_freeres): Likewise.
1874 * malloc/tst-mallocstate.c (main): Likewise.
1875 * malloc/tst-mtrace.c (main): Likewise.
1876 * malloc/tst-realloc.c (do_test): Likewise.
1877
d4124212
SP
18782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1879
9a3c6a6f
SP
1880 [BZ #16366]
1881 * nscd/netgroupcache.c (do_notfound): New function.
1882 (addgetnetgrentX): Use it.
1883
d4124212
SP
1884 [BZ # 16365]
1885 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1886 NSS_STATUS_NOTFOUND.
1887
97b9a009
JM
18882014-01-01 Joseph Myers <joseph@codesourcery.com>
1889
1890 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1892
d4697bc9
AM
18932014-01-01 Allan McRae <allan@archlinux.org>
1894
ddb3687f
AM
1895 * scripts/update-copyrights: Update configure input file suffix.
1896
88726d48
AM
1897 * NEWS: Update copyright year.
1898 * catgets/gencat.c: Likewise.
1899 * csu/version.c: Likewise.
1900 * debug/catchsegv.sh: Likewise.
1901 * debug/pcprofiledump.c: Likewise.
1902 * debug/xtrace.sh: Likewise.
1903 * elf/ldconfig.c: Likewise.
1904 * elf/ldd.bash.in: Likewise.
1905 * elf/pldd.c: Likewise.
1906 * elf/sotruss.ksh: Likewise.
1907 * elf/sprof.c: Likewise.
1908 * iconv/iconv_prog.c: Likewise.
1909 * iconv/iconvconfig.c: Likewise.
1910 * locale/programs/locale.c: Likewise.
1911 * locale/programs/localedef.c: Likewise.
1912 * login/programs/pt_chown.c: Likewise.
1913 * malloc/memusage.sh: Likewise.
1914 * malloc/memusagestat.c: Likewise.
1915 * malloc/mtrace.pl: Likewise.
1916 * manual/libc.texinfo: Likewise.
1917 * nscd/nscd.c: Likewise.
1918 * nss/getent.c: Likewise.
1919 * nss/makedb.c: Likewise.
1920 * posix/getconf.c: Likewise.
1921 * scripts/test-installation.pl: Likewise.
1922
d4697bc9
AM
1923 * All files with FSF copyright notices: Update copyright dates
1924 using scripts/update-copyrights.
1925 * intl/plural.c: Regenerated.
1926 * locale/programs/charmap-kw.h: Likewise.
1927 * locale/programs/locfile-kw.h: Likewise.
1928
c8590f9d
MF
19292013-12-31 Mike Frysinger <vapier@gentoo.org>
1930
1931 * sysdeps/unix/sysv/linux/configure: Regenerated.
1932 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1933 the linux/fanotify.h header.
1934 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1935 HAVE_LINUX_FANOTIFY_H is defined.
1936
b19221b9
SP
19372013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1938
dd1d85e5
SP
1939 * benchtests/cos-inputs: New inputs.
1940 * benchtests/sin-inputs: Likewise.
1941
1acbb90f
SP
1942 * benchtests/atan-inputs: New inputs. Fix name of multiple
1943 precision fallback inputs.
1944
4c012ed3
SP
1945 * benchtests/atanh-inputs: New inputs.
1946 * benchtests/tanh-inputs: Likewise.
1947
eff98324
SP
1948 * benchtests/acosh-inputs: New inputs.
1949 * benchtests/asinh-inputs: Likewise.
1950
ce641152
SP
1951 * benchtests/cosh-inputs: New inputs.
1952 * benchtests/sinh-inputs: Likewise.
1953
b19221b9
SP
1954 * benchtests/acos-inputs: Add more inputs.
1955 * benchtests/asin-inputs: Likewise.
1956
030a4976 19572013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 1958
030a4976 1959 [BZ #16375]
9dcc8f11
VS
1960 * manual/arith.texi: Fix spelling.
1961 * manual/charset.texi: Likewise.
1962 * manual/errno.texi: Likewise.
1963 * manual/filesys.texi: Likewise.
1964 * manual/lang.texi: Likewise.
1965 * manual/llio.texi: Likewise.
1966 * manual/locale.texi: Likewise.
1967 * manual/message.texi: Likewise.
1968 * manual/resource.texi: Likewise.
1969 * manual/search.texi: Likewise.
1970 * manual/setjmp.texi: Likewise.
1971 * manual/stdio.texi: Likewise.
1972 * manual/string.texi: Likewise.
1973 * manual/sysinfo.texi: Likewise.
1974 * manual/time.texi: Likewise.
1975
11520a57
CD
19762013-12-27 Carlos O'Donell <carlos@redhat.com>
1977
1978 * po/sl.po: New file.
1979
471103ae
MF
19802013-12-27 Mike Frysinger <vapier@gentoo.org>
1981
1982 * .gitignore: Add core/.gdbinit/.gdb_history.
1983
6c9642ed
AM
19842013-12-27 Allan McRae <allan@archlinux.org>
1985
1986 [BZ #16369]
1987 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1988 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1989
3f637079
BM
19902013-12-24 Brooks Moses <bmoses@google.com>
1991
1992 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1993 all compilers that claim C++98 compliance, not just GCC.
1994 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1995 Likewise.
1996
abc26e99
MK
19972013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1998
1999 * NEWS: Restore accidentally deleted bug-fix entries.
2000
362b47fe
MK
20012013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2002 Ondřej Bílka <neleai@seznam.cz>
2003
2004 [BZ #15073]
2005 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2006 have_lock.
362b47fe 2007
b9bcbbcb
OB
20082013-12-23 Ondřej Bílka <neleai@seznam.cz>
2009
2010 [BZ #12986]
2011 * manual/stdio.texi (String Input Conversions): Clarify that character
2012 classes are not supported.
2013
fb55fcd2
AZ
20142013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2015
2016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2017
ef7344f0
JM
20182013-12-22 Joseph Myers <joseph@codesourcery.com>
2019
4f40e4b3
JM
2020 [BZ #16337]
2021 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2022 Calculate results for small negative arguments directly rather
2023 than using reflection formula with special underflow handling.
2024
ef7344f0
JM
2025 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2026 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2027 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2028 (fchflags): Likewise.
2029 (revoke): Likewise.
2030 (setlogin): Likewise.
2031 (sigaltstack): Likewise.
2032 (wait4): Likewise.
2033 (sigblock): Remove.
2034 (sigsetmask): Likewise.
2035 (wait3): Likewise.
2036 (waitpid): Likewise.
2037 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2038 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2039 file.
2040 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2041 * sysdeps/unix/bsd/Makefile: ... here.
2042 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2043 * sysdeps/unix/bsd/Versions: ... here.
2044 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2045 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2046 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2047 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2048 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2049 * sysdeps/unix/bsd/sigblock.c: ... here.
2050 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2051 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2052 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2053 * sysdeps/unix/bsd/sigvec.c: ... here.
2054 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2055 * sysdeps/unix/bsd/tcdrain.c: ... here.
2056 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2057 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2058 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2059 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2060 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2061 * sysdeps/unix/bsd/wait.c: ... here.
2062 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2063 * sysdeps/unix/bsd/wait3.c: ... here.
2064 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2065 * sysdeps/unix/bsd/waitpid.c: ... here.
2066
5b0626b9
JM
20672013-12-21 Joseph Myers <joseph@codesourcery.com>
2068
2069 [BZ #16356]
2070 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2071 round-to-nearest for [!USE_AS_EXPM1L].
2072 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2073 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2074 more tests of exp and exp10. Expect some exp10 tests to miss
2075 exceptions or fail in directed rounding modes.
2076 * math/auto-libm-test-out: Regenerated.
2077 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2078 (exp10_test_tonearest): New function.
2079 (exp10_towardzero_test_data): New array.
2080 (exp10_test_towardzero): New function.
2081 (exp10_downward_test_data): New array.
2082 (exp10_test_downward): New function.
2083 (exp10_upward_test_data): New array.
2084 (exp10_test_upward): New function.
2085 (main): Call the new functions.
2086 * sysdeps/i386/fpu/libm-test-ulps: Update.
2087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2088
7fda5682
JM
20892013-12-20 Joseph Myers <joseph@codesourcery.com>
2090
31e3a405
JM
2091 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2092 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2093 * math/auto-libm-test-out: Regenerated.
2094 * math/libm-test.inc (acosh_test_data): Add more tests.
2095 (atanh_test_data): Likewise.
2096 (ceil_test_data): Likewise.
2097 (copysign_test_data): Likewise.
2098 * sysdeps/i386/fpu/libm-test-ulps: Update.
2099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2100
85bff96a
JM
2101 * timezone/checktab.awk: Update from tzcode 2013i.
2102 * timezone/private.h: Likewise.
2103 * timezone/scheck.c: Likewise.
2104 * timezone/tzfile.h: Likewise.
2105 * timezone/tzselect.ksh: Likewise.
2106 * timezone/zdump.c: Likewise.
2107 * timezone/zic.c: Likewise.
2108
b7867a3b
JM
2109 * math/auto-libm-test-in: Add tests of cpow.
2110 * math/auto-libm-test-out: Regenerated.
2111 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2112 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2113 mpc_cc_c.
2114 (func_calc_desc): Add mpc_cc_c union field.
2115 (test_functions): Add cpow.
2116 (special_fill_2pi): New function.
2117 (special_real_inputs): Add 2pi.
2118 (calc_generic_results): Handle mpc_cc_c.
2119 * sysdeps/i386/fpu/libm-test-ulps: Update.
2120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2121
7fda5682
JM
2122 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2123 csqrt, ctan and ctanh.
2124 * math/auto-libm-test-out: Regenerated.
2125 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2126 (TEST_COND_x86): Likewise.
2127 (ccos_test_data): Use AUTO_TESTS_c_c.
2128 (ccosh_test_data): Likewise.
2129 (cexp_test_data): Likewise.
2130 (clog_test_data): Likewise.
2131 (csqrt_test_data): Likewise.
2132 (ctan_test_data): Likewise.
2133 (ctan_tonearest_test_data): Likewise.
2134 (ctan_towardzero_test_data): Likewise.
2135 (ctan_downward_test_data): Likewise.
2136 (ctan_upward_test_data): Likewise.
2137 (ctanh_test_data): Likewise.
2138 (ctanh_tonearest_test_data): Likewise.
2139 (ctanh_towardzero_test_data): Likewise.
2140 (ctanh_downward_test_data): Likewise.
2141 (ctanh_upward_test_data): Likewise.
2142 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2143 mpc_c_c.
2144 (func_calc_desc): Add mpc_c_c union field.
2145 (FUNC_mpc_c_c): New macro.
2146 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2147 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2148 ctanh.
2149 (special_fill_min_subnorm_p120): New function.
2150 (special_real_inputs): Add min_subnorm_p120.
2151 (calc_generic_results): Handle mpc_c_c.
2152 * sysdeps/i386/fpu/libm-test-ulps: Update.
2153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2154
5ff8d60e
SP
21552013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2156
392dd2de
SP
2157 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2158 do_sin_slow): New functions.
2159 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2160 cslow2, csloww1, csloww2): Use the new functions.
2161
84ba214c
SP
2162 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2163 Use M to change sign of result instead of X. Assume X is
2164 positive.
2165 (csloww1): Likewise.
2166 (__sin): Adjust.
2167 (__cos): Adjust.
2168
975195e4
SP
2169 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2170 arguments A and DA.
2171 (__sin): Adjust.
2172 (__cos): Likewise.
2173
5ff8d60e
SP
2174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2175 (__cos): Likewise.
2176 (sloww1): Don't adjust sign of DX.
2177 (csloww1): Likewise.
2178 (sloww2): Use X directly and don't adjust sign of DX.
2179 (csloww2): Likewise.
2180
eb983568
JM
21812013-12-19 Joseph Myers <joseph@codesourcery.com>
2182
64a17f1a
JM
2183 * math/auto-libm-test-in: Add tests of cabs and carg.
2184 * math/auto-libm-test-out: Regenerated.
2185 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2186 (carg_test_data): Likewise.
2187 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2188 mpc_c_f.
2189 (func_calc_desc): Add mpc_c_f union field.
2190 (test_functions): Add cabs and carg.
2191 (calc_generic_results): Handle mpc_c_f.
2192
eb983568
JM
2193 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2194 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2195 as a macro and a compat symbol.
2196 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2197 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2198 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2199 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2200 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2201 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2202 not use .hidden.
2203 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2204 Likewise.
2205 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2206 Likewise.
2207 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2208 Likewise.
2209 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2210 Likewise.
2211 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2212 Likewise.
2213 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2214 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2215 from GLIBC_2.3.2.
2216
6eeb678a
AZ
22172013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2218
2219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2220
6f6fc482
JM
22212013-12-19 Joseph Myers <joseph@codesourcery.com>
2222
21fea2e2
JM
2223 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2224 trailing whitespace removed.
2225 * scripts/config.guess: Update to version 2013-11-29.
2226 * scripts/config.sub: Update to version 2013-10-01.
2227
6f6fc482
JM
2228 * math/auto-libm-test-in: Add tests of sincos.
2229 * math/auto-libm-test-out: Regenerated.
2230 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2231 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2232 mpfr_f_11.
2233 (func_calc_desc): Add mpfr_f_11 union field.
2234 (test_functions): Add sincos.
2235 (calc_generic_results): Handle mpfr_f_11.
2236 * sysdeps/i386/fpu/libm-test-ulps: Update.
2237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2238
83f5c32d
AS
22392013-12-19 Andreas Schwab <schwab@suse.de>
2240
2241 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2242 CALL_MCOUNT.
2243 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2244 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2245 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2246
c688b419
JM
22472013-12-19 Joseph Myers <joseph@codesourcery.com>
2248
335ee092
JM
2249 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2250 * sysdeps/i386/fpu/libm-test-ulps: Update.
2251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2252
f88acd39
JM
2253 [BZ #16293]
2254 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2255 round-to-nearest mode when using frndint.
2256 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2257 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2258 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2259 Likewise.
2260 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2261 sinh test to fail.
2262 * math/auto-libm-test-out: Regenerated.
2263 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2264 (TEST_COND_x86): Likewise.
2265 (expm1_tonearest_test_data): New array.
2266 (expm1_test_tonearest): New function.
2267 (expm1_towardzero_test_data): New array.
2268 (expm1_test_towardzero): New function.
2269 (expm1_downward_test_data): New array.
2270 (expm1_test_downward): New function.
2271 (expm1_upward_test_data): New array.
2272 (expm1_test_upward): New function.
2273 (main): Run the new test functions.
2274 * sysdeps/i386/fpu/libm-test-ulps: Update.
2275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2276
c688b419
JM
2277 * include/features.h: Update comment documenting feature test
2278 macros. Mention _DEFAULT_SOURCE in comment.
2279 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2280 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2281 _BSD_SOURCE and _SVID_SOURCE.
2282 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2283 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2284 !_SVID_SOURCE]: Likewise.
2285 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2286 (__USE_POSIX_IMPLICITLY): Define.
2287 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2288 (_POSIX_SOURCE): Undefine and redefine.
2289 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2290 (_POSIX_C_SOURCE): Likewise.
2291 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2292 (Feature Test Macros): Update documentation of default features.
2293
9f6e964c
RS
22942013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2295
2296 * benchtests/Makefile: Add bench-strtok.
2297 * benchtests/bench-strtok.c: New file: strtok benchtest.
2298
ee0a148a
AM
22992013-12-19 Allan McRae <allan@archlinux.org>
2300
2301 * manual/install.texi: Suppress menu for plain text output.
2302 * INSTALL: Regenerated.
2303
b9ab448f
BM
23042013-12-18 Brooks Moses <bmoses@google.com>
2305
2306 [BZ #15846]
2307 * misc/getauxval.c: Include errno.h.
2308 (__getauxval): Set errno to ENOENT if the requested type is not
2309 found.
2310 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2311 don't declare with __attribute_const__.
2312 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2313 * manual/startup.texi: Document that getauxval sets errno.
2314
23776487
JM
23152013-12-18 Joseph Myers <joseph@codesourcery.com>
2316
f889953b
JM
2317 * math/auto-libm-test-in: Add tests of jn and yn.
2318 * math/auto-libm-test-out: Regenerated.
2319 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2320 (yn_test_data): Likewise.
2321 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2322 mpfr_if_f.
2323 (func_calc_desc): Add mpfr_if_f union field.
2324 (FUNC_mpfr_if_f): New macro.
2325 (test_functions): Add jn and yn.
2326 (calc_generic_results): Assert type of second input for
2327 mpfr_ff_f. Handle mpfr_if_f.
2328 (output_for_one_input_case): Disable all checking for arguments
2329 fitting floating-point types in case of an integer argument.
2330 * sysdeps/i386/fpu/libm-test-ulps: Update.
2331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2332
23776487
JM
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2334 Don't expect fegetround reference in libm.so.
2335
cb756c6d
MS
23362013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2337
2338 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2339 $(config-cflags-nofma).
2340
2dec468f
JM
23412013-12-18 Joseph Myers <joseph@codesourcery.com>
2342
5953eb3a
JM
2343 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2344 * math/auto-libm-test-out: Regenerated.
2345
2dec468f
JM
2346 [BZ #16338]
2347 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2348 to determine exponent and adjust argument to have exponent of -1.
2349 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2350 log2.
2351 * math/auto-libm-test-out: Regenerated.
2352 * sysdeps/i386/fpu/libm-test-ulps: Update.
2353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2354
4d84e6ad
OB
23552013-12-18 Ondřej Bílka <neleai@seznam.cz>
2356
2357 * manual/probes.texi: Remove cases when per-thread arenas are
2358 disabled.
2359
1818483b
AS
23602013-12-18 Andreas Schwab <schwab@suse.de>
2361
2362 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2363 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2364 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2365 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2366 * sysdeps/i386/i686/multiarch/Makefile: Update.
2367 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2368
25de95bf
JM
23692013-12-17 Joseph Myers <joseph@codesourcery.com>
2370
2371 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2372 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2373
674762d9
PE
23742013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2375
ed27ed83 2376 [BZ #15968]
0748546f
PE
2377 Support TZ transition times < 00:00:00.
2378 This is needed for version-3 tz-format files; it supports time
2379 stamps past 2037 for America/Godthab (the only entry in the tz
2380 database for which this change is relevant).
2381 * manual/time.texi (TZ Variable): Document transition times
2382 from -167:59:59 through -00:00:01.
2383 * time/tzset.c (tz_rule): Time of day is now signed.
2384 (__tzset_parse_tz): Parse negative time of day.
2385
4480e934
PE
2386 Document TZ transition times >= 25:00:00.
2387 * manual/time.texi (TZ Variable): Document transition times from
2388 25:00:00 through 167:59:59. These are already supported, and this
2389 support will help with version-3 tz-format files.
2390
69947401
PE
2391 * manual/time.texi (TZ Variable): Modernize North America example
2392 to reflect current (i.e., 2007-and-later) daylight saving rules.
2393
674762d9
PE
2394 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2395
7011c262
JM
23962013-12-17 Joseph Myers <joseph@codesourcery.com>
2397
2fc6557e
JM
2398 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2399 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2401 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2402 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2403 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2404 * sysdeps/unix/bsd/clock.c: Likewise.
2405 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2406 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2407 * sysdeps/unix/bsd/init-posix.c: Likewise.
2408 * sysdeps/unix/bsd/poll.c: Likewise.
2409 * sysdeps/unix/bsd/ptsname.c: Likewise.
2410 * sysdeps/unix/bsd/seekdir.c: Likewise.
2411 * sysdeps/unix/bsd/setegid.c: Likewise.
2412 * sysdeps/unix/bsd/seteuid.c: Likewise.
2413 * sysdeps/unix/bsd/setgid.c: Likewise.
2414 * sysdeps/unix/bsd/setrgid.c: Likewise.
2415 * sysdeps/unix/bsd/setruid.c: Likewise.
2416 * sysdeps/unix/bsd/setsid.c: Likewise.
2417 * sysdeps/unix/bsd/setuid.c: Likewise.
2418 * sysdeps/unix/bsd/sigaction.c: Likewise.
2419 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2420 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2421 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2422 * sysdeps/unix/bsd/telldir.c: Likewise.
2423 * sysdeps/unix/bsd/times.c: Likewise.
2424 * sysdeps/unix/bsd/usleep.c: Likewise.
2425
029c7b25
JM
2426 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2427 ($(objpfx)libbsd-compat.a): Remove rule.
2428
7011c262
JM
2429 * include/features.h (__FAVOR_BSD): Do not define.
2430 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2431 features conflicting with POSIX.
2432 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2433 (_BSD_SOURCE): Remove description of not being a subset of other
2434 feature test macros.
2435 * manual/job.texi (getpgrp): Do not document BSD version.
2436 (getpgid): Do not document by reference to BSD getpgrp.
2437 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2438 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2439 * signal/signal.h [__FAVOR_BSD]: Likewise.
2440 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2441 instead of making contents conditional on [__FAVOR_BSD].
2442 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2443
affb6f78
AZ
24442013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2445
2446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2447
c88769dd
JM
24482013-12-17 Joseph Myers <joseph@codesourcery.com>
2449
6432a540
JM
2450 [BZ #16314]
2451 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2452 values below 2**-450, not 2**-500.
2453 * math/auto-libm-test-in: Don't allow spurious underflow from
2454 hypot.
2455 * math/auto-libm-test-out: Regenerated.
2456
c88769dd
JM
2457 [BZ #16316]
2458 [BZ #16330]
2459 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2460 values of ha and hb and sort them after adjusting subnormal
2461 arguments.
2462 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2463 Likewise.
2464 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2465 values of ea and eb and sort them after adjusting subnormal
2466 arguments.
2467 * math/auto-libm-test-in: Do not expect some hypot tests of
2468 subnormals to fail. Add more hypot tests.
2469 * math/auto-libm-test-out: Regenerated.
2470
29618f6b
KK
24712013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2472
2473 [BZ #13304]
2474 * sysdeps/sh/s_fma.c: New file.
2475 * sysdeps/sh/s_fmaf.c: New file.
2476 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2477 version.
2478 * sysdeps/sh/Implies: Add sh/soft-fp.
2479
eacfdfbf
RM
24802013-12-16 Roland McGrath <roland@hack.frob.com>
2481
2482 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2483 level of indirection to members `objname', `errstring', `malloced'.
2484 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2485 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2486 it as the __longjmp argument (just pass 1 instead).
2487 (_dl_catch_error): Initialize C with argument pointers and address of
2488 volatile local ERRCODE rather than copying values out of C at return.
2489
ff362e5b
JM
24902013-12-16 Joseph Myers <joseph@codesourcery.com>
2491
2492 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2493 * math/auto-libm-test-out: Regenerated.
2494 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2495 (hypot_test_data): Likewise.
2496 (pow_test_data): Likewise.
2497 (pow_tonearest_test_data): Likewise.
2498 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2499 mpfr_ff_f.
2500 (func_calc_desc): Add mpfr_ff_f union field.
2501 (FUNC_mpfr_ff_f): New macro.
2502 (test_functions): Add atan2, hypot and pow.
2503 (special_fill_min): New function.
2504 (special_fill_minus_min): Likewise.
2505 (special_fill_min_subnorm): Likewise.
2506 (special_fill_minus_min_subnorm): Likewise.
2507 (special_real_inputs): Add min, -min, min_subnorm and
2508 -min_subnorm.
2509 (calc_generic_results): Handle mpfr_ff_f.
2510 * sysdeps/i386/fpu/libm-test-ulps: Update.
2511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2512
5764c27f
WN
25132013-12-16 Will Newton <will.newton@linaro.org>
2514
2515 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2516 (Aligned Memory Blocks): Add documentation for aligned_alloc
2517 and suggest it as an alternative to posix_memalign.
2518 (Hooks for Malloc): Document __memalign_hook is also called
2519 for aligned_alloc. (Summary of Malloc): Add summary for
2520 aligned alloc. Document __memalign_hook is also called
2521 for aligned_alloc.
2522
0a096e44
WN
25232013-12-16 Will Newton <will.newton@linaro.org>
2524
2525 * manual/memory.texi (Malloc Examples): Clarify default
2526 alignment documentation. Suggest posix_memalign rather
2527 than memalign or valloc.
2528 (Aligned Memory Blocks): Remove suggestion to use memalign
2529 or valloc. Remove obsolete comment about BSD.
2530 Document memalign errno values and mark the function obsolete.
2531 Document posix_memalign returned error codes. Mark valloc
2532 as obsolete. (Hooks for Malloc): __memalign_hook is also
2533 called for posix_memalign and valloc.
2534 (Summary of Malloc): Add posix_memalign to function summary.
2535 __memalign_hook is also called for posix_memalign and valloc.
2536
8d561986
SP
25372013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2538
2539 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2540 TAYLOR_SIN.
2541 (__sin): Adjust.
2542 (__cos): Likewise.
2543 (sloww): Use mynumber union. Expand ternary operator into
2544 if-else statements.
2545 (cslow): use mynumber union.
2546
73616a74
AM
25472013-12-16 Allan McRae <allan@archlinux.org>
2548
9e8ac24b
AM
2549 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2550 * configure: Regenerated.
2551
6f8e37eb
AM
2552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2553
8894bad3
AM
2554 [BZ #14120]
2555 * configure.ac: Added --enable-maintainer-mode. Check for
2556 autoconf when enabled.
2557 * configure: Regenerated.
2558
73616a74
AM
2559 * nscd/nscd.service: New file.
2560 * nscd/nscd.tmpfiles: New file.
2561
584b18eb
OB
25622013-12-14 Ondřej Bílka <neleai@seznam.cz>
2563
2564 [BZ #12100]
2565 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2566 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2567 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2568 (strstr): Add __strstr_sse2_unaligned ifunc.
2569 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2570 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2571 (strcasestr): Remove __strcasestr_sse42 ifunc.
2572 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2575
8a5c7897
KK
25762013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2577
2578 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2579 * sysdeps/sh/bits/fenv.h: ... here.
2580 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2581
fd712ef3
AZ
25822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2583
2584 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2585
42fcb46c
AZ
25862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2587
2588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2589 hypotf multiarch implementations.
2590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2591 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2592 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2593 multiarch hypot for PPC64.
2594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2597 multiarch hypotf for PPC64.
2598
83efded4
AZ
25992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2600
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2602 modff multiarch implementations.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2606 multiarch modf for PPC64.
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2610 multiarch modff for PPC64.
2611
43e246d2
AZ
26122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2613
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2615 and logl multiarch implementations.
2616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2619 multiarch logb for PPC64.
2620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2623 multiarch logb for PPC64.
2624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2627 multiarch logb for PPC64.
2628
8fdad123
AZ
26292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2632 isinff multiarch implementation.
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2634 file.
2635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2637 multiarch isinf for PPC64.
2638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2639 file.
2640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2641 multiarch isinff for PPC64.
2642
1481d706
AZ
26432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2644
2645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2646 finitef multiarch implementation.
2647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2648 file.
2649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2651 multiarch finite for PPC64.
2652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2653 file.
2654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2655 multiarch finitef for PPC64.
2656
5ccd5fc8
AZ
26572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2658
2659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2660 lrint multiarch implementation.
2661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2662 file.
2663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2665 multiarch llrint for PPC64.
2666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2667 multiarch lrint for PPC64.
2668
2568f3fa
AZ
26692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670
2671 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2672 copysignf multiarch implementation.
2673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2674 file.
2675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2676 file.
2677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2678 multiarch copysign for PPC64.
2679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2680 multiarch copysignf for PPC64.
2681
1cb341fd
AZ
26822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2683
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2685 multiarch implementation.
2686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2687 file.
2688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2689 file.
2690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2691 file.
2692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2693 file.
2694 multiarch llround for PPC64.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2696 multiarch trunc for PPC64.
2697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2698 multiarch truncf for PPC64.
2699
59a3e194
AZ
27002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2703 multiarch implementation.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2705 file.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2707 file.
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2709 file.
2710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2711 file.
2712 multiarch llround for PPC64.
2713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2714 multiarch round for PPC64.
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2716 multiarch roundf for PPC64.
2717
357fd3b4
AZ
27182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2721 multiarch implementation.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2723 file.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2725 file.
2726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2727 file.
2728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2729 file.
2730 multiarch llround for PPC64.
2731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2732 multiarch floor for PPC64.
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2734 multiarch floorf for PPC64.
2735
96770f12
AZ
27362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2737
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2739 multiarch implementation.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2741 file.
2742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2743 file.
2744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2745 file.
2746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2747 file.
2748 multiarch llround for PPC64.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2750 multiarch ceil for PPC64.
2751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2752 multiarch ceilf for PPC64.
2753
c3627f6e
AZ
27542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2755
2756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2757 multiarch implementation.
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2759 file.
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2761 file.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2763 file.
2764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2765 multiarch llround for PPC64.
2766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2767 multiarch lround for PPC64.
2768
b2284ad7
AZ
27692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2770
2771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2772 multiarch implementation.
2773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2776 file.
2777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2780 multiarch isnan for PPC64.
2781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2782 multiarch isnanf for PPC64.
2783
69bbc63d
AZ
27842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2785
2786 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2787 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2788 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2789 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2790 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2792
c24517c9
AZ
27932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2794
2795 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2796 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2797 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2798 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2799
a52374e8
AZ
28002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2801
2802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2803 multiarch implementations.
2804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2805 (__libc_ifunc_impl_list): Likewise.
2806 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2807 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2808 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2809 multiarch stpcpy for PPC64.
2810
7f5ec113
AZ
28112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2812
2813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2814 multiarch implementations.
2815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2816 (__libc_ifunc_impl_list): Likewise.
2817 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2818 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2819 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2820 multiarch strcpy for PPC64.
2821
e28bcd42
AZ
28222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2823
2824 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2825 redefine function name.
2826 (_wordcopy_fwd_dest_aligned): Likewise.
2827 (_wordcopy_bwd_aligned): Likewise.
2828 (_wordcopy_bwd_dest_aligned): Likewise.
2829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2830 multiarch implementations.
2831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2832 (__libc_ifunc_impl_list): Likewise.
2833 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2834 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2835 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2836 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2837 multiarch wcscpy for PPC64.
2838
92cacfce
AZ
28392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2840
2841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2842 multiarch implementations.
2843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2844 (__libc_ifunc_impl_list): Likewise.
2845 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2846 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2847 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2848 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2849 multiarch wcscpy for PPC64.
2850
7b714620
AZ
28512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852
2853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2854 multiarch implementations.
2855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2856 (__libc_ifunc_impl_list): Likewise.
2857 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2858 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2859 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2860 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2861 multiarch wcsrchr for PPC64.
2862
16fd2ae3
AZ
28632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2864
2865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2866 multiarch implementations.
2867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2868 (__libc_ifunc_impl_list): Likewise.
2869 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2870 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2871 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2872 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2873 multiarch wcschr for PPC64.
2874
9ee2969b
AZ
28752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876
2877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2878 multiarch implementations.
2879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2880 (__libc_ifunc_impl_list): Likewise.
2881 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2882 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2883 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2884 multiarch strchrnul for PPC64.
2885
372dc060
AZ
28862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2887
2888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2889 implementations.
2890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2891 (__libc_ifunc_impl_list): Likewise.
2892 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2893 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2894 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2895 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2896 strchr for PPC64.
2897
24c2c3b9
AZ
28982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899
2900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2901 implementations.
2902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2903 (__libc_ifunc_impl_list): Likewise.
2904 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2905 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2906 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2907 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2908 strncmp for PPC64.
2909
1c92d9a0
AZ
29102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2911
2912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2913 multiarch implementations.
2914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2915 (__libc_ifunc_impl_list): Likewise.
2916 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2917 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2918 strncasecmp for PPC64.
2919 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2920 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2921 multiarch strncasecmp_l for PPC64.
2922
17de3ee3
AZ
29232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2924
2925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2926 multiarch implementations.
2927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2928 (__libc_ifunc_impl_list): Likewise.
2929 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2930 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2931 multiarch strcasecmp for PPC64.
2932 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2933 file.
2934 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2935 multiarch strcasecmp_l for PPC64.
2936
62982bf9
AZ
29372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2938
2939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2940 implementations.
2941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2942 (__libc_ifunc_impl_list): Likewise.
2943 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2944 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2945 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2946 strnlen for PPC64.
2947
a65f4904
AZ
29482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2949
2950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2951 implementations.
2952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2953 (__libc_ifunc_impl_list): Likewise.
2954 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2955 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2956 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2957 strlen for PPC64.
2958
1fd005ad
AZ
29592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2960
2961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2962 implementations.
2963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2964 (__libc_ifunc_impl_list): Likewise.
2965 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2966 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2967 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2968 rawmemrchr for PPC64.
2969
cd05ba91
AZ
29702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2971
2972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2973 implementation.
2974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2975 (__libc_ifunc_impl_list): Likewise.
2976 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2977 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2978 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2979 memrchr for PPC64.
2980
870f8676
AZ
29812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2982
2983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2984 implementation.
2985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2986 (__libc_ifunc_impl_list): Likewise.
2987 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2988 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2989 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2990 memchr for PPC64.
2991
f00be62b
AZ
29922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2993
2994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2995 implementation.
2996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2997 (__libc_ifunc_impl_list): Likewise.
2998 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2999 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3000 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3001 mempcpy for PPC64.
3002
8a29a3d0
AZ
30032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004
3005 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3006 avoid cretion of __bzero symbol.
3007 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3008 Likewise.
3009 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3010 Likewise.
3011 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3012 Likewise.
3013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3014 multiarch implementations.
3015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3016 (__libc_ifunc_impl_list): Likewise.
3017 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3018 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3019 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3020 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3021 bzero for PPC32.
3022 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3023 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3024 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3025 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3026 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3027 memset for PPC64.
3028 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3029
07253fcf
AZ
30302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3031
3032 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3034 implementations.
3035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3036 (__libc_ifunc_impl_list): Likewise.
3037 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3038 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3039 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3040 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3041 memcmp for PPC64.
3042
b5beafbc
AZ
30432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3044
3045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3046 multiarch for POWER/PPC64.
3047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3048 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3050 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3051 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3052 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3053 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3055 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3056 memcpy for PPC64.
3057
5e6a4d4b
AZ
30582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3059
3060 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3061 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3062 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3063 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3064 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3065 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3066 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3067 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3068 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3069 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3070 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3071 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3072 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3073 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3074 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3082
ddfab6dc
KK
30832013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3084
3085 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3086
19b5525e
SP
30872013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3088
3089 * benchtests/Makefile (bench): Add exp2 and log2.
3090 (LDLIBS-bench-exp2): Add -lm.
3091 (LDLIBS-bench-log2): Likewise.
3092 * benchtests/exp2-inputs: New inputs file.
3093 * benchtests/log2-inputs: New inputs file.
3094 * benchtests/log-inputs: Add new inputs.
3095 * benchtests/tan-inputs: Likewise.
3096
196f7f5d
SP
30972013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3098
7a74607f
SP
3099 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3100 definition...
3101 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3102 csloww1, csloww2): ... from here.
3103
196f7f5d
SP
3104 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3105 instead of structures.
3106 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3107 (POLYNOMIAL): Likewise.
3108 (TAYLOR_SLOW): Likewise.
3109 (__sin): Likewise.
3110 (__cos): Likewise.
3111 (slow1): Likewise.
3112 (slow2): Likewise.
3113 (sloww): Likewise.
3114 (sloww1); Likewise.
3115 (sloww2): Likewise.
3116 (bsloww1): Likewise.
3117 (bsloww2): Likewise.
3118 (cslow2): Likewise.
3119 (csloww): Likewise.
3120 (csloww1): Likewise.
3121 (csloww2): Likewise.
3122
0dfa665c
OB
31232013-12-10 Ondřej Bílka <neleai@seznam.cz>
3124
3125 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3126 (__malloc_assert, __libc_realloc, __libc_calloc,
3127 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3128 memcpy and memset.
3129 * malloc/hooks.c (realloc_check): Likewise.
3130
5782a80f
OB
31312013-12-10 Ondřej Bílka <neleai@seznam.cz>
3132
3133 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3134 * malloc/arena.c: Remove PER_THREAD conditional.
3135 [!PER_THREAD]: Remove code.
3136 (ptmalloc_unlock_all2): Likewise.
3137 (ptmalloc_init): Likewise.
3138 (_int_new_arena): Likewise.
3139 (arena_get2): Likewise.
3140 * malloc/hooks.c (__malloc_get_state): Likewise.
3141 (__malloc_set_state): Likewise.
3142 * malloc/malloc.c: Likewise.
3143 (struct malloc_state): Likewise.
3144 (struct malloc_par): Likewise.
3145 (__libc_realloc): Likewise.
3146 (__libc_mallopt): Likewise.
3147
aeb95445
AZ
31482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3149
3150 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3151
e8349efd
OB
31522013-12-09 Ondřej Bílka <neleai@seznam.cz>
3153
3154 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3155 macro to a function. Check for zero perturb_byte.
3156 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3157
f3eeb3fc
OB
31582013-12-09 Ondřej Bílka <neleai@seznam.cz>
3159
3160 * malloc/malloc.c: (force_reg): Remove.
3161 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3162 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3163 force_reg by atomic_forced_read.
3164 * malloc/arena.c (ptmalloc_init): Likewise.
3165 * malloc/hooks.c (top_check): Likewise.
3166
be2f9009
AZ
31672013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3168
3169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3170
e7b914bd
MT
31712013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3172
3173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3174
9f0be4f8
JM
31752013-12-08 Joseph Myers <joseph@codesourcery.com>
3176
3177 * math/auto-libm-test-in: Add tests of lgamma.
3178 * math/auto-libm-test-out: Regenerated.
3179 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3180 (M_LOG_2_SQRT_PIl): Likewise.
3181 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3182 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3183 mpfr_f_f1.
3184 (func_calc_desc): Add mpfr_f_f1 union field.
3185 (ARGS1): New macro.
3186 (ARGS2): Likewise.
3187 (ARGS3): Likewise.
3188 (ARGS4): Likewise.
3189 (RET1): Likewise.
3190 (RET2): Likewise.
3191 (CALC): Likewise.
3192 (FUNC): Likewise.
3193 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3194 (test_functions): Add lgamma.
3195 (calc_generic_results): Handle mpfr_f_f1.
3196 * sysdeps/i386/fpu/libm-test-ulps: Update.
3197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3198
24eeafdb
AZ
31992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3200
3201 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3202 __mpn_add_n for PowerPC64/POWER7.
3203 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3204 __mpn_sub_n for PowerPC64/POWER7.
3205
4a2c0fd4
AZ
32062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3207
3208 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3209 __mpn_addmul_1 for PowerPC64.
3210 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3211 __mpn_submul_1 for PowerPC64.
3212 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3213 for PowerPC64.
3214 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3215 for PowerPC64.
3216
4b5b548c
FS
32172013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3218
3219 [BZ #15089]
3220 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3221
0a3ac0aa
AZ
32222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3223
3224 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3225
ccdc8438
AZ
32262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3227
3228 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3229 add multiarch folders.
3230 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3231 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3232 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3233 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3234 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3235 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3236 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3237 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3238 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3239 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3240 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3247
2e973d99
AZ
32482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3249
3250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3251 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3253 New file.
3254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3255 New file.
3256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3257 multiarch __ieee754_hypot for PowerPC32.
3258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3259 New file.
3260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3261 New file.
3262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3263 multiarch __ieee754_hypotf for PowerPC32.
3264
2d9470b2
AZ
32652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3266
3267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3268 long_double_symbol only if __logbl is defined.
3269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3270 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3271 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3272 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3273 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3274 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3275 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3276 path for implementation.
3277 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3278 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3280 logb, and logbl multiarch implementations for PowerPC32.
3281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3282 file.
3283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3284 file.
3285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3286 multiarch logb for PowerPC32.
3287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3288 file.
3289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3290 file.
3291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3292 multiarch logbf for PowerPC32.
3293 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3295 file.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3297 multiarch logbl implementation for PowerPC32.
3298
5212ffce
AZ
32992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3300
3301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3302 and modff multiarch implementations.
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3304 New file.
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3306 New file.
3307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3308 multiarch modf for PowerPC32.
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3310 New file.
3311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3312 New file.
3313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3314 multiarch modff for PowerPC32.
3315
79dccf31
AZ
33162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3317
3318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3319 and lrintf multiarch implementations.
3320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3321 New file.
3322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3323 New file.
3324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3325 multiarch lrint for PowerPC32.
3326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3327 file: multiarch lrintf for PowerPC32.
3328
deb66480
AZ
33292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3330
3331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3332 and lroundf multiarch implementations.
3333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3334 New file.
3335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3336 New file.
3337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3338 New file.
3339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3340 multiarch lround for PowerPC32.
3341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3342 file: multiarch lroundf for PowerPC32.
3343
264b036b
AZ
33442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3345
3346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3347 copysign and copysignf multiarch implementations.
3348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3349 New file.
3350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3351 New file.
3352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3353 file: multiarch copysign for PowerPC32.
3354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3355 file: multiarch copysignf for PowerPC32.
3356
d47db6c9
AZ
33572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3358
3359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3360 and truncf multiarch implementations.
3361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3362 New file.
3363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3364 file.
3365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3366 multiarch trunc for PowerPC32.
3367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3368 New file.
3369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3370 New file.
3371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3372 multiarch truncf for PowerPC32.
3373
ddb60b5a
AZ
33742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3375
3376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3377 and roundf multiarch implementations.
3378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3379 New file.
3380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3381 file.
3382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3383 multiarch round for PowerPC32.
3384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3385 New file.
3386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3387 New file.
3388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3389 multiarch roundf for PowerPC32.
3390
bedcf49b
AZ
33912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3392
3393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3394 and floorf multiarch implementations.
3395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3396 New file.
3397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3398 file.
3399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3400 multiarch floor for PowerPC32.
3401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3402 New file.
3403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3404 New file.
3405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3406 multiarch floorf for PowerPC32.
3407
35ae5b40
AZ
34082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3409
3410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3411 and ceilf multiarch implementations.
3412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3413 New file.
3414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3415 file.
3416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3417 multiarch ceil for PowerPC32.
3418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3419 New file.
3420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3421 file.
3422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3423 multiarch ceilf for PowerPC32.
3424
ae1a4cd9
AZ
34252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3426
3427 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3428 is defined.
3429 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3430 FINITEF is defined.
3431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3432 and finitef multiarch implementations.
3433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3434 New file.
3435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3436 file.
3437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3438 multiarch finite for PowerPC32.
3439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3440 New file.
3441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3442 file: multiarch finitef for PowerPC32.
3443
64fffd65
AZ
34442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3445
3446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3447 and isinff multiarch implementations.
3448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3449 file.
3450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3451 file.
3452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3453 multiarch isinf for PowerPC32.
3454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3455 New file.
3456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3457 multiarch isinff for PowerPC32.
3458
8e4e7ba2
AZ
34592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3460
3461 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3462 alias when __isnan is defined.
3463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3464 and isnanf multiarch implementations.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3466 file.
3467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3468 file.
3469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3470 file.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3472 file.
3473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3474 multiarch isnan for PowerPC32.
3475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3476 New file.
3477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3478 New file.
3479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3480 multiarch isnanf for PowerPC32.
3481
ddba588e
AZ
34822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3483
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3485 and sqrtf multiarch implementations.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3487 file.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3489 file.
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3491 multiarch sqrt for PowerPC32.
3492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3493 file.
3494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3495 file.
3496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3497 multiarch sqrtf for PowerPC32.
3498
0f96a2f0
AZ
34992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3500
3501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3502 and llroundf multiarch implementations.
3503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3504 New file.
3505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3506 New file.
3507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3508 New file.
3509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3510 file: multiarch llround for PowerPC32.
3511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3512 file: multiarch llroundf for PowerPC32.
3513
c9b5d79e
AZ
35142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3515
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3517 multiarch PowerPC32 fpu implementations.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3519 New file.
3520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3521 New file.
3522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3523 multiarch llrint for PowerPC32.
3524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3525 New file.
3526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3527 New file.
3528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3529 file.
3530
9cbb3aab
AZ
35312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532
3533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3534
ea5a72f8
AZ
35352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3536
3537 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3538 file.
3539 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3540 file.
3541 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3542 file.
3543 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3544 multiarch wordcopy for PPC32.
3545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3546 wordcopy objects.
3547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3548 (__libc_ifunc_impl_list): Likewise.
3549 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3550 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3551 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3552 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3553 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3554 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3555
93be09e7
AZ
35562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3557
3558 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3560 file.
3561 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3562 file.
3563 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3564 file.
3565 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3566 multiarch wcscpy for PPC32.
3567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3568 multiarch objects.
3569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3570 (__libc_ifunc_impl_list): Likewise.
3571 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3572 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3573 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3574 sysdeps/powerpc/power6/wcscpy.c.
3575
bb04e529
AZ
35762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3577
3578 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3580 file.
3581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3582 file.
3583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3584 file.
3585 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3586 multiarch wcsrchr for PPC32.
3587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3588 multiarch objects.
3589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3590 (__libc_ifunc_impl_list): Likewise.
3591 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3592 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3593 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3594 sysdeps/powerpc/power6/wcsrchr.c.
3595
05b5cd1c
AZ
35962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3597
3598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3599 file.
3600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3601 file.
3602 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3604 multiarch wcschr 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/wcschr.c: Move ...
3610 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3611 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3612 sysdeps/powerpc/power6/wcschr.c.
3613
ba964147
AZ
36142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3615
3616 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3617 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3618 file.
3619 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3620 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3621 file: multiarch strchr for PPC32.
3622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3623 multiarch objects.
3624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3625 (__libc_ifunc_impl_list): Likewise.
3626
31c81aaa
AZ
36272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3628
3629 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3630 name.
3631 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3632 file.
3633 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3634 file.
3635 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3636 multiarch strchrnul for PPC32.
3637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3638 multiarch objects.
3639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3640 (__libc_ifunc_impl_list): Likewise.
3641
0d0607d9
AZ
36422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3643
3644 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3645 file.
3646 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3647 multiarch strncasecmp for PPC32.
3648 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3649 file.
3650 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3651 multiarch strncasecmp_l for PPC32.
3652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3653 strncasecmp multiarch objects.
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3655 (__libc_ifunc_impl_list): Likewise.
3656
4dfd5c86
AZ
36572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3658
3659 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3660 file.
3661 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3662 multiarch strncasecmp for PPC32.
3663 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3664 New file.
3665 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3666 multiarch strcasecmp_l for PPC32.
3667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3668 multiarch objects.
3669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3670 (__libc_ifunc_impl_list): Likewise.
3671
a19e01a3
AZ
36722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3673
3674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3675 file.
3676 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3677 file.
3678 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3679 multiarch strncmp for PPC32.
3680 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3681 multiarch objects.
3682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3683 (__libc_ifunc_impl_list): Likewise.
3684
ae9cf7a2
AZ
36852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3686
3687 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3688 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3689 file.
3690 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3691 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3693 multiarch objects.
3694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3695 (__libc_ifunc_impl_list): Likewise.
3696
3148bb7d
AZ
36972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3698
3699 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3700 file.
3701 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3702 file.
3703 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3705 multiarch objects.
3706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3707 (__libc_ifunc_impl_list): Likewise.
3708
7af8b946
AZ
37092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3710
3711 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3712 file.
3713 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3714 file.
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3716 multiarch rawmemchr for PPC32.
3717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3718 multiarch objects.
3719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3720 (__libc_ifunc_impl_list): Likewise.
3721
03a6aa6a
AZ
37222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3723
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3725 file.
3726 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3727 file.
3728 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3729 file: memrchr multiarch for PPC32.
3730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3731 multiarch objects.
3732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3733 (__libc_ifunc_impl_list): Likewise.
3734
1c62e6d9
AZ
37352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3736
3737 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3738 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3739 file.
3740 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3741 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3742 multiarch memchr for PPC32.
3743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3744 multiarch objects.
3745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3746 (__libc_ifunc_impl_list): Likewise.
3747
87da8bdb
AZ
37482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3749
3750 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3751 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3752 file.
3753 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3754 file.
3755 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3756 file: multiarch mempcpy for PPC32.
3757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3758 multiarch objects.
3759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3760 (__libc_ifunc_impl_list): Likewise.
3761
20ed4714
AZ
37622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3763
3764 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3765 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3766 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3767 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3768 multiarch bzero for PPC32.
3769 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3770 file.
3771 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3772 file.
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3774 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3775 file: multiarch memset for PPC32.
3776 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3778 memset multiarch objects.
3779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3780 (__libc_ifunc_impl_list): Likewise.
3781
ab3e3a46
AZ
37822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3783
3784 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3785 file.
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3787 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3788 memcmp for PPC32.
3789 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3791 multiarch objects.
3792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3793 (__libc_ifunc_impl_list): Likewise.
3794
930de6f0
AZ
37952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3796
3797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3798 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3800 file.
3801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3802 file.
3803 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3804 file.
3805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3806 multiarch memcpy for PPC32.
3807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3808 multiarch objects.
3809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3810 (__libc_ifunc_impl_list): Likewise.
3811
4c628e00
AZ
38122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3813
3814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3815 support multiarch for POWER/PPC32.
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3817 Likewise.
3818 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3820 Implies file to make multiarch folder appers before the fpu and
3821 default folder for power4 configuration.
3822
f4479220
SP
38232013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3824
3825 * scripts/bench.pl: Append volatile keyword to type.
3826
8517800f
KK
38272013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3828
3829 * sysdeps/sh/sotruss-lib.c: New file.
3830 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3831
180138f1
AZ
38322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3833
3834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3835
bbf37bdc
JM
38362013-12-05 Joseph Myers <joseph@codesourcery.com>
3837
e47cc4e0
JM
3838 [BZ #6810]
3839 * math/w_tgamma.c: Include <errno.h>.
3840 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3841 * math/w_tgammaf.c: Include <errno.h>.
3842 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3843 * math/w_tgammal.c: Include <errno.h>.
3844 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3845 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3846 underflow. Add more tgamma tests.
3847 * math/auto-libm-test-out: Regenerated.
3848 * sysdeps/i386/fpu/libm-test-ulps: Update.
3849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3850
bbf37bdc
JM
3851 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3852 sin, sinh, tan, tanh, tgamma, y0 and y1.
3853 * math/auto-libm-test-out: Regenerated.
3854 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3855 (TEST_COND_x86): Likewise.
3856 (M_E2l): Remove macro.
3857 (M_E3l): Likewise.
3858 (M_2_SQRT_PIl): Likewise.
3859 (M_SQRT_PIl): Likewise.
3860 (M_1_DIV_El): Likewise.
3861 (log_test_data): Use AUTO_TESTS_f_f.
3862 (log10_test_data): Likewise.
3863 (log1p_test_data): Likewise.
3864 (log2_test_data): Likewise.
3865 (sin_test_data): Likewise.
3866 (sin_tonearest_test_data): Likewise.
3867 (sin_towardzero_test_data): Likewise.
3868 (sin_downward_test_data): Likewise.
3869 (sin_upward_test_data): Likewise.
3870 (sinh_test_data): Likewise.
3871 (sinh_tonearest_test_data): Likewise.
3872 (sinh_towardzero_test_data): Likewise.
3873 (sinh_downward_test_data): Likewise.
3874 (sinh_upward_test_data): Likewise.
3875 (tan_test_data): Likewise.
3876 (tan_tonearest_test_data): Likewise.
3877 (tan_towardzero_test_data): Likewise.
3878 (tan_downward_test_data): Likewise.
3879 (tan_upward_test_data): Likewise.
3880 (tanh_test_data): Likewise.
3881 (tgamma_test_data): Likewise.
3882 (y0_test_data): Likewise.
3883 (y1_test_data): Likewise.
3884 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3885 (special_real_inputs): Add pi/4.
3886 * sysdeps/i386/fpu/libm-test-ulps: Update.
3887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3888
eb5ad6b9
AZ
38892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3890
3891 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3892 "longjmp_target" static probes.
3893 (__longjmp): Rename to __longjmp_symbol.
3894 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3895 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3896 on which longjmp to generate.
3897 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3898 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3899 probe.
3900 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3901 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3902 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3903 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3904 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3905 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3907 __longjmp_symbol based on which __longjmp to generate.
3908 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3909 probe.
3910 (setjmp): Rename to setjmp_symbol.
3911 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3912 (_setjmp): Rename to _setjmp_symbol.
3913 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3914 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3915 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3916 which setjmp to generate.
3917 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3918 "longjmp_target" static probes.
3919
d136c6dc
SP
39202013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3921
9298ecba
SP
3922 * benchtests/README: Add note about output arguments.
3923 * benchtests/bench-sincos.c: Remove file.
3924 * benchtests/sincos-inputs: New file.
3925 * scripts/bench.pl: Identify output arguments and define
3926 static variables for them.
3927
232983e9
SP
3928 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3929
d136c6dc
SP
3930 [BZ #15941]
3931 * Makefile (INSTALL): Add install-plain.texi as the primary
3932 dependency.
3933 * manual/install-plain.texi: New file.
3934 * manual/install.texi: Include node directive only for
3935 non-plaintext output.
3936
699ff837
JM
39372013-12-04 Joseph Myers <joseph@codesourcery.com>
3938
ab07cea8
JM
3939 * stdlib/longlong.h: Update from GCC.
3940
699ff837
JM
3941 [BZ #6807]
3942 [BZ #15901]
3943 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3944 * math/w_j0f.c (y0f): Likewise.
3945 * math/w_j0l.c (__y0l): Likewise.
3946 * math/w_j1.c (y1): Likewise.
3947 * math/w_j1f.c (y1f): Likewise.
3948 * math/w_j1l.c (__y1l): Likewise
3949 * math/w_jn.c (yn): Likewise.
3950 * math/w_jnf.c (ynf): Likewise.
3951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3952 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3953 value for Bessel function domain errors outside _SVID_ mode.
3954 Adjust sign of return value for yn (negative integer, 0).
3955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3956 by zero in return for negative x and set sign appropriately for
3957 negative n.
3958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3960 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3961 expectations in error cases.
3962 (y1_test_data): Likewise.
3963 (yn_test_data): Likewise.
3964 * sysdeps/i386/fpu/libm-test-ulps: Update.
3965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3966
5b118558
UW
39672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3968
3969 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3970 "64" to "64-v1". Add "64-v2".
3971 (abi-64-options): Rename to ...
3972 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3973 (abi-64-condition): Rename to ...
3974 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3975 (abi-64-ld-soname): Rename to ...
3976 (abi-64-v1-ld-soname): ... this.
3977 (abi-64-v2-options): Define.
3978 (abi-64-v2-condition): Likewise.
3979 (abi-64-v2-ld-soname): Likewise.
3980 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3981 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3985
61cd8fe4
UW
39862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3987 Alan Modra <amodra@gmail.com>
3988
3989 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3990 New versions for use with the ELFv2 ABI.
3991 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3992 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3993 declaration.
3994 (struct La_ppc64v2_retval): Likewise.
3995 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3996 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3997 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3998 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3999 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4000 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4001 Do not save or restore CR.
4002 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4003 (_dl_profile_resolve): Do no save or restore CR. Support extended
4004 return values for ELFv2 ABI. Fix location of FPR return registers.
4005 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4006 updated values for _CALL_ELF == 2.
4007 (La_regs, La_retval, int_retval): Likewise.
4008
8b8a692c
UW
40092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4010
4011 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4012 (FRAME_MIN_SIZE_PARM): Likewise.
4013 (FRAME_BACKCHAIN): Likewise.
4014 (FRAME_CR_SAVE): Likewise.
4015 (FRAME_LR_SAVE): Likewise.
4016 (FRAME_TOC_SAVE): Likewise.
4017 (FRAME_PARM_SAVE): Likewise.
4018 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4019 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4020 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4021 (call_mcount_parm_offset): New macro.
4022 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4023 (PROF): Use symbolic stack frame offsets.
4024 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4025 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4026 Redefine in terms of FRAME_MIN_SIZE.
4027 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4028 (_dl_profile_resolve): Likewise. Update comment.
4029 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4030 symbols stack frame offsets.
4031 (__sigsetjmp): Likewise.
4032 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4033 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4034 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4035 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4036
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4038 (FRAME_BACKCHAIN): Remove.
4039 (FRAME_CR_SAVE): Likewise.
4040 (FRAME_LR_SAVE): Likewise.
4041 (FRAME_COMPILER_DW): Likewise.
4042 (FRAME_LINKER_DW): Likewise.
4043 (FRAME_TOC_SAVE): Likewise.
4044 (FRAME_PARM_SAVE): Likewise.
4045 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4046 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4047 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4049 (CHECK_SP): Use symbolic stack frame offsets.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4051 zone" instead of caller's parameter save area for temp storage.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4053 Likewise. Also, use symbolic stack frame offsets.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4055 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4056 our own stack frame instead of the caller's.
4057 (__socket): Use symbolic stack frame offsets.
4058
122b66de
UW
40592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4060 Alan Modra <amodra@gmail.com>
4061
4062 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4063 Define.
4064 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4065 PPC64_LOCAL_ENTRY_OFFSET): Define.
4066 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4067 New function.
4068 (elf_machine_fixup_plt): Call it.
4069 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4070 reloc arguments.
4071 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4072 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4073 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4074 r2 before calling target.
4075
696caf1d
UW
40762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4077 Alan Modra <amodra@gmail.com>
4078
4079 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4080 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4081 versions of macros to support ELFv2 ABI.
4082 (LOCALENTRY): New macro.
4083 (ENTRY, EALIGN): Use it.
4084 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4085 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4086 fall through into ENTRY entry point.
4087 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4088 Only define if _CALL_ELF != 2.
4089
4090 (elf_machine_matches_host): Verify ABI version matches.
4091 (RTLD_START): Use LOCALENTRY.
4092 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4093 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4094 (PLT_ENTRY_WORDS): New macro.
4095 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4096 (elf_machine_runtime_setup): Support ELFv2 ABI.
4097 (elf_machine_fixup_plt): Likewise.
4098 (elf_machine_plt_conflict): Likewise.
4099 (resolve_ifunc): Likewise.
4100 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4102 Likewise.
4103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4104 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4106 (makecontext): Support ELFv2 ABI.
4107 * elf/elf.h (EF_PPC64_ABI): Define.
4108
d31beafa
UW
41092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4110
4111 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4112 New assembler macro.
4113 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4114 [ASSEMBLER] (ENTRY): ... but instead here ...
4115 [ASSEMBLER] (EALIGN): ... and here.
4116 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4117 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4118 [!ASSEMBLER] (ENTRY_2): Use it.
4119 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4120 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4121 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4122 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4123 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4125 Use PPC64_LOAD_FUNCPTR.
4126
b525166b
UW
41272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4128
4129 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4130
7ec07d9a
AM
41312013-12-04 Alan Modra <amodra@gmail.com>
4132
4133 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4134 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4135 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4136 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4137
4138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4139 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4140 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4141 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4142 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4143 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4144
5162e7dd
UW
41452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4146
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4148 (__makecontext): Fix incorrect CFI when backtracing out of
4149 context created via makecontext.
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4151 (__setcontext): Fix incorrect CFI during switch to new context.
4152 (__novec_setcontext): Likewise.
4153
19e3372b
OB
41542013-12-04 Ondřej Bílka <neleai@seznam.cz>
4155
4156 [BZ #4772]
4157 * time/strptime_l.c (__strptime_internal): Allow modifiers
4158 in strptime.
4159 * time/tst-strptime.c (day_tests): Add testcase.
4160
4161
ecaf142d
SP
41622013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4163
4164 * scripts/bench.pl: Skip over blank lines.
4165
fbf964ae
PE
41662013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4167
4168 [BZ #926]
4169 * manual/time.texi (Calendar Time): Clarify what timezone functions
4170 use.
4171
fa60a674
AZ
41722013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4173
4174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4175
d674f0ef
OB
41762013-12-04 Ondřej Bílka <neleai@seznam.cz>
4177
4178 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4179 implementation.
4180 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4181 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4182 * debug/memset_chk.c (__memset_chk): Likewise.
4183 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4184 * debug/strncpy_chk.c: Likewise.
4185
17dea188
JM
41862013-12-03 Joseph Myers <joseph@codesourcery.com>
4187
749008ff
JM
4188 [BZ #15268]
4189 [BZ #15425]
4190 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4191 (__ieee754_exp): For possibly underflowing results, check size of
4192 result and force underflow exception if required.
4193 * math/auto-libm-test-in: Add more tests of exp.
4194 * math/auto-libm-test-out: Regenerated.
4195 * sysdeps/i386/fpu/libm-test-ulps: Update.
4196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4197
17dea188
JM
4198 [BZ #16283]
4199 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4200 * math/w_exp2f.c (__exp2f): Likewise.
4201 * math/w_exp2l.c (__exp2l): Likewise.
4202 * math/auto-libm-test-in: Do not allow missing errno on exp2
4203 underflow.
4204 * math/auto-libm-test-out: Regenerated.
4205
b20de2c3
OB
42062013-12-03 Ondřej Bílka <neleai@seznam.cz>
4207
4208 [BZ #16274]
4209 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4210 handle filename validation.
4211 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4212 (do_open): Delete.
4213
d8e2dbe3
JM
42142013-12-03 Joseph Myers <joseph@codesourcery.com>
4215
34e16df5
JM
4216 [BZ #6786]
4217 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4218 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4219 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4220 <float.h>.
4221 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4223 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4224 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4225 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4227 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4228 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4229 Add more erfc tests.
4230 * math/auto-libm-test-out: Regenerated.
4231 * sysdeps/i386/fpu/libm-test-ulps: Update.
4232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4233
d8e2dbe3
JM
4234 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4235 exp2, expm1, j0 and j1.
4236 * math/auto-libm-test-out: Regenerated.
4237 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4238 (erfc_test_data): Likewise.
4239 (exp_test_data): Likewise.
4240 (exp_tonearest_test_data): Likewise.
4241 (exp_towardzero_test_data): Likewise.
4242 (exp_downward_test_data): Likewise.
4243 (exp_upward_test_data): Likewise.
4244 (exp10_test_data): Likewise.
4245 (exp2_test_data): Likewise.
4246 (expm1_test_data): Likewise.
4247 (j0_test_data): Likewise.
4248 (j1_test_data): Likewise.
4249 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4250 (input_flag_type): Add flag_xfail_rounding.
4251 (input_flags): Add xfail-rounding.
4252 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4253 (output_for_one_input_case): Handle flag_xfail_rounding.
4254 * sysdeps/i386/fpu/libm-test-ulps: Update.
4255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4256
18d14251
AJ
42572013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4258
3d2e6075 4259 [BZ #16289]
18d14251
AJ
4260 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4261 division by 0.
4262
520d437b
SP
42632013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4264
4265 [BZ #16195]
4266 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4267 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4268 (STAP_PROBE0): New macro.
4269 (STAP_PROBE1): Likewise.
4270 (STAP_PROBE2): Likewise.
4271 (STAP_PROBE3): Likewise.
4272 (STAP_PROBE4): Likewise.
4273
416e0145
OB
42742013-12-02 Ondřej Bílka <neleai@seznam.cz>
4275
4276 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4277
9d17796a
SE
42782013-12-02 Steve Ellcey <sellcey@mips.com>
4279
4280 * benchtests/Makefile (bench): Add sqrt.
4281 (LDLIBS-bench-sqrt): New.
4282 * benchtests/sqrt-input: New.
4283
f524d6a8
PS
42842013-12-02 Pavel Simerda <psimerda@redhat.com>
4285
639a0ef8
PS
4286 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4287 (GAIH_EAI): Likewise.
4288 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4289 (gaih_inet): Likewise.
4290 (getaddrinfo): Don't use GAIH_EAI.
4291
f524d6a8
PS
4292 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4293 (struct gaih): Remove definition.
4294
df3aedaf
SP
42952013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4296
4297 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4298 Use HERRNOP directly.
4299
1ab19dec
AZ
43002013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4301
b42ad38d 4302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4303
176b0c79
JM
43042013-11-30 Joseph Myers <joseph@codesourcery.com>
4305
4306 * math/gen-auto-libm-tests.c (test_functions): Add more
4307 single-argument functions.
4308 (special_fill_pi_2): New function.
4309 (special_fill_minus_pi_2): Likewise.
4310 (special_fill_pi_6): Likewise.
4311 (special_fill_minus_pi_6): Likewise.
4312 (special_fill_pi_3): Likewise.
4313 (special_fill_2pi_3): Likewise.
4314 (special_fill_e): Likewise.
4315 (special_fill_1_e): Likewise.
4316 (special_fill_e_minus_1): Likewise.
4317 (special_real_inputs): Add more special inputs.
4318 (output_for_one_input_case): Do not require ERANGE on underflow to
4319 zero if round-to-nearest result does not underflow to zero, unless
4320 exact results required.
4321 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4322 atan, atanh, cbrt, cos and cosh.
4323 * math/auto-libm-test-out: Regenerated.
4324 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4325 (acos_tonearest_test_data): Likewise.
4326 (acos_towardzero_test_data): Likewise.
4327 (acos_downward_test_data): Likewise.
4328 (acos_upward_test_data): Likewise.
4329 (acosh_test_data): Likewise.
4330 (asin_test_data): Likewise.
4331 (asin_tonearest_test_data): Likewise.
4332 (asin_towardzero_test_data): Likewise.
4333 (asin_upward_test_data): Likewise.
4334 (asinh_test_data): Likewise.
4335 (atan_test_data): Likewise.
4336 (atanh_test_data): Likewise.
4337 (cbrt_test_data): Likewise.
4338 (cos_test_data): Likewise.
4339 (cos_tonearest_test_data): Likewise.
4340 (cos_towardzero_test_data): Likewise.
4341 (cos_downward_test_data): Likewise.
4342 (cos_upward_test_data): Likewise.
4343 (cosh_test_data): Likewise.
4344 (cosh_tonearest_test_data): Likewise.
4345 (cosh_towardzero_test_data): Likewise.
4346 (cosh_downward_test_data): Likewise.
4347 (cosh_upward_test_data): Likewise.
4348 * sysdeps/i386/fpu/libm-test-ulps: Update.
4349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4350
ffb536d0
JM
43512013-11-29 Joseph Myers <joseph@codesourcery.com>
4352
2a77a467
JM
4353 [BZ #6787]
4354 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4355 * math/w_exp10f.c (__exp10f): Likewise.
4356 * math/w_exp10l.c (__exp10l): Likewise.
4357 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4358 errno settings in existing tests.
4359
ea3bc4e8
JM
4360 [BZ #14032]
4361 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4362 precision control set to double precision.
4363 * sysdeps/i386/fpu/w_sqrt.c: New file.
4364 * math/auto-libm-test-in: Add more tests.
4365 * math/auto-libm-test-out: Update.
4366
0712c9d8
JM
4367 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4368 (sqrt_test_tonearest): New function.
4369 (sqrt_towardzero_test_data): New variable.
4370 (sqrt_test_towardzero): New function.
4371 (sqrt_downward_test_data): New variable.
4372 (sqrt_test_downward): New function.
4373 (sqrt_upward_test_data): New variable.
4374 (sqrt_test_upward): New function.
4375 (main): Call the new functions.
4376
ffb536d0
JM
4377 * math/gen-auto-libm-tests.c: New file.
4378 * math/auto-libm-test-in: Likewise.
4379 * math/auto-libm-test-out: New generated file.
4380 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4381 variables.
4382 (%beautify): Add generated representations of zero.
4383 (top level): Set $auto_input and call parse_auto_input.
4384 (beautify): Remove trailing "f" from hex float constants.
4385 (parse_args): Handle XFAIL_TEST.
4386 (convert_condition): New function.
4387 (or_value): Likewise.
4388 (or_cond_value): Likewise.
4389 (generate_testfile): Handle AUTO_TESTS_* lines.
4390 (parse_auto_input): New function.
4391 * math/libm-test.inc (XFAIL_TEST): New macro.
4392 (ERRNO_UNCHANGED): Update value.
4393 (ERRNO_EDOM): Likewise.
4394 (ERRNO_ERANGE): Likewise.
4395 (IGNORE_RESULT): Likewise.
4396 (TEST_COND_flt_32): New macro.
4397 (TEST_COND_dbl_64): Likewise.
4398 (TEST_COND_ldbl_96_intel): Likewise.
4399 (TEST_COND_ldbl_96_m68k): Likewise.
4400 (TEST_COND_ldbl_128): Likewise.
4401 (TEST_COND_ldbl_128ibm): Likewise.
4402 (TEST_COND_long32): Likewise.
4403 (TEST_COND_long64): Likewise.
4404 (TEST_COND_before_rounding): Likewise.
4405 (TEST_COND_after_rounding): Likewise.
4406 (enable_test): Handle XFAIL_TEST flag.
4407 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4408 with finite results.
4409 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4410 auto-libm-test-out.
4411
acd98a8e
AK
44122013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4413 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4414
4415 [BZ #16214]
4416 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4417 __tls_get_addr_internal instead of __tls_get_offset in order to
4418 avoid GOT pointer dependency. Make rtld export
4419 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4420 __tls_get_addr since we are a __tls_get_offset platform.
4421 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4422 GOT pointer being set up before.
4423 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4424
3c1c46a6
JM
44252013-11-28 Joseph Myers <joseph@codesourcery.com>
4426
7475aef5
JM
4427 * manual/math.texi (Errors in Math Functions): Document accuracy
4428 goals.
4429
8bca7cd8
JM
4430 [BZ #15004]
4431 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4432 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4435 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4437 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4446 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4447
91a1f3fe
JM
4448 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4449 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4450 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4451 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4452 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4453 Likewise.
4454 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4455 Likewise.
4456 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4457 Likewise.
4458 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4459 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4460 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4461 atomic-feupdateenv and flt-rounds.
4462 * sysdeps/powerpc/nofpu/Versions (libc): Add
4463 __atomic_feholdexcept, __atomic_feclearexcept,
4464 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4465 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4466 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4467 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4468 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4469 here.
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4471 Update.
4472
c5df7609
JM
4473 * manual/arith.texi (FP Exceptions): Document that exceptions may
4474 not be raised when matherr is used.
4475 (Math Error Reporting): Document overflow in directed rounding
4476 modes. Document that errno may not be set when finite values are
4477 returned on overflow. Document intent to set errno on underflow
4478 only for underflow to zero.
4479
3c1c46a6
JM
4480 [BZ #16271]
4481 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4482 round-to-nearest then adjust result for other rounding modes.
4483 * include/fenv.h (fegetround): Use libm_hidden_proto.
4484 * math/fegetround.c (fegetround): Use libm_hidden_def.
4485 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4486 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4487 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4488 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4489 Likewise.
4490 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4491 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4492 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4493 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4494
5a4c6d53
SP
44952013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4496
4497 [BZ #16077]
4498 * nss/Versions (libnss_files): Add
4499 _nss_files_gethostbyname3_r.
4500 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4501 New function.
4502 (HOST_DB_LOOKUP): Remove macro.
4503 (_nss_files_gethostbyname_r): Implement function without the
4504 HOST_DB_LOOKUP macro.
4505 (_nss_files_gethostbyname2_r): Likewise.
4506
897b98ba
OB
45072013-11-28 Ondřej Bílka <neleai@seznam.cz>
4508
4509 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4510
6f476861
UB
45112013-11-26 Uros Bizjak <ubizjak@gmail.com>
4512
4513 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4514 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4515 warning.
4516
bd12ab55
AZ
45172013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4518
4519 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4520 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4521 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4522 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4523 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4524 __fe_nomask_env_priv and attribute_hidden.
4525 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4526 (libc_feupdateenv_test_ppc): Likewise.
4527 (libc_feresetround_ppc): Likewise.
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4529 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4530 compat_symbol macro.
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4532 (__fe_nomask_env): Likewise.
4533 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4534
52bb6543
OB
45352013-11-26 Ondřej Bílka <neleai@seznam.cz>
4536
4537 * string/Makefile: Remove ifunc tests.
4538 * string/test-string.h: Define TEST_IFUNC.
4539 * string/test-bcopy-ifunc.c: Remove.
4540 * string/test-bzero-ifunc.c: Likewise.
4541 * string/test-memccpy-ifunc.c: Likewise.
4542 * string/test-memchr-ifunc.c: Likewise.
4543 * string/test-memcmp-ifunc.c: Likewise.
4544 * string/test-memcpy-ifunc.c: Likewise.
4545 * string/test-memmem-ifunc.c: Likewise.
4546 * string/test-memmove-ifunc.c: Likewise.
4547 * string/test-mempcpy-ifunc.c: Likewise.
4548 * string/test-memrchr-ifunc.c: Likewise.
4549 * string/test-memset-ifunc.c: Likewise.
4550 * string/test-rawmemchr-ifunc.c: Likewise.
4551 * string/test-stpcpy-ifunc.c: Likewise.
4552 * string/test-stpncpy-ifunc.c: Likewise.
4553 * string/test-strcasecmp-ifunc.c: Likewise.
4554 * string/test-strcasestr-ifunc.c: Likewise.
4555 * string/test-strcat-ifunc.c: Likewise.
4556 * string/test-strchr-ifunc.c: Likewise.
4557 * string/test-strchrnul-ifunc.c: Likewise.
4558 * string/test-strcmp-ifunc.c: Likewise.
4559 * string/test-strcpy-ifunc.c: Likewise.
4560 * string/test-strcspn-ifunc.c: Likewise.
4561 * string/test-strlen-ifunc.c: Likewise.
4562 * string/test-strncasecmp-ifunc.c: Likewise.
4563 * string/test-strncat-ifunc.c: Likewise.
4564 * string/test-strncmp-ifunc.c: Likewise.
4565 * string/test-strncpy-ifunc.c: Likewise.
4566 * string/test-strnlen-ifunc.c: Likewise.
4567 * string/test-strpbrk-ifunc.c: Likewise.
4568 * string/test-strrchr-ifunc.c: Likewise.
4569 * string/test-strspn-ifunc.c: Likewise.
4570 * string/test-strstr-ifunc.c: Likewise.
4571
ab260039 45722013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4573
4574 * benchtests/Makefile: Remove ifunc tests.
4575 * benchtests/bench-string.h: Define TEST_IFUNC.
4576 * benchtests/bench-bcopy-ifunc.c: Remove.
4577 * benchtests/bench-bzero-ifunc.c: Likewise.
4578 * benchtests/bench-memccpy-ifunc.c: Likewise.
4579 * benchtests/bench-memchr-ifunc.c: Likewise.
4580 * benchtests/bench-memcmp-ifunc.c: Likewise.
4581 * benchtests/bench-memcpy-ifunc.c: Likewise.
4582 * benchtests/bench-memmem-ifunc.c: Likewise.
4583 * benchtests/bench-memmove-ifunc.c: Likewise.
4584 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4585 * benchtests/bench-memrchr-ifunc.c: Likewise.
4586 * benchtests/bench-memset-ifunc.c: Likewise.
4587 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4588 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4589 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4590 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4591 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4592 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4593 * benchtests/bench-strcat-ifunc.c: Likewise.
4594 * benchtests/bench-strchr-ifunc.c: Likewise.
4595 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4596 * benchtests/bench-strcmp-ifunc.c: Likewise.
4597 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4598 * benchtests/bench-strcpy-ifunc.c: Likewise.
4599 * benchtests/bench-strcspn-ifunc.c: Likewise.
4600 * benchtests/bench-strlen-ifunc.c: Likewise.
4601 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4602 * benchtests/bench-strncat-ifunc.c: Likewise.
4603 * benchtests/bench-strncmp-ifunc.c: Likewise.
4604 * benchtests/bench-strncpy-ifunc.c: Likewise.
4605 * benchtests/bench-strnlen-ifunc.c: Likewise.
4606 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4607 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4608 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4609 * benchtests/bench-strspn-ifunc.c: Likewise.
4610 * benchtests/bench-strstr-ifunc.c: Likewise.
4611
46122013-11-26 Ondřej Bílka <neleai@seznam.cz>
4613
ab260039
OB
4614 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4615
d1d9eaf4 46162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4617
d1d9eaf4
OB
4618 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4619 * rt/aio.h: Likewise.
4620 * sysdeps/gnu/bits/utmp.h: Likewise.
4621 * sysdeps/gnu/bits/utmpx.h: Likewise.
4622 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4623 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4624 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4625 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4626 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4627 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4628 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4629 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4630 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4631 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4632 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4633 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4634 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4636 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4637 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4638 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4639 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4640 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4641 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4642 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4643 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4644 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4645 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4646 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4648 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4649 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4650 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4651 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4652 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4654 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4656 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4657 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4658 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4659 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4660 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4661 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4662 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4663 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4664
a7624ed9
CD
46652013-11-25 Carlos O'Donell <carlos@redhat.com>
4666
4667 [BZ #16245]
4668 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4669 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4670
63cfe52b
JM
46712013-11-25 Joseph Myers <joseph@codesourcery.com>
4672
4673 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4674 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4675 Likewise.
4676
41e8926a
AZ
46772013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4678
4679 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4680 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4681 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4682 (__fesetround): Remove define.
4683 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4684 rounding and exceptions handling.
4685 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4686 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4687 (__fe_nomask_env): Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4689 __fegetround instead of fegetround.
4690 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4692
6851bd4d
RM
46932013-11-21 Roland McGrath <roland@hack.frob.com>
4694
070906ff
RM
4695 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4696 it's there.
4697
6851bd4d
RM
4698 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4699
84ae135d
MI
47002013-11-21 Meador Inge <meadori@codesourcery.com>
4701
4702 [BZ #11157]
4703 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4704 (encrypt_r): Likewise.
4705 * malloc/obstack.h (obstack_free): Likewise.
4706 * posix/unistd.h (encrypt): Likewise.
4707
daf75146
GM
47082013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4709
4710 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4711 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4712 DL_CALL_DT_FINI() that call the functions directly.
4713 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4714 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4715 * elf/dl-fini.c: Likewise.
4716
10ad46bc
OB
47172013-11-20 Ondřej Bílka <neleai@seznam.cz>
4718
4719 * malloc/hooks.c (memalign_check): Add alignment rounding.
4720 * malloc/malloc.c (_mid_memalign): New function.
4721 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4722 Implement by calling _mid_memalign.
4723 * manual/probes.texi (Memory Allocation Probes): Remove
4724 memory_valloc_retry and memory_pvalloc_retry.
4725
f3fd2628
SP
47262013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4727
4712799f
SP
4728 * locale/programs/locarchive.c (open_archive): Add const
4729 qualifier to ARCHIVEFNAME and copy default fname to
4730 DEFAULT_FNAME.
4731
0417b20f
SP
4732 [BZ #15601]
4733 * libio/tst-widetext.input: Rename Oriya to Odia.
4734 * locale/iso-639.def: Likewise.
4735
f3fd2628
SP
4736 * manual/probes.texi (Mathematical Function Probes): Add
4737 documentation for sin, cos, asin and acos probes.
4738 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4739 (__sin32): Add slowasin probe.
4740 (__cos32): Add slowacos probe.
4741 (__mpsin): Add slowsin probe.
4742 (__mpcos): Add slowcos probe.
4743
73c1ce4f
JM
47442013-11-19 Joseph Myers <joseph@codesourcery.com>
4745
4746 [BZ #15483]
4747 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4748 thread-local __sim_exceptions_thread and global
4749 __sim_exceptions_global.
4750 (__sim_disabled_exceptions): Change to thread-local
4751 __sim_disabled_exceptions_thread and global
4752 __sim_disabled_exceptions_global.
4753 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4754 and global __sim_round_mode_global.
4755 (__simulate_exceptions): Use thread-local floating-point state and
4756 set global state from it as needed.
4757 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4758 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4759 __sim_round_mode_thread.
4760 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4761 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4762 and global __sim_exceptions_global.
4763 (__sim_disabled_exceptions): Change to thread-local
4764 __sim_disabled_exceptions_thread and global
4765 __sim_disabled_exceptions_global.
4766 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4767 and global __sim_round_mode_global.
4768 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4769 (SIM_SET_GLOBAL): Likewise.
4770 * sysdeps/powerpc/soft-fp/sfp-machine.h
4771 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4772 __sim_round_mode_thread.
4773 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4774 __sim_disabled_exceptions_thread.
4775 (__sim_exceptions): Change to __sim_exceptions_thread.
4776 (__sim_disabled_exceptions): Change to
4777 __sim_disabled_exceptions_thread.
4778 (__sim_round_mode): Change to __sim_round_mode_thread.
4779 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4780 thread-local floating-point state and set global state from it as
4781 needed.
4782 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4783 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4784 (__sim_disabled_exceptions): Remove extern declaration.
4785 (feenableexcept): Use thread-local floating-point state and set
4786 global state from it as needed.
4787 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4788 extern declaration.
4789 (__sim_disabled_exceptions): Likewise.
4790 (__sim_round_mode): Likewise.
4791 (__fegetenv): Use thread-local floating-point state.
4792 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4793 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4794 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4795 floating-point state and set global state from it as needed.
4796 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4797 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4798 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4799 Likewise.
4800 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4801 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4802 Likewise.
4803 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4804 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4805 Use __sim_round_mode_thread.
4806 * math/test-fenv-tls.c: New file.
4807 * math/Makefile (tests): Add test-fenv-tls.
4808 ($(objpfx)test-fenv-tls): Depend on
4809 $(common-objpfx)nptl/libpthread.so.
4810
b5449b12
AS
48112013-11-19 Andreas Schwab <schwab@suse.de>
4812
4813 * locale/programs/locale.c (show_info): Decode wordarray elements.
4814 * locale/categories.def (LC_MONETARY): Add element for
4815 _NL_MONETARY_CRNCYSTR.
4816 * locale/C-monetary.c (conversion_rate): New variable.
4817 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4818 element.
4819
e186536b
CM
48202013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4821
4822 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4823 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4824
5c349950
PP
48252013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4826
4827 * elf/Makefile (tst-auxv): New test.
4828 * elf/tst-auxv.c: New
4829 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4830
699df45b
JM
48312013-11-18 Joseph Myers <joseph@codesourcery.com>
4832
4833 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4834 (hidden_proto): Caller changed.
4835 (hidden_tls_proto): New macro.
4836 (libc_hidden_tls_proto): Likewise.
4837 (rtld_hidden_tls_proto): Likewise.
4838 (libm_hidden_tls_proto): Likewise.
4839 (libresolv_hidden_tls_proto): Likewise.
4840 (librt_hidden_tls_proto): Likewise.
4841 (libdl_hidden_tls_proto): Likewise.
4842 (libnss_files_hidden_tls_proto): Likewise.
4843 (libnsl_hidden_tls_proto): Likewise.
4844 (libnss_nisplus_hidden_tls_proto): Likewise.
4845 (libutil_hidden_tls_proto): Likewise.
4846
b7589107
OB
48472013-11-18 Ondřej Bílka <neleai@seznam.cz>
4848
4849 [BZ #10253]
4850 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4851 (decompose_rpath): Defer expansion to fillin_rpath.
4852 (_dl_init_paths): Pass linkmap to fillin_rpath.
4853
250c23bd
RS
48542013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4855
4856 * benchtests/Makefile: Add strsep.
4857 * benchtests/bench-strsep.c: New file: strsep benchtest.
4858 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4859
a7931fcf
AS
48602013-11-18 Andreas Schwab <schwab@suse.de>
4861
4862 * locale/programs/locale.c (show_info) [case byte]: Check for
4863 '\377' instead of '\177'.
4864 * locale/C-monetary.c (not_available): Always use "\377".
4865 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4866 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4867 detect unavailable sign_posn locale elements.
4868 * locale/localeconv.c (__localeconv): For grouping and
4869 mon_grouping handle "\177" and "\377" like no grouping.
4870 (INT_ELEM): New macro. Use it to set all numeric members.
4871 * locale/programs/ld-monetary.c (monetary_read)
4872 <tok_mon_grouping>: Normalize single -1 to the empty string.
4873 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4874 Likewise.
4875
728dab0e
OB
48762013-11-07 Ondřej Bílka <neleai@seznam.cz>
4877
4878 [BZ #16055]
4879 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4880 when we match (nil).
4881 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4882
66294491
JM
48832013-11-16 Joseph Myers <joseph@codesourcery.com>
4884
ce665817
JM
4885 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4886 (NO_TEST_INLINE): Update value.
4887 (ERRNO_UNCHANGED): Likewise.
4888 (ERRNO_EDOM): Likewise.
4889 (ERRNO_ERANGE): Likewise.
4890 (IGNORE_RESULT): Likewise.
4891 (check_float_internal): Check signs of NaN results if
4892 TEST_NAN_SIGN used.
4893 (check_complex): Pass TEST_NAN_SIGN flag through to second
4894 check_float_internal call.
4895 (copysign_test_data): Add tests with quiet NaNs as second
4896 argument. Use TEST_NAN_SIGN.
4897 (fabs_test_data): Add test of negative quiet NaN argument. Use
4898 TEST_NAN_SIGN.
4899 (signbit_test_data): Add tests of quiet NaN argument.
4900 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4901
ee1466a9
JM
4902 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4903 $ignore_result.
4904 (parse_args): Handle function results specified as IGNORE.
4905 * math/libm-test.inc (IGNORE_RESULT): New macro.
4906 (check_float_internal): Do not check numerical result if flag
4907 IGNORE_RESULT set.
4908 (check_complex): Pass through IGNORE_RESULT to second
4909 check_float_internal call.
4910 (check_int): Do not check numerical result if flag IGNORE_RESULT
4911 set.
4912 (check_long): Likewise.
4913 (check_bool): Likewise.
4914 (check_longlong): Likewise.
4915 (lrint_test_data): Add tests of infinite and NaN arguments.
4916 (lrint_tonearest_test_data): Likewise.
4917 (lrint_towardzero_test_data): Likewise.
4918 (lrint_downward_test_data): Likewise.
4919 (lrint_upward_test_data): Likewise.
4920 (llrint_test_data): Likewise.
4921 (llrint_tonearest_test_data): Likewise.
4922 (llrint_towardzero_test_data): Likewise.
4923 (llrint_downward_test_data): Likewise.
4924 (llrint_upward_test_data): Likewise.
4925 (lround_test_data): Likewise.
4926 (llround_test_data): Likewise.
4927
14407b7e
JM
4928 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4929 (ERRNO_UNCHANGED): Update value.
4930 (ERRNO_EDOM): Likewise.
4931 (ERRNO_ERANGE): Likewise.
4932 (NO_TEST_INLINE_FLOAT): New macro.
4933 (NO_TEST_INLINE_DOUBLE): Likewise.
4934 (enable_test): New function.
4935 (RUN_TEST_f_f): Check enable_test before running test.
4936 (RUN_TEST_2_f): Likewise.
4937 (RUN_TEST_fff_f): Likewise.
4938 (RUN_TEST_c_f): Likewise.
4939 (RUN_TEST_f_f1): Likewise.
4940 (RUN_TEST_fF_f1): Likewise.
4941 (RUN_TEST_fI_f1): Likewise.
4942 (RUN_TEST_ffI_f1): Likewise.
4943 (RUN_TEST_c_c): Likewise.
4944 (RUN_TEST_cc_c): Likewise.
4945 (RUN_TEST_f_i): Likewise.
4946 (RUN_TEST_f_i_tg): Likewise.
4947 (RUN_TEST_ff_i_tg): Likewise.
4948 (RUN_TEST_f_b): Likewise.
4949 (RUN_TEST_f_b_tg): Likewise.
4950 (RUN_TEST_f_l): Likewise.
4951 (RUN_TEST_f_L): Likewise.
4952 (RUN_TEST_fFF_11): Likewise.
4953 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4954 conditionals.
4955 (cosh_test_data): Likewise.
4956 (exp_test_data): Likewise.
4957 (expm1_test_data): Likewise.
4958 (hypot_test_data): Likewise.
4959 (pow_test_data): Likewise.
4960 (sinh_test_data): Likewise.
4961 (tanh_test_data): Likewise.
4962 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4963 flags argument.
4964
ca07f197
JM
4965 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4966 tests with quiet NaN input and output.
4967 (acosh_test_data): Likewise.
4968 (asin_test_data): Likewise.
4969 (asinh_test_data): Likewise.
4970 (atan_test_data): Likewise.
4971 (atanh_test_data): Likewise.
4972 (atan2_test_data): Likewise.
4973 (cbrt_test_data): Likewise.
4974 (cos_test_data): Likewise.
4975 (cosh_test_data): Likewise.
4976 (erf_test_data): Likewise.
4977 (erfc_test_data): Likewise.
4978 (exp_test_data): Likewise.
4979 (exp10_test_data): Likewise.
4980 (exp2_test_data): Likewise.
4981 (expm1_test_data): Likewise.
4982 (hypot_test_data): Likewise.
4983 (j0_test_data): Likewise.
4984 (j1_test_data): Likewise.
4985 (jn_test_data): Likewise.
4986 (lgamma_test_data): Likewise.
4987 (log_test_data): Likewise.
4988 (log10_test_data): Likewise.
4989 (log1p_test_data): Likewise.
4990 (log2_test_data): Likewise.
4991 (pow_test_data): Likewise.
4992 (scalb_test_data): Likewise.
4993 (sin_test_data): Likewise.
4994 (sincos_test_data): Likewise.
4995 (sinh_test_data): Likewise.
4996 (tan_test_data): Likewise.
4997 (tanh_test_data): Likewise.
4998 (tgamma_test_data): Likewise.
4999 (y0_test_data): Likewise.
5000 (y1_test_data): Likewise.
5001 (yn_test_data): Likewise.
5002
66294491
JM
5003 [BZ #16167]
5004 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5005 argument being NaN and avoid computations with second argument in
5006 that case.
5007 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5008 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5009 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5010
1820b143
CL
50112013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5012
5013 * locale/iso-639.def: Add Chitwani Tharu (the).
5014
714bd261
AS
50152013-11-14 Andreas Schwab <schwab@suse.de>
5016
5017 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5018 word instead of empty string.
5019
7ab44563
AZ
50202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5021
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5023 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5025 (__fe_nomask_env): Likewise.
5026
e8470ea2
SE
50272013-11-13 Steve Ellcey <sellcey@mips.com>
5028
5029 * benchtests/bench-timing.h: Include time.h.
5030
17c1d9f0
L
50312013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5032
5033 [BZ #15997]
5034 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5035 to 3.4.0 for x32.
5036 * sysdeps/unix/sysv/linux/configure: Regenerated.
5037
9310c284
JM
50382013-11-13 Joseph Myers <joseph@codesourcery.com>
5039
5040 [BZ #16151]
5041 * stdlib/strtod_l.c (round_and_return): Do not consider
5042 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5043 exponent one less than half the least subnormal exponent.
5044 * stdlib/test-strtod-round-data: Add more tests.
5045 * stdlib/tst-strtod-round.c (tests): Regenerated.
5046
7a2ad8cf
AZ
50472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5048
5049 [BZ #14143]
5050 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5051 (__fe_mask_env): Likewise.
5052 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5053 libm_hidden_proto and add function prototype.
5054 (__fe_mask_env): Add function prototype.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5056 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5058 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5060 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5061
50727aa7
MS
50622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5063
b2f386c1 5064 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5065 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5066
a615be46
MS
50672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5068
5069 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5070 of htab_find_slot().
5071
7ddace62
DM
50722013-11-11 David S. Miller <davem@davemloft.net>
5073
5074 [BZ #16150]
5075 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5076 symbol in the non-vis3 case in static builds.
5077 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5078 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5079 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5080 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5081
9182aa67
JK
50822013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5083
5084 [BZ #387]
5085 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5086 it is empty.
5087
450a2e2d
AZ
50882013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5089
b2f386c1
SP
5090 * benchtests/Makefile: Add bench-strtod.
5091 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5092
8ec3f656
AS
50932013-11-11 Andreas Schwab <schwab@suse.de>
5094
5095 [BZ #16153]
5096 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5097 terminating NUL in key length.
5098
76a9b998
AZ
50992013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100
5101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5102 Add artificial ODP entry for vDSO symbol for PPC64.
5103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5104 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5105
e4368156
OB
51062013-11-07 Ondřej Bílka <neleai@seznam.cz>
5107
5108 [BZ #15374]
5109 * nss/getent.c (services_keys): Recognize services starting with digit.
5110
8d6bb57c
DM
51112013-11-06 David S. Miller <davem@davemloft.net>
5112
5113 [BZ #15985]
5114 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5115 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5116
e256c421
WN
51172013-11-06 Will Newton <will.newton@linaro.org>
5118
5119 * manual/memory.texi (Malloc Examples): Remove register
5120 keyword from examples.
5121
f6e12daa 51222013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5123
f6e12daa 5124 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5125
9d880655
AS
51262013-11-04 Joseph Myers <joseph@codesourcery.com>
5127
fd2f9486 5128 [BZ #6981]
9d880655
AS
5129 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5130 depending on [__GCC_IEC_559 > 0].
5131 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5132 depending on [__GCC_IEC_559_COMPLEX > 0].
5133
ae129d3c
CL
51342013-11-03 Chris Leonard <cjl@sugarlabs.org>
5135
5136 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5137 to iso-639.def.
5138
4a15c2a4 51392013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5140
5141 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5142
8b35e35d
OB
51432013-11-01 Ondřej Bílka <neleai@seznam.cz>
5144
5145 [BZ #16112]
5146 * malloc/malloc (malloc_info): Do not handle first bin as
5147 special case.
5148
1d70fd6c
CL
51492013-11-01 Chris Leonard <cjl@sugarlabs.org>
5150
5151 * locale/iso-639.def: Add Central Nahuatl (nhn).
5152
8c5c2600
BH
51532013-11-01 Bruno Haible <bruno@clisp.org>
5154
5155 [BZ #7003]
5156 * manual/math.texi (BSD Random): Specify range upper bound as
5157 in POSIX.
5158
da5579c2
CL
51592013-10-31 Chris Leonard <cjl@sugarlabs.org>
5160
5161 * locale/iso-639.def: Add Meadow Mari (mhr).
5162
5d30d853
OB
51632013-10-31 Ondřej Bílka <neleai@seznam.cz>
5164
5165 [BZ #14752], [BZ #15763]
5166 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5167 Validate name.
5168 * rt/tst_shm.c: Add test for escaping directory.
5169
a4966c61
AS
51702013-10-31 Andreas Schwab <schwab@suse.de>
5171
8a43e768 5172 [BZ #15917]
a4966c61
AS
5173 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5174 followed by 'x' as part of digit sequence.
5175 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5176
28d708c4
MAP
51772013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5178
5179 [BZ #16037]
5180 * configure.ac: allow GNU Make 4.0 and greater.
5181 * configure: Regenerated.
5182
a56ee40b
WN
51832013-10-30 Will Newton <will.newton@linaro.org>
5184
5185 [BZ #16038]
5186 * malloc/hooks.c (memalign_check): Limit alignment to the
5187 maximum representable power of two.
5188 * malloc/malloc.c (__libc_memalign): Likewise.
5189 * malloc/tst-memalign.c (do_test): Add test for very
5190 large alignment values.
5191 * malloc/tst-posix_memalign.c (do_test): Likewise.
5192
c6e4925d
OB
51932013-10-30 Ondřej Bílka <neleai@seznam.cz>
5194
5195 [BZ #11087]
5196 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5197 (munmap_chunk): Likewise.
5198 (mremap_chunk): Likewise.
5199
52002013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5201
8a43e768 5202 [BZ #15799]
bbea82f7
OB
5203 * stdlib/div.c (div): Remove obsolete code.
5204 * stdlib/ldiv.c (ldiv): Likewise.
5205 * stdlib/lldiv.c (lldiv): Likewise.
5206
977f4b31
SP
52072013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5208
5209 [BZ #16071]
5210 * nss/nss_files/files-XXX.c (get_contents_ret): New
5211 enumerator.
5212 (get_contents): New function.
5213 (internal_getent): Use it. Expand size of LINEBUFLEN.
5214
cb8a6dbd
MF
52152013-10-30 Mike Frysinger <vapier@gentoo.org>
5216
5217 * configure.in: Moved to ...
5218 * configure.ac: ... here. Change reference to configure.in
5219 to configure.ac.
5220 * sysdeps/arm/preconfigure.ac: ... here.
5221 configure.in to configure.ac.
5222 * sysdeps/gnu/configure.in: Moved to ...
5223 * sysdeps/gnu/configure.ac: ... here.
5224 * sysdeps/i386/configure.in: Moved to ...
5225 * sysdeps/i386/configure.ac: ... here.
5226 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5227 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5228 * sysdeps/mach/configure.in: Moved to ...
5229 * sysdeps/mach/configure.ac: ... here.
5230 * sysdeps/mach/hurd/configure.in: Moved to ...
5231 * sysdeps/mach/hurd/configure.ac: ... here.
5232 * sysdeps/powerpc/configure.in: Moved to ...
5233 * sysdeps/powerpc/configure.ac: ... here.
5234 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5235 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5236 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5237 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5238 * sysdeps/s390/s390-32/configure.in: Moved to ...
5239 * sysdeps/s390/s390-32/configure.ac: ... here.
5240 * sysdeps/s390/s390-64/configure.in: Moved to ...
5241 * sysdeps/s390/s390-64/configure.ac: ... here.
5242 * sysdeps/sh/configure.in: Moved to ...
5243 * sysdeps/sh/configure.ac: ... here.
5244 * sysdeps/sparc/configure.in: Moved to ...
5245 * sysdeps/sparc/configure.ac: ... here.
5246 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5247 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5248 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5249 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5250 * sysdeps/x86_64/configure.in: Moved to ...
5251 * sysdeps/x86_64/configure.ac: ... here.
5252 * sysdeps/x86_64/preconfigure.in: Moved to ...
5253 * sysdeps/x86_64/preconfigure.ac: ... here.
5254 * aclocal.m4: Change reference to configure.in to configure.ac.
5255 * config.h.in: Likewise.
5256 * manual/install.texi: Likewise.
5257 * manual/maint.texi: Likewise.
5258 * Makefile: Likewise.
5259 * malloc/Makefile: Likewise.
5260 * nscd/Makefile: Likewise.
5261 * Makeconfig: Change reference to configure.in and
5262 preconfigure.in to configure.ac and preconfigure.ac
5263 respectively.
5264 * INSTALL: Regenerated.
5265 * configure: Likewise.
5266 * sysdeps/gnu/configure: Likewise.
5267 * sysdeps/i386/configure: Likewise.
5268 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5269 * sysdeps/mach/configure: Likewise.
5270 * sysdeps/mach/hurd/configure: Likewise.
5271 * sysdeps/powerpc/configure: Likewise.
5272 * sysdeps/powerpc/powerpc32/configure: Likewise.
5273 * sysdeps/powerpc/powerpc64/configure: Likewise.
5274 * sysdeps/s390/s390-32/configure: Likewise.
5275 * sysdeps/s390/s390-64/configure: Likewise.
5276 * sysdeps/sh/configure: Likewise.
5277 * sysdeps/sparc/configure: Likewise.
5278 * sysdeps/unix/sysv/linux/configure: Likewise.
5279 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5280 * sysdeps/x86_64/configure: Likewise.
5281 * sysdeps/x86_64/preconfigure: Likewise.
5282
36a4953a
AS
52832013-10-29 Andreas Schwab <schwab@suse.de>
5284
5285 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5286
c79a1204
SP
52872013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5288
dfa1b402
SP
5289 * benchtests/pow-inputs: Add new inputs.
5290
54f73d9c
SP
5291 * benchtests/exp-inputs: Add new inputs.
5292
c79a1204
SP
5293 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5294 conditional check for return value.
5295 (__cos32): Likewise.
5296
67beb545 52972013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5298
5299 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5300 to provide a boost for large inputs with word alignment.
5301 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5302 implementation based on optimized PPC64 strcpy.
5303 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5304 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5305 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5306 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5307
151659f6
OB
53082013-10-25 Ondřej Bílka <neleai@seznam.cz>
5309
482a077e 5310 [BZ #2801]
151659f6
OB
5311 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5312
10b0f26b
OB
53132013-10-25 Ondřej Bílka <neleai@seznam.cz>
5314
5315 [BZ #14876]
5316 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5317 * time/tst-strptime.c (day_tests): Add testcase.
5318
ca42d35e
OB
53192013-10-25 Ondřej Bílka <neleai@seznam.cz>
5320
482a077e 5321 [BZ #14029]
ca42d35e
OB
5322 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5323
52e6d801
FB
53242013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5325
5326 [BZ #16074]
5327 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5328 MAP_FAILED on error.
5329
7cbcdb36
SP
53302013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5331
5332 [BZ #16072]
5333 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5334 heap for large requests.
5335
894f3f10
AM
53362013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5337
5338 [BZ #9954]
5339 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5340 result if the result has no associated interface.
5341 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5342 interface for all 127.X.Y.Z addresses.
5343
b85545a6
CL
53442013-10-24 Chris Leonard <cjl@sugarlabs.org>
5345
5346 * locale/iso-639.def: Add Ligurian (lij)
5347
d1f23d46
OB
53482013-10-21 Ondřej Bílka <neleai@seznam.cz>
5349
5350 [BZ #15825]
5351 * sunrpc/rpc_main.c: Document rpcgen -5.
5352
4db5b08f
MS
53532013-10-19 Michael Stahl <mstahl@redhat.com>
5354
5355 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5356
a471e96a
OB
53572013-10-19 Ondřej Bílka <neleai@seznam.cz>
5358
d1f23d46 5359 [BZ #10278]
a471e96a
OB
5360 * posix/glob.c: Match only directories when trailing slash is present.
5361 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5362 (main): Add testcase.
5363
45c30c61
OB
53642013-10-19 Ondřej Bílka <neleai@seznam.cz>
5365
5366 [BZ #15670]
5367 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5368
484c12fb
CD
53692013-10-18 Carlos O'Donell <carlos@redhat.com>
5370
3d7dc513
CD
5371 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5372 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5373 AUTH_DES and cindex for FIPS 140-2.
5374 (DES Encryption): Add cindex FIPS 46-3.
5375
484c12fb
CD
5376 * locale/locarchive.h (struct locarhandle): Add fname.
5377 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5378 if an optional argument was specified to --list-archive,
5379 otherwise NULL.
5380 * locale/programs/locarchive.c (show_archive_content): Take new
5381 argument fname and pass it via ah.fname to open_archive.
5382 * locale/programs/localedef.h: Update decl.
5383 (open_archive): If AH->fname is non-null, open that file
5384 rather than the default file name, and don't ignore ENOENT.
5385 (create_archive): Set AH.fname to NULL.
5386 (delete_locales_from_archive): Likewise.
5387 (add_locales_to_archive): Likewise.
5388 * locale/programs/locfile.c (write_all_categories): Likewise.
5389
3c8325fb
JM
53902013-10-18 Joseph Myers <joseph@codesourcery.com>
5391 Aldy Hernandez <aldyh@redhat.com>
5392
5393 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5394 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5395 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5396 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5397 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5398 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5400 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5401 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5402 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5403 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5404 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5405 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5406 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5407 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5408 Likewise.
5409 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5410 Likewise.
5411 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5412 Likewise.
5413 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5414 Likewise.
5415 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5416 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5417 Likewise.
5418 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5419 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5420 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5421 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5422 Likewise.
5423 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5424 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5425 * sysdeps/powerpc/preconfigure: Likewise.
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5427 Likewise.
5428 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5429 Replace contents of file by #include of <fenv_libc.h>.
5430 * sysdeps/powerpc/soft-fp/sfp-machine.h
5431 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5432 and <sys/prctl.h>.
5433 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5446 Allow copysignl PLT reference to be missing.
5447
5abe0682
RS
54482013-10-18 Richard Sandiford <richard@codesourcery.com>
5449 Joseph Myers <joseph@codesourcery.com
5450
5451 [BZ #15948]
5452 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5453 single character.
5454 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5455
c7738d08
SP
54562013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5457
5458 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5459 * elf/tst-tls1.c: Likewise.
5460 * elf/tst-tls10.h: Likewise.
5461 * elf/tst-tls14.c: Likewise.
5462 * elf/tst-tls2.c: Likewise.
5463 * elf/tst-tls3.c: Likewise.
5464 * elf/tst-tls4.c: Likewise.
5465 * elf/tst-tls5.c: Likewise.
5466 * elf/tst-tls6.c: Likewise.
5467 * elf/tst-tls7.c: Likewise.
5468 * elf/tst-tls8.c: Likewise.
5469 * elf/tst-tls9.c: Likewise.
5470 * elf/tst-tlsmod1.c: Likewise.
5471 * elf/tst-tlsmod13.c: Likewise.
5472 * elf/tst-tlsmod13a.c: Likewise.
5473 * elf/tst-tlsmod14a.c: Likewise.
5474 * elf/tst-tlsmod16a.c: Likewise.
5475 * elf/tst-tlsmod16b.c: Likewise.
5476 * elf/tst-tlsmod2.c: Likewise.
5477 * elf/tst-tlsmod3.c: Likewise.
5478 * elf/tst-tlsmod4.c: Likewise.
5479 * elf/tst-tlsmod5.c: Likewise.
5480 * elf/tst-tlsmod6.c: Likewise.
5481
0bfcf2c7
OB
54822013-10-18 Ondřej Bílka <neleai@seznam.cz>
5483
5484 [BZ #12486]
5485 * malloc/malloc.c: remove checks for statistics.
5486
264aad1e
OB
54872013-10-17 Ondřej Bílka <neleai@seznam.cz>
5488
5489 [BZ #15277]
5490 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5491 * inet/tst-network.c: Add testcase.
5492
b957ced8
AS
54932013-10-17 Andreas Schwab <schwab@suse.de>
5494
5495 [BZ #15218]
5496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5497 to determine canonical name.
5498
c5d5d574
OB
54992013-10-17 Ondřej Bílka <neleai@seznam.cz>
5500
5501 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5502 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5525 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5526 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5559
e5c2c2d0
JM
55602013-10-17 Joseph Myers <joseph@codesourcery.com>
5561
5562 [BZ #16041]
5563 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5564 make result into a quiet NaN.
5565
51ca9e29
JM
55662013-10-16 Joseph Myers <joseph@codesourcery.com>
5567
5568 * soft-fp/adddf3.c: Fix horizontal whitespace.
5569 * soft-fp/addsf3.c: Likewise.
5570 * soft-fp/addtf3.c: Likewise.
5571 * soft-fp/divdf3.c: Likewise.
5572 * soft-fp/divsf3.c: Likewise.
5573 * soft-fp/divtf3.c: Likewise.
5574 * soft-fp/double.h: Likewise.
5575 * soft-fp/eqdf2.c: Likewise.
5576 * soft-fp/eqsf2.c: Likewise.
5577 * soft-fp/eqtf2.c: Likewise.
5578 * soft-fp/extenddftf2.c: Likewise.
5579 * soft-fp/extended.h: Likewise.
5580 * soft-fp/extendsfdf2.c: Likewise.
5581 * soft-fp/extendsftf2.c: Likewise.
5582 * soft-fp/extendxftf2.c: Likewise.
5583 * soft-fp/fixdfdi.c: Likewise.
5584 * soft-fp/fixdfsi.c: Likewise.
5585 * soft-fp/fixdfti.c: Likewise.
5586 * soft-fp/fixsfdi.c: Likewise.
5587 * soft-fp/fixsfsi.c: Likewise.
5588 * soft-fp/fixsfti.c: Likewise.
5589 * soft-fp/fixtfdi.c: Likewise.
5590 * soft-fp/fixtfsi.c: Likewise.
5591 * soft-fp/fixtfti.c: Likewise.
5592 * soft-fp/fixunsdfdi.c: Likewise.
5593 * soft-fp/fixunsdfsi.c: Likewise.
5594 * soft-fp/fixunsdfti.c: Likewise.
5595 * soft-fp/fixunssfdi.c: Likewise.
5596 * soft-fp/fixunssfsi.c: Likewise.
5597 * soft-fp/fixunssfti.c: Likewise.
5598 * soft-fp/fixunstfdi.c: Likewise.
5599 * soft-fp/fixunstfsi.c: Likewise.
5600 * soft-fp/fixunstfti.c: Likewise.
5601 * soft-fp/floatdidf.c: Likewise.
5602 * soft-fp/floatdisf.c: Likewise.
5603 * soft-fp/floatditf.c: Likewise.
5604 * soft-fp/floatsidf.c: Likewise.
5605 * soft-fp/floatsisf.c: Likewise.
5606 * soft-fp/floatsitf.c: Likewise.
5607 * soft-fp/floattidf.c: Likewise.
5608 * soft-fp/floattisf.c: Likewise.
5609 * soft-fp/floattitf.c: Likewise.
5610 * soft-fp/floatundidf.c: Likewise.
5611 * soft-fp/floatundisf.c: Likewise.
5612 * soft-fp/floatunditf.c: Likewise.
5613 * soft-fp/floatunsidf.c: Likewise.
5614 * soft-fp/floatunsisf.c: Likewise.
5615 * soft-fp/floatunsitf.c: Likewise.
5616 * soft-fp/floatuntidf.c: Likewise.
5617 * soft-fp/floatuntisf.c: Likewise.
5618 * soft-fp/floatuntitf.c: Likewise.
5619 * soft-fp/fmadf4.c: Likewise.
5620 * soft-fp/fmasf4.c: Likewise.
5621 * soft-fp/fmatf4.c: Likewise.
5622 * soft-fp/gedf2.c: Likewise.
5623 * soft-fp/gesf2.c: Likewise.
5624 * soft-fp/getf2.c: Likewise.
5625 * soft-fp/ledf2.c: Likewise.
5626 * soft-fp/lesf2.c: Likewise.
5627 * soft-fp/letf2.c: Likewise.
5628 * soft-fp/muldf3.c: Likewise.
5629 * soft-fp/mulsf3.c: Likewise.
5630 * soft-fp/multf3.c: Likewise.
5631 * soft-fp/negdf2.c: Likewise.
5632 * soft-fp/negsf2.c: Likewise.
5633 * soft-fp/negtf2.c: Likewise.
5634 * soft-fp/op-1.h: Likewise.
5635 * soft-fp/op-2.h: Likewise.
5636 * soft-fp/op-4.h: Likewise.
5637 * soft-fp/op-8.h: Likewise.
5638 * soft-fp/op-common.h: Likewise.
5639 * soft-fp/quad.h: Likewise.
5640 * soft-fp/single.h: Likewise.
5641 * soft-fp/soft-fp.h: Likewise.
5642 * soft-fp/sqrtdf2.c: Likewise.
5643 * soft-fp/sqrtsf2.c: Likewise.
5644 * soft-fp/sqrttf2.c: Likewise.
5645 * soft-fp/subdf3.c: Likewise.
5646 * soft-fp/subsf3.c: Likewise.
5647 * soft-fp/subtf3.c: Likewise.
5648 * soft-fp/truncdfsf2.c: Likewise.
5649 * soft-fp/trunctfdf2.c: Likewise.
5650 * soft-fp/trunctfsf2.c: Likewise.
5651 * soft-fp/trunctfxf2.c: Likewise.
5652 * soft-fp/unorddf2.c: Likewise.
5653 * soft-fp/unordsf2.c: Likewise.
5654 * soft-fp/unordtf2.c: Likewise.
5655
9ebb0332
JM
56562013-10-15 Joseph Myers <joseph@codesourcery.com>
5657
5658 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5659 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5660
4b1a6d8b
OB
56612013-10-15 Ondřej Bílka <neleai@seznam.cz>
5662
5663 * elf/dl-libc.c: Clear initfini list after freeing.
5664
1e145589
JM
56652013-10-14 Joseph Myers <joseph@codesourcery.com>
5666
5667 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5668 * soft-fp/addsf3.c: Likewise.
5669 * soft-fp/addtf3.c: Likewise.
5670 * soft-fp/divdf3.c: Likewise.
5671 * soft-fp/divsf3.c: Likewise.
5672 * soft-fp/divtf3.c: Likewise.
5673 * soft-fp/double.h: Likewise.
5674 * soft-fp/eqdf2.c: Likewise.
5675 * soft-fp/eqsf2.c: Likewise.
5676 * soft-fp/eqtf2.c: Likewise.
5677 * soft-fp/extenddftf2.c: Likewise.
5678 * soft-fp/extended.h: Likewise.
5679 * soft-fp/extendsfdf2.c: Likewise.
5680 * soft-fp/extendsftf2.c: Likewise.
5681 * soft-fp/extendxftf2.c: Likewise.
5682 * soft-fp/fixdfdi.c: Likewise.
5683 * soft-fp/fixdfsi.c: Likewise.
5684 * soft-fp/fixdfti.c: Likewise.
5685 * soft-fp/fixsfdi.c: Likewise.
5686 * soft-fp/fixsfsi.c: Likewise.
5687 * soft-fp/fixsfti.c: Likewise.
5688 * soft-fp/fixtfdi.c: Likewise.
5689 * soft-fp/fixtfsi.c: Likewise.
5690 * soft-fp/fixtfti.c: Likewise.
5691 * soft-fp/fixunsdfdi.c: Likewise.
5692 * soft-fp/fixunsdfsi.c: Likewise.
5693 * soft-fp/fixunsdfti.c: Likewise.
5694 * soft-fp/fixunssfdi.c: Likewise.
5695 * soft-fp/fixunssfsi.c: Likewise.
5696 * soft-fp/fixunssfti.c: Likewise.
5697 * soft-fp/fixunstfdi.c: Likewise.
5698 * soft-fp/fixunstfsi.c: Likewise.
5699 * soft-fp/fixunstfti.c: Likewise.
5700 * soft-fp/floatdidf.c: Likewise.
5701 * soft-fp/floatdisf.c: Likewise.
5702 * soft-fp/floatditf.c: Likewise.
5703 * soft-fp/floatsidf.c: Likewise.
5704 * soft-fp/floatsisf.c: Likewise.
5705 * soft-fp/floatsitf.c: Likewise.
5706 * soft-fp/floattidf.c: Likewise.
5707 * soft-fp/floattisf.c: Likewise.
5708 * soft-fp/floattitf.c: Likewise.
5709 * soft-fp/floatundidf.c: Likewise.
5710 * soft-fp/floatundisf.c: Likewise.
5711 * soft-fp/floatunsidf.c: Likewise.
5712 * soft-fp/floatunsisf.c: Likewise.
5713 * soft-fp/floatuntidf.c: Likewise.
5714 * soft-fp/floatuntisf.c: Likewise.
5715 * soft-fp/floatuntitf.c: Likewise.
5716 * soft-fp/fmadf4.c: Likewise.
5717 * soft-fp/fmasf4.c: Likewise.
5718 * soft-fp/fmatf4.c: Likewise.
5719 * soft-fp/gedf2.c: Likewise.
5720 * soft-fp/gesf2.c: Likewise.
5721 * soft-fp/getf2.c: Likewise.
5722 * soft-fp/ledf2.c: Likewise.
5723 * soft-fp/lesf2.c: Likewise.
5724 * soft-fp/letf2.c: Likewise.
5725 * soft-fp/muldf3.c: Likewise.
5726 * soft-fp/mulsf3.c: Likewise.
5727 * soft-fp/multf3.c: Likewise.
5728 * soft-fp/negdf2.c: Likewise.
5729 * soft-fp/negsf2.c: Likewise.
5730 * soft-fp/negtf2.c: Likewise.
5731 * soft-fp/op-1.h: Likewise.
5732 * soft-fp/op-2.h: Likewise.
5733 * soft-fp/op-4.h: Likewise.
5734 * soft-fp/op-8.h: Likewise.
5735 * soft-fp/op-common.h: Likewise.
5736 * soft-fp/quad.h: Likewise.
5737 * soft-fp/single.h: Likewise.
5738 * soft-fp/soft-fp.h: Likewise.
5739 * soft-fp/sqrtdf2.c: Likewise.
5740 * soft-fp/sqrtsf2.c: Likewise.
5741 * soft-fp/sqrttf2.c: Likewise.
5742 * soft-fp/subdf3.c: Likewise.
5743 * soft-fp/subsf3.c: Likewise.
5744 * soft-fp/subtf3.c: Likewise.
5745 * soft-fp/truncdfsf2.c: Likewise.
5746 * soft-fp/trunctfdf2.c: Likewise.
5747 * soft-fp/trunctfsf2.c: Likewise.
5748 * soft-fp/trunctfxf2.c: Likewise.
5749 * soft-fp/unorddf2.c: Likewise.
5750 * soft-fp/unordsf2.c: Likewise.
5751 * soft-fp/unordtf2.c: Likewise.
5752
17c48a60
OB
57532013-10-14 Ondřej Bílka <neleai@seznam.cz>
5754
5755 [BZ #15672]
5756 * misc/error.c (error_tail): Fix possible buffer overflow.
5757
cabba934
OB
57582013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5759
5760 [BZ #13028]
5761 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5762 address.
5763
94bf958a
PM
57642013-10-14 P. J. McDermott <pj@pehjota.net>
5765
5766 [BZ #832]
5767 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5768 testing pipefail option.
5769
71b4dea7
JM
57702013-10-12 Joseph Myers <joseph@codesourcery.com>
5771
5772 * soft-fp/double.h: Indent preprocessor directives inside #if.
5773 * soft-fp/extended.h: Likewise.
5774 * soft-fp/op-2.h: Likewise.
5775 * soft-fp/op-4.h: Likewise.
5776 * soft-fp/op-common.h: Likewise.
5777 * soft-fp/quad.h: Likewise.
5778 * soft-fp/single.h: Likewise.
5779 * soft-fp/soft-fp.h: Likewise.
5780
55602758
YC
57812013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5782
5783 * iconv/iconv_prog.c: Fix typos.
5784 * stdio-common/psiginfo-data.h: Likewise.
5785
9cd83302
RT
57862013-10-12 Reuben Thomas <rrt@sc3d.org>
5787
5788 [BZ #15764]
5789 * locale/setlocale.c: Fix typo.
5790
99fd9f47
JM
57912013-10-12 Joseph Myers <joseph@codesourcery.com>
5792
b7ea74f0
JM
5793 [BZ #16036]
5794 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5795 signaling NaN arguments.
5796 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5797 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5798
8a509447
JM
5799 [BZ #14910]
5800 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5801 unordered operands.
5802 * soft-fp/gesf2.c (__gesf2): Likewise.
5803 * soft-fp/getf2.c (__getf2): Likewise.
5804 * soft-fp/ledf2.c (__ledf2): Likewise.
5805 * soft-fp/lesf2.c (__lesf2): Likewise.
5806 * soft-fp/letf2.c (__letf2): Likewise.
5807
98998e9f
JM
5808 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5809 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5810 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5811 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5812 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5813 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5814 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5815 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5816 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5817 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5818 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5819 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5820 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5821 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5822 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5823 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5824 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5825 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5826 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5827 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5828 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5829 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5830 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5831 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5832 * soft-fp/floattidf.c (__floattidf): Likewise.
5833 * soft-fp/floattisf.c (__floattisf): Likewise.
5834 * soft-fp/floattitf.c (__floattitf): Likewise.
5835 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5836 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5837 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5838 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5839 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5840 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5841 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5842 * soft-fp/gesf2.c (__gesf2): Likewise.
5843 * soft-fp/getf2.c (__getf2): Likewise.
5844 * soft-fp/ledf2.c (__ledf2): Likewise.
5845 * soft-fp/lesf2.c (__lesf2): Likewise.
5846 * soft-fp/letf2.c (__letf2): Likewise.
5847
8edc4a11
JM
5848 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5849 Undefine and redefine.
5850 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5851 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5852 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5853 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5854 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5855 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5856 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5857 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5858 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5859 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5860 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5861 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5862 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5863 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5864 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5865
8399acaf
JM
5866 [BZ #16032]
5867 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5868 without decrementing exponent if mantissa >= that for the
5869 denominator, not >.
5870 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5871 denominator, not >. Decrement exponent in < case instead of
5872 incrementing in >= case.
5873 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5874 without decrementing exponent if mantissa >= that for the
5875 denominator, not >.
5876
99fd9f47
JM
5877 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5878 computing saturated result for unsigned overflow.
5879
10e1cf6b
SP
58802013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5881 Jeff Law <law@redhat.com>
5882
5883 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5884 (atan2Mp): Add systemtap probe marker.
5885 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5886 (__ieee754_log): Add systemtap probe marker.
5887 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5888 (atanMp): Add systemtap probe marker.
5889 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5890 (tanMp): Add systemtap probe marker.
5891 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5892 (__slowexp): Add systemtap probe marker.
5893 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5894 (__slowpow): Add systemtap probe marker.
5895 * manual/probes.texi: Document probes.
5896
3d110c7c
EB
58972013-10-11 Eric Biggers <ebiggers3@gmail.com>
5898
5899 [BZ #15362]
5900 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5901 written.
5902 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5903 written.
5904 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5905 written to buffer but not flushed.
5906 * libio/iofwrite_u.c: Likewise.
5907 * libio/iopadn.c: Return bytes returned even if EOF was
5908 encountered.
5909 * libio/iowpadn.c: Likewise.
5910 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5911 if _IO_padn does not write the whole buffer.
5912 [!COMPILE_WPRINTF] (PAD): Likewise.
5913
75b4202a
DM
59142013-10-10 David S. Miller <davem@davemloft.net>
5915
5916 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5917 directory block.
5918
6c6352e6
JM
59192013-10-10 Joseph Myers <joseph@codesourcery.com>
5920
33b853c3
JM
5921 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5922 instead of FSF address.
5923 * soft-fp/fixdfti.c: Likewise.
5924 * soft-fp/fixsfti.c: Likewise.
5925 * soft-fp/fixtfti.c: Likewise.
5926 * soft-fp/fixunsdfti.c: Likewise.
5927 * soft-fp/fixunssfti.c: Likewise.
5928 * soft-fp/fixunstfti.c: Likewise.
5929 * soft-fp/floattidf.c: Likewise.
5930 * soft-fp/floattisf.c: Likewise.
5931 * soft-fp/floattitf.c: Likewise.
5932 * soft-fp/floatuntidf.c: Likewise.
5933 * soft-fp/floatuntisf.c: Likewise.
5934 * soft-fp/floatuntitf.c: Likewise.
5935 * soft-fp/trunctfxf2.c: Likewise.
5936
6c6352e6
JM
5937 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5938 * soft-fp/fixdfti.c: Likewise.
5939 * soft-fp/fixsfti.c: Likewise.
5940 * soft-fp/fixtfti.c: Likewise.
5941 * soft-fp/fixunsdfti.c: Likewise.
5942 * soft-fp/fixunssfti.c: Likewise.
5943 * soft-fp/fixunstfti.c: Likewise.
5944 * soft-fp/floattidf.c: Likewise.
5945 * soft-fp/floattisf.c: Likewise.
5946 * soft-fp/floattitf.c: Likewise.
5947 * soft-fp/floatuntidf.c: Likewise.
5948 * soft-fp/floatuntisf.c: Likewise.
5949 * soft-fp/floatuntitf.c: Likewise.
5950 * soft-fp/trunctfxf2.c: Likewise.
5951
3bf78b71
DM
59522013-10-10 David S. Miller <davem@davemloft.net>
5953
5954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5955
6f10289e
JM
59562013-10-10 Joseph Myers <joseph@codsourcery.com>
5957
bd878fc0
JM
5958 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5959 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5960 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5965
6f10289e
JM
5966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5967 for NaNs before doing comparisons on argument.
5968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5969 Likewise.
5970
321e2684
WN
59712013-10-10 Will Newton <will.newton@linaro.org>
5972
5973 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5974 passed to _int_memalign does not overflow.
5975
40fefba1
TR
59762013-10-10 Torvald Riegel <triegel@redhat.com>
5977
5978 * scripts/bench.pl: Add include-sources directive.
5979 * benchtests/README: Update documentation.
5980
2ae21ed2
JM
59812013-10-10 Joseph Myers <joseph@codesourcery.com>
5982
dcc2dd3f
JM
5983 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5984 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5985 instead of FP_INIT_ROUNDMODE.
5986 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5987 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5988
2ae21ed2
JM
5989 [BZ #16034]
5990 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5991 copy class of input value.
5992 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5993 not handle exceptions.
5994 * soft-fp/negsf2.c (__negsf2): Likewise.
5995 * soft-fp/negtf2.c (__negtf2): Likewise.
5996 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5997
cb8f9562
JM
59982013-10-09 Joseph Myers <joseph@codesourcery.com>
5999
6000 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6001 semicolon. From Linux kernel.
6002
5b60c59d
AB
60032013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6004
6005 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6006
b86835ca
YC
60072013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6008
6009 [BZ #156]
6010 * manual/socket.texi: Added statement about buffer
6011 for gethostbyname2_r.
6012
e7044ea7
OB
60132013-10-08 Ondřej Bílka <neleai@seznam.cz>
6014
6015 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6016 Use .p2align directive instead, throughout.
6017 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6018 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6019 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6022 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6023 * sysdeps/x86_64/strchr.S: Likewise.
6024 * sysdeps/x86_64/strrchr.S: Likewise.
6025
09544cbc
SP
60262013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6027
88576635
SP
6028 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6029
e7b2d1dd
SP
6030 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6031
09544cbc
SP
6032 * sysdeps/generic/math_private.h (__mpsin1): Remove
6033 declaration.
6034 (__mpcos1): Likewise.
6035 (__mpsin): New argument __range_reduce.
6036 (__mpcos): Likewise.
6037 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6038 (slow): Use __mpsin and __mpcos.
6039 (slow1): Likewise.
6040 (slow2): Likewise.
6041 (sloww): Likewise.
6042 (sloww1): Likewise.
6043 (sloww2): Likewise.
6044 (bsloww): Likewise.
6045 (bsloww1): Likewise.
6046 (bsloww2): Likewise.
6047 (cslow2): Likewise.
6048 (csloww): Likewise.
6049 (csloww1): Likewise.
6050 (csloww2): Likewise.
6051 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6052 range_reduce. Merge in __mpsin1.
6053 (__mpcos): Likewise.
6054 (__mpsin1): Remove.
6055 (__mpcos1): Likewise.
6056
7602d070
JM
60572013-10-07 Joseph Myers <joseph@codesourcery.com>
6058
6059 * locale/loadlocale.c (_nl_intern_locale_data): Use
6060 LOCFILE_ALIGNED_P.
6061 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6062 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6063 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6064 obstack data is appropriately aligned.
6065 (obstack_int32_grow_fast): Likewise.
6066 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6067 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6068 (add_locale_uint32_array): Likewise.
6069
a357259b
SP
60702013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6071
6072 * benchtests/Makefile: Remove ARGLIST and RET variables.
6073 ($(objpfx)bench-%.c): Pass only function name to the script.
6074 * benchtests/README: Update documentation.
6075 * benchtests/acos-inputs: Add new directives.
6076 * benchtests/acosh-inputs: Likewise.
6077 * benchtests/asin-inputs: Likewise.
6078 * benchtests/asinh-inputs: Likewise.
6079 * benchtests/atan-inputs: Likewise.
6080 * benchtests/atanh-inputs: Likewise.
6081 * benchtests/cos-inputs: Likewise.
6082 * benchtests/cosh-inputs: Likewise.
6083 * benchtests/exp-inputs: Likewise.
6084 * benchtests/log-inputs: Likewise.
6085 * benchtests/pow-inputs: Likewise.
6086 * benchtests/rint-inputs: Likewise.
6087 * benchtests/sin-inputs: Likewise.
6088 * benchtests/sinh-inputs: Likewise.
6089 * benchtests/tan-inputs: Likewise.
6090 * benchtests/tanh-inputs: Likewise.
6091 * scripts/bench.pl: Add support for new directives.
6092
9ec1b13d
AM
60932013-10-07 Alan Modra <amodra@gmail.com>
6094
6095 * README: Fix careless merge.
6096
8b7d57cd
AM
60972013-10-05 Alan Modra <amodra@gmail.com>
6098
6099 * NEWS: Mention powerpc64le support and bugs fixed.
6100 * README: Both big-endian and little-endian powerpc64 supported.
6101
7b7bab13
ST
61022013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6103
6104 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6105 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6106 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6107 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6108
d39baad1
RA
61092013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6110
6111 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6112 match prototype.
6113
cd78f7e7
JM
61142013-10-04 Joseph Myers <joseph@codesourcery.com>
6115
29d73d86
JM
6116 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6117 Move -mhard-float appending from
6118 ports/sysdeps/powerpc/powerpc32/Makefile.
6119 [$(with-fp) = yes] (ASFLAGS): Likewise.
6120 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6121 * sysdeps/powerpc/nofpu: Move directory from
6122 ports/sysdeps/powerpc/nofpu.
6123 * sysdeps/powerpc/soft-fp: Move directory from
6124 ports/sysdeps/powerpc/soft-fp.
6125 * sysdeps/powerpc/powerpc32/405: Move directory from
6126 ports/sysdeps/powerpc/powerpc32/405.
6127 * sysdeps/powerpc/powerpc32/440: Move directory from
6128 ports/sysdeps/powerpc/powerpc32/440.
6129 * sysdeps/powerpc/powerpc32/464: Move directory from
6130 ports/sysdeps/powerpc/powerpc32/464.
6131 * sysdeps/powerpc/powerpc32/476: Move directory from
6132 ports/sysdeps/powerpc/powerpc32/476.
6133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6134 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6136 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6138 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6140 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6142 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6143 * README: Update for powerpc-*-linux-gnu software floating point
6144 support in libc.
6145
e246b347
JM
6146 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6147 case to powerpc/powerpc32*.
6148 * sysdeps/unix/sysv/linux/configure: Regenerated.
6149
89c2003e
JM
6150 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6151 (_FPU_MASK_OM): Define as 0x04.
6152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6154 0x00c10080.
6155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6156 0x0000003c.
6157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6158
cd78f7e7
JM
6159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6160 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6161 getcontext_e500.
6162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6163 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6164 setcontext_e500.
6165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6166 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6167 and setcontext_e500.
6168
c755294d
CL
61692013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6170
6171 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6172
e16d221c
SP
61732013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6174
6175 * manual/threads.texi (Default Thread Attributes): Fix typo.
6176
215c7d43
WN
61772013-10-04 Will Newton <will.newton@linaro.org>
6178
6179 * malloc/Makefile: Add tst-memalign.
6180 * malloc/tst-memalign.c: New file.
6181
27d0461b
WN
6182 * malloc/tst-posix_memalign.c: Add comments.
6183 (do_test): Add comments and call free on all potentially
6184 allocated pointers. Add space after cast.
6185
1bc92709
WN
6186 * malloc/tst-pvalloc.c: Add comments.
6187 (do_test): Add comments and call free on all potentially
6188 allocated pointers. Remove duplicate check for NULL pointer.
6189 Add space after cast.
6190
66a9be9d
WN
6191 * malloc/tst-valloc.c: Add comments.
6192 (do_test): Add comments and call free on all potentially
6193 allocated pointers. Remove duplicate check for NULL pointer.
6194 Add space after cast.
6195
4cb81307
AM
61962013-10-04 Alan Modra <amodra@gmail.com>
6197
6198 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6199 Use stdint types in rather than __attribute__((mode())).
6200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6201
f8e3e9f3
AM
62022013-10-04 Alan Modra <amodra@gmail.com>
6203
6204 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6205 Correct handling of unaligned relocs for little-endian.
6206 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6207
8f9ebb08
AM
62082013-10-04 Alan Modra <amodra@gmail.com>
6209
6210 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6211 * configure: Regenerate.
6212 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6213 * shlib-versions: Likewise.
6214
0edf96c2
AM
62152013-10-04 Alan Modra <amodra@gmail.com>
6216
6217 * string/tester.c (test_memrchr): Increment reported test cycle.
6218
e0f7a380
AM
62192013-10-04 Alan Modra <amodra@gmail.com>
6220
6221 * string/test-memcpy.c (do_one_test): When reporting errors, print
6222 string address and don't overrun end of string.
6223
466b0393
AM
62242013-10-04 Alan Modra <amodra@gmail.com>
6225
6226 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6227 insrdi. Make better use of reg selection to speed exit slightly.
6228 Schedule entry path a little better. Remove useless "are we done"
6229 checks on entry to main loop. Handle wrapping around zero address.
6230 Correct main loop count. Handle single left-over word from main
6231 loop inline rather than by using loop_small. Remove extra word
6232 case in loop_small caused by wrong loop count. Add little-endian
6233 support.
6234 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6236 cache hint.
6237 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6238 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6239 support. Avoid rlwimi.
6240 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6241
3be87c77
AM
62422013-10-04 Alan Modra <amodra@gmail.com>
6243
6244 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6245 insrdi. Formatting.
3be87c77
AM
6246 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6247 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6248 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6249 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6250 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6251 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6252
759cfef3
AM
62532013-10-04 Alan Modra <amodra@gmail.com>
6254
6255 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6256 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6257 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6258 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6259 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6260 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6261 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6262 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6263 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6264 use of regs. Use power7 mtocrf. Tidy function tails.
6265
fe6e95d7
AM
62662013-10-04 Alan Modra <amodra@gmail.com>
6267
6268 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6269 Formatting. Consistently use rXXX register defines or rN defines.
6270 Use early exit labels that avoid restoring unused non-volatile regs.
6271 Make cr field use more consistent with rWORDn compares. Rename
6272 regs used as shift registers for unaligned loop, using rN defines
6273 for short lifetime/multiple use regs.
6274 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6275 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6276 addi 1,1,64 to pop stack frame. Simplify return value code.
6277 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6278
664318c3
AM
62792013-10-04 Alan Modra <amodra@gmail.com>
6280
6281 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6282 support. Correct typos, formatting. Optimize tail. Use insrdi
6283 rather than rlwimi.
6284 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6285 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6286 little-endian support. Correct typos.
6287 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6288 rather than rlwimi.
6289 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6290 in loop and entry code to keep "and." results.
6291 (strchr): Add little-endian support. Comment. Move cntlzd
6292 earlier in tail.
6293 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6294
43b84013
AM
62952013-10-04 Alan Modra <amodra@gmail.com>
6296
6297 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6298 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6299 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6300 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6301
8a7413f9
AM
63022013-10-04 Alan Modra <amodra@gmail.com>
6303
6304 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6305 (rTMP): Define as r11.
6306 (strcmp): Add little-endian support. Optimise tail.
6307 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6308 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6309 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6310 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6311 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6313 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6314
33ee81de
AM
63152013-10-04 Alan Modra <amodra@gmail.com>
6316
6317 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6318 little-endian support. Remove unnecessary "are we done" tests.
6319 Handle "s" wrapping around zero and extremely large "size".
6320 Correct main loop count. Handle single left-over word from main
6321 loop inline rather than by using small_loop. Correct comments.
6322 Delete "zero" tail, use "end_max" instead.
6323 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6324
db9b4570
AM
63252013-10-04 Alan Modra <amodra@gmail.com>
6326
6327 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6328 support. Don't branch over align.
6329 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6330 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6331 support. Rearrange tmp reg use to suit. Comment.
6332 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6333
f7c399cf
AM
63342013-10-04 Alan Modra <amodra@gmail.com>
6335
6336 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6337
0b2c2ace
AM
63382013-10-04 Alan Modra <amodra@gmail.com>
6339
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6341 conditional form of branch and link when obtaining pc.
6342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6343
02f04a6c
AM
63442013-10-04 Alan Modra <amodra@gmail.com>
6345
6346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6347 HIWORD/LOWORD.
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6350
9b874b2f
AM
63512013-10-04 Alan Modra <amodra@gmail.com>
6352
6353 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6354 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6355 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6356 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6357 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6358 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6359 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6360 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6361 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6362 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6363
be1e5d31
AB
63642013-10-04 Anton Blanchard <anton@au1.ibm.com>
6365 Alistair Popple <alistair@ozlabs.au.ibm.com>
6366 Alan Modra <amodra@gmail.com>
6367
6368 [BZ #15723]
6369 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6370 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6371 _dl_hwcap access for little-endian.
6372 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6373 destroy vmx regs when saving unaligned.
6374 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6375 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6376 destroy vmx regs when saving unaligned.
6377
fef13a78
AM
63782013-10-04 Alan Modra <amodra@gmail.com>
6379
6380 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6381 Don't use a union to pack hi/low value.
6382
76a66d51
AB
63832013-10-04 Anton Blanchard <anton@au1.ibm.com>
6384
6385 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6386 for little-endian.
6387 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6388 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6389 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6390 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6391 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6392
6a31fe7f
AM
63932013-10-04 Alan Modra <amodra@gmail.com>
6394
6395 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6396 constants to usual value for .cst8 section, and remove redundant
6397 high address load.
6398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6399 constant for 0x1p52. Load little-endian words of double from
6400 correct stack offsets.
6401
7b88401f
AM
64022013-10-04 Alan Modra <amodra@gmail.com>
6403
6404 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6405 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6406 words of double from correct stack offsets.
6407 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6408 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6409 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6411 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6412 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6414 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6415 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6416 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6418 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6419 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6420 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6421 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6422 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6423 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6424
9c008155
AM
64252013-10-04 Alan Modra <amodra@gmail.com>
6426
6427 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6428 64-bit int/double union.
6429 (_FPU_SETCW): Likewise.
6430 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6431 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6432
da13146d
AM
64332013-10-04 Alan Modra <amodra@gmail.com>
6434
6435 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6436 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6437
603e8410
AM
64382013-10-04 Alan Modra <amodra@gmail.com>
6439
6440 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6441 use vector int constants.
6442 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6443
4a28b3ca
AB
64442013-10-04 Anton Blanchard <anton@au1.ibm.com>
6445
6446 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6447 array with long long.
6448 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6449 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6450 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6451 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6452 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6453 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6454 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6455 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6456 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6457 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6458 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6459 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6460 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6461
2ca85d2b
AB
64622013-10-04 Anton Blanchard <anton@au1.ibm.com>
6463
6464 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6465 (__signbit): Likewise. Correct for little-endian.
6466 (__signbitl): Call __signbit.
6467 (lrint): Correct for little-endian.
6468 (lrintf): Call lrint.
6469
62a728ae
AM
64702013-10-04 Alan Modra <amodra@gmail.com>
6471
6472 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6473 union 32-bit int array member with 64-bit int array.
6474 (t515, tm256): Double rather than long double.
6475 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6476
32c301df
AM
64772013-10-04 Alan Modra <amodra@gmail.com>
6478
6479 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6480 Delete.
6481 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6483 version of math_ldbl.h.
6484
650ef4bd
AM
64852013-10-04 Alan Modra <amodra@gmail.com>
6486
6487 [BZ #15734], [BZ #15735]
6488 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6489 all uses of ieee875 long double macros and unions. Simplify test
6490 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6491 ldbl_extract_mantissa value for ix,iy exponents. Properly
6492 normalize after ldbl_extract_mantissa, and don't add hidden bit
6493 already handled. Don't treat low word of ieee854 mantissa like
6494 low word of IBM long double and mask off bit when testing for
6495 zero.
6496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6497 all uses of ieee875 long double macros and unions. Simplify tests
6498 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6499 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6500 two1022, instead use their values. Recognise that tests for large
6501 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6502 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6503 Rewrite all uses of ieee875 long double macros and unions. Simplify
6504 test for 0.0L and nan. Correct negation.
6505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6506 ieee875 long double macros and unions. Correct output for large
6507 magnitude x. Correct absolute value calculation.
6508 (__erfcl): Likewise.
6509 * math/libm-test.inc: Add tests for errors discovered in IBM long
6510 double versions of fmodl, remainderl, erfl and erfcl.
6511
765714ca
AM
65122013-10-04 Alan Modra <amodra@gmail.com>
6513
6514 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6515 all uses of ieee854 long double macros and unions. Simplify tests
6516 for long doubles that are fully specified by the high double.
6517 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6518 Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6520 Remove dead code too.
6521 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6522 (__ieee754_ynl): Likewise.
6523 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6524 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6526 Remove dead code too.
6527 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6531 Simplify.
6532 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6533 Simplify.
6534 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6537 Comment on variable precision.
6538 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6540 Likewise.
6541 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6545 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6546
4ebd120c
AM
65472013-10-04 Alan Modra <amodra@gmail.com>
6548
6549 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6551 all uses of ieee854 long double macros and unions.
6552 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6556 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6558 Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6565 Simplify sign and nan test too.
6566 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6570 Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6573 Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6576 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6580
1b6adf88
AM
65812013-10-04 Alan Modra <amodra@gmail.com>
6582
6583 * stdio-common/printf_size.c (__printf_size): Don't use
6584 union ieee854_long_double in fpnum union.
6585 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6586 signbit macro to retrieve sign from long double.
6587 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6588 retrieve sign from long double.
6589 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6590 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6591 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6592 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6593 * math/test-misc.c (main): Don't use union ieee854_long_double.
6594
4cf69995
AM
65952013-10-04 Alan Modra <amodra@gmail.com>
6596
6597 [BZ #15680]
6598 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6599 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6600 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6601 calculation. Remove unnecessary test for denormal exponent.
6602 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6603 Correct handling of denormals. Avoid undefined shift behaviour.
6604 Correct normalisation of low mantissa when low double is denormal.
6605 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6606 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6607 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6608 Correct normalisation of low mantissa. Test for overflow of high
6609 mantissa and normalise.
6610 (ldbl_nearbyint): Use more readable constant for two52.
6611 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6612 (__mpn_construct_long_double): Fix test for overflow of high
6613 mantissa and correct normalisation. Avoid undefined shift.
6614
9605ca6c
AM
66152013-10-04 Alan Modra <amodra@gmail.com>
6616
6617 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6618 (union ibm_extended_long_double): Define as an array of ieee754_double.
6619 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6620 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6621 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6622 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6626 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6630
975569d0
JM
66312013-10-03 Joseph Myers <joseph@codesourcery.com>
6632
d3d23756
JM
6633 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6634 page size instead of calling getpagesize.
6635
975569d0
JM
6636 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6637 (LOCFILE_ALIGN_MASK): Likewise.
6638 (LOCFILE_ALIGN_UP): Likewise.
6639 (LOCFILE_ALIGNED_P): Likewise.
6640 * locale/programs/ld-collate.c (collate_output): Use the new
6641 macros instead of __alignof__ (int32_t).
6642 * locale/weight.h (findidx): Likewise.
6643
b1fe1f2b
OB
66442013-10-03 Ondřej Bílka <neleai@seznam.cz>
6645
6646 [BZ #431]
6647 * manual/string.texi: Fix strncat and wcsncat.
6648
5f855e35
BM
66492013-10-03 Brooks Moses <bmoses@google.com>
6650
6651 [BZ #15915]
6652 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6653 * Makerules: ...here, and adjust associated comments.
6654
3cef6009
WN
66552013-10-02 Will Newton <will.newton@linaro.org>
6656
6657 * malloc/Makefile: Add tst-pvalloc.
6658 * malloc/tst-pvalloc.c: New file.
6659
7815420b
WN
66602013-10-02 Will Newton <will.newton@linaro.org>
6661
6662 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6663 improve test coverage.
6664
4868b204
WN
66652013-10-02 Will Newton <will.newton@linaro.org>
6666
6667 * malloc/Makefile: Add tst-posix_memalign.
6668 * malloc/tst-posix_memalign.c: New file.
6669
29c793b3
EB
66702013-10-01 Eric Blake <eblake@redhat.com>
6671
6672 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6673 Use __THROWNL rather than __THROW on static functions.
6674
fd967522
PM
66752013-09-30 Petr Machata <pmachata@redhat.com>
6676
6677 * elf/elf.h (R_AARCH64_ABS16): New macro.
6678 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6679 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6680 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6681 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6682 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6683 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6684 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6685 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6686 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6687 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6688 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6689 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6690 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6691 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6692 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6693 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6694 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6695 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6696 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6697 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6698 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6699 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6700 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6701 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6702 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6703 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6704 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6705 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6706 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6707 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6708 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6709 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6710 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6711 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6712 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6713 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6714 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6715 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6716 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6717 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6718 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6719 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6720 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6721 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6722 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6723 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6724 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6725 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6726 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6727 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6728 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6729 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6730 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6731 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6732 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6733 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6734 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6735 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6736 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6737 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6738 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6739 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6740 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6741 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6742 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6743 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6744 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6745 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6746 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6747 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6748 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6749 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6750 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6751 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6752 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6753 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6754 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6755 (R_AARCH64_TLSDESC_LDR): Likewise.
6756 (R_AARCH64_TLSDESC_ADD): Likewise.
6757 (R_AARCH64_TLSDESC_CALL): Likewise.
6758
b2179107
AS
67592013-09-30 Andreas Schwab <schwab@suse.de>
6760
6761 [BZ #15048]
6762 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6763 the nss database lookup.
6764 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6766
47f28d0a
MF
67672013-09-28 Mike Frysinger <vapier@gentoo.org>
6768
6769 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6770
67712013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6772
6773 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6774 ${Bash-specific parameter/pattern/string} parameter expansion.
6775 * sysdeps/unix/make-syscalls.sh: Likewise.
6776
f4518a17
KK
67772013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6778
6779 * sysdeps/sh/stackguard-macros.h: New file.
6780
dc1a95c7
OB
67812013-09-26 Ondřej Bílka <neleai@seznam.cz>
6782
6783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6785 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6786 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6787 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6788 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6789
5ebbff8f
AZ
67902013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6791
6792 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6793 Fix thread ID register.
6794
4fd2cf9f
JM
67952013-09-25 Joseph Myers <joseph@codesourcery.com>
6796
6797 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6798 [POSIX || UNIX98]: Require rather than permitting all symbols from
6799 <time.h>.
6800 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6801 element of struct sched_param.
6802 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6803 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6804 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6805 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6806 constant.
6807
12c22bc4
OL
68082013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6809
6810 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6811 argument calculation.
6812
a03d8ea7
JM
68132013-09-24 Joseph Myers <joseph@codesourcery.com>
6814
6815 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6816 Expect macro.
6817 [POSIX] (pthread_attr_t): Do not require type.
6818 [POSIX] (pthread_cond_t): Likewise.
6819 [POSIX] (pthread_condattr_t): Likewise.
6820 [POSIX] (pthread_key_t): Likewise.
6821 [POSIX] (pthread_mutex_t): Likewise.
6822 [POSIX] (pthread_mutexattr_t): Likewise.
6823 [POSIX] (pthread_once_t): Likewise.
6824 [POSIX] (pthread_t): Likewise.
6825 [POSIX-based standards] (pthread_atfork): Expect function.
6826
6055173a
JM
68272013-09-24 Joseph Myers <joseph@codesourcery.com>
6828 Richard Sandiford <richard@codesourcery.com>
6829
6830 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6831 (swap_endianness_p): New extern variable.
6832 (set_big_endian): New inline function.
6833 (maybe_swap_uint32): Likewise.
6834 (maybe_swap_uint32_array): Likewise.
6835 (maybe_swap_uint32_obstack): Likewise.
6836 * locale/programs/locfile.c: Include <stdbool.h>.
6837 (swap_endianness_p): New variable.
6838 (add_locale_uint32): Call maybe_swap_uint32.
6839 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6840 (write_locale_data): Call maybe_swap_uint32_array.
6841 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6842 maybe_swap_uint32.
6843 (obstack_int32_grow_fast): Likewise.
6844 (output_weightwc): Call maybe_swap_uint32_obstack.
6845 (collate_output): Likewise.
6846 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6847 (OPT_LITTLE_ENDIAN): Likewise.
6848 (options): Add --little-endian and --big-endian options.
6849 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6850 * locale/programs/locarchive.c: Include "locfile.h".
6851 (GET): New macro.
6852 (SET): Likewise.
6853 (INC): Likewise.
6854 (create_archive): Use the new macros to access fields of
6855 structures directly mapped from or written to locale archives.
6856 (oldlocrecentcmp): Likewise.
6857 (enlarge_archive): Likewise.
6858 (insert_name): Likewise.
6859 (add_alias): Likewise.
6860 (add_locale): Likewise.
6861 (delete_locales_from_archive): Likewise.
6862 (show_archive_content): Likewise.
6863 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6864 locale data.
6865
39bf0bb4
RM
68662013-09-24 Roland McGrath <roland@hack.frob.com>
6867
6868 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6869 http://www.gnu.org/doc/freemanuals.texi.
6870 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6871
f02eed10
WN
68722013-09-24 Will Newton <will.newton@linaro.org>
6873
6874 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6875 macro.
6876
a3a6c312
JM
68772013-09-23 Joseph Myers <joseph@codesourcery.com>
6878
6879 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6880 unsigned char.
6881
107375ac
MR
68822013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6883
6884 * manual/threads.texi (POSIX Threads): Fix a typo.
6885
141f3a77
SP
68862013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6887
303e567a
SP
6888 [BZ #14547]
6889 * string/tst-strcoll-overflow.c: New test case.
6890 * string/Makefile (xtests): Add tst-strcoll-overflow.
6891 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6892 cache if string sizes may cause integer overflow.
6893
141f3a77
SP
6894 [BZ #14547]
6895 * string/strcoll_l.c (coll_seq): New members rule, idx,
6896 save_idx and back_us.
6897 (get_next_seq_nocache): New function.
6898 (do_compare_nocache): New function.
6899 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6900 when malloc fails.
6901
c61b4d41
CD
69022013-09-23 Carlos O'Donell <carlos@redhat.com>
6903
0b1f8e35
CD
6904 [BZ #15754]
6905 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6906 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6907 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6908
c61b4d41
CD
6909 [BZ #15754]
6910 * elf/Makefile (tests): Add tst-ptrguard1.
6911 (tests-static): Add tst-ptrguard1-static.
6912 (tst-ptrguard1-ARGS): Define.
6913 (tst-ptrguard1-static-ARGS): Define.
6914 * elf/tst-ptrguard1.c: New file.
6915 * elf/tst-ptrguard1-static.c: New file.
6916 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6917 * sysdeps/i386/stackguard-macros.h: Likewise.
6918 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6919 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6920 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6921 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6922 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6923 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6924
69252013-09-23 Hector Marco <hecmargi@upv.es>
6926 Ismael Ripoll <iripoll@disca.upv.es>
6927 Carlos O'Donell <carlos@redhat.com>
6928
6929 [BZ #15754]
6930 * sysdeps/generic/stackguard-macros.h: Define
6931 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6932 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6933 Define __pointer_chk_guard_local.
6934 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6935 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6936
f5f4e7b4
VV
69372013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6938
6939 [BZ #15859]
6940 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6941
5bb43a43
AS
69422013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6943
6944 * include/string.h (__ffs): Declare as hidden.
6945 * string/ffs.c (__ffs): Define as hidden.
6946 * sysdeps/i386/ffs.c (__ffs): Likewise.
6947 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6948 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6949 * sysdeps/s390/ffs.c (__ffs): Likewise.
6950 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6951
3ea5be54
AO
69522013-09-20 Alexandre Oliva <aoliva@redhat.com>
6953
ffb89e53
AO
6954 * NEWS: Mention malloc probes.
6955
322dea08
AO
6956 * malloc/arena.c (new_heap): New memory_heap_new probe.
6957 (grow_heap): New memory_heap_more probe.
6958 (shrink_heap): New memory_heap_less probe.
6959 (heap_trim): New memory_heap_free probe.
6960 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6961 (systrim): New memory_sbrk_less probe.
6962 * manual/probes.texi: Document them.
6963
655673f3
AO
6964 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6965 * manual/probes.texi: Document it.
6966
35fed6f1
AO
6967 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6968 (__libc_realloc): Add memory_realloc_retry probe.
6969 (__libc_memalign): Add memory_memalign_retry probe.
6970 (__libc_valloc): Add memory_valloc_retry probe.
6971 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6972 (__libc_calloc): Add memory_calloc_retry probe.
6973 * manual/probes.texi: Document them.
6974
6999d38c
AO
6975 * malloc/arena.c (get_free_list): Add probe
6976 memory_arena_reuse_free_list.
6977 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6978 and memory_arena_reuse.
6979 (arena_get2) [!PER_THREAD]: Likewise.
6980 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6981 memory_arena_reuse_realloc.
6982 * manual/probes.texi: Document them.
6983
0653427f
AO
6984 * malloc/malloc.c (__libc_free): Add
6985 memory_mallopt_free_dyn_thresholds probe.
6986 (__libc_mallopt): Add multiple memory_mallopt probes.
6987 * manual/probes.texi: Document them.
6988
3ea5be54
AO
6989 * malloc/malloc.c: Include stap-probe.h.
6990 (__libc_mallopt): Add memory_mallopt probe.
6991 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6992 * manual/probes.texi: New.
6993 * manual/Makefile (chapters): Add probes.
6994 * manual/threads.texi: Set next node.
6995
e35696c3 69962013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 6997
e35696c3
CL
6998 [BZ #15963, #13985]
6999 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7000 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7001 Add `Chinese' to `nan' entry name.
7002
4aafb73c
SP
70032013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7004
7005 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7006 (POLYNOMIAL): Likewise.
7007 (TAYLOR_SINCOS): Likewise.
7008 (TAYLOR_SLOW): Likewise.
7009 (__sin): Use TAYLOR_SINCOS.
7010 (__cos): Likewise.
7011 (slow): Use TAYLOR_SLOW.
7012 (sloww): Likewise.
7013 (bsloww): Likewise.
7014 (csloww): Likewise.
7015
d84f25c7
LD
70162013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7017
7018 * stdlib/strtod_l.c: Fix buffer overrun.
7019
5eea0404
SP
70202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7021
7849ff93
SP
7022 * benchtests/Makefile (bench): Add sincos.
7023 * benchtests/bench-sincos.c: New file.
7024
cfa3c886
SP
7025 * math/libm-test.inc (cos_test_data): New test inputs.
7026 (sin_test_data): Likewise.
7027
b348e1e3
SP
7028 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7029 macro.
7030 (__sin): Use it.
7031 (__cos): Likewise.
7032 (slow1): Likewise.
7033 (slow2): Likewise.
7034 (sloww1): Likewise.
7035 (sloww2): Likewise.
7036 (bsloww1): Likewise.
7037 (bsloww2): Likewise.
7038 (cslow2): Likewise.
7039 (csloww1): Likewise.
7040 (csloww2): Likewise.
7041
6cce25f8
SP
7042 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7043 function.
7044 (__sin): Use it.
7045 (__cos): Likewise.
7046
5eea0404
SP
7047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7048 gotos.
7049 (__cos): Likewise.
7050
9c21573c
MR
70512013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7052
7053 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7054 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7055 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7056 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7057 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7058 * elf/cache.c (print_entry): Handle the new cache flags.
7059
24d22e65
JM
70602013-09-18 Joseph Myers <joseph@codesourcery.com>
7061 Aldy Hernandez <aldyh@redhat.com>
7062
7063 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7064 Change condition to [_SOFT_FLOAT].
7065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7077 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7080 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7081 declaration.
7082
d13ef066
JM
70832013-09-18 Joseph Myers <joseph@codesourcery.com>
7084
2e071de0
JM
7085 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7086 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7087 (__longjmp): Use LOAD_GP to load saved GPRs.
7088 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7089 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7090 (__sigsetjmp): Use SAVE_GP to save GPRs.
7091
d13ef066
JM
7092 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7093 Do not append -msoft-float.
7094 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7095
97a0650b
SP
70962013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7097
7098 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7099
11ca09e9
JM
71002013-09-17 Joseph Myers <joseph@codesourcery.com>
7101
7102 [BZ #15966]
7103 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7104 (_FPU_GETCW): Use initial "__" on variable and field names but not
7105 on macro parameter name.
7106 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7107 parentheses around reference to macro parameter.
7108
08ffcf34
RS
71092013-09-13 Richard Sandiford <richard@codesourcery.com>
7110
7111 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7112 prototype.
7113 (ctype_startup): Use uint32_t in cast and sizeof for
7114 ctype->charnames.
7115
ae7080d3
JL
71162013-09-11 Jia Liu <proljc@gmail.com>
7117
7118 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7119 __daddr_t_defined.
7120 [__FreeBSD__]: Likewise.
7121
5905e7b3
OB
71222013-09-11 Ondřej Bílka <neleai@seznam.cz>
7123
7124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7125 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7126 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7127 (strchr): Remove __strchr_sse42 ifunc selection.
7128 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7129 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7130
b987c776
WN
71312013-09-11 Will Newton <will.newton@linaro.org>
7132
7133 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7134 parameter to RES. Remove hardcoded 1000 value.
7135 * benchtests/bench-skeleton.c (main): Pass RES parameter
7136 to TIMING_INIT and multiply result by 1000.
7137
ddf985af
AZ
71382013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7139
7140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7141
ffdd3181
AS
71422013-09-11 Andreas Schwab <schwab@suse.de>
7143
7144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7145 if not defined.
7146 (O_TMPFILE) [__USE_GNU]: Define.
7147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7148 Define.
7149
b73ed247
WN
71502013-09-11 Will Newton <will.newton@linaro.org>
7151
7152 [BZ #15857]
7153 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7154 does not overflow.
7155
55e17aad
WN
71562013-09-11 Will Newton <will.newton@linaro.org>
7157
7158 [BZ #15856]
7159 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7160 does not overflow.
7161
1159a193
WN
71622013-09-11 Will Newton <will.newton@linaro.org>
7163
7164 [BZ #15855]
7165 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7166 does not overflow.
7167
5905e7b3 71682013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7169
7170 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7172 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7173 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7174 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7175
cdfc721b
AM
71762013-09-10 Allan McRae <allan@archlinux.org>
7177
aa04af00
AM
7178 [BZ #15748]
7179 * manual/arith.texi (Parsing of Floats): Clarify
7180 cross-reference.
7181
cdfc721b
AM
7182 [BZ #15849]
7183 * manual/install.texi (Running make install): Mention
7184 --enable-pt-chown.
7185 * INSTALL: Regenerated.
7186
95e7cf29
MR
71872013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7188
7189 * csu/init-first.c (_init): Remove the !SHARED condition around
7190 FPU control word initialization.
7191 * elf/dl-support.c (_dl_fpu_control): New variable.
7192 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7193 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7194 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7195 * math/test-fpucw-static.c: New file.
7196 * math/test-fpucw-ieee.c: New file.
7197 * math/test-fpucw-ieee-static.c: New file.
7198 * math/Makefile (tests): Add `test-fpucw-ieee' and
7199 `$(tests-static)'.
7200 (tests-static): New variable.
7201 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7202 dependency to...
7203 [($(build-shared),yes)]
7204 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7205 ... this.
7206 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7207 New dependency.
7208
83e43bf0
AM
72092013-09-09 Allan McRae <allan@archlinux.org>
7210
a9f5ce09
AM
7211 [BZ #15939]
7212 * manual/string.texi (Collation Functions): Fix typo in
7213 strcoll example.
7214 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7215
34829bc2
AM
7216 [BZ #15893]
7217 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7218
3932737d
AM
7219 [BZ #15892]
7220 * libio/memstream.c (open_memstream): Fix memory leak.
7221 * libio/wmemstream.c (open_wmemstream): Likewise.
7222
83e43bf0
AM
7223 [BZ #15895]
7224 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7225
0c66b8e9
WN
72262013-09-09 Will Newton <will.newton@linaro.org>
7227
7228 * malloc/Makefile: Add tst-realloc to tests.
7229 * malloc/tst-realloc.c: New file.
7230
f6b00fd1
AM
72312013-09-09 Allan McRae <allan@archlinux.org>
7232
7233 [BZ #15844]
7234 * COPYING: Update from GNU website to fix FSF address.
7235 * COPYING.LIB: Likewise.
7236
eec55e16
DM
72372013-09-06 David S. Miller <davem@davemloft.net>
7238
7239 * po/zh_TW.po: Update Chinese (traditional) translation from
7240 translation project.
7241
1ecbb381
RS
72422013-09-06 Richard Sandiford <richard@codesourcery.com>
7243 Joseph Myers <joseph@codesourcery.com>
7244
7245 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7246 "localeinfo.h".
7247 (obstack_chunk_alloc): New macro.
7248 (obstack_chunk_free): Likewise.
7249 (record_offset): New function.
7250 (init_locale_data): Likewise.
7251 (align_locale_data): Likewise.
7252 (add_locale_empty): Likewise.
7253 (add_locale_raw_data): Likewise.
7254 (add_locale_raw_obstack): Likewise.
7255 (add_locale_string): Likewise.
7256 (add_locale_wstring): Likewise.
7257 (add_locale_uint32): Likewise.
7258 (add_locale_uint32_array): Likewise.
7259 (add_locale_char): Likewise.
7260 (start_locale_structure): Likewise.
7261 (end_locale_structure): Likewise.
7262 (start_locale_prelude): Likewise.
7263 (end_locale_prelude): Likewise.
7264 (write_locale_data): Take locale_file structure rather than an
7265 iovec.
7266 * locale/programs/locfile.h: Include "obstack.h".
7267 (struct locale_file): Change to store locale file contents instead
7268 of header.
7269 (init_locale_data): New prototype.
7270 (align_locale_data): Likewise.
7271 (add_locale_empty): Likewise.
7272 (add_locale_raw_data): Likewise.
7273 (add_locale_raw_obstack): Likewise.
7274 (add_locale_string): Likewise.
7275 (add_locale_wstring): Likewise.
7276 (add_locale_uint32): Likewise.
7277 (add_locale_uint32_array): Likewise.
7278 (add_locale_char): Likewise.
7279 (start_locale_structure): Likewise.
7280 (end_locale_structure): Likewise.
7281 (start_locale_prelude): Likewise.
7282 (end_locale_prelude): Likewise.
7283 (write_locale_data): Update prototype.
7284 * locale/programs/3level.h (struct TABLE): Remove result field.
7285 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7286 Use new locale_file interface.
7287 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7288 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7289 * locale/programs/ld-address.c (address_output): Use new
7290 locale_file interface.
7291 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7292 NO_ADD_LOCALE.
7293 (collate_finish): Don't call collseq_table_finalize.
7294 (collate_output): Use new locale_file interface.
7295 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7296 in file.
7297 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7298 (TABLE): Move defines earlier in file.
7299 (ELEMENT): Likewise.
7300 (DEFAULT): Likewise.
7301 (wctrans_table_add): Move macro and inline function earlier in
7302 file.
7303 (struct wctype_table): Move type earlier in file.
7304 (add_locale_wctype_table): New static prototype.
7305 (struct locale_ctype_t): Use logical types instead of struct iovec
7306 pointers for members.
7307 (ctype_output): Use new locale_file interface.
7308 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7309 new locale_file interface.
7310 (allocate_arrays): Update for use of new locale_file interface.
7311 * locale/programs/ld-identification.c (identification_output): Use
7312 new locale_file interface.
7313 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7314 * locale/programs/ld-messages.c (messages_output): Likewise.
7315 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7316 * locale/programs/ld-name.c (name_output): Likewise.
7317 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7318 * locale/programs/ld-paper.c (paper_output): Likewise.
7319 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7320 * locale/programs/ld-time.c (time_output): Likewise.
7321
e029e2e5
AZ
73222013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323
7324 * benchtests/Makefile: Add memrchr benchmark.
7325 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7326 benchmark as memrchr.
7327 * benchtests/bench-memrchr-ifunc.c: New file.
7328 * benchtests/bench-memrchr.c: New file.
7329
bbf6e8e4
WN
73302013-09-06 Will Newton <will.newton@linaro.org>
7331
7332 * benchtests/Makefile (string-bench): Add memcpy.
7333
6c82a2f8
CD
73342013-09-05 Carlos O'Donell <carlos@redhat.com>
7335 Cong Wang <amwang@redhat.com>
7336
e732c5f0 7337 [BZ #15850]
6c82a2f8
CD
7338 * sysdeps/unix/sysv/linux/bits/in.h
7339 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7340 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7341 before __USE_KERNEL_IPV6_DEFS uses.
7342 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7343 IPPROTO_BEETPH.
7344 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7345 sockaddr_in6, or ipv6_mreq.
7346
5430fc65
AZ
73472013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7348
7349 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7350 memory access for final bytes in some large inputs.
7351 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7352
4660856c
AZ
73532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7354
7355 * string/test-memrchr.c: New file.
7356 * string/test-memrchr-ifunc.c: New file.
7357 * string/Makefile: Add new memrchr testcase.
7358
bb8ea713
MF
73592013-09-05 Mike Frysinger <vapier@gentoo.org>
7360
7361 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7362 fanotify_init returns EPERM.
7363
b92a20b5
JM
73642013-09-04 Joseph Myers <joseph@codesourcery.com>
7365
7366 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7367 errors.
7368 (top level): Treat second token from macro or constant entries for
7369 allowed headers as allowed.
7370 * include/complex.h: Condition internal declarations on
7371 [!_ISOMAC].
7372 * include/fenv.h: Condition include of <stdbool.h> and internal
7373 declarations on [!_ISOMAC].
7447ccd9
CL
7374
73752013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7376
3e181dda 7377 [BZ #15923]
7447ccd9
CL
7378 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7379
3f2e46a4
JM
73802013-09-04 Joseph Myers <joseph@codesourcery.com>
7381
7382 * configure.in (--enable-versioning): Remove configure option.
7383 (libc_cv_asm_symver_directive): Remove configure test.
7384 (libc_cv_ld_version_script_option): Likewise.
7385 (VERSIONING): Remove variable and AC_SUBST.
7386 (DO_VERSIONING): Remove AC_DEFINE.
7387 * configure: Regenerated.
7388 * config.h.in (DO_VERSIONING): Remove macro.
7389 * Makerules [$(versioning) = yes]: Change conditionals to
7390 [$(build-shared) = yes].
7391 * config.make.in (versioning): Remove variable.
7392 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7393 [$(build-shared) = yes].
7394 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7395 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7396 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7397 [$(build-shared) = yes].
7398 * extra-lib.mk [$(versioning) = yes]: Likewise.
7399 * hurd/Makefile [$(versioning) = yes]: Likewise.
7400 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7401 [SHARED].
7402 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7403 [SHARED].
7404 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7405 [SHARED && !NO_HIDDEN].
7406 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7407 [SHARED].
7408 [SHARED && DO_VERSIONING]: Likewise..
7409 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7410 [$(build-shared) = yes].
7411 * manual/install.texi (--disable-versioning): Remove
7412 documentation.
7413 * INSTALL: Regenerated.
7414 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7415 to [SHARED].
7416 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7417 [$(build-shared) = yes].
7418 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7419 * sysdeps/i386/i686/multiarch/strstr-c.c
7420 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7421 [SHARED && !NO_HIDDEN].
7422 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7423 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7424 * sysdeps/powerpc/powerpc32/dl-machine.c
7425 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7426 * sysdeps/powerpc/powerpc32/sysdep.h
7427 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7428 to [SHARED && PIC && !NO_HIDDEN].
7429 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7430 conditional to [SHARED].
7431
44558701
WN
74322013-09-04 Will Newton <will.newton@linaro.org>
7433
7434 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7435 * benchtests/bench-string.h: Include bench-timing.h instead
7436 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7437 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7438 call to HP_TIMING_DIFF_INIT.
7439 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7440 instead of hp-timing.h macros.
7441 * benchtests/bench-memchr.c: Likewise.
7442 * benchtests/bench-memcmp.c: Likewise.
7443 * benchtests/bench-memcpy.c: Likewise.
7444 * benchtests/bench-memmem.c: Likewise.
7445 * benchtests/bench-memmove.c: Likewise.
7446 * benchtests/bench-memset.c: Likewise.
7447 * benchtests/bench-rawmemchr.c: Likewise.
7448 * benchtests/bench-strcasecmp.c: Likewise.
7449 * benchtests/bench-strcasestr.c: Likewise.
7450 * benchtests/bench-strcat.c: Likewise.
7451 * benchtests/bench-strchr.c: Likewise.
7452 * benchtests/bench-strcmp.c: Likewise.
7453 * benchtests/bench-strcpy.c: Likewise.
7454 * benchtests/bench-strcpy_chk.c: Likewise.
7455 * benchtests/bench-strlen.c: Likewise.
7456 * benchtests/bench-strncasecmp.c: Likewise.
7457 * benchtests/bench-strncat.c: Likewise.
7458 * benchtests/bench-strncmp.c: Likewise.
7459 * benchtests/bench-strncpy.c: Likewise.
7460 * benchtests/bench-strnlen.c: Likewise.
7461 * benchtests/bench-strpbrk.c: Likewise.
7462 * benchtests/bench-strrchr.c: Likewise.
7463 * benchtests/bench-strspn.c: Likewise.
7464 * benchtests/bench-strstr.c: Likewise.
7465
cae16d66
WN
74662013-09-04 Will Newton <will.newton@linaro.org>
7467
7468 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7469
ffa3cd7f
JM
74702013-09-03 Joseph Myers <joseph@codesourcery.com>
7471
7472 [BZ #15427]
7473 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7474 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7475 * math/libm-test.inc (lgamma_test_data): Add more tests.
7476 * sysdeps/i386/fpu/libm-test-ulps: Update.
7477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478
8f02859f
OB
74792013-09-03 Ondřej Bílka <neleai@seznam.cz>
7480
7481 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7483 Add ifunc.
7484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7485 Add strcmp-sse2-unaligned
7486 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7487
18d43716
MF
74882013-09-02 Mike Frysinger <vapier@gentoo.org>
7489
7490 * Versions.def (libc): Add GLIBC_2.19.
7491
ac444012
MF
74922013-09-02 Mike Frysinger <vapier@gentoo.org>
7493
7494 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7495 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7496
b7835e32
JM
74972013-09-02 Joseph Myers <joseph@codesourcery.com>
7498
7499 [BZ #14155]
7500 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7501 intermediate calculations in recurrence.
7502 (__ieee754_ynf): Likewise.
7503 * math/libm-test.inc (jn_test_data): Do not allow spurious
7504 underflow exception. Add more tests.
7505 (yn_test_data): Add more tests.
7506 * sysdeps/i386/fpu/libm-test-ulps: Update.
7507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7508
8220f4f0
OB
75092013-09-02 Ondřej Bílka <neleai@seznam.cz>
7510
7511 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7512
f24a6d08
OB
75132013-08-30 Ondřej Bílka <neleai@seznam.cz>
7514
7515 * csu/init-first.c: Fix then/than typos.
7516 * locale/programs/ld-collate.c: Likewise.
7517 * locale/programs/linereader.h: Likewise.
7518 * manual/charset.texi: Likewise.
7519 * manual/filesys.texi: Likewise.
7520 * manual/stdio.texi: Likewise.
7521 * manual/string.texi: Likewise.
7522 * stdlib/fmtmsg.c: Likewise.
7523 * sysdeps/i386/stpncpy.S: Likewise.
7524 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7525 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7526 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7527 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7528
382466e0
OB
75292013-08-30 Ondřej Bílka <neleai@seznam.cz>
7530
7531 * elf/dl-open.c: Fix typos.
7532 * iconvdata/gbbig5.c: Likewise.
7533 * iconvdata/iso-2022-jp.c: Likewise.
7534 * iconv/gconv_int.h: Likewise.
7535 * iconv/loop.c: Likewise.
7536 * nis/rpcsvc/nis.h: Likewise.
7537 * resolv/ns_name.c: Likewise.
7538 * stdio-common/vfscanf.c: Likewise.
7539 * streams/stropts.h: Likewise.
7540 * sunrpc/rpc_thread.c: Likewise.
7541 * sysdeps/i386/strpbrk.S: Likewise.
7542 * sysdeps/ieee754/k_standard.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7545 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7546 * sysdeps/mach/hurd/profil.c: Likewise.
7547 * sysdeps/s390/dl-procinfo.h: Likewise.
7548 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7549 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7550 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7551 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7552 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7553
0186c6e9
OB
75542013-08-30 Ondřej Bílka <neleai@seznam.cz>
7555
7556 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7557 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7558
d4e16af1
OB
75592013-08-29 Ondřej Bílka <neleai@seznam.cz>
7560
7561 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7562 aix specific files.
7563 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7564 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7565 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7566 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7567 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7568 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7569 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7570 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7571
88335980
TS
75722013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7573 Roland McGrath <roland@hack.frob.com>
7574
7575 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7576 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7577
ed479b02
ST
75782013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7579
7580 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7581 __executable_start symbol instead of _start.
7582
f1cc4c86
TS
75832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7584
d821f07c
TS
7585 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7586 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7587 Move macros to...
7588 * sysdeps/gnu/ldsodefs.h: ... this new file.
7589
c54290cf
TS
7590 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7591 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7592 instead of ELFOSABI_LINUX.
7593
0007fc9b 7594 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7595 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7596 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7597 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7598 Likewise.
7599 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7600 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7602 Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7604 (ibm_extended_long_double): Add ieee_nan member.
7605 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7606 (do_test): New function.
7607
f1cc4c86
TS
7608 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7609 TEST_TRUNC.
7610 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7611 functions, renamed from truncdfsf_test, trunctfsf_test,
7612 trunctfdf_test.
7613 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7614 functions.
7615 (do_test): Run all these.
7616
6f65e668
OB
76172013-08-29 Ondřej Bílka <neleai@seznam.cz>
7618
7619 * argp/argp-help.c: Fix typos.
7620 * argp/argp-parse.c: Likewise.
7621 * debug/backtracesyms.c: Likewise.
7622 * elf/elf.h: Likewise.
7623 * malloc/malloc.c: Likewise.
7624 * nis/nis_print.c: Likewise.
7625 * resolv/res_comp.c: Likewise.
7626 * stdlib/stdlib.h: Likewise.
7627 * sunrpc/clnt_tcp.c: Likewise.
7628 * sunrpc/clnt_udp.c: Likewise.
7629 * sunrpc/clnt_unix.c: Likewise.
7630 * sysdeps/unix/bsd/ptsname.c: Likewise.
7631 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7632 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7634 Likewise.
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7636 Likewise.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7638 Likewise.
6f65e668
OB
7639 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7640
3a309239
SP
76412013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7642
7643 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7645
3b813b29
MF
76462013-08-27 Mike Frysinger <vapier@gentoo.org>
7647
7648 [BZ #15897]
7649 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7650 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7651 ($(objpfx)bug-dl-leaf): New rule.
7652 ($(objpfx)bug-dl-leaf.so): Likewise.
7653 ($(objpfx)bug-dl-leaf.out): Likewise.
7654 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7655 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7656 * dlfcn/bug-dl-leaf.c: New test.
7657 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7658 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7659 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7660 (dlclose): Likewise.
7661 (dlmopen): Likewise.
7662
8cc3269f
RM
76632013-08-27 Roland McGrath <roland@hack.frob.com>
7664
7f9d0034
RM
7665 * include/netdb.h [!_ISOMAC]:
7666 Don't include <tls.h>.
7667 (h_errno, __libc_h_errno): Move declaration and macros out of
7668 [_LIBC_REENTRANT].
7669
fb431262
RM
7670 * include/resolv.h [_RESOLV_H_]:
7671 Don't include <tls.h>.
7672 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7673 * resolv/res_libc.c: Don't include <tls.h>.
7674 (_res): Use __attribute__ ((nocommon)) in place of
7675 __attribute__ ((section (".bss"))).
7676
bd81123a
RM
7677 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7678 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7679
c4e42566
RM
7680 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7681
f890a59b
RM
7682 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7683 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7684
7685 * resolv/res_mkquery.c: Include <sys/time.h>.
7686
5d1f0a09
RM
7687 * inet/ifreq.c: Moved to ...
7688 * sysdeps/unix/ifreq.c: ... here.
7689 * inet/ifreq.c: New file, true stub version.
7690
6fcf28b3
RM
7691 * socket/sa_len.c: New file.
7692 * socket/Makefile (aux): Add it.
7693 * sysdeps/unix/sysv/linux/Makefile
7694 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7695 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7696 and #include <socket/sa_len.c>.
7697 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7698 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7699
e041fb8b
RM
7700 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7701 * bits/socket.h: ... here.
7702
8cc3269f
RM
7703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7704 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7705 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7706
5d228a43
AS
77072013-08-27 Andreas Schwab <schwab@suse.de>
7708
45b8accc
AS
7709 [BZ #15736]
7710 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7711 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7712 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7713 * string/test-strcasecmp.c (test_main): Run tests in several
7714 locales.
7715 * string/test-strncasecmp.c (test_main): Likewise.
7716
5d228a43
AS
7717 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7718 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7719 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7721 (__strncasecmp_ssse3) [PIC]: Likewise.
7722
59d112a4
RM
77232013-08-26 Roland McGrath <roland@hack.frob.com>
7724
53234cc3
RM
7725 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7726
59d112a4
RM
7727 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7728 instead of explicitly declaring xdecrypt.
7729 * nis/nss_nis/nis-publickey.c: Likewise.
7730
595aba70
SP
77312013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7732
7733 [BZ #15890]
7734 * nscd/aicache.c: Include res_hconf.h.
7735 (addhstaiX): Initialize res_hconf.
7736
ffabd393
AS
77372013-08-26 Andreas Schwab <schwab@suse.de>
7738
7739 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7740 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7741
e0a69f5c
SP
77422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7743
7744 * nscd/aicache.c (addhstaiX): Fix indentation.
7745
8c12f01d
MF
77462013-08-25 Mike Frysinger <vapier@gentoo.org>
7747
7748 * configure.ac: Quote $build_pt_chown test.
7749 * configure: Regenerated.
7750
8fe89494
JM
77512013-08-23 Joseph Myers <joseph@codesourcery.com>
7752
7753 [BZ #15532]
7754 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7755 * math/s_cexpf.c (__cexpf): Likewise.
7756 * math/s_cexpl.c (__cexpl): Likewise.
7757 * math/libm-test.inc (cexp_test_data): Correct expected return
7758 value for NaN + i0. Add another test.
7759
75b181d6
DM
77602013-08-22 David S. Miller <davem@davemloft.net>
7761
7762 * po/ca.po: Update Catalan translation from translation project.
936241e4 7763 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7764
acd06bb1
JM
77652013-08-21 Joseph Myers <joseph@codesourcery.com>
7766
7767 [BZ #15797]
7768 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7769 is infinite, not alongside NaN test.
7770 * math/s_fdimf.c (__fdimf): Likewise.
7771 * math/s_fdiml.c (__fdiml): Likewise.
7772 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7773 errno is unchanged.
7774
c0c3f78a
OB
77752013-08-21 Ondřej Bílka <neleai@seznam.cz>
7776
7777 * argp/argp-help.c: Fix typos.
7778 * crypt/speeds.c: Likewise.
7779 * csu/check_fds.c: Likewise.
7780 * elf/dl-load.c: Likewise.
7781 * elf/dl-open.c: Likewise.
7782 * elf/reldep3.c: Likewise.
7783 * elf/reldep.c: Likewise.
7784 * elf/sprof.c: Likewise.
7785 * iconv/iconv_charmap.c: Likewise.
7786 * iconv/skeleton.c: Likewise.
7787 * iconv/strtab.c: Likewise.
7788 * io/lockf64.c: Likewise.
7789 * libio/libioP.h: Likewise.
7790 * resolv/gai_notify.c: Likewise.
7791 * resolv/ns_name.c: Likewise.
7792 * resolv/ns_samedomain.c: Likewise.
7793 * resolv/res_send.c: Likewise.
7794 * stdlib/random.c: Likewise.
7795 * sunrpc/rpc/xdr.h: Likewise.
7796 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7797 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7798 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7799 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7800 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7801 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7804 * sysdeps/mach/hurd/check_fds.c: Likewise.
7805 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7806 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7807 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7809 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7810 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7811 * sysdeps/pthread/aio_notify.c: Likewise.
7812 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7813 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7814 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7815 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7816 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7817
46ed1038
LD
78182013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7819
7820 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7821 version if bit_Slow_SSE4_2 is set.
7822 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7823 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7824
d400dcac
AZ
78252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7826
7827 [BZ #15867]
7828 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7829 trampoline stack frame information.
7830 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7831 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7832 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7833 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7834 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7835 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7836 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7837 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7838 sa_flags value.
7839 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7840 interrupting a syscall and set with option SA_SIGINFO.
7841
42c8fdd8
JM
78422013-08-20 Joseph Myers <joseph@codesourcery.com>
7843
c980f2f4
JM
7844 [BZ #15531]
7845 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7846 argument is infinite.
7847 * math/s_cprojf.c (__cprojf): Likewise.
7848 * math/s_cprojl.c (__cprojl): Likewise.
7849 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7850 * math/libm-test.inc (cproj_test_data): Add more tests.
7851
0716c4fc
JM
7852 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7853
42c8fdd8
JM
7854 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7855 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7856 size. Use __ffs to determine corresponding shift.
7857
b31469d0
JM
78582013-08-20 Joseph Myers <joseph@codesourcery.com>
7859 Roland McGrath <roland@hack.frob.com>
7860
7861 * Makefile (INSTALL): Remove trailing blank lines from output of
7862 makeinfo.
7863
4e39af6e
AK
78642013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7865
7866 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7867 Align 32 bit compat elf_greg to 8 bytes.
7868
f315524e
AA
78692013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7870
7871 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7872
1326ba1a
SP
78732013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7874
7875 * string/strcoll_l.c (coll_seq): New structure.
7876 (get_next_seq_cached): New function.
7877 (get_next_seq): New function.
7878 (do_compare): New function.
7879 (STRCOLL): Use GNU style definition. Simplify implementation
7880 by using get_next_seq, get_next_seq_cached and do_compare.
7881
91ce4085
FW
78822013-08-16 Florian Weimer <fweimer@redhat.com>
7883
7884 [BZ #14699]
7885 CVE-2013-4237
7886 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7887 member.
7888 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7889 member.
7890 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7891 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7892 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7893 conditional.
7894 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7895 GETDENTS_64BIT_ALIGNED.
7896 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7897 * manual/filesys.texi (Reading/Closing Directory): Document
7898 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7899 strongly.
7900 * manual/conf.texi (Limits for Files): Add portability note to
7901 NAME_MAX, PATH_MAX.
7902 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7903
ca0a6bc4
AS
79042013-08-13 Andreas Schwab <schwab@suse.de>
7905
7906 [BZ #15749]
7907 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7908 of fabs.
7909 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7910 LDBL_MAX_EXP >= 16384]: Add tests for it.
7911
6c1fd795
DM
79122013-08-12 David S. Miller <davem@davemloft.net>
7913
7914 * version.h (RELEASE): Set to "development".
7915 (VERSION): Set to "2.18.90".
7916 * NEWS: Add 2.19 section.
7917
31ad488d
DM
79182013-08-03 David S. Miller <davem@davemloft.net>
7919
7920 * po/ko.po: Update Korean translation from translation project.
7921
db24e684
DM
79222013-08-01 David S. Miller <davem@davemloft.net>
7923
7924 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7925 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7926 Bilka.
7927
f723285b
DM
79282013-07-30 David S. Miller <davem@davemloft.net>
7929
7930 * po/fr.po: Update French translation from translation project.
7931
3cbc52db
DM
79322013-07-28 David S. Miller <davem@davemloft.net>
7933
30bbc0cc
DM
7934 * po/cs.po: Update Czech translation from translation project.
7935
3cbc52db
DM
7936 * po/sv.po: Update Swedish translation from translation project.
7937
d492e6d0
DM
79382013-07-27 David S. Miller <davem@davemloft.net>
7939
f1a7f492
DM
7940 * po/eo.po: Update Esperanto translation from translation project.
7941
90e62a4a
DM
7942 * po/vi.po: Update Vietnamese translation from translation project.
7943
d492e6d0
DM
7944 * po/de.po: Update German translation from translation project.
7945
d4baa62d
DM
79462013-07-26 David S. Miller <davem@davemloft.net>
7947
641aa7b4
DM
7948 * po/bg.po: Update Bulgarian translation from translation project.
7949
d4baa62d
DM
7950 * po/nl.po: Update Dutch translation from translation project.
7951 * po/pl.po: Update Polish translation from translation project.
7952 * po/ru.po: Update Russian translation from translation project.
7953
61a9dcb9
DM
79542013-07-24 David S. Miller <davem@davemloft.net>
7955
7956 * po/libc.pot: Update.
7957
7b1f8b58
AZ
79582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7959
7960 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7961 variable page size.
7962 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7963 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7964 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7965
a8fc7a03
AK
79662013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7967
7968 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7969
e4608715
CD
79702013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7971 Andreas Schwab <schwab@suse.de>
7972 Roland McGrath <roland@hack.frob.com>
7973 Joseph Myers <joseph@codesourcery.com>
7974 Carlos O'Donell <carlos@redhat.com>
7975
7976 [BZ #15755]
7977 * config.h.in: Define HAVE_PT_CHOWN.
7978 * config.make.in (build-pt-chown): New variable.
7979 * configure.in (--enable-pt_chown): New configure option.
7980 * configure: Regenerate.
7981 * login/Makefile: Include Makeconfig. Build pt_chown only if
7982 build-pt-chown is enabled.
7983 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7984 pt_chown to fix pty ownership.
7985 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7986 CLOSE_ALL_FDS.
7987 * manual/install.texi (Configuring and compiling): Mention
7988 --enable-pt_chown. Add @findex for grantpt.
7989 * INSTALL: Regenerate.
7990
da2d62df
DM
79912013-07-20 David S. Miller <davem@davemloft.net>
7992
7993 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7994 difference between 32-bit and 64-bit.
7995
d7e06450
CD
79962013-07-15 Carlos O'Donell <carlos@redhat.com>
7997
7998 [BZ #15711]
7999 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8000 Avoid system header dependency with -ffreestanding.
8001 ($(objpfx)bits/syscall%d): Likewise.
8002
f959cfd7
DM
80032013-07-13 David S. Miller <davem@davemloft.net>
8004
8005 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8006 underflows from atanl/atan2l due to bug 15319.
8007 (casinh_test_data): Likewise.
8008
c61f8513
DM
80092013-07-07 David S. Miller <davem@davemloft.net>
8010
8011 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8012
72c90ed0
JA
80132013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8014
8015 * sysdeps/i386/fpu/libm-test-ulps: Update.
8016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8017
52dfbe13
SP
80182013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8019
8020 * configure.in (--enable-lock-elision): Fix message text.
8021 * INSTALL: Regenerate.
8022 * configure: Regenerate.
8023
3f169543
AZ
80242013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8025
8026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8027
521c6785
AJ
80282013-07-03 Andreas Jaeger <aj@suse.de>
8029
8030 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8031 define.
8032 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8033 (ptrace_peeksiginfo_args): Add.
8034 (__ptrace_peeksiginfo_flags): Add.
8035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8036 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8037 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8038
d2cc15cb
AM
80392013-07-03 Allan McRae <allan@archlinux.org>
8040
8041 * sysdeps/i386/fpu/libm-test-ulps: Update.
8042
3aaeeca7
DM
80432013-07-02 David S. Miller <davem@davemloft.net>
8044
8045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8046
5314ed1a
MT
80472013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8048
8049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8050
67338156
JM
80512013-07-02 Joseph Myers <joseph@codesourcery.com>
8052
8053 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8055
1717da59
AK
80562013-07-02 Andi Kleen <ak@linux.intel.com>
8057
8058 * config.h.in (ENABLE_LOCK_ELISION): Add.
8059 * configure.in (--enable-lock-elision): Add option.
8060 * manual/install.texi: Document --enable lock elision.
8061 * configure: Regenerate
8062 * INSTALL: Regenerate.
8063
1c81621c
L
80642013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8065
8066 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8067 SSE4.2 strcasecmp for libc.a.
8068 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8069
77f01ab5
JM
80702013-07-02 Joseph Myers <joseph@codesourcery.com>
8071
8072 [BZ #13304]
8073 * soft-fp/op-common.h (_FP_FMA): New macro.
8074 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8075 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8076 (_FP_MUL_MEAT_1_imm): ... here.
8077 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8078 (_FP_MUL_MEAT_1_wide): ... here.
8079 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8080 (_FP_MUL_MEAT_1_hard): ... here.
8081 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8082 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8083 (_FP_MUL_MEAT_2_wide): ... here.
8084 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8085 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8086 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8087 (_FP_MUL_MEAT_2_gmp): ... here.
8088 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8089 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8090 (_FP_MUL_MEAT_4_wide): ... here.
8091 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8092 (_FP_MUL_MEAT_4_gmp): ... here.
8093 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8094 (_FP_WFRACBITS_DW_S): Likewise.
8095 (_FP_WFRACXBITS_DW_S): Likewise.
8096 (_FP_HIGHBIT_DW_S): Likewise.
8097 (FP_FMA_S): Likewise.
8098 (_FP_FRAC_HIGH_DW_S): Likewise.
8099 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8100 (_FP_WFRACBITS_DW_D): Likewise.
8101 (_FP_WFRACXBITS_DW_D): Likewise.
8102 (_FP_HIGHBIT_DW_D): Likewise.
8103 (FP_FMA_D): Likewise.
8104 (_FP_FRAC_HIGH_DW_D): Likewise.
8105 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8106 (_FP_WFRACBITS_DW_E): Likewise.
8107 (_FP_WFRACXBITS_DW_E): Likewise.
8108 (_FP_HIGHBIT_DW_E): Likewise.
8109 (FP_FMA_E): Likewise.
8110 (_FP_FRAC_HIGH_DW_E): Likewise.
8111 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8112 (_FP_WFRACBITS_DW_Q): Likewise.
8113 (_FP_WFRACXBITS_DW_Q): Likewise.
8114 (_FP_HIGHBIT_DW_Q): Likewise.
8115 (FP_FMA_Q): Likewise.
8116 (_FP_FRAC_HIGH_DW_Q): Likewise.
8117 * soft-fp/fmasf4.c: New file.
8118 * soft-fp/fmadf4.c: Likewise.
8119 * soft-fp/fmatf4.c: Likewise.
8120
6308fd9a
LD
81212013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8122
8123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8124 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8125 Silvermont.
8126 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8127 macro.
8128 (index_Slow_SSE4_2): Likewise.
8129 (index_Prefer_PMINUB_for_stringop): Likewise.
8130 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8131 bit_Slow_SSE4_2 is set.
8132 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8133 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8134
89cd9569
RA
81352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8136
8137 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8138 rtld_global._dl_hwcap2.
8139 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8140 POWER8.
8141 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8142 POWER8 feature descriptions defined in _dl_hwcap2.
8143 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8144 string handling for POWER8 feature bits.
8145 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8146 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8147 _dl_powerpc_cap_flags.
8148 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8149 * sysdeps/powerpc/rtld-global-offsets.sym
8150 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8151 _dl_hwcap2 in the rtld_global_ro structure.
8152
1ae8bfe0
RA
81532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8154
8155 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8156 hardware capabilities in support of AT_HWCAP2.
8157 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8158 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8159 GLRO(dl_hwcap2).
8160 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8161 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8162 explicitly the unknown a_type display mechanism is used.
8163 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8164 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8165 struct member.
8166 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8167 to macro prototype for AT_HWCAP2 support.
8168 * sysdeps/i386/dl-procinfo.h: Likewise.
8169 * sysdeps/s390/dl-procinfo.h: Likewise.
8170 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8171 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8172 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8173 return -1 for unknown a_type display fallback.
8174 * sysdeps/sparc/dl-procinfo.h: Likewise.
8175 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8176 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8177
8fbec010
JM
81782013-06-28 Joseph Myers <joseph@codesourcery.com>
8179
8180 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8181 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8182
0432680e
PY
81832013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8184
8185 [BZ #12492]
8186 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8187 mprotect making __stack_prot writable.
8188
ce61a2ad
NF
81892013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8190 Joseph Myers <joseph@codesourcery.com>
8191
8192 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8193 as being properly aligned.
8194
f91f1c0f
MR
81952013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8196
3d0f5d0c
MR
8197 * dlfcn/modstatic5.c: New file.
8198 * dlfcn/tststatic5.c: New file.
8199 * dlfcn/Makefile (tests): Add tststatic5.
8200 (tests-static): Likewise.
8201 (modules-names): Add modstatic5.
8202 (tststatic5-ENV): New variable.
8203 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8204
f91f1c0f
MR
8205 [BZ #15022]
8206 * elf/dl-support.c (_dl_main_map): New variable.
8207 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8208 (_dl_nns, _dl_load_adds): Set to 1.
8209 (_dl_initial_searchlist): Refer to _dl_main_map.
8210 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8211 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8212 call to _dl_get_origin.
8213 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8214 around call_map.
8215 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8216 * dlfcn/modstatic3.c: New file.
8217 * dlfcn/tststatic3.c: New file.
8218 * dlfcn/tststatic4.c: New file.
8219 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8220 (tests-static): Likewise.
8221 (modules-names): Add modstatic3.
8222 (tststatic3-ENV, tststatic4-ENV): New variables.
8223 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8224 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8225
cbe7d24b
JM
82262013-06-26 Joseph Myers <joseph@codesourcery.com>
8227
8228 * configure.in (CC): Require GCC version 4.4 or later.
8229 * configure: Regenerated.
8230 * manual/install.texi (Tools for Compilation): Update GCC version
8231 requirement.
8232 * INSTALL: Regenerated.
8233
11b8a0e1
LD
82342013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8235
8236 [BZ #15674]
bb5bb87c
L
8237 * string/test-memcmp.c (check2): New.
8238 (main): Call check2.
8239
11b8a0e1
LD
8240 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8241
b0037103
MR
82422013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8243
8244 [BZ #15022]
8245 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8246 over to...
8247 (dl_open_worker) [!SHARED]: ... here.
8248
c18c701d
RA
82492013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8250
8251 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8252
1d17fa5f
RH
82532013-06-25 Richard Henderson <rth@redhat.com>
8254
8255 * locale/programs/locarchive.c: Include <libc-internal.h>
8256
8fcb833a
JM
82572013-06-25 Joseph Myers <joseph@codesourcery.com>
8258
8259 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8260 trailing whitespace removed.
8261
17db6e8d
MF
82622013-06-24 Mike Frysinger <vapier@gentoo.org>
8263
8264 [BZ #10283]
17db6e8d
MF
8265 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8266 * locale/programs/locarchive.c: Include libc-mmap.h.
8267 (prepare_address_space): Take two new outputs (the mmap base and len).
8268 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8269 values.
8270 (create_archive): Declare new mmap base and len values for
8271 prepare_address_space, and store the result in ah.
8272 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8273 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8274 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8275 Declare new mmap base and len values for
8276 prepare_address_space, and store the result in new_ah.
8277 (open_archive): Declare new mmap base and len values for
8278 prepare_address_space, and store the result in ah.
8279 (close_archive): If ah->mmap_base is not NULL, use that and
8280 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8281 * sysdeps/generic/libc-mmap.h: New file.
8282
d605071e
MF
82832013-06-24 Mike Frysinger <vapier@gentoo.org>
8284
8285 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8286 (ALIGN_UP): Likewise.
8287 (PTR_ALIGN_DOWN): Likewise.
8288 (PTR_ALIGN_UP): Likewise.
8289
2f063a6e
RA
82902013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8291
8292 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8293 entry mapped to PPC_PLATFORM_POWER8.
8294 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8295 POWER8.
8296 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8297 (_dl_string_platform): Add case for exporting platform position for
8298 POWER8.
8299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8300 search path to sysdeps/powerpc/powerpc32/power8 directory.
8301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8302 search path to sysdeps/powerpc/powerpc64/power8 directory.
8303 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8304 power7 directories.
8305 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8306 power7 directories.
8307
a31ee4b3
SP
83082013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8309
a74ca98f
SP
8310 * INSTALL: Regenerate.
8311
a31ee4b3
SP
8312 * nscd/connections.c (nscd_init): Fix comment.
8313
695c378f
JM
83142013-06-22 Joseph Myers <joseph@codesourcery.com>
8315
d8412221
JM
8316 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8317
695c378f
JM
8318 [BZ #15667]
8319 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8320 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8321
d1d54715
MR
83222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8323
8324 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8325 DL_DST_REQ_STATIC.
8326 (DL_DST_REQ_STATIC): Remove macro.
8327
8fdda7af
JM
83282013-06-21 Joseph Myers <joseph@codesourcery.com>
8329
8330 [BZ #7006]
8331 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8332 with a shift of 0 bits.
8333
f3bc5e5a
MR
83342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8335
8336 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8337 $(tststatic-ENV).
8338
be09e8c9
KK
83392013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8340
8341 [BZ #15655]
8342 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8343
85c2e611
AZ
83442013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8345
8346 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8347 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8348 accepts -fno-tree-loop-distribute-patterns.
8349 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8350 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8351 recursive call.
8352 * string/memset.c (memset): Likewise.
8353 * string/test-memmove.c (simple_memmove): Disable loop transformation
8354 to library calls.
8355 * string/test-memset.c (simple_memset): Likewise.
8356 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8357 * benchtests/bench-memset.c (simple_memset): Likewise.
8358 * configure: Regenerated.
8359
c91e0825
JM
83602013-06-20 Joseph Myers <joseph@codesourcery.com>
8361
b8c792af
JM
8362 * math/test-misc.c (main): Ignore fesetround failure when failures
8363 of subsequent rounding tests would be ignored.
8364
c91e0825
JM
8365 [BZ #15654]
8366 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8367 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8368 * math/fegetenv.c (__fegetenv): Return 0.
8369 * math/fegetexcept.c (fegetexcept): Return 0.
8370 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8371 FE_TONEAREST.
8372 * math/feholdexcpt.c (feholdexcept): Return 0.
8373 * math/fesetenv.c (__fesetenv): Return 0.
8374 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8375 argument FE_TONEAREST.
8376 * math/feupdateenv.c (__feupdateenv): Return 0.
8377 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8378
bfcacbde
RM
83792013-06-18 Roland McGrath <roland@hack.frob.com>
8380
8381 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8382 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8383 ($(objpfx)rtld-%.os rules): Use them.
8384
e55a9b25
AZ
83852013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8386
8387 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8388 fields.
8389
346d65b3
RM
83902013-06-17 Roland McGrath <roland@hack.frob.com>
8391
12086fb4
RM
8392 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8393 length of target pattern, then descending length of dependency pattern.
8394 * configure.in (AWK): Require gawk 3.1.2 or newer.
8395 * manual/install.texi (Tools for Compilation): Say that we do.
8396 * configure: Regenerated.
8397
346d65b3
RM
8398 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8399 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8400 * scripts/sysd-rules.awk: ... this new script.
8401 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8402 than a glob-style pattern.
8403
1a846317
JM
84042013-06-17 Joseph Myers <joseph@codesourcery.com>
8405
8406 * math/test-misc.c (main): Do not treat incorrectly rounded
8407 conversions as failure unless ROUNDING_TESTS passes.
8408
8fc75e6f
JM
84092013-06-15 Joseph Myers <joseph@codesourcery.com>
8410
3711a167
JM
8411 [BZ #15631]
8412 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8413 restore exception state around main square root computation, then
8414 check for inexactness explicitly.
8415
8fc75e6f
JM
8416 * math/libm-test.inc (fma_test_data): Add another test.
8417
61dd6208
SP
84182013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8419
adf23d2c
SP
8420 * manual/threads.texi (Non-POSIX Extensions): New document
8421 node. Document pthread_getattr_default_np and
8422 pthread_setattr_default_np.
8423
61dd6208
SP
8424 * Versions.def (libpthread): Add GLIBC_2.18.
8425 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8427 Likewise.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8429 Likewise.
8430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8431 Likewise.
8432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8433 Likewise.
8434 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8435 Likewise.
8436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8437 Likewise.
8438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8439 Likewise.
8440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8441 Likewise.
8442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8443 Likewise.
8444
d086fc7b
LD
84452013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8446
8447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8448 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8449
747ef469
SP
84502013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8451 H.J. Lu <hjl.tools@gmail.com>
8452
8453 [BZ #15627]
8454 * sysdeps/x86_64/rtld-memset.c: Remove file.
8455 * sysdeps/x86_64/rtld-memset.S: New file.
8456
1b2feed2
JM
84572013-06-14 Joseph Myers <joseph@codesourcery.com>
8458
8459 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8460 (test_in_one_mode): Take arguments for whether the rounding mode
8461 is supported for each floating-point type.
8462 (do_test): Pass new arguments to test_in_one_mode using
8463 ROUNDING_TESTS.
8464
a58ad3f8
RM
84652013-06-13 Roland McGrath <roland@hack.frob.com>
8466
8467 * posix/tst-waitid.c (do_test): Distinguish different instances of
8468 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8469 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8470 before entering the kernel for waitpid.
8471
c204ab28
SP
84722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8473
8474 * NEWS: Fix note on clock function precision. Text by Roland
8475 McGrath.
8476
f4a29fba
RM
84772013-06-13 Roland McGrath <roland@hack.frob.com>
8478
8479 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8480 it into place only when and if the sanity check passes.
8481
1f24b9ad
JM
84822013-06-13 Joseph Myers <joseph@codesourcery.com>
8483
8484 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8485 output for whether conversion result is exact. Take argument
8486 indicating whether type is IBM long double.
8487 (round_for_all): Change need_exact field to ibm_ld.
8488 * stdlib/tst-strtod-round.c (struct exactness): New type.
8489 (struct test): Change bool ld_ok field to struct exactness exact.
8490 (TEST): Update all definitions for change to field.
8491 (tests): Regenerate array contents.
8492 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8493 field value. Check for IBM long double here.
8494 (do_test): Update calls to test_in_one_mode.
8495
58206c68
SP
84962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8497
8498 [BZ #12515]
8499 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8500 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8501
2d6f4c5b 85022013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8503
8504 [BZ #15605]
8505 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8506 generated by the compiler on loop optimizations.
8507 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8508 general definitions.
8509
94f2c076
JM
85102013-06-12 Joseph Myers <joseph@codesourcery.com>
8511
8512 * math/bug-nextafter.c: Include <math-tests.h>.
8513 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8514 the relevant type.
8515 * math/bug-nexttoward.c: Include <math-tests.h>.
8516 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8517 the relevant type.
8518 * math/test-misc.c: Include <math-tests.h>.
8519 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8520 the relevant type.
8521
e0e50a0a
AJ
85222013-06-12 Andreas Jaeger <aj@suse.de>
8523
8524 * po/ia.po: Update Interlingua translation from translation
8525 project.
8526
25061094
SP
85272013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8528
8529 * include/fenv.h: Include stdbool.h.
8530 (struct rm_ctx): New structure.
8531 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8532 Define macro.
8533 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8534 (SET_RESTORE_ROUNDF): Likewise.
8535 (SET_RESTORE_ROUNDL): Likewise.
8536 (SET_RESTORE_ROUND_NOEX): Likewise.
8537 (SET_RESTORE_ROUND_NOEXF): Likewise.
8538 (SET_RESTORE_ROUND_NOEXL): Likewise.
8539 (SET_RESTORE_ROUND_53BIT): Likewise.
8540 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8541 (libc_feresetround_noexf_ctx): Likewise.
8542 (libc_feresetround_noexl_ctx): Likewise.
8543 (libc_feholdsetround_53bit_ctx): Likewise.
8544 (libc_feresetround_53bit_ctx): Likewise.
8545 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8546 (libc_feholdexcept_setround_sse_ctx): New function.
8547 (libc_fesetenv_sse_ctx): Likewise.
8548 (libc_feupdateenv_sse_ctx): Likewise.
8549 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8550 (libc_feholdexcept_setround_387_ctx): Likewise.
8551 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8552 (libc_feholdsetround_387_prec_ctx): Likewise.
8553 (libc_feholdsetround_387_ctx): Likewise.
8554 (libc_feholdsetround_387_53bit_ctx): Likewise.
8555 (libc_feholdsetround_sse_ctx): Likewise.
8556 (libc_feresetround_sse_ctx): Likewise.
8557 (libc_feresetround_387_ctx): Likewise.
8558 (libc_feupdateenv_387_ctx): Likewise.
8559 (libc_feholdexcept_setroundf_ctx): Define macro.
8560 (libc_fesetenvf_ctx): Likewise.
8561 (libc_feupdateenvf_ctx): Likewise.
8562 (libc_feholdsetroundf_ctx): Likewise.
8563 (libc_feresetroundf_ctx): Likewise.
8564 (libc_feholdexcept_setround_ctx): Likewise.
8565 (libc_fesetenv_ctx): Likewise.
8566 (libc_feupdateenv_ctx): Likewise.
8567 (libc_feholdsetround_ctx): Likewise.
8568 (libc_feresetround_ctx): Likewise.
8569 (libc_feholdexcept_setroundl_ctx): Likewise.
8570 (libc_feupdateenvl_ctx): Likewise.
8571 (libc_feholdsetroundl_ctx): Likewise.
8572 (libc_feresetroundl_ctx): Likewise.
8573 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8574 (libc_feresetround_53bit_ctx): Likewise.
8575
59b30555
SP
85762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8577
8578 * locale/iso-639.def: Convert to UTF-8.
8579
f1d73d30
JM
85802013-06-11 Joseph Myers <joseph@codesourcery.com>
8581
8582 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8583 (EXCEPTION_TESTS_double): Likewise.
8584 (EXCEPTION_TESTS_long_double): Likewise.
8585 (EXCEPTION_TESTS): Likewise.
8586 * math/libm-test.inc (test_exceptions): Only test exceptions if
8587 EXCEPTION_TESTS (FLOAT).
8588
94aca5e7
SP
85892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8590
8591 * benchtests/Makefile (string-bench): Add strcpy_chk and
8592 stpcpy_chk.
8593 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8594 * benchtests/bench-stpcpy_chk.c: New file.
8595 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8596 * benchtests/bench-strcpy_chk.c: New file.
8597 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8598 code.
8599 (do_test): Likewise.
8600
fac0c5f2
RA
86012013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8602
8603 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8604 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8605 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8606 with tabs where appropriate.
8607 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8608 dl-procinfo.h.
8609 [PPC_PLATFORM_PPC440]: Likewise.
8610 [PPC_PLATFORM_PPC464]: Likewise.
8611 [PPC_PLATFORM_PPC476]: Likewise.
8612 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8613 ppc464, and ppc476 platform strings merging from ports/
8614 dl-procinfo.h.
8615
f22bc486
AS
86162013-06-11 Andreas Schwab <schwab@suse.de>
8617
8618 [BZ #14991]
8619 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8620 (from_ucs4_idx): Regenerate.
8621 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8622 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8623 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8624 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8625 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8626 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8627 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8628 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8629 from FROM_LOOP and TO_LOOP specific macros.
8630 (BODY): Handle combining characters.
8631 * iconvdata/BIG5HKSCS.irreversible: Update.
8632 * iconvdata/BIG5HKSCS.precomposed: New file.
8633 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8634 characters.
8635 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8636
c1f75dc3
SP
86372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8638
4eacded2
SP
8639 * include/sys/time.h: Fix indentation and add copyright header.
8640
fec799f8
SP
8641 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8642 (do_test): Likewise.
8643 * string/test-memchr.c (do_one_test): Likewise.
8644 (do_test): Likewise.
8645 * string/test-memcmp.c (do_one_test): Likewise.
8646 (do_test): Likewise.
8647 * string/test-memcpy.c (do_one_test): Likewise.
8648 (do_test): Likewise.
8649 * string/test-memmem.c (do_one_test): Likewise.
8650 (do_test): Likewise.
8651 (do_random_tests): Likewise.
8652 * string/test-memmove.c (do_one_test): Likewise.
8653 (do_test): Likewise.
8654 * string/test-memset.c (do_one_test): Likewise.
8655 (do_test): Likewise.
8656 * string/test-rawmemchr.c (do_one_test): Likewise.
8657 (do_test): Likewise.
8658 * string/test-strcasecmp.c (do_one_test): Likewise.
8659 (do_test): Likewise.
8660 * string/test-strcasestr.c (do_one_test): Likewise.
8661 (do_test): Likewise.
8662 * string/test-strcat.c (do_one_test): Likewise.
8663 (do_test): Likewise.
8664 * string/test-strchr.c (do_one_test): Likewise.
8665 (do_test): Likewise.
8666 * string/test-strcmp.c (do_one_test): Likewise.
8667 (do_test): Likewise.
8668 * string/test-strcpy.c (do_one_test): Likewise.
8669 (do_test): Likewise.
8670 * string/test-string.h: Likewise.
8671 (test_init): Likewise.
8672 * string/test-strlen.c (do_one_test): Likewise.
8673 (do_test): Likewise.
8674 * string/test-strncasecmp.c (do_one_test): Likewise.
8675 (do_test): Likewise.
8676 * string/test-strncat.c (do_one_test): Likewise.
8677 (do_test): Likewise.
8678 * string/test-strncmp.c (do_one_test): Likewise.
8679 (do_test_limit): Likewise.
8680 (do_test): Likewise.
8681 * string/test-strncpy.c (do_one_test): Likewise.
8682 (do_test): Likewise.
8683 * string/test-strnlen.c (do_one_test): Likewise.
8684 (do_test): Likewise.
8685 * string/test-strpbrk.c (do_one_test): Likewise.
8686 (do_test): Likewise.
8687 * string/test-strrchr.c (do_one_test): Likewise.
8688 (do_test): Likewise.
8689 * string/test-strspn.c (do_one_test): Likewise.
8690 (do_test): Likewise.
8691 * string/test-strstr.c (do_one_test): Likewise.
8692 (do_test): Likewise.
8693
97020474
SP
8694 * benchtests/Makefile (string-bench): Add string benchmarks.
8695 * benchtests/bench-bcopy-ifunc.c: New file.
8696 * benchtests/bench-bcopy.c: New file.
8697 * benchtests/bench-bzero-ifunc.c: New file.
8698 * benchtests/bench-bzero.c: New file.
8699 * benchtests/bench-memccpy-ifunc.c: New file.
8700 * benchtests/bench-memccpy.c: New file.
8701 * benchtests/bench-memchr-ifunc.c: New file.
8702 * benchtests/bench-memchr.c: New file.
8703 * benchtests/bench-memcmp-ifunc.c: New file.
8704 * benchtests/bench-memcmp.c: New file.
8705 * benchtests/bench-memmem-ifunc.c: New file.
8706 * benchtests/bench-memmem.c: New file.
8707 * benchtests/bench-memmove-ifunc.c: New file.
8708 * benchtests/bench-memmove.c: New file.
8709 * benchtests/bench-mempcpy-ifunc.c: New file.
8710 * benchtests/bench-mempcpy.c: New file.
8711 * benchtests/bench-memset-ifunc.c: New file.
8712 * benchtests/bench-memset.c: New file.
8713 * benchtests/bench-rawmemchr-ifunc.c: New file.
8714 * benchtests/bench-rawmemchr.c: New file.
8715 * benchtests/bench-stpcpy-ifunc.c: New file.
8716 * benchtests/bench-stpcpy.c: New file.
8717 * benchtests/bench-stpncpy-ifunc.c: New file.
8718 * benchtests/bench-stpncpy.c: New file.
8719 * benchtests/bench-strcasecmp-ifunc.c: New file.
8720 * benchtests/bench-strcasecmp.c: New file.
8721 * benchtests/bench-strcasestr-ifunc.c: New file.
8722 * benchtests/bench-strcasestr.c: New file.
8723 * benchtests/bench-strcat-ifunc.c: New file.
8724 * benchtests/bench-strcat.c: New file.
8725 * benchtests/bench-strchr-ifunc.c: New file.
8726 * benchtests/bench-strchr.c: New file.
8727 * benchtests/bench-strchrnul-ifunc.c: New file.
8728 * benchtests/bench-strchrnul.c: New file.
8729 * benchtests/bench-strcmp-ifunc.c: New file.
8730 * benchtests/bench-strcmp.c: New file.
8731 * benchtests/bench-strcpy-ifunc.c: New file.
8732 * benchtests/bench-strcpy.c: New file.
8733 * benchtests/bench-strcspn-ifunc.c: New file.
8734 * benchtests/bench-strcspn.c: New file.
8735 * benchtests/bench-strlen-ifunc.c: New file.
8736 * benchtests/bench-strlen.c: New file.
8737 * benchtests/bench-strncasecmp-ifunc.c: New file.
8738 * benchtests/bench-strncasecmp.c: New file.
8739 * benchtests/bench-strncat-ifunc.c: New file.
8740 * benchtests/bench-strncat.c: New file.
8741 * benchtests/bench-strncmp-ifunc.c: New file.
8742 * benchtests/bench-strncmp.c: New file.
8743 * benchtests/bench-strncpy-ifunc.c: New file.
8744 * benchtests/bench-strncpy.c: New file.
8745 * benchtests/bench-strnlen-ifunc.c: New file.
8746 * benchtests/bench-strnlen.c: New file.
8747 * benchtests/bench-strpbrk-ifunc.c: New file.
8748 * benchtests/bench-strpbrk.c: New file.
8749 * benchtests/bench-strrchr-ifunc.c: New file.
8750 * benchtests/bench-strrchr.c: New file.
8751 * benchtests/bench-strspn-ifunc.c: New file.
8752 * benchtests/bench-strspn.c: New file.
8753 * benchtests/bench-strstr-ifunc.c: New file.
8754 * benchtests/bench-strstr.c: New file.
8755
c1f75dc3
SP
8756 * benchtests/Makefile: Disable parallel execution of targets.
8757 (string-bench): Add memcpy.
8758 (benchset): New variable to store a list of benchmark sets.
8759 (bench-func): Renamed from bench.
8760 (bench-set): New target.
8761 (bench): Depend on bench-func and bench-set.
8762 * benchtests/README: Add section on benchmark sets.
8763 * benchtests/bench-memcpy-ifunc.c: New file.
8764 * benchtests/bench-memcpy.c: New file.
8765 * benchtests/bench-string.h: New file.
8766
50fd745b
AS
87672013-06-11 Andreas Schwab <schwab@suse.de>
8768
8769 [BZ #15577]
8770 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8771 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8772 values in the triple.
8773 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8774 terminator in the group key.
8775
3ee7e9fe
AJ
87762013-06-11 Andreas Jaeger <aj@suse.de>
8777
8778 * po/zh_TW.po: Update Chinese (traditional) translation from
8779 translation project.
8780
89fb6835
SP
87812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8782
8783 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8784 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8785 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8786 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8787 (clock_getcpuclockid): Likewise.
8788 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8789 Add weak_alias and libc_hidden_def.
8790 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8791 * rt/clock_gettime.c (clock_gettime): Rename to
8792 __clock_gettime. Add weak_alias and libc_hidden_def.
8793 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8794 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8795 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8796 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8797 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8798 Likewise.
8799 * rt/clock_settime.c (clock_settime): Rename to
8800 __clock_settime. Add weak_alias and libc_hidden_def.
8801 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8802
0efa6f8b
JM
88032013-06-10 Joseph Myers <joseph@codesourcery.com>
8804
b8c61b4b
JM
8805 * mach/err_boot.sub: Remove trailing whitespace.
8806 * mach/err_ipc.sub: Likewise.
8807 * mach/err_mach.sub: Likewise.
8808
0efa6f8b
JM
8809 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8810 (ROUNDING_TESTS_double): Likewise.
8811 (ROUNDING_TESTS_long_double): Likewise.
8812 (ROUNDING_TESTS): Likewise.
8813 * math/libm-test.inc: Include <math-tests.h>.
8814 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8815 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8816 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8817 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8818
50b818bf
SP
88192013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8820
8821 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8822 of assigning.
8823
60d2f8f3
JM
88242013-06-08 Joseph Myers <joseph@codesourcery.com>
8825
4902d2c3
JM
8826 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8827 otherwise empty TRANS lines.
8828 * sysdeps/gnu/errlist.c: Regenerated.
8829
60d2f8f3
JM
8830 * catgets/gencat.c (error_print): Use (void) in function
8831 definition.
8832 * crypt/crypt_util.c (__init_des): Likewise.
8833 * crypt/speeds.c (Stop): Likewise.
8834 (main): Likewise.
8835 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8836 * inet/ruserpass.c (token): Likewise.
8837 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8838 * intl/localealias.c (extend_alias_table): Likewise.
8839 * intl/plural-exp.c (init_germanic_plural): Likewise.
8840 * libio/fcloseall.c (__fcloseall): Likewise.
8841 * libio/genops.c (_IO_flush_all): Likewise.
8842 (_IO_flush_all_linebuffered): Likewise.
8843 (_IO_cleanup): Likewise.
8844 (_IO_iter_begin): Likewise.
8845 (_IO_iter_end): Likewise.
8846 (_IO_list_lock): Likewise.
8847 (_IO_list_unlock): Likewise.
8848 (_IO_list_resetlock): Likewise.
8849 * libio/getchar.c (getchar): Likewise.
8850 * libio/getchar_u.c (getchar_unlocked): Likewise.
8851 * libio/getwchar.c (getwchar): Likewise.
8852 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8853 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8854 * login/getpt.c (__getpt): Likewise.
8855 * login/tst-utmp.c (main): Likewise.
8856 * malloc/hooks.c (__malloc_check_init): Likewise.
8857 * malloc/malloc.c (__malloc_stats): Likewise.
8858 * malloc/mtrace.c (tr_break): Likewise.
8859 (mtrace): Likewise.
8860 (muntrace): Likewise.
8861 * misc/fstab.c (endfsent): Likewise.
8862 * misc/getclktck.c (__getclktck): Likewise.
8863 * misc/getdtsz.c (__getdtablesize): Likewise.
8864 * misc/gethostid.c (gethostid): Likewise.
8865 * misc/getpagesize.c (__getpagesize): Likewise.
8866 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8867 (__get_nprocs): Likewise.
8868 (__get_phys_pages): Likewise.
8869 (__get_avphys_pages): Likewise.
8870 * misc/getttyent.c (getttyent): Likewise.
8871 (setttyent): Likewise.
8872 (endttyent): Likewise.
8873 * misc/getusershell.c (getusershell): Likewise.
8874 (endusershell): Likewise.
8875 (setusershell): Likewise.
8876 (initshells): Likewise.
8877 * misc/hsearch.c (__hdestroy): Likewise.
8878 * misc/sync.c (sync): Likewise.
8879 * misc/syslog.c (closelog_internal): Likewise.
8880 (closelog): Likewise.
8881 * misc/ttyslot.c (ttyslot): Likewise.
8882 * misc/vhangup.c (vhangup): Likewise.
8883 * posix/fork.c (__fork): Likewise.
8884 * posix/getegid.c (__getegid): Likewise.
8885 * posix/geteuid.c (__geteuid): Likewise.
8886 * posix/getgid.c (__getgid): Likewise.
8887 * posix/getpid.c (__getpid): Likewise.
8888 * posix/getppid.c (__getppid): Likewise.
8889 * posix/getuid.c (__getuid): Likewise.
8890 * posix/pause.c (pause): Likewise.
8891 * posix/setpgrp.c (setpgrp): Likewise.
8892 * posix/setsid.c (__setsid): Likewise.
8893 * posix/test-vfork.c (noop): Likewise.
8894 * resolv/gethnamaddr.c (_endhtent): Likewise.
8895 (_gethtent): Likewise.
8896 (ht_endhostent): Likewise.
8897 (gethostent): Likewise.
8898 (dns_service): Likewise.
8899 * stdlib/drand48.c (drand48): Likewise.
8900 * stdlib/lrand48.c (lrand48): Likewise.
8901 * stdlib/mrand48.c (mrand48): Likewise.
8902 * stdlib/rand.c (rand): Likewise.
8903 * stdlib/random.c (__random): Likewise.
8904 * stdlib/setenv.c (clearenv): Likewise.
8905 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8906 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8907 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8908 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8909 (__get_nprocs): Likewise.
8910 (__get_phys_pages): Likewise.
8911 (__get_avphys_pages): Likewise.
8912 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8913 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8914 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8915 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8916 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8917 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8918 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8919 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8920 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8921 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8922 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8923 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8924 * sysdeps/posix/clock.c (clock): Likewise.
8925 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8926 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8927 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8928 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8929 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8931 (__get_nprocs_conf): Likewise.
8932 (__get_phys_pages): Likewise.
8933 (__get_avphys_pages): Likewise.
8934 * time/clock.c (clock): Likewise.
8935 * time/tzset.c (__tzname_max): Likewise.
8936
2e09a79a
JM
89372013-06-07 Joseph Myers <joseph@codesourcery.com>
8938
8939 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8940 (__bswap_32): Do not use "register".
8941 * crypt/crypt.c (_ufc_doit_r): Likewise.
8942 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8943 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8944 * gmon/gmon.c (__monstartup): Likewise.
8945 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8946 * hurd/hurdmalloc.c (more_memory): Likewise.
8947 (malloc): Likewise.
8948 (free): Likewise.
8949 (realloc): Likewise.
8950 (malloc_fork_prepare): Likewise.
8951 (malloc_fork_parent): Likewise.
8952 (malloc_fork_child): Likewise.
8953 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8954 (_svcauth_des): Likewise.
8955 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8956 * inet/inet_net.c (inet_network): Likewise.
8957 * inet/inet_netof.c (inet_netof): Likewise.
8958 * inet/rcmd.c (__validuser2_sa): Likewise.
8959 * io/fts.c (fts_open): Likewise.
8960 (fts_load): Likewise.
8961 (fts_close): Likewise.
8962 (fts_read): Likewise.
8963 (fts_children): Likewise.
8964 (fts_build): Likewise.
8965 (fts_stat): Likewise.
8966 (fts_sort): Likewise.
8967 (fts_alloc): Likewise.
8968 (fts_lfree): Likewise.
8969 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8970 (_IO_file_xsgetn): Likewise.
8971 (_IO_file_xsgetn_mmap): Likewise.
8972 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8973 (_IO_cookie_write): Likewise.
8974 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8975 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8976 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8977 * malloc/obstack.c (_obstack_begin): Likewise.
8978 (_obstack_begin_1): Likewise.
8979 (_obstack_newchunk): Likewise.
8980 (_obstack_allocated_p): Likewise.
8981 (obstack_free): Likewise.
8982 (_obstack_memory_used): Likewise.
8983 * misc/getttyent.c (getttynam): Likewise.
8984 (getttyent): Likewise.
8985 (skip): Likewise.
8986 (value): Likewise.
8987 * misc/getusershell.c (initshells): Likewise.
8988 * misc/syslog.c (__vsyslog_chk): Likewise.
8989 * misc/ttyslot.c (ttyslot): Likewise.
8990 * nis/nis_hash.c (__nis_hash): Likewise.
8991 * posix/fnmatch_loop.c (FCT): Likewise.
8992 * posix/getconf.c (print_all): Likewise.
8993 (main): Likewise.
8994 * posix/getopt.c (exchange): Likewise.
8995 * posix/glob.c (globfree): Likewise.
8996 (prefix_array): Likewise.
8997 (__glob_pattern_type): Likewise.
8998 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8999 (NS_GET32): Likewise.
9000 (NS_PUT16): Likewise.
9001 (NS_PUT32): Likewise.
9002 * resolv/gethnamaddr.c (getanswer): Likewise.
9003 (gethostbyname2): Likewise.
9004 (gethostbyaddr): Likewise.
9005 (_gethtent): Likewise.
9006 (_gethtbyname2): Likewise.
9007 (_gethtbyaddr): Likewise.
9008 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9009 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9010 * resolv/res_init.c (__res_vinit): Likewise.
9011 (net_mask): Likewise.
9012 * resolv/res_mkquery.c (outchar): Likewise.
9013 (PRINT): Likewise.
9014 * stdio-common/printf_fp.c (outchar): Likewise.
9015 (PRINT): Likewise.
9016 * stdio-common/printf_fphex.c (outchar): Likewise.
9017 (PRINT): Likewise.
9018 * stdio-common/printf_size.c (outchar): Likewise.
9019 (PRINT): Likewise.
9020 * stdio-common/test_rdwr.c (main): Likewise.
9021 * stdio-common/tfformat.c (matches): Likewise.
9022 * stdio-common/vfprintf.c (outchar): Likewise.
9023 (printf_unknown): Likewise.
9024 (buffered_vfprintf): Likewise.
9025 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9026 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9027 (ReadFile): Likewise.
9028 * stdlib/qsort.c (SWAP): Likewise.
9029 (_quicksort): Likewise.
9030 * stdlib/setenv.c (__add_to_environ): Likewise.
9031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9032 * stdlib/strtol_l.c (__strtol_l): Likewise.
9033 * stdlib/tst-strtod.c (main): Likewise.
9034 * stdlib/tst-strtol.c (main): Likewise.
9035 * stdlib/tst-strtoll.c (main): Likewise.
9036 * string/bits/string2.h (__strcmp_cc): Likewise.
9037 (__strcmp_cg): Likewise.
9038 (__strcspn_c1): Likewise.
9039 (__strcspn_c2): Likewise.
9040 (__strcspn_c3): Likewise.
9041 (__strspn_c1): Likewise.
9042 (__strspn_c2): Likewise.
9043 (__strspn_c3): Likewise.
9044 (__strsep_1c): Likewise.
9045 (__strsep_2c): Likewise.
9046 (__strsep_3c): Likewise.
9047 * string/memccpy.c (__memccpy): Likewise.
9048 * string/stpcpy.c (__stpcpy): Likewise.
9049 * string/strcmp.c (strcmp): Likewise.
9050 * string/strrchr.c (strrchr): Likewise.
9051 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9052 Likewise.
9053 * sysdeps/mach/hurd/getcwd.c
9054 (_hurd_canonicalize_directory_name_internal): Likewise.
9055 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9056 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9057 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9058 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9059 Likewise, in both definitions.
9060 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9061 definitions.
9062 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9063 64] (__bswap_64): Likewise.
9064 * time/test_time.c (main): Likewise.
9065 * time/tzfile.c (__tzfile_read): Likewise.
9066 (__tzfile_compute): Likewise.
9067 * time/tzset.c (__tzset_parse_tz): Likewise.
9068 (tzset_internal): Likewise.
9069 (compute_change): Likewise.
9070 * wcsmbs/wcscat.c (__wcscat): Likewise.
9071 * wcsmbs/wcschr.c (wcschr): Likewise.
9072 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9073 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9074 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9075 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9076 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9077 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9078 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9079 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9080 * wcsmbs/wmemset.c (wmemset): Likewise.
9081
9e54314b
JM
90822013-06-06 Joseph Myers <joseph@codesourcery.com>
9083
9084 * scripts/config.guess: Update to version 2013-05-16.
9085 * scripts/config.sub: Update to version 2013-04-24.
9086 * scripts/install-sh: Update to version 2011-11-20.07.
9087 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9088 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9089
350635a5
OB
90902013-06-06 Ondřej Bílka <neleai@seznam.cz>
9091
9092 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9093 * elf/sln.c: Likewise.
9094 * hurd/hurd/ioctl.h: Likewise.
9095 * hurd/hurdmalloc.c: Likewise.
9096 * hurd/xattr.c: Likewise.
9097 * include/shlib-compat.h: Likewise.
9098 * inet/ruserpass.c: Likewise.
9099 * libio/iofgets_u.c: Likewise.
9100 * libio/iofgetws_u.c: Likewise.
9101 * locale/programs/ld-identification.c: Likewise.
9102 * locale/programs/ld-time.c: Likewise.
9103 * mach/msg-destroy.c: Likewise.
9104 * nss/nss_files/files-netgrp.c: Likewise.
9105 * resolv/res_data.c: Likewise.
9106 * soft-fp/op-1.h: Likewise.
9107 * soft-fp/op-2.h: Likewise.
9108 * soft-fp/op-4.h: Likewise.
9109 * soft-fp/op-common.h: Likewise.
9110 * stdio-common/printf_fphex.c: Likewise.
9111 * stdlib/strtod_l.c: Likewise.
9112 * sunrpc/rpc/clnt.h: Likewise.
9113 * sysdeps/generic/framestate.c: Likewise.
9114 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9115 * sysdeps/i386/bsd-setjmp.S: Likewise.
9116 * sysdeps/i386/__longjmp.S: Likewise.
9117 * sysdeps/i386/setjmp.S: Likewise.
9118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9119 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9136 * sysdeps/ieee754/support.c: Likewise.
9137 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9138 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9139 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9140 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9141 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9142 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9143 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9144 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9145 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9146 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9147 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9148 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9149 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9150 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9151 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9152 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9153 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9155
44a988af
OB
91562013-06-05 Ondřej Bílka <neleai@seznam.cz>
9157
25506f09 9158 * posix/transbug.c: Remove executable mode.
44a988af 9159
9c84384c
JM
91602013-06-05 Joseph Myers <joseph@codesourcery.com>
9161
9162 * crypt/speeds.c: Remove trailing whitespace.
9163 * dlfcn/default.c: Likewise.
9164 * elf/ifuncdep2.c: Likewise.
9165 * elf/ifuncmain1.c: Likewise.
9166 * elf/ifuncmain1vis.c: Likewise.
9167 * elf/testobj.h: Likewise.
9168 * elf/tst-stackguard1.c: Likewise.
9169 * gmon/sys/gmon.h: Likewise.
9170 * hurd/hurdmsg.c: Likewise.
9171 * hurd/new-fd.c: Likewise.
9172 * hurd/ports-get.c: Likewise.
9173 * iconvdata/ibm1008_420.c: Likewise.
9174 * inet/tst-getni1.c: Likewise.
9175 * inet/tst-getni2.c: Likewise.
9176 * libio/ioungetc.c: Likewise.
9177 * libio/wfiledoalloc.c: Likewise.
9178 * manual/libm-err-tab.pl: Likewise.
9179 * math/w_dremf.c: Likewise.
9180 * misc/ftruncate.c: Likewise.
9181 * posix/bug-glob2.c: Likewise.
9182 * posix/tst-pcre.c: Likewise.
9183 * posix/wait4.c: Likewise.
9184 * resolv/README: Likewise.
9185 * resolv/res_debug.h: Likewise.
9186 * resolv/tst-inet_ntop.c: Likewise.
9187 * setjmp/bug269-setjmp.c: Likewise.
9188 * soft-fp/extended.h: Likewise.
9189 * soft-fp/op-1.h: Likewise.
9190 * soft-fp/op-2.h: Likewise.
9191 * soft-fp/op-4.h: Likewise.
9192 * soft-fp/op-8.h: Likewise.
9193 * soft-fp/testit.c: Likewise.
9194 * stdio-common/bug16.c: Likewise.
9195 * stdlib/random.c: Likewise.
9196 * sunrpc/rpcsvc/rquota.x: Likewise.
9197 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9198 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9200 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9201 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9202 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9203 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9204 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9205 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9206 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9207 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9226 * sysdeps/ieee754/s_lib_version.c: Likewise.
9227 * sysdeps/mach/hurd/check_fds.c: Likewise.
9228 * sysdeps/mach/hurd/getsockname.c: Likewise.
9229 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9230 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9231 * sysdeps/powerpc/bits/link.h: Likewise.
9232 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9233 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9234 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9235 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9236 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9237 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9238 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9239 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9240 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9241 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9242 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9243 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9244 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9245 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9246 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9247 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9248 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9249 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9250 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9251 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9252 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9253 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9255 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9256 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9257 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9258 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9259 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9260 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9261 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9262 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9263 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9266 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9267 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9268 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9269 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9270 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9271 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9272 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9273 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9274 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9275 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9276 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9277 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9278 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9279 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9280 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9281 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9284 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9285 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9286 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9287 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9288 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9289 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9290 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9293 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9294 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9295 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9296 * sysdeps/powerpc/sysdep.h: Likewise.
9297 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9298 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9299 * sysdeps/sh/dl-trampoline.S: Likewise.
9300 * sysdeps/sh/memset.S: Likewise.
9301 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9302 * sysdeps/sh/strlen.S: Likewise.
9303 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9304 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9305 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9306 * sysdeps/sparc/sparc32/rem.S: Likewise.
9307 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9308 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9309 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9310 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9311 * sysdeps/sparc/sparc32/urem.S: Likewise.
9312 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9313 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9314 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9315 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9316 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9317 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9318 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9319 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9320 * sysdeps/unix/bsd/times.c: Likewise.
9321 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9322 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9326 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9327 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9328 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9330 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9331 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9332 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9333 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9334 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9335 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9336 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9337 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9338 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9339 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9340 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9341 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9342 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9343 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9344 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9345 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9346 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9347 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9349 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9350 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9351 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9352 * sysdeps/x86_64/strcspn.S: Likewise.
9353
869378a5
RA
93542013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9355
9356 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9357 generated file. Regenerate properly from gen-translit.pl.
9358 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9359 locale/C-translit.h.
9360
840e2943
AS
93612013-06-05 Andreas Schwab <schwab@suse.de>
9362
9363 [BZ #15100]
9364 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9365 week as 6 instead of -1.
9366 * time/tst-strptime.c (day_tests): Add test case.
9367
4c60cb0c
SP
93682013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9369
9370 * sysdeps/generic/math_private.h
9371 (libc_feholdexcept_setround_53bit): Replace with
9372 libc_feholdsetround_53bit.
9373 (libc_feupdateenv_53bit): Replace with
9374 libc_feresetround_53bit.
9375 (SET_RESTORE_ROUND_53BIT): Adjust.
9376
d180203e
SP
93772013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9378
96df079a
SP
9379 * string/test-strchrnul.c: Add copyright header.
9380
d180203e
SP
9381 * posix/tst-getaddrinfo4.c: Increase test timeout.
9382
8b0ccb2d
CD
93832013-06-03 Carlos O'Donell <carlos@redhat.com>
9384
9385 [BZ #15536]
9386 * math/libm-test.inc (MAX_EXP): Remove
9387 (MIN_EXP): Define.
9388 (ulp): Use MIN_EXP - MANT_DIG.
9389 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9390
3b3c4d40
CD
93912013-05-31 Carlos O'Donell <carlos@redhat.com>
9392
9393 * po/be.po: Revert last change.
9394 * po/zh_CN.po: Likewise.
9395 * po/header.pot: Likewise.
9396
fab7ce3f
JM
93972013-05-31 Joseph Myers <joseph@codesourcery.com>
9398
9399 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9400 link-libc-deps to empty as target-specific variable.
9401 * Makerules (link-libc-args): New variable.
9402 (libc-for-link): Likewise.
9403 (link-libc-deps): Likewise.
9404 (lib%.so): Depend on $(link-libc-deps). Link with
9405 $(link-libc-args).
9406 (build-module): Link with $(link-libc-args).
9407 (build-module-asneeded): Likewise.
9408 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9409 list of objects.
9410 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9411 target-specific variable.
9412 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9413 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9414 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9415 libc.
9416 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9417 libc and ld.so.
9418 ($(objpfx)libpcprofile.so): Likewise.
9419 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9420 libc_nonshared.a.
9421 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9422 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9423 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9424 $(link-libc-deps).
9425 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9426 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9427 * login/Makefile ($(objpfx)libutil.so): Likewise.
9428 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9429 * math/Makefile ($(objpfx)libm.so): Likewise.
9430 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9431 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9432 variable instead of depending directly on libc.
9433 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9434 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9435 $(link-libc-deps).
9436 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9437 libc.
9438 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9439 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9440 ($(objpfx)libanl.so): Likewise.
9441 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9442 ld.so.
9443 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9444 $(link-libc-deps).
9445 * sysdeps/i386/fpu/Makefile: Remove file.
9446 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9447 ($(objpfx)libm.so): Remove dependency on ld.so.
9448
eca5920c
PF
94492013-05-30 Patsy Franklin <pfrankli@redhat.com>
9450
9451 [BZ # 15553]
9452 * nis/yp_xdr.c (XDRMAXNAME): Define.
9453 (XDRMAXRECORD): Define.
9454 (xdr_domainname): Use XDRMAXNAME.
9455 (xdr_mapname): Likewise.
9456 (xdr_peername): Likewise.
9457 (xdr_keydat): Use XDRMAXRECORD.
9458 (xdr_valdat): Likewise.
9459
94602013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9461
9462 [BZ #14256]
9463 * manual/errno.texi (ESTALE): Update to account for more than
9464 just NFS file systems.
9465 * sysdeps/gnu/errlist.c: Regenerated.
9466
b9375348
SP
94672013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
9469 [BZ #15465]
9470 * elf/Makefile (tests): Add tst-null-argv.
9471 (modules-names): Add tst-null-argv-lib.
9472 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9473 (tst-null-argv-ENV): Set environment for tst-null-argv.
9474 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9475 (RTLD_PROGNAME): New macro.
9476 * elf/tst-null-argv.c: New test case.
9477 * elf/tst-null-argv-lib.c: Library for test case.
9478 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9479 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9480 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9481 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9482 * elf/dl-init.c (call_init): Likewise.
9483 (_dl_init): Likewise.
9484 * elf/dl-load.c (print_search_path): Likewise.
9485 (_dl_map_object): Likewise.
9486 * elf/dl-lookup.c (do_lookup_x): Likewise.
9487 (add_dependency): Likewise.
9488 (_dl_lookup_symbol_x): Likewise.
9489 (_dl_debug_bindings): Likewise.
9490 * elf/dl-open.c (_dl_show_scope): Likewise.
9491 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9492 * elf/dl-version.c (match_symbol): Likewise.
9493 (_dl_check_map_versions): Likewise.
9494 * elf/rtld.c (dl_main): Likewise.
9495 (print_unresolved): Use RTLD_PROGNAME.
9496 (print_missing_version): Likewise.
9497 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9498 (elf_machine_rela): Likewise.
9499 * sysdeps/powerpc/powerpc32/dl-machine.c
9500 (__process_machine_rela): Likewise.
9501 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9502 Likewise.
9503 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9504 Likewise.
9505 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9506 Likewise.
9507 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9509 Likewise.
9510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9511 Likewise.
9512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9513
8a9f20c8
CD
95142013-05-28 Carlos O'Donell <carlos@redhat.com>
9515
9516 * po/be.po: Add descriptive title.
9517 * po/zh_CN.po: Likewise.
9518 * po/header.pot: Likewise.
9519
0e60d68e
MF
95202013-05-28 Mike Frysinger <vapier@gentoo.org>
9521
9522 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9523 error message.
9524 (enlarge_archive): Likewise.
9525
56b672e9
BN
95262013-05-28 Ben North <ben@redfrontdoor.org>
9527
9528 * manual/arith.texi (frexp): It is the magnitude of the return
9529 value which lies in [0.5, 1), not the return value itself.
9530
5e056687
AZ
95312013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9532
9533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9534
2b66ef5d
TS
95352013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9536
528c2405
TS
9537 * stdio-common/bug26.c (main): Correct fscanf template.
9538
07b4c13d
TS
9539 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9540 declare _dl_skip_args.
9541
ec9dd97c
TS
9542 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9543 Don't declare.
9544
2b66ef5d
TS
9545 * manual/platform.texi: Add missing @end deftypefun.
9546
4f8dfe27
JM
95472013-05-24 Joseph Myers <joseph@codesourcery.com>
9548
0323d086
JM
9549 [BZ #15529]
9550 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9551 bit of mantissa of 2^16382.
9552 * math/libm-test.inc (hypot_test_data): Add more tests.
9553
dd4259b9
JM
9554 * math/libm-test.inc: Add drem and pow10 to list of tested
9555 functions.
9556 (pow10_test): New function.
9557 (drem_test): Likewise.
9558 (drem_test_tonearest): Likewise.
9559 (drem_test_towardzero): Likewise.
9560 (drem_test_downward): Likewise.
9561 (drem_test_upward): Likewise.
9562 (main): Call the new functions.
9563
4f8dfe27
JM
9564 * math/libm-test.inc (finite_test_data): Remove.
9565 (finite_test): Run tests from isfinite_test_data.
9566 (gamma_test_data): Remove.
9567 (gamma_test): Run tests from lgamma_test_data.
9568 * sysdeps/i386/fpu/libm-test-ulps: Update.
9569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9570
d116b7c4
AZ
95712013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9572
9573 * manual/platform.texi: Add PowerPC PPR function set documentation.
9574 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9575 implementation.
9576
e96e3767
CD
95772013-05-24 Carlos O'Donell <carlos@redhat.com>
9578
9579 * math/libm-test.inc (MAX_EXP): Define.
9580 (ULPDIFF): Define.
9581 (ulp): New function.
9582 (check_float_internal): Use ULPDIFF.
9583 (cpow_test): Disable failing test.
9584 (check_ulp): Test ulp() implemetnation.
9585 (main): Call check_ulp before starting tests.
9586
b679a606
JM
95872013-05-24 Joseph Myers <joseph@codesourcery.com>
9588
e8bdba36
JM
9589 * math/gen-libm-test.pl (generate_testfile): Do not handle
9590 START_DATA and END_DATA.
9591 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9592 END_DATA.
9593 (acos_tonearest_test_data): Likewise.
9594 (acos_towardzero_test_data): Likewise.
9595 (acos_downward_test_data): Likewise.
9596 (acos_upward_test_data): Likewise.
9597 (acosh_test_data): Likewise.
9598 (asin_test_data): Likewise.
9599 (asin_tonearest_test_data): Likewise.
9600 (asin_towardzero_test_data): Likewise.
9601 (asin_downward_test_data): Likewise.
9602 (asin_upward_test_data): Likewise.
9603 (asinh_test_data): Likewise.
9604 (atan_test_data): Likewise.
9605 (atanh_test_data): Likewise.
9606 (atan2_test_data): Likewise.
9607 (cabs_test_data): Likewise.
9608 (cacos_test_data): Likewise.
9609 (cacosh_test_data): Likewise.
9610 (carg_test_data): Likewise.
9611 (casin_test_data): Likewise.
9612 (casinh_test_data): Likewise.
9613 (catan_test_data): Likewise.
9614 (catanh_test_data): Likewise.
9615 (cbrt_test_data): Likewise.
9616 (ccos_test_data): Likewise.
9617 (ccosh_test_data): Likewise.
9618 (ceil_test_data): Likewise.
9619 (cexp_test_data): Likewise.
9620 (cimag_test_data): Likewise.
9621 (clog_test_data): Likewise.
9622 (clog10_test_data): Likewise.
9623 (conj_test_data): Likewise.
9624 (copysign_test_data): Likewise.
9625 (cos_test_data): Likewise.
9626 (cos_tonearest_test_data): Likewise.
9627 (cos_towardzero_test_data): Likewise.
9628 (cos_downward_test_data): Likewise.
9629 (cos_upward_test_data): Likewise.
9630 (cosh_test_data): Likewise.
9631 (cosh_tonearest_test_data): Likewise.
9632 (cosh_towardzero_test_data): Likewise.
9633 (cosh_downward_test_data): Likewise.
9634 (cosh_upward_test_data): Likewise.
9635 (cpow_test_data): Likewise.
9636 (cproj_test_data): Likewise.
9637 (creal_test_data): Likewise.
9638 (csin_test_data): Likewise.
9639 (csinh_test_data): Likewise.
9640 (csqrt_test_data): Likewise.
9641 (ctan_test_data): Likewise.
9642 (ctan_tonearest_test_data): Likewise.
9643 (ctan_towardzero_test_data): Likewise.
9644 (ctan_downward_test_data): Likewise.
9645 (ctan_upward_test_data): Likewise.
9646 (ctanh_test_data): Likewise.
9647 (ctanh_tonearest_test_data): Likewise.
9648 (ctanh_towardzero_test_data): Likewise.
9649 (ctanh_downward_test_data): Likewise.
9650 (ctanh_upward_test_data): Likewise.
9651 (erf_test_data): Likewise.
9652 (erfc_test_data): Likewise.
9653 (exp_test_data): Likewise.
9654 (exp_tonearest_test_data): Likewise.
9655 (exp_towardzero_test_data): Likewise.
9656 (exp_downward_test_data): Likewise.
9657 (exp_upward_test_data): Likewise.
9658 (exp10_test_data): Likewise.
9659 (exp2_test_data): Likewise.
9660 (expm1_test_data): Likewise.
9661 (fabs_test_data): Likewise.
9662 (fdim_test_data): Likewise.
9663 (finite_test_data): Likewise.
9664 (floor_test_data): Likewise.
9665 (fma_test_data): Likewise.
9666 (fma_towardzero_test_data): Likewise.
9667 (fma_downward_test_data): Likewise.
9668 (fma_upward_test_data): Likewise.
9669 (fmax_test_data): Likewise.
9670 (fmin_test_data): Likewise.
9671 (fmod_test_data): Likewise.
9672 (fpclassify_test_data): Likewise.
9673 (frexp_test_data): Likewise.
9674 (gamma_test_data): Likewise.
9675 (hypot_test_data): Likewise.
9676 (ilogb_test_data): Likewise.
9677 (isfinite_test_data): Likewise.
9678 (isgreater_test_data): Likewise.
9679 (isgreaterequal_test_data): Likewise.
9680 (isinf_test_data): Likewise.
9681 (isless_test_data): Likewise.
9682 (islessequal_test_data): Likewise.
9683 (islessgreater_test_data): Likewise.
9684 (isnan_test_data): Likewise.
9685 (isnormal_test_data): Likewise.
9686 (issignaling_test_data): Likewise.
9687 (isunordered_test_data): Likewise.
9688 (j0_test_data): Likewise.
9689 (j1_test_data): Likewise.
9690 (jn_test_data): Likewise.
9691 (ldexp_test_data): Likewise.
9692 (lgamma_test_data): Likewise.
9693 (lrint_test_data): Likewise.
9694 (lrint_tonearest_test_data): Likewise.
9695 (lrint_towardzero_test_data): Likewise.
9696 (lrint_downward_test_data): Likewise.
9697 (lrint_upward_test_data): Likewise.
9698 (llrint_test_data): Likewise.
9699 (llrint_tonearest_test_data): Likewise.
9700 (llrint_towardzero_test_data): Likewise.
9701 (llrint_downward_test_data): Likewise.
9702 (llrint_upward_test_data): Likewise.
9703 (log_test_data): Likewise.
9704 (log10_test_data): Likewise.
9705 (log1p_test_data): Likewise.
9706 (log2_test_data): Likewise.
9707 (logb_test_data): Likewise.
9708 (logb_downward_test_data): Likewise.
9709 (lround_test_data): Likewise.
9710 (llround_test_data): Likewise.
9711 (modf_test_data): Likewise.
9712 (nearbyint_test_data): Likewise.
9713 (nextafter_test_data): Likewise.
9714 (nexttoward_test_data): Likewise.
9715 (pow_test_data): Likewise.
9716 (pow_tonearest_test_data): Likewise.
9717 (pow_towardzero_test_data): Likewise.
9718 (pow_downward_test_data): Likewise.
9719 (pow_upward_test_data): Likewise.
9720 (remainder_test_data): Likewise.
9721 (remainder_tonearest_test_data): Likewise.
9722 (remainder_towardzero_test_data): Likewise.
9723 (remainder_downward_test_data): Likewise.
9724 (remainder_upward_test_data): Likewise.
9725 (remquo_test_data): Likewise.
9726 (rint_test_data): Likewise.
9727 (rint_tonearest_test_data): Likewise.
9728 (rint_towardzero_test_data): Likewise.
9729 (rint_downward_test_data): Likewise.
9730 (rint_upward_test_data): Likewise.
9731 (round_test_data): Likewise.
9732 (scalb_test_data): Likewise.
9733 (scalbn_test_data): Likewise.
9734 (scalbln_test_data): Likewise.
9735 (signbit_test_data): Likewise.
9736 (sin_test_data): Likewise.
9737 (sin_tonearest_test_data): Likewise.
9738 (sin_towardzero_test_data): Likewise.
9739 (sin_downward_test_data): Likewise.
9740 (sin_upward_test_data): Likewise.
9741 (sincos_test_data): Likewise.
9742 (sinh_test_data): Likewise.
9743 (sinh_tonearest_test_data): Likewise.
9744 (sinh_towardzero_test_data): Likewise.
9745 (sinh_downward_test_data): Likewise.
9746 (sinh_upward_test_data): Likewise.
9747 (sqrt_test_data): Likewise.
9748 (tan_test_data): Likewise.
9749 (tan_tonearest_test_data): Likewise.
9750 (tan_towardzero_test_data): Likewise.
9751 (tan_downward_test_data): Likewise.
9752 (tan_upward_test_data): Likewise.
9753 (tanh_test_data): Likewise.
9754 (tgamma_test_data): Likewise.
9755 (trunc_test_data): Likewise.
9756 (y0_test_data): Likewise.
9757 (y1_test_data): Likewise.
9758 (yn_test_data): Likewise.
9759 (significand_test_data): Likewise.
9760
b679a606
JM
9761 * math/gen-libm-test.pl (@functions): Remove variable.
9762 (generate_testfile): Don't handle START and END lines.
9763 * math/libm-test.inc (START): New macro.
9764 (END): Likewise.
9765 (END_COMPLEX): Likewise.
9766 (acos_test): Use END macro without arguments.
9767 (acos_test_tonearest): Likewise.
9768 (acos_test_towardzero): Likewise.
9769 (acos_test_downward): Likewise.
9770 (acos_test_upward): Likewise.
9771 (acosh_test): Likewise.
9772 (asin_test): Likewise.
9773 (asin_test_tonearest): Likewise.
9774 (asin_test_towardzero): Likewise.
9775 (asin_test_downward): Likewise.
9776 (asin_test_upward): Likewise.
9777 (asinh_test): Likewise.
9778 (atan_test): Likewise.
9779 (atanh_test): Likewise.
9780 (atan2_test): Likewise.
9781 (cabs_test): Likewise.
9782 (cacos_test): Use END_COMPLEX macro without arguments.
9783 (cacosh_test): Likewise.
9784 (carg_test): Use END macro without arguments.
9785 (casin_test): Use END_COMPLEX macro without arguments.
9786 (casinh_test): Likewise.
9787 (catan_test): Likewise.
9788 (catanh_test): Likewise.
9789 (cbrt_test): Use END macro without arguments.
9790 (ccos_test): Use END_COMPLEX macro without arguments.
9791 (ccosh_test): Likewise.
9792 (ceil_test): Use END macro without arguments.
9793 (cexp_test): Use END_COMPLEX macro without arguments.
9794 (cimag_test): Use END macro without arguments.
9795 (clog_test): Use END_COMPLEX macro without arguments.
9796 (clog10_test): Likewise.
9797 (conj_test): Likewise.
9798 (copysign_test): Use END macro without arguments.
9799 (cos_test): Likewise.
9800 (cos_test_tonearest): Likewise.
9801 (cos_test_towardzero): Likewise.
9802 (cos_test_downward): Likewise.
9803 (cos_test_upward): Likewise.
9804 (cosh_test): Likewise.
9805 (cosh_test_tonearest): Likewise.
9806 (cosh_test_towardzero): Likewise.
9807 (cosh_test_downward): Likewise.
9808 (cosh_test_upward): Likewise.
9809 (cpow_test): Use END_COMPLEX macro without arguments.
9810 (cproj_test): Likewise.
9811 (creal_test): Use END macro without arguments.
9812 (csin_test): Use END_COMPLEX macro without arguments.
9813 (csinh_test): Likewise.
9814 (csqrt_test): Likewise.
9815 (ctan_test): Likewise.
9816 (ctan_test_tonearest): Likewise.
9817 (ctan_test_towardzero): Likewise.
9818 (ctan_test_downward): Likewise.
9819 (ctan_test_upward): Likewise.
9820 (ctanh_test): Likewise.
9821 (ctanh_test_tonearest): Likewise.
9822 (ctanh_test_towardzero): Likewise.
9823 (ctanh_test_downward): Likewise.
9824 (ctanh_test_upward): Likewise.
9825 (erf_test): Use END macro without arguments.
9826 (erfc_test): Likewise.
9827 (exp_test): Likewise.
9828 (exp_test_tonearest): Likewise.
9829 (exp_test_towardzero): Likewise.
9830 (exp_test_downward): Likewise.
9831 (exp_test_upward): Likewise.
9832 (exp10_test): Likewise.
9833 (exp2_test): Likewise.
9834 (expm1_test): Likewise.
9835 (fabs_test): Likewise.
9836 (fdim_test): Likewise.
9837 (finite_test): Likewise.
9838 (floor_test): Likewise.
9839 (fma_test): Likewise.
9840 (fma_test_towardzero): Likewise.
9841 (fma_test_downward): Likewise.
9842 (fma_test_upward): Likewise.
9843 (fmax_test): Likewise.
9844 (fmin_test): Likewise.
9845 (fmod_test): Likewise.
9846 (fpclassify_test): Likewise.
9847 (frexp_test): Likewise.
9848 (gamma_test): Likewise.
9849 (hypot_test): Likewise.
9850 (ilogb_test): Likewise.
9851 (isfinite_test): Likewise.
9852 (isgreater_test): Likewise.
9853 (isgreaterequal_test): Likewise.
9854 (isinf_test): Likewise.
9855 (isless_test): Likewise.
9856 (islessequal_test): Likewise.
9857 (islessgreater_test): Likewise.
9858 (isnan_test): Likewise.
9859 (isnormal_test): Likewise.
9860 (issignaling_test): Likewise.
9861 (isunordered_test): Likewise.
9862 (j0_test): Likewise.
9863 (j1_test): Likewise.
9864 (jn_test): Likewise.
9865 (ldexp_test): Likewise.
9866 (lgamma_test): Likewise.
9867 (lrint_test): Likewise.
9868 (lrint_test_tonearest): Likewise.
9869 (lrint_test_towardzero): Likewise.
9870 (lrint_test_downward): Likewise.
9871 (lrint_test_upward): Likewise.
9872 (llrint_test): Likewise.
9873 (llrint_test_tonearest): Likewise.
9874 (llrint_test_towardzero): Likewise.
9875 (llrint_test_downward): Likewise.
9876 (llrint_test_upward): Likewise.
9877 (log_test): Likewise.
9878 (log10_test): Likewise.
9879 (log1p_test): Likewise.
9880 (log2_test): Likewise.
9881 (logb_test): Likewise.
9882 (logb_test_downward): Likewise.
9883 (lround_test): Likewise.
9884 (llround_test): Likewise.
9885 (modf_test): Likewise.
9886 (nearbyint_test): Likewise.
9887 (nextafter_test): Likewise.
9888 (nexttoward_test): Likewise.
9889 (pow_test): Likewise.
9890 (pow_test_tonearest): Likewise.
9891 (pow_test_towardzero): Likewise.
9892 (pow_test_downward): Likewise.
9893 (pow_test_upward): Likewise.
9894 (remainder_test): Likewise.
9895 (remainder_test_tonearest): Likewise.
9896 (remainder_test_towardzero): Likewise.
9897 (remainder_test_downward): Likewise.
9898 (remainder_test_upward): Likewise.
9899 (remquo_test): Likewise.
9900 (rint_test): Likewise.
9901 (rint_test_tonearest): Likewise.
9902 (rint_test_towardzero): Likewise.
9903 (rint_test_downward): Likewise.
9904 (rint_test_upward): Likewise.
9905 (round_test): Likewise.
9906 (scalb_test): Likewise.
9907 (scalbn_test): Likewise.
9908 (scalbln_test): Likewise.
9909 (signbit_test): Likewise.
9910 (sin_test): Likewise.
9911 (sin_test_tonearest): Likewise.
9912 (sin_test_towardzero): Likewise.
9913 (sin_test_downward): Likewise.
9914 (sin_test_upward): Likewise.
9915 (sincos_test): Likewise.
9916 (sinh_test): Likewise.
9917 (sinh_test_tonearest): Likewise.
9918 (sinh_test_towardzero): Likewise.
9919 (sinh_test_downward): Likewise.
9920 (sinh_test_upward): Likewise.
9921 (sqrt_test): Likewise.
9922 (tan_test): Likewise.
9923 (tan_test_tonearest): Likewise.
9924 (tan_test_towardzero): Likewise.
9925 (tan_test_downward): Likewise.
9926 (tan_test_upward): Likewise.
9927 (tanh_test): Likewise.
9928 (tgamma_test): Likewise.
9929 (trunc_test): Likewise.
9930 (y0_test): Likewise.
9931 (y1_test): Likewise.
9932 (yn_test): Likewise.
9933 (significand_test): Likewise.
9934
bae143d2
OB
99352013-05-24 Ondřej Bílka <neleai@seznam.cz>
9936
9937 [BZ #15381]
9938 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9939
9323d39b
EM
99402013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9941
d4ea44a0 9942 [BZ #14894]
9323d39b
EM
9943 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9944 __ppc_mdoio and __ppc_mdoom.
9945 * manual/platform.texi: Document new functions __ppc_yield,
9946 __ppc_mdoio and __ppc_mdoom.
9947
13e23af7
CD
99482013-05-22 Carlos O'Donell <carlos@redhat.com>
9949
9950 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9951 (main): Mention "tls" pseudo-hwcap is legacy.
9952 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9953
351fe550
JM
99542013-05-22 Joseph Myers <joseph@codesourcery.com>
9955
9956 * math/gen-libm-test.pl (parse_args): Output only string of
9957 arguments as text for test name, not full call or descriptions of
9958 tests for extra outputs.
9959 (generate_testfile): Do not pass function name to parse_args.
9960 Generate this_func variable from START.
9961 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9962 field to arg_str.
9963 (struct test_ff_f_data): Likewise.
9964 (test_ff_f_data_nexttoward): Likewise.
9965 (struct test_fi_f_data): Likewise.
9966 (struct test_fl_f_data): Likewise.
9967 (struct test_if_f_data): Likewise.
9968 (struct test_fff_f_data): Likewise.
9969 (struct test_c_f_data): Likewise.
9970 (struct test_f_f1_data): Likewise. Remove field extra_name.
9971 (struct test_fF_f1_data): Likewise.
9972 (struct test_ffI_f1_data): Likewise.
9973 (struct test_c_c_data): Rename test_name field to arg_str.
9974 (struct test_cc_c_data): Likewise.
9975 (struct test_f_i_data): Likewise.
9976 (struct test_ff_i_data): Likewise.
9977 (struct test_f_l_data): Likewise.
9978 (struct test_f_L_data): Likewise.
9979 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9980 and extra2_name.
9981 (COMMON_TEST_SETUP): New macro.
9982 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9983 (COMMON_TEST_CLEANUP): Likewise.
9984 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9985 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9986 macros.
9987 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9988 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9989 macros.
9990 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9991 (RUN_TEST_fff_f): Take argument string. Call new setup and
9992 cleanup macros.
9993 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9994 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9995 macros.
9996 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9997 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9998 macros.
9999 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10000 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10001 cleanup macros.
10002 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10003 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10004 cleanup macros.
10005 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10006 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10007 cleanup macros.
10008 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10009 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10010 macros.
10011 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10012 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10013 macros.
10014 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10015 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10016 macros.
10017 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10018 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10019 cleanup macros.
10020 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10021 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10022 cleanup macros.
10023 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10024 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10025 macros.
10026 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10027 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10028 cleanup macros.
10029 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10030 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10031 macros.
10032 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10033 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10034 macros.
10035 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10036 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10037 cleanup macros.
10038 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10039
85118d4d
EBM
100402013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10041
10042 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10043 to _sifields.sigfault.
10044 (si_addr_lsb): Define new macro.
10045 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10047 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10048
7a44c18f
CD
100492013-05-03 Carlos O'Donell <carlos at redhat.com>
10050
10051 [BZ #15441]
10052 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10053 returns -1.
10054 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10055 null return -1.
10056 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10057 loading the domain.
10058
b50a7181
JM
100592013-05-22 Joseph Myers <joseph@codesourcery.com>
10060
10061 * math/gen-libm-test.pl (parse_args): Do not include expected
10062 result in test name.
10063 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10064 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10065 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10066 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10067 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10069
051063c8
SP
100702013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10071
3ce9e010
SP
10072 * benchtests/Makefile: Sort function entries.
10073
051063c8
SP
10074 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10075 tanh, asinh, acosh, atanh.
10076 * benchtests/acos-inputs: New file.
10077 * benchtests/acosh-inputs: New file.
10078 * benchtests/asin-inputs: New file.
10079 * benchtests/asinh-inputs: New file.
10080 * benchtests/atanh-inputs: New file.
10081 * benchtests/cosh-inputs: New file.
10082 * benchtests/log-inputs: New file.
10083 * benchtests/sinh-inputs: New file.
10084 * benchtests/tanh-inputs: New file.
10085
47c22455
DL
100862013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10087
10088 [BZ #15339]
10089 * posix/tst-getaddrinfo4.c: New test.
10090 * posix/Makefile (tests): Add it.
10091
3d04f5db
SP
100922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10093
10094 [BZ #15339]
10095 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10096 when no services were used.
10097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10098 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10099
d5dd6189
AS
101002013-05-21 Andreas Schwab <schwab@suse.de>
10101
10102 [BZ #15014]
10103 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10104 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10105 successful.
10106 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10107 redundant variable declarations and reallocation of buffer when
10108 parsing as IPv6 address. Always set NSS status when called from
10109 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10110 buffer too small. Correct computation of needed size.
10111 * nss/Makefile (tests): Add test-digits-dots.
10112 * nss/test-digits-dots.c: New test.
10113
fef94eab
SP
101142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10115
10116 * benchtests/Makefile: Remove instructions for adding
10117 benchmark tests.
10118 * benchtests/README: New file to explain how to execute and
10119 enhance the benchmark tests.
10120
e39adf43
AS
101212013-05-21 Andreas Schwab <schwab@suse.de>
10122
10123 [BZ #15493]
10124 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10125 * setjmp/tst-sigsetjmp.c: New test.
10126
b2b671b6
OB
101272013-05-20 Ondřej Bílka <neleai@seznam.cz>
10128
10129 * sysdeps/x86_64/memset.S (memset): New implementation.
10130 (__bzero): Likewise.
10131 (__memset_tail): New function.
10132
2d48b41c
OB
101332013-05-20 Ondřej Bílka <neleai@seznam.cz>
10134
10135 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10136 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10137 __memcpy_sse2_unaligned ifunc selection.
10138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10139 Add memcpy-sse2-unaligned.S.
10140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10141 Add: __memcpy_sse2_unaligned.
10142
f16cc3eb
JM
101432013-05-19 Joseph Myers <joseph@codesourcery.com>
10144
3e694268
JM
10145 [BZ #15490]
10146 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10147 math_force_eval before restoring floating-point envrionment.
10148 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10150 Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10152 <math_private.h>.
10153 (__nearbyintl): Use math_force_eval before restoring
10154 floating-point environment.
10155 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10156
db62a907
JM
10157 * math/gen-libm-test.pl (special_functions): Remove.
10158 (parse_args): Don't handle TEST_extra. Handle functions with no
10159 return value.
10160 * math/libm-test.inc (struct test_sincos_data): Replace with
10161 struct test_fFF_11_data.
10162 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10163 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10164 (sincos_test_data): Change element type to struct
10165 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10166 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10167 RUN_TEST_LOOP_sincos.
10168 * math/README.libm-test: Don't mention special handling of
10169 individual functions.
10170 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10172 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10176
f16cc3eb
JM
10177 * math/gen-libm-test.pl (get_variable): Remove function.
10178 (parse_args): Don't show pointer parameters to call in test
10179 names. Use "extra output N" in test names for extra outputs
10180 rather than naming variables.
10181
3779b5b6
JM
101822013-05-18 Joseph Myers <joseph@codesourcery.com>
10183
2ee094ff
JM
10184 [BZ #15488]
10185 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10186 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10187 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10188 double tests.
10189 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10190 disable.
10191 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10192 check_long_double.
10193
3779b5b6
JM
10194 * math/gen-libm-test.pl (@tests): Remove variable.
10195 ($count): Likewise.
10196 (new_test): Remove function.
10197 (show_exceptions): New function.
10198 (special_functions): Use show_exceptions instead of new_test.
10199 (parse_args): Likewise.
10200 (generate_testfile): Pass only function name in generated call to
10201 print_max_error or print_complex_max_error.
10202 (get_ulps): Do not handle complex tests specially.
10203 (output_test): Rename to ...
10204 (get_all_ulps_for_test): ... this. Return a string rather than
10205 printing to a file. Require ulps to be present.
10206 (output_ulps): Generate arrays rather than #defines.
10207 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10208 (struct ulp_data): New type.
10209 (BUILD_COMPLEX_ULP): Remove macro.
10210 (compare_ulp_data): New function.
10211 (find_ulps): Likewise.
10212 (find_test_ulps): Likewise.
10213 (find_function_ulps): Likewise.
10214 (find_complex_function_ulps): Likewise.
10215 (print_max_error): Determine allowed ulps using
10216 find_function_ulps.
10217 (print_complex_max_error): Determine allowed ulps using
10218 find_complex_function_ulps.
10219 (check_float_internal): Determine max ulps using find_test_ulps.
10220 (check_float): Do not take max_ulp parameter. Update call to
10221 check_float_internal.
10222 (check_complex): Likewise.
10223 (check_int): Do not take max_ulp parameter.
10224 (check_long): Likewise.
10225 (check_bool): Likewise.
10226 (check_longlong): Likewise.
10227 (struct test_f_f_data): Remove max_ulp field.
10228 (struct test_ff_f_data): Likewise.
10229 (struct test_ff_f_data_nexttoward): Likewise.
10230 (struct test_fi_f_data): Likewise.
10231 (struct test_fl_f_data): Likewise.
10232 (struct test_if_f_data): Likewise.
10233 (struct test_fff_f_data): Likewise.
10234 (struct test_c_f_data): Likewise.
10235 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10236 (struct test_fF_f1_data): Likewise.
10237 (struct test_ffI_f1_data): Likewise.
10238 (struct test_c_c_data): Remove max_ulp field.
10239 (struct test_cc_c_data): Likewise.
10240 (struct test_f_i_data): Likewise.
10241 (struct test_ff_i_data): Likewise.
10242 (struct test_f_l_data): Likewise.
10243 (struct test_f_L_data): Likewise.
10244 (struct test_sincos_data): Likewise.
10245 (RUN_TEST_f_f): Do not handle ulps.
10246 (RUN_TEST_LOOP_f_f): Likewise.
10247 (RUN_TEST_2_f): Likewise.
10248 (RUN_TEST_LOOP_2_f): Likewise.
10249 (RUN_TEST_fff_f): Likewise.
10250 (RUN_TEST_LOOP_fff_f): Likewise.
10251 (RUN_TEST_c_f): Likewise.
10252 (RUN_TEST_LOOP_c_f): Likewise.
10253 (RUN_TEST_f_f1): Likewise.
10254 (RUN_TEST_LOOP_f_f1): Likewise.
10255 (RUN_TEST_fF_f1): Likewise.
10256 (RUN_TEST_LOOP_fF_f1): Likewise.
10257 (RUN_TEST_fI_f1): Likewise.
10258 (RUN_TEST_LOOP_fI_f1): Likewise.
10259 (RUN_TEST_ffI_f1): Likewise.
10260 (RUN_TEST_LOOP_ffI_f1): Likewise.
10261 (RUN_TEST_c_c): Likewise.
10262 (RUN_TEST_LOOP_c_c): Likewise.
10263 (RUN_TEST_cc_c): Likewise.
10264 (RUN_TEST_LOOP_cc_c): Likewise.
10265 (RUN_TEST_f_i): Likewise.
10266 (RUN_TEST_LOOP_f_i): Likewise.
10267 (RUN_TEST_f_i_tg): Likewise.
10268 (RUN_TEST_LOOP_f_i_tg): Likewise.
10269 (RUN_TEST_ff_i_tg): Likewise.
10270 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10271 (RUN_TEST_f_b): Likewise.
10272 (RUN_TEST_LOOP_f_b): Likewise.
10273 (RUN_TEST_f_b_tg): Likewise.
10274 (RUN_TEST_LOOP_f_b_tg): Likewise.
10275 (RUN_TEST_f_l): Likewise.
10276 (RUN_TEST_LOOP_f_l): Likewise.
10277 (RUN_TEST_f_L): Likewise.
10278 (RUN_TEST_LOOP_f_L): Likewise.
10279 (RUN_TEST_sincos): Likewise.
10280 (RUN_TEST_LOOP_sincos): Likewise.
10281
8269107f
JM
102822013-05-17 Joseph Myers <joseph@codesourcery.com>
10283
bb38759d
JM
10284 [BZ #15480]
10285 [BZ #15485]
10286 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10287 main case of finite arguments, set rounding mode to FE_TONEAREST
10288 and discard exceptions.
10289 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10290 exceptions.
10291 (remainder_tonearest_test_data): New variable.
10292 (remainder_test_tonearest): New function.
10293 (remainder_towardzero_test_data): New variable.
10294 (remainder_test_towardzero): New function.
10295 (remainder_downward_test_data): New variable.
10296 (remainder_test_downward): New function.
10297 (remainder_upward_test_data): New variable.
10298 (remainder_test_upward): New function.
10299 (main): Call the new test functions.
10300
a00bdcf0
JM
10301 * math/libm-test.inc (struct test_f_f1_data): Remove field
10302 extra_init.
10303 (struct test_fF_f1_data): Likewise.
10304 (struct test_ffI_f1_data): Likewise.
10305 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10306 based on value of EXTRA_EXPECTED.
10307 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10308 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10309 EXTRA_VAR based on value of EXTRA_EXPECTED.
10310 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10311 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10312 EXTRA_VAR based on value of EXTRA_EXPECTED.
10313 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10314 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10315 EXTRA_VAR based on value of EXTRA_EXPECTED.
10316 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10317 * math/gen-libm-test.pl (parse_args): Don't output initializers
10318 for extra output values.
10319
de407f79
JM
10320 * math/libm-test.inc (check_int): Expect result to be exactly
10321 equal to expected value and do not handle ulps.
10322 (check_long): Likewise.
10323 (check_longlong): Likewise.
10324
8269107f
JM
10325 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10326 exceptions.
10327 (cimag_test_data): Likewise.
10328 (conj_test_data): Likewise.
10329 (copysign_test_data): Likewise.
10330 (cproj_test_data): Likewise.
10331 (creal_test_data): Likewise.
10332 (fabs_test_data): Likewise.
10333 (fdim_test_data): Likewise.
10334 (finite_test_data): Likewise.
10335 (floor_test_data): Likewise.
10336 (fmax_test_data): Likewise.
10337 (fmin_test_data): Likewise.
10338 (fmod_test_data): Likewise.
10339 (fpclassify_test_data): Likewise.
10340 (frexp_test_data): Likewise.
10341 (ilogb_test_data): Likewise.
10342 (isfinite_test_data): Likewise.
10343 (isgreater_test_data): Likewise.
10344 (isgreaterequal_test_data): Likewise.
10345 (isinf_test_data): Likewise.
10346 (isless_test_data): Likewise.
10347 (islessequal_test_data): Likewise.
10348 (islessgreater_test_data): Likewise.
10349 (isnan_test_data): Likewise.
10350 (isnormal_test_data): Likewise.
10351 (issignaling_test_data): Likewise.
10352 (isunordered_test_data): Likewise.
10353 (ldexp_test_data): Likewise.
10354 (lrint_test_data): Likewise.
10355 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10356 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10357 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10358 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10359 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10360 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10361 test input.
10362 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10363 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10364 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10365 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10366 that test input.
10367 (lrint_downward_test_data): Test for "inexact" exceptions.
10368 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10369 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10370 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10371 test input.
10372 (lrint_upward_test_data): Test for "inexact" exceptions.
10373 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10374 test input.
10375 (llrint_test_data): Test for "inexact" exceptions.
10376 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10377 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10378 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10379 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10380 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10381 (llrint_downward_test_data): Test for "inexact" exceptions.
10382 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10383 (llrint_upward_test_data): Test for "inexact" exceptions.
10384 (logb_test_data): Likewise.
10385 (logb_downward_test_data): Likewise.
10386 (nextafter_test_data): Likewise.
10387 (nexttoward_test_data): Likewise.
10388 (remainder_test_data): Likewise.
10389 (remquo_test_data): Likewise.
10390 (scalbn_test_data): Likewise.
10391 (scalbln_test_data): Likewise.
10392 (signbit_test_data): Likewise.
10393 (sqrt_test_data): Likewise.
10394 (significand_test_data): Likewise.
10395
48a18de1
SP
103962013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10397
10398 [BZ #15424]
10399 * benchtests/bench-modf.c (struct args): Mark arg0 as
10400 volatile.
10401 * scripts/bench.pl: Mark members of struct args as volatile.
10402
13d3b41a
AZ
104032013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10404
68191c1d 10405 [BZ # 15497]
13d3b41a
AZ
10406 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10407 negative infinity on POWER6 or lower.
10408 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10409
2848b105
MR
104102013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10411
10412 [BZ #15442]
10413 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10414 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10415 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10416 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10417 (_FP_SETQNAN): New macro.
10418 (_FP_SETQNAN_SEMIRAW): Likewise.
10419 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10420 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10421 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10422 (FP_EXTEND): Use _FP_FRAC_SNANP.
10423 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10424 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10425 into account.
10426 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10427 New macro.
10428 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10429 Likewise.
10430
323e5cb7
JM
104312013-05-16 Joseph Myers <joseph@codesourcery.com>
10432
c58b274f
JM
10433 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10434 with DIVIDE_BY_ZERO_EXCEPTION.
10435 (gamma_test_data): Likewise.
10436 (lgamma_test_data): Likewise.
10437 (log_test_data): Likewise.
10438 (log10_test_data): Likewise.
10439 (log2_test_data): Likewise.
10440 (tgamma_test_data): Likewise.
10441
0ab34904
JM
10442 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10443 (acos_test_tonearest): Likewise.
10444 (acos_test_towardzero): Likewise.
10445 (acos_test_downward): Likewise.
10446 (acos_test_upward): Likewise.
10447 (acosh_test): Likewise.
10448 (asin_test): Likewise.
10449 (asin_test_tonearest): Likewise.
10450 (asin_test_towardzero): Likewise.
10451 (asin_test_downward): Likewise.
10452 (asin_test_upward): Likewise.
10453 (asinh_test): Likewise.
10454 (atan_test): Likewise.
10455 (atanh_test): Likewise.
10456 (atan2_test): Likewise.
10457 (cabs_test): Likewise.
10458 (cacos_test): Likewise.
10459 (cacosh_test): Likewise.
10460 (casin_test): Likewise.
10461 (casinh_test): Likewise.
10462 (catan_test): Likewise.
10463 (catanh_test): Likewise.
10464 (cbrt_test): Likewise.
10465 (ccos_test): Likewise.
10466 (ccosh_test): Likewise.
10467 (cexp_test): Likewise.
10468 (clog_test): Likewise.
10469 (clog10_test): Likewise.
10470 (cos_test): Likewise.
10471 (cos_test_tonearest): Likewise.
10472 (cos_test_towardzero): Likewise.
10473 (cos_test_downward): Likewise.
10474 (cos_test_upward): Likewise.
10475 (cosh_test): Likewise.
10476 (cosh_test_tonearest): Likewise.
10477 (cosh_test_towardzero): Likewise.
10478 (cosh_test_downward): Likewise.
10479 (cosh_test_upward): Likewise.
10480 (cpow_test): Likewise.
10481 (csin_test): Likewise.
10482 (csinh_test): Likewise.
10483 (csqrt_test): Likewise.
10484 (ctan_test): Likewise.
10485 (ctan_test_tonearest): Likewise.
10486 (ctan_test_towardzero): Likewise.
10487 (ctan_test_downward): Likewise.
10488 (ctan_test_upward): Likewise.
10489 (ctanh_test): Likewise.
10490 (ctanh_test_tonearest): Likewise.
10491 (ctanh_test_towardzero): Likewise.
10492 (ctanh_test_downward): Likewise.
10493 (ctanh_test_upward): Likewise.
10494 (erf_test): Likewise.
10495 (erfc_test): Likewise.
10496 (exp_test): Likewise.
10497 (exp_test_tonearest): Likewise.
10498 (exp_test_towardzero): Likewise.
10499 (exp_test_downward): Likewise.
10500 (exp_test_upward): Likewise.
10501 (exp10_test): Likewise.
10502 (exp2_test): Likewise.
10503 (expm1_test): Likewise.
10504 (fmod_test): Likewise.
10505 (gamma_test): Likewise.
10506 (hypot_test): Likewise.
10507 (j0_test): Likewise.
10508 (j1_test): Likewise.
10509 (jn_test): Likewise.
10510 (lgamma_test): Likewise.
10511 (log_test): Likewise.
10512 (log10_test): Likewise.
10513 (log1p_test): Likewise.
10514 (log2_test): Likewise.
10515 (logb_test_downward): Likewise.
10516 (pow_test): Likewise.
10517 (pow_test_tonearest): Likewise.
10518 (pow_test_towardzero): Likewise.
10519 (pow_test_downward): Likewise.
10520 (pow_test_upward): Likewise.
10521 (remainder_test): Likewise.
10522 (remquo_test): Likewise.
10523 (sin_test): Likewise.
10524 (sin_test_tonearest): Likewise.
10525 (sin_test_towardzero): Likewise.
10526 (sin_test_downward): Likewise.
10527 (sin_test_upward): Likewise.
10528 (sincos_test): Likewise.
10529 (sinh_test): Likewise.
10530 (sinh_test_tonearest): Likewise.
10531 (sinh_test_towardzero): Likewise.
10532 (sinh_test_downward): Likewise.
10533 (sinh_test_upward): Likewise.
10534 (sqrt_test): Likewise.
10535 (tan_test): Likewise.
10536 (tan_test_tonearest): Likewise.
10537 (tan_test_towardzero): Likewise.
10538 (tan_test_downward): Likewise.
10539 (tan_test_upward): Likewise.
10540 (tanh_test): Likewise.
10541 (tgamma_test): Likewise.
10542 (y0_test): Likewise.
10543 (y1_test): Likewise.
10544 (yn_test): Likewise.
10545
323e5cb7
JM
10546 * math/gen-libm-test.pl (adjust_arg): Remove function.
10547 (special_function): Remove argument $in_func. Only handle
10548 generating output for tables of tests, not inside functions.
10549 (parse_args): Likewise.
10550 (generate_testfile): Remove variable $in_func. Update call to
10551 parse_args.
10552 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10553 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10554 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10555 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10556 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10557 (MAX_VALUE_INIT): Rename macro to max_value.
10558 (MIN_VALUE_INIT): Rename macro to min_value.
10559 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10560 (plus_zero): Remove variable.
10561 (minus_zero): Likewise.
10562 (plus_infty): Likewise.
10563 (minus_infty): Likewise.
10564 (qnan_value): Likewise.
10565 (max_value): Likewise.
10566 (min_value): Likewise.
10567 (min_subnorm_value): Likewise.
10568
e054f494
RA
105692013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10570
10571 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10572 uint64_t or uint32_t usage.
10573 * crypt/sha256-block.c: Likewise.
10574 * crypt/sha256-crypt.c: Likewise.
10575 * crypt/sha256.c: Likewise.
10576 * crypt/sha512-block.c: Likewise.
10577 * crypt/sha512-crypt.c: Likewise.
10578 * crypt/sha512.c: Likewise.
10579 * debug/backtrace-tst.c: Likewise.
10580 * debug/pcprofiledump.c: Likewise.
10581 * elf/cache.c: Likewise.
10582 * elf/dl-cache.c: Likewise.
10583 * elf/dl-misc.c: Likewise.
10584 * elf/dl-profile.c: Likewise.
10585 * elf/dl-support.c: Likewise.
10586 * elf/ldconfig.c: Likewise.
10587 * elf/sprof.c: Likewise.
10588 * iconv/dummy-repertoire.c: Likewise.
10589 * iconv/iconv_charmap.c: Likewise.
10590 * iconv/skeleton.c: Likewise.
10591 * iconvdata/8bit-generic.c: Likewise.
10592 * iconvdata/cp737.h: Likewise.
10593 * iconvdata/cp775.h: Likewise.
10594 * iconvdata/ibm1008.h: Likewise.
10595 * iconvdata/ibm1025.h: Likewise.
10596 * iconvdata/ibm1046.h: Likewise.
10597 * iconvdata/ibm1097.h: Likewise.
10598 * iconvdata/ibm1112.h: Likewise.
10599 * iconvdata/ibm1122.h: Likewise.
10600 * iconvdata/ibm1123.h: Likewise.
10601 * iconvdata/ibm1124.h: Likewise.
10602 * iconvdata/ibm1129.h: Likewise.
10603 * iconvdata/ibm1130.h: Likewise.
10604 * iconvdata/ibm1132.h: Likewise.
10605 * iconvdata/ibm1133.h: Likewise.
10606 * iconvdata/ibm1137.h: Likewise.
10607 * iconvdata/ibm1140.h: Likewise.
10608 * iconvdata/ibm1141.h: Likewise.
10609 * iconvdata/ibm1142.h: Likewise.
10610 * iconvdata/ibm1143.h: Likewise.
10611 * iconvdata/ibm1144.h: Likewise.
10612 * iconvdata/ibm1145.h: Likewise.
10613 * iconvdata/ibm1146.h: Likewise.
10614 * iconvdata/ibm1147.h: Likewise.
10615 * iconvdata/ibm1148.h: Likewise.
10616 * iconvdata/ibm1149.h: Likewise.
10617 * iconvdata/ibm1153.h: Likewise.
10618 * iconvdata/ibm1154.h: Likewise.
10619 * iconvdata/ibm1155.h: Likewise.
10620 * iconvdata/ibm1156.h: Likewise.
10621 * iconvdata/ibm1157.h: Likewise.
10622 * iconvdata/ibm1158.h: Likewise.
10623 * iconvdata/ibm1160.h: Likewise.
10624 * iconvdata/ibm1161.h: Likewise.
10625 * iconvdata/ibm1162.h: Likewise.
10626 * iconvdata/ibm1163.h: Likewise.
10627 * iconvdata/ibm1164.h: Likewise.
10628 * iconvdata/ibm1166.h: Likewise.
10629 * iconvdata/ibm1167.h: Likewise.
10630 * iconvdata/ibm12712.h: Likewise.
10631 * iconvdata/ibm1390.h: Likewise.
10632 * iconvdata/ibm1399.h: Likewise.
10633 * iconvdata/ibm16804.h: Likewise.
10634 * iconvdata/ibm4517.h: Likewise.
10635 * iconvdata/ibm4899.h: Likewise.
10636 * iconvdata/ibm4909.h: Likewise.
10637 * iconvdata/ibm4971.h: Likewise.
10638 * iconvdata/ibm5347.h: Likewise.
10639 * iconvdata/ibm803.h: Likewise.
10640 * iconvdata/ibm856.h: Likewise.
10641 * iconvdata/ibm901.h: Likewise.
10642 * iconvdata/ibm902.h: Likewise.
10643 * iconvdata/ibm9030.h: Likewise.
10644 * iconvdata/ibm9066.h: Likewise.
10645 * iconvdata/ibm921.h: Likewise.
10646 * iconvdata/ibm922.h: Likewise.
10647 * iconvdata/ibm9448.h: Likewise.
10648 * iconvdata/isiri-3342.h: Likewise.
10649 * iconvdata/jis0201.h: Likewise.
10650 * include/link.h: Likewise.
10651 * include/netdb.h: Likewise.
10652 * inet/check_native.c: Likewise.
10653 * inet/check_pf.c: Likewise.
10654 * inet/getipv4sourcefilter.c: Likewise.
10655 * inet/getnameinfo.c: Likewise.
10656 * inet/getsourcefilter.c: Likewise.
10657 * inet/htonl.c: Likewise.
10658 * inet/setipv4sourcefilter.c: Likewise.
10659 * inet/setsourcefilter.c: Likewise.
10660 * inet/test-inet6_opt.c: Likewise.
10661 * inet/tst-network.c: Likewise.
10662 * locale/C-collate.c: Likewise.
10663 * locale/C-ctype.c: Likewise.
10664 * locale/C-time.c: Likewise.
10665 * locale/C-translit.h: Likewise.
10666 * locale/loadarchive.c: Likewise.
10667 * locale/programs/3level.h: Likewise.
10668 * locale/programs/charmap.c: Likewise.
10669 * locale/programs/charmap.h: Likewise.
10670 * locale/programs/ld-address.c: Likewise.
10671 * locale/programs/ld-collate.c: Likewise.
10672 * locale/programs/ld-ctype.c: Likewise.
10673 * locale/programs/ld-identification.c: Likewise.
10674 * locale/programs/ld-measurement.c: Likewise.
10675 * locale/programs/ld-messages.c: Likewise.
10676 * locale/programs/ld-monetary.c: Likewise.
10677 * locale/programs/ld-name.c: Likewise.
10678 * locale/programs/ld-numeric.c: Likewise.
10679 * locale/programs/ld-paper.c: Likewise.
10680 * locale/programs/ld-telephone.c: Likewise.
10681 * locale/programs/ld-time.c: Likewise.
10682 * locale/programs/linereader.c: Likewise.
10683 * locale/programs/locale.c: Likewise.
10684 * locale/programs/locarchive.c: Likewise.
10685 * locale/programs/locfile.h: Likewise.
10686 * locale/programs/repertoire.c: Likewise.
10687 * locale/programs/simple-hash.c: Likewise.
10688 * locale/programs/simple-hash.h: Likewise.
10689 * malloc/memusage.c: Likewise.
10690 * malloc/memusagestat.c: Likewise.
10691 * nis/nis_defaults.c: Likewise.
10692 * nis/nis_hash.c: Likewise.
10693 * nis/nis_print.c: Likewise.
10694 * nis/nis_xdr.c: Likewise.
10695 * nscd/connections.c: Likewise.
10696 * nscd/hstcache.c: Likewise.
10697 * nscd/nscd_gethst_r.c: Likewise.
10698 * nscd/nscd_getserv_r.c: Likewise.
10699 * nscd/nscd_helper.c: Likewise.
10700 * nscd/servicescache.c: Likewise.
10701 * nss/makedb.c: Likewise.
10702 * nss/nss_db/db-XXX.c: Likewise.
10703 * nss/nss_db/db-initgroups.c: Likewise.
10704 * nss/nss_db/db-netgrp.c: Likewise.
10705 * nss/nss_files/files-network.c: Likewise.
10706 * nss/nss_files/files-parse.c: Likewise.
10707 * posix/bug-regex5.c: Likewise.
10708 * posix/fnmatch_loop.c: Likewise.
10709 * posix/regcomp.c: Likewise.
10710 * posix/regexec.c: Likewise.
10711 * posix/tst-rfc3484-2.c: Likewise.
10712 * posix/tst-rfc3484-3.c: Likewise.
10713 * posix/tst-rfc3484.c: Likewise.
10714 * resolv/nss_dns/dns-canon.c: Likewise.
10715 * resolv/nss_dns/dns-network.c: Likewise.
10716 * resolv/res_init.c: Likewise.
10717 * resolv/res_mkquery.c: Likewise.
10718 * resolv/tst-aton.c: Likewise.
10719 * stdlib/cxa_atexit.c: Likewise.
10720 * stdlib/cxa_finalize.c: Likewise.
10721 * stdlib/gen-fpioconst.c: Likewise.
10722 * stdlib/strtol_l.c: Likewise.
10723 * string/tst-endian.c: Likewise.
10724 * sunrpc/auth_des.c: Likewise.
10725 * sunrpc/clnt_udp.c: Likewise.
10726 * sunrpc/rtime.c: Likewise.
10727 * sunrpc/svcauth_des.c: Likewise.
10728 * sunrpc/xdr.c: Likewise.
10729 * sunrpc/xdr_intXX_t.c: Likewise.
10730 * sunrpc/xdr_rec.c: Likewise.
10731 * sysdeps/generic/ldconfig.h: Likewise.
10732 * sysdeps/generic/ldsodefs.h: Likewise.
10733 * sysdeps/generic/memusage.h: Likewise.
10734 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10737 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10744 * sysdeps/posix/getaddrinfo.c: Likewise.
10745 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10746 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10747 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10748 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10749 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10750 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10751 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10752 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10753 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10754 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10755 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10756 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10757 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10758 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10759 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10760 * sysdeps/x86_64/dl-tls.h: Likewise.
10761 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10762 * time/alt_digit.c: Likewise.
10763 * time/era.c: Likewise.
10764 * wcsmbs/tst-c16c32-1.c: Likewise.
10765
8c75f674
JM
107662013-05-16 Joseph Myers <joseph@codesourcery.com>
10767
10768 * math/libm-test.inc (struct test_sincos_data): New type.
10769 (RUN_TEST_LOOP_sincos): New macro.
10770 (sincos_test_data): New variable.
10771 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10772
e6e49e59
RH
107732013-05-16 Richard Henderson <rth@redhat.com>
10774
10775 * math/atest-exp2.c (LIMB64): New macro.
10776 (CONSTSZ): New macro.
10777 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10778 (hexdig): Move ...
10779 (print_mpn_fp): ... to function scope.
10780 (read_mpn_hex): Remove.
10781 (get_log2): Remove.
10782 (exp2_mpn): Use mp_log2.
10783 (main): Use mp_exp1.
10784
15c7c18d
JM
107852013-05-16 Joseph Myers <joseph@codesourcery.com>
10786
105a07df
JM
10787 * math/libm-test.inc: Remove comment about not testing "inexact"
10788 exceptions.
10789 (INEXACT_EXCEPTION): New macro.
10790 (NO_INEXACT_EXCEPTION): Likewise.
10791 (INVALID_EXCEPTION_OK): Update value.
10792 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10793 (OVERFLOW_EXCEPTION_OK): Likewise.
10794 (UNDERFLOW_EXCEPTION_OK): Likewise.
10795 (IGNORE_ZERO_INF_SIGN): Likewise.
10796 (ERRNO_UNCHANGED): Likewise.
10797 (ERRNO_EDOM): Likewise.
10798 (ERRNO_ERANGE): Likewise.
10799 (test_exceptions): Handle testing "inexact" exceptions.
10800 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10801 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10802 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10803 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10804 INEXACT_EXCEPTION.
10805 (rint_towardzero_test_data): Likewise.
10806 (rint_downward_test_data): Likewise.
10807 (rint_upward_test_data): Likewise.
10808
e9eee333
JM
10809 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10810 with OVERFLOW_EXCEPTION.
10811 (exp10_test_data): Likewise.
10812 (exp2_test_data): Likewise.
10813 (expm1_test_data): Likewise.
10814 (lgamma_test_data): Likewise.
10815 (pow_test_data): Likewise.
10816 (tgamma_test_data): Likewise.
10817 (yn_test_data): Remove duplicate test of overflow.
10818
1c38ff73
JM
10819 * math/libm-test.inc (struct test_cc_c_data): New type.
10820 (RUN_TEST_LOOP_cc_c): New macro.
10821 (cpow_test_data): New variable.
10822 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10823
15c7c18d
JM
10824 * math/libm-test.inc (struct test_f_L_data): New type.
10825 (RUN_TEST_LOOP_f_L): New macro.
10826 (llrint_test_data): New variable.
10827 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10828 (llrint_tonearest_test_data): New variable.
10829 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10830 (llrint_towardzero_test_data): New variable.
10831 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10832 (llrint_downward_test_data): New variable.
10833 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10834 (llrint_upward_test_data): New variable.
10835 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10836 (llround_test_data): New variable.
10837 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10838
f137ff13
PC
108392013-05-13 Peter Collingbourne <pcc@google.com>
10840
10841 * math/atest-exp2.c (get_log2): Remove const attribute.
10842
3608cb24
JM
108432013-05-15 Joseph Myers <joseph@codesourcery.com>
10844
10845 * math/libm-test.inc (struct test_f_l_data): New type.
10846 (RUN_TEST_LOOP_f_l): New macro.
10847 (lrint_test_data): New variable.
10848 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10849 (lrint_tonearest_test_data): New variable.
10850 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10851 (lrint_towardzero_test_data): New variable.
10852 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10853 (lrint_downward_test_data): New variable.
10854 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10855 (lrint_upward_test_data): New variable.
10856 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10857 (lround_test_data): New variable.
10858 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10859
39b1f617
PC
108602013-05-15 Peter Collingbourne <pcc@google.com>
10861
1deff3dc
PC
10862 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10863 (EXTRACT_WORDS64) Use where appropriate.
10864 (INSERT_WORDS64) Likewise.
10865
791f3ba0
PC
10866 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10867 constraints with x constraints.
10868 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10869
39b1f617
PC
10870 * malloc/obstack.c (_obstack_compat): Add initializer.
10871
12fba011
EM
108722013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10873
10874 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10875 si_trapno and add si_addr_lsb to _sifields.sigfault.
10876 (si_trapno): Remove macro.
10877 (si_addr_lsb): Define new macro.
10878 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10879
d369f531
JM
108802013-05-15 Joseph Myers <joseph@codesourcery.com>
10881
b861c6c4
JM
10882 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10883 instead of TEST_f_l.
10884 (llrint_test_tonearest): Likewise.
10885 (llrint_test_towardzero): Likewise.
10886 (llrint_test_downward): Likewise.
10887 (llrint_test_upward): Likewise.
10888 (llround_test): Likewise.
10889
7abeee12
JM
10890 * math/libm-test.inc (struct test_f_i_data): Add comment.
10891 (RUN_TEST_LOOP_f_b): New macro.
10892 (RUN_TEST_LOOP_f_b_tg): Likewise.
10893 (finite_test_data): New variable.
10894 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10895 (isfinite_test_data): New variable.
10896 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10897 (isinf_test_data): New variable.
10898 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10899 (isnan_test_data): New variable.
10900 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10901 (isnormal_test_data): New variable.
10902 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10903 (issignaling_test_data): New variable.
10904 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10905 (signbit_test_data): New variable.
10906 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10907
cbe8c4d3
JM
10908 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10909 with INVALID_EXCEPTION.
10910 (acosh_test_data): Likewise.
10911 (asin_test_data): Likewise.
10912 (atanh_test_data): Likewise.
10913 (fmod_test_data): Likewise.
10914 (log_test_data): Likewise.
10915 (log10_test_data): Likewise.
10916 (log2_test_data): Likewise.
10917 (pow_test_data): Likewise.
10918 (sqrt_test_data): Likewise.
10919 (y0_test_data): Likewise.
10920 (y1_test_data): Likewise.
10921 (yn_test_data): Likewise.
10922
5575c0e5
JM
10923 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10924 function contents.
10925
d369f531
JM
10926 * math/libm-test.inc (struct test_ff_i_data): New type.
10927 (RUN_TEST_LOOP_ff_i_tg): New macro.
10928 (isgreater_test_data): New variable.
10929 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10930 (isgreaterequal_test_data): New variable.
10931 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10932 (isless_test_data): New variable.
10933 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10934 (islessequal_test_data): New variable.
10935 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10936 (islessgreater_test_data): New variable.
10937 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10938 (isunordered_test_data): New variable.
10939 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10940
781fd748
DM
109412013-05-14 David S. Miller <davem@davemloft.net>
10942
10943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10944
87aa21df
JM
109452013-05-14 Joseph Myers <joseph@codesourcery.com>
10946
5e908270
JM
10947 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10948
f71172e5
JM
10949 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10950 extra_test to int.
10951 (struct test_f_i_data): Change type of max_ulp to int.
10952
8cfa635a
JM
10953 * math/libm-test.inc (test_ffI_f1_data): New type.
10954 (RUN_TEST_LOOP_ffI_f1): New macro.
10955 (remquo_test_data): New variable.
10956 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10957
2bcb36b2
JM
10958 * setjmp/tst-setjmp-fp.c: New file.
10959 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10960 (link-libm): New variable.
10961 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10962
acbd839a
JM
10963 * math/libm-test.inc (struct test_f_i_data): New type.
10964 (RUN_TEST_LOOP_f_i): New macro.
10965 (RUN_TEST_LOOP_f_i_tg): Likewise.
10966 (fpclassify_test_data): New variable.
10967 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10968 (ilogb_test_data): New variable.
10969 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10970
e414d745
JM
10971 * math/libm-test.inc (scalbln_test): Correct function name in END
10972 call.
10973
d9c2a0fd
JM
10974 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10975 (RUN_TEST_LOOP_fI_f1): New macro.
10976 (frexp_test_data): New variable.
10977 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10978
9dc9095d
JM
10979 * math/libm-test.inc (struct test_fF_f1_data): New type.
10980 (RUN_TEST_LOOP_fF_f1): New macro.
10981 (modf_test_data): New variable.
10982 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10983
87aa21df
JM
10984 * math/libm-test.inc (struct test_f_f1_data): New type.
10985 (RUN_TEST_LOOP_f_f1): New macro.
10986 (gamma_test_data): New variable.
10987 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10988 (lgamma_test_data): New variable.
10989 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10990
141af660
CD
109912013-05-13 Carlos O'Donell <carlos@redhat.com>
10992
10993 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10994 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10995 (main): Comment "tls" pseudo-hwcap.
10996
6d33265c
JM
109972013-05-13 Joseph Myers <joseph@codesourcery.com>
10998
68fc074c
JM
10999 * math/libm-test.inc (struct test_fl_f_data): New type.
11000 (RUN_TEST_LOOP_fl_f): New variable.
11001 (scalbln_test_data): New variable.
11002 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11003
243216e1
JM
11004 * math/libm-test.inc (struct test_fi_f_data): New type.
11005 (RUN_TEST_LOOP_fi_f): New macro.
11006 (ldexp_test_data): New variable.
11007 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11008 (scalbn_test_data): New variable.
11009 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11010
6a1992e2
JM
11011 * math/libm-test.inc (struct test_c_f_data): New type.
11012 (RUN_TEST_LOOP_c_f): New macro.
11013 (cabs_test_data): New variable.
11014 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11015 (carg_test_data): New variable.
11016 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11017 (cimag_test_data): New variable.
11018 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11019 (creal_test_data): New variable.
11020 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11021
0e400df5
JM
11022 * math/libm-test.inc (struct test_if_f_data): New type.
11023 (RUN_TEST_LOOP_if_f): New macro.
11024 (jn_test_data): New variable.
11025 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11026 (yn_test_data): New variable.
11027 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11028
6d33265c
JM
11029 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11030
f98ece5f
AZ
110312013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11032
11033 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11034 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11035
0f7d347b
SP
110362013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11037
43fe811b
SP
11038 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11039 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11040 (bench-deps): Add bench-timing.h.
11041 * benchtests-bench-skeleton.c: Include bench-timing.h.
11042 (main): Use TIMING_* macros instead of clock_gettime.
11043 * benchtests/bench-timing.h: New file.
11044
0f7d347b
SP
11045 [BZ #14582]
11046 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11047 Renamed from _LIB_VERSION.
11048 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11049
601a3a5f
JM
110502013-05-12 Joseph Myers <joseph@codesourcery.com>
11051
4f184d30
JM
11052 * math/libm-test.inc (struct test_fff_f_data): New type.
11053 (RUN_TEST_LOOP_fff_f): New macro.
11054 (fma_test_data): New variable.
11055 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11056 (fma_towardzero_test_data): New variable.
11057 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11058 (fma_downward_test_data): New variable.
11059 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11060 (fma_upward_test_data): New variable.
11061 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11062
08198877
JM
11063 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11064 (struct test_c_c_data): New type.
11065 (RUN_TEST_LOOP_c_c): New macro.
11066 (cacos_test_data): New variable.
11067 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11068 (cacosh_test_data): New variable.
11069 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11070 (casin_test_data): New variable.
11071 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11072 (casinh_test_data): New variable.
11073 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11074 (catan_test_data): New variable.
11075 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11076 (catanh_test_data): New variable.
11077 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11078 (ccos_test_data): New variable.
11079 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11080 (ccosh_test_data): New variable.
11081 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11082 (cexp_test_data): New variable.
11083 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11084 (clog_test_data): New variable.
11085 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11086 (clog10_test_data): New variable.
11087 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11088 (conj_test_data): New variable.
11089 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11090 (cproj_test_data): New variable.
11091 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11092 (csin_test_data): New variable.
11093 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11094 (csinh_test_data): New variable.
11095 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11096 (csqrt_test_data): New variable.
11097 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11098 (ctan_test_data): New variable.
11099 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11100 (ctan_tonearest_test_data): New variable.
11101 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11102 (ctan_towardzero_test_data): New variable.
11103 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11104 (ctan_downward_test_data): New variable.
11105 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11106 (ctan_upward_test_data): New variable.
11107 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11108 (ctanh_test_data): New variable.
11109 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11110 (ctanh_tonearest_test_data): New variable.
11111 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11112 (ctanh_towardzero_test_data): New variable.
11113 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11114 (ctanh_downward_test_data): New variable.
11115 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11116 (ctanh_upward_test_data): New variable.
11117 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11118 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11119 of BUILD_COMPLEX.
11120
601a3a5f
JM
11121 * math/libm-test.inc (struct test_ff_f_data): New type.
11122 (struct test_ff_f_data_nexttoward): Likewise.
11123 (RUN_TEST_LOOP_2_f): New macro.
11124 (RUN_TEST_LOOP_ff_f): Likewise.
11125 (atan2_test_data): New variable.
11126 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11127 (copysign_test_data): New variable.
11128 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11129 (fdim_test_data): New variable.
11130 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11131 (fmax_test_data): New variable.
11132 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11133 (fmin_test_data): New variable.
11134 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11135 (fmod_test_data): New variable.
11136 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11137 (hypot_test_data): New variable.
11138 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11139 (nextafter_test_data): New variable.
11140 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11141 (nexttoward_test_data): New variable.
11142 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11143 (pow_test_data): New variable.
11144 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11145 (pow_tonearest_test_data): New variable.
11146 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11147 (pow_towardzero_test_data): New variable.
11148 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11149 (pow_downward_test_data): New variable.
11150 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11151 (pow_upward_test_data): New variable.
11152 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11153 (remainder_test_data): New variable.
11154 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11155 (scalb_test_data): New variable.
11156 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11157 * sysdeps/i386/fpu/libm-test-ulps: Update.
11158
74c57478
JM
111592013-05-11 Joseph Myers <joseph@codesourcery.com>
11160
8329e4da
JM
11161 * math/libm-test.inc (fma_test): Use max_value instead of local
11162 variable fltmax.
11163 (nextafter_test): Likewise.
11164
74c57478
JM
11165 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11166 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11167 (acos_downward_test_data): New variable.
11168 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11169 (acos_upward_test_data): New variable.
11170 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11171 (acosh_test_data): New variable.
11172 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11173 (asin_test_data): New variable.
11174 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11175 (asin_tonearest_test_data): New variable.
11176 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11177 (asin_towardzero_test_data): New variable.
11178 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11179 (asin_downward_test_data): New variable.
11180 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11181 (asin_upward_test_data): New variable.
11182 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11183 (asinh_test_data): New variable.
11184 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11185 (atan_test_data): New variable.
11186 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11187 (atanh_test_data): New variable.
11188 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11189 (cbrt_test_data): New variable.
11190 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11191 (ceil_test_data): New variable.
11192 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11193 (cos_test_data): New variable.
11194 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11195 (cos_tonearest_test_data): New variable.
11196 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11197 (cos_towardzero_test_data): New variable.
11198 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11199 (cos_downward_test_data): New variable.
11200 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11201 (cos_upward_test_data): New variable.
11202 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11203 (cosh_test_data): New variable.
11204 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11205 (cosh_tonearest_test_data): New variable.
11206 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11207 (cosh_towardzero_test_data): New variable.
11208 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11209 (cosh_downward_test_data): New variable.
11210 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11211 (cosh_upward_test_data): New variable.
11212 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11213 (erf_test_data): New variable.
11214 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11215 (erfc_test_data): New variable.
11216 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11217 (exp_test_data): New variable.
11218 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11219 (exp_tonearest_test_data): New variable.
11220 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11221 (exp_towardzero_test_data): New variable.
11222 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11223 (exp_downward_test_data): New variable.
11224 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11225 (exp_upward_test_data): New variable.
11226 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11227 (exp10_test_data): New variable.
11228 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11229 (exp2_test_data): New variable.
11230 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11231 (expm1_test_data): New variable.
11232 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11233 (fabs_test_data): New variable.
11234 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11235 (floor_test_data): New variable.
11236 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11237 (j0_test_data): New variable.
11238 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11239 (j1_test_data): New variable.
11240 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11241 (log_test_data): New variable.
11242 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11243 (log10_test_data): New variable.
11244 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11245 (log1p_test_data): New variable.
11246 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11247 (log2_test_data): New variable.
11248 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11249 (logb_test_data): New variable.
11250 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11251 (logb_downward_test_data): New variable.
11252 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11253 (nearbyint_test_data): New variable.
11254 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11255 (rint_test_data): New variable.
11256 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11257 (rint_tonearest_test_data): New variable.
11258 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11259 (rint_towardzero_test_data): New variable.
11260 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11261 (rint_downward_test_data): New variable.
11262 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11263 (rint_upward_test_data): New variable.
11264 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11265 (round_test_data): New variable.
11266 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11267 (sin_test_data): New variable.
11268 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11269 (sin_tonearest_test_data): New variable.
11270 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11271 (sin_towardzero_test_data): New variable.
11272 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11273 (sin_downward_test_data): New variable.
11274 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11275 (sin_upward_test_data): New variable.
11276 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11277 (sinh_test_data): New variable.
11278 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11279 (sinh_tonearest_test_data): New variable.
11280 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11281 (sinh_towardzero_test_data): New variable.
11282 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11283 (sinh_downward_test_data): New variable.
11284 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11285 (sinh_upward_test_data): New variable.
11286 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11287 (sqrt_test_data): New variable.
11288 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11289 (tan_test_data): New variable.
11290 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11291 (tan_tonearest_test_data): New variable.
11292 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11293 (tan_towardzero_test_data): New variable.
11294 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11295 (tan_downward_test_data): New variable.
11296 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11297 (tan_upward_test_data): New variable.
11298 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11299 (tanh_test_data): New variable.
11300 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11301 (tgamma_test_data): New variable.
11302 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11303 (trunc_test_data): New variable.
11304 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11305 (y0_test_data): New variable.
11306 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11307 (y1_test_data): New variable.
11308 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11309 (significand_test_data): New variable.
11310 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11311
7187d844
CG
113122013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11313
11314 [BZ #12387]
11315 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11316
f63fae73
PT
113172013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11318
11319 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11320
8a67a4b3
AJ
113212013-05-10 Andreas Jaeger <aj@suse.de>
11322
11323 [BZ #15448]
11324 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11325 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11326
51df539d
JM
113272013-05-10 Joseph Myers <joseph@codesourcery.com>
11328
11329 * math/gen-libm-test.pl (adjust_arg): New function.
11330 (special_functions): Handle generating output in both functions
11331 and arrays.
11332 (parse_args): Likewise.
11333 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11334 $in_func argument to parse_args.
11335 * math/libm-test.inc (struct test_f_f_data): New type.
11336 (IF_ROUND_INIT_): New macro.
11337 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11338 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11339 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11340 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11341 (ROUND_RESTORE_): Likewise.
11342 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11343 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11344 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11345 (ROUND_RESTORE_FE_UPWARD): Likewise.
11346 (RUN_TEST_LOOP_f_f): New macro.
11347 (acos_test_data): New variable.
11348 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11349 (acos_tonearest_test_data): New variable.
11350 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11351
5c637fe5
SP
113522013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11353
11354 * benchtests/bench-skeleton.c (startup): Fix coding style.
11355
ab2b9461
JM
113562013-05-10 Joseph Myers <joseph@codesourcery.com>
11357
11358 [BZ #6809]
11359 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11360 negative infinity argument.
11361 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11362 negative infinity argument.
11363 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11364 negative infinity argument.
11365 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11366 domain errors.
11367
4c0fe6fe
FW
113682013-05-10 Florian Weimer <fweimer@redhat.com>
11369
11370 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11371 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11372 * iconv/iconv_prog.c (main): Likewise.
11373 * locale/programs/charmap-dir.c (charmap_readdir)
11374 (fopen_uncompressed): Likewise.
11375 * locale/programs/locfile.c (siblings_uncached)
11376 (write_locale_data): Use lstat64 instead of lstat.
11377 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11378 stat.
11379
a3375d29
AJ
113802013-05-10 Andreas Jaeger <aj@suse.de>
11381
11382 [BZ #15395]
11383 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11384 localization.
11385 Include <locale.h>.
11386
36129722
CD
113872013-05-09 Carlos O'Donell <carlos@redhat.com>
11388
11389 * elf/dl-close.c (_dl_close_worker): Add comments.
11390
faa7f811
JM
113912013-05-09 Joseph Myers <joseph@codesourcery.com>
11392
ed41ffef
JM
11393 [BZ #15359]
11394 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11395 high part of pi/2.
11396 (__ieee754_rem_pio2l): Update comments.
11397
d0213cd0
JM
11398 [BZ #15429]
11399 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11400 high part of pi/2.
11401 (__ieee754_rem_pio2l): Update comments.
11402
0d3e777a
JM
11403 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11404 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11405
24f56066
JM
11406 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11407 M_PI_4l.
11408
faa7f811
JM
11409 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11410 (M_PI_34_LOG10El): Likewise.
11411 (M_PI2_LOG10El): Likewise.
11412 (M_PI4_LOG10El): Likewise.
11413 (M_PI_LOG10El): Likewise.
11414
e9a5e0fd
AZ
114152013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11416
11417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11418
d8cd06db
JM
114192013-05-08 Joseph Myers <joseph@codesourcery.com>
11420
a0d9f9d7
JM
11421 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11422 (MINUS_ZERO_INIT): Likewise.
11423 (PLUS_INFTY_INIT): Likewise.
11424 (MINUS_INFTY_INIT): Likewise.
11425 (QNAN_VALUE_INIT): Likewise.
11426 (MAX_VALUE_INIT): Likewise.
11427 (MIN_VALUE_INIT): Likewise.
11428 (MIN_SUBNORM_VALUE_INIT): Likewise.
11429 (plus_zero): Initialize with PLUS_ZERO_INIT.
11430 (minus_zero): Initialize with MINUS_ZERO_INIT.
11431 (plus_infty): Initialize with PLUS_INFTY_INIT.
11432 (minus_infty): Initialize with MINUS_INFTY_INIT.
11433 (qnan_value): Initialize with QNAN_VALUE_INIT.
11434 (max_value): Initialize with MAX_VALUE_INIT.
11435 (min_value): Initialize with MIN_VALUE_INIT.
11436 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11437
ae08db3b
JM
11438 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11439 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11440 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11441 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11442
f44bf14a
JM
11443 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11444 (RUN_TEST_2_f): Likewise.
11445 (RUN_TEST_ff_f): Likewise.
11446 (RUN_TEST_fi_f): Likewise.
11447 (RUN_TEST_fl_f): Likewise.
11448 (RUN_TEST_fff_f): Likewise.
11449 (RUN_TEST_c_f): Likewise.
11450 (RUN_TEST_f_f1): Likewise.
11451 (RUN_TEST_fF_f1): Likewise.
11452 (RUN_TEST_fI_f1): Likewise.
11453 (RUN_TEST_ffI_f1): Likewise.
11454 (RUN_TEST_c_c): Likewise.
11455 (RUN_TEST_cc_c): Likewise.
11456 (RUN_TEST_f_i): Likewise.
11457 (RUN_TEST_f_i_tg): Likewise.
11458 (RUN_TEST_ff_i_tg): Likewise.
11459 (RUN_TEST_f_b): Likewise.
11460 (RUN_TEST_f_b_tg): Likewise.
11461 (RUN_TEST_f_l): Likewise.
11462 (RUN_TEST_f_L): Likewise.
11463 (RUN_TEST_sincos): Likewise.
11464 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11465 whether to show exceptions. Do not include ");\n" in return
11466 value.
11467 (special_functions): Output call to RUN_TEST_sincos instead of
11468 check_float calls. Update calls to new_test.
11469 (parse_args): Output call to single RUN_TEST_* macro instead of
11470 check_* calls and other assignments. Update calls to new_test.
11471
d8cd06db
JM
11472 [BZ #2546]
11473 [BZ #2560]
11474 [BZ #5159]
11475 [BZ #15426]
11476 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11477 input to result for tgamma overflow.
11478 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11479 (gamma_coeff): New variable.
11480 (NCOEFF): New macro.
11481 (gamma_positive): New function.
11482 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11483 underflow here. Use gamma_positive instead of exp (lgamma) for
11484 other arguments.
11485 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11486 (gamma_coeff): New variable.
11487 (NCOEFF): New macro.
11488 (gammaf_positive): New function.
11489 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11490 underflow here. Use gamma_positive instead of exp (lgamma) for
11491 other arguments.
11492 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11493 (gamma_coeff): New variable.
11494 (NCOEFF): New macro.
11495 (gammal_positive): New function.
11496 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11497 underflow here. Use gamma_positive instead of exp (lgamma) for
11498 other arguments.
11499 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11500 (gamma_coeff): New variable.
11501 (NCOEFF): New macro.
11502 (gammal_positive): New function.
11503 (__ieee754_gammal_r): Handle positive infinity, overflow and
11504 underflow here. Handle NaN the same as positive infinity. Remove
11505 check x < 0xffffffff for negative integers. Use gamma_positive
11506 instead of exp (lgamma) for other arguments.
11507 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11508 (gamma_coeff): New variable.
11509 (NCOEFF): New macro.
11510 (gammal_positive): New function.
11511 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11512 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11516 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11517 * sysdeps/generic/math_private.h (__gamma_productf): New
11518 prototype.
11519 (__gamma_product): Likewise.
11520 (__gamma_productl): Likewise.
11521 * math/Makefile (libm-calls): Add gamma_product.
11522 * math/libm-test.inc (tgamma_test): Add more tests.
11523 * sysdeps/i386/fpu/libm-test-ulps: Update.
11524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525
bb7cf681
OB
115262013-05-08 Ondřej Bílka <neleai@seznam.cz>
11527
11528 * benchtests/bench-skeleton.c (main): Preheat CPU.
11529
ba853947
AJ
115302013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11531
11532 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11533
8347c74c
RM
115342013-05-07 Roland McGrath <roland@hack.frob.com>
11535
11536 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11537 and _dl_skip_args_internal.
11538
e8dd4791
CD
115392013-05-07 Carlos O'Donell <carlos@redhat.com>
11540
11541 * manual/message.texi (Message Translation): Talk about users.
11542 Message to key mapping impacts design.
11543
c7405830
RM
115442013-05-06 Roland McGrath <roland@hack.frob.com>
11545
a9173057
RM
11546 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11547
976e2f03
RM
11548 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11549
9723ffc5
RM
11550 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11551 * sysdeps/wordsize-64/glob64.c: ... here.
11552
962e6658
RM
11553 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11554 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11555 New macros.
11556
ee586a6d
RM
11557 * debug/getlogin_r_chk.c: Moved to ...
11558 * login/getlogin_r_chk.c: ... here.
11559 * debug/Makefile (routines): Move getlogin_r_chk to ...
11560 * login/Makefile (routines): ... here.
11561 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11562 * login/Versions (libc: GLIBC_2.4): ... here.
11563
355f9165
RM
11564 * io/poll.c (__poll): Renamed from poll.
11565 Add libc_hidden_def.
11566 (poll): Define as weak alias.
11567
bd9ffde6
RM
11568 * debug/ptsname_r_chk.c: Moved to ...
11569 * login/ptsname_r_chk.c: ... here.
11570 * debug/Makefile (routines): Move ptsname_r_chk to ...
11571 * login/Makefile (routines): ... here.
11572 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11573 * login/Versions (libc: GLIBC_2.4): ... here.
11574
8fb16a04
RM
11575 * posix/getlogin.c: Moved to ...
11576 * login/getlogin.c: ... here.
11577 * posix/getlogin_r.c: Moved to ...
11578 * login/getlogin_r.c: ... here.
11579 * posix/getlogin_r.c: Moved to ...
11580 * login/getlogin_r.c: ... here.
11581 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11582 * login/Makefile (routines): ... here.
11583 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11584 * login/Versions (libc: GLIBC_2.0): ... here.
11585
b99b892f
RM
11586 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11587 (setrlimit): Define as weak alias.
11588
c7405830
RM
11589 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11590 Call __ names for open, ftruncate, and close.
11591 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11592 (truncate): Define as weak alias.
11593
5bf96de5
JM
115942013-05-06 Joseph Myers <joseph@codesourcery.com>
11595
9ea3513c
JM
11596 * math/gen-libm-test.pl (parse_args): Initialize x before each
11597 test of frexp, modf and remquo.
11598
5bf96de5
JM
11599 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11600 test signgam value.
11601
16e616a7
AZ
116022013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11603
11604 [BZ #15418]
11605 [BZ #15419]
11606 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11607 internal tests.
11608 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11609
d5e82754
RM
116102013-05-06 Roland McGrath <roland@hack.frob.com>
11611
11612 * elf/dl-writev.h: New file.
11613 * elf/dl-misc.c: Include it.
11614 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11615 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11616
a7548d41
JM
116172013-05-04 Joseph Myers <joseph@codesourcery.com>
11618
b7dab1e4
JM
11619 * math/libm-test.inc (noXFails): Remove variable.
11620 (noXPasses): Likewise.
11621 (BUILD_COMPLEX_INT): Remove macro.
11622 (print_screen): Remove xfail argument.
11623 (print_screen_max_error): Likewise.
11624 (update_stats): Likewise.
11625 (print_max_error): Likewise. Update calls to other affected
11626 functions.
11627 (print_complex_max_error): Likewise.
11628 (test_single_exception): Update calls to print_screen.
11629 (test_single_errno): Likewise.
11630 (check_float_internal): Remove xfail argument. Update calls to
11631 other affected functions.
11632 (check_float): Likewise.
11633 (check_complex): Likewise.
11634 (check_int): Likewise.
11635 (check_long): Likewise.
11636 (check_bool): Likewise.
11637 (check_longlong): Likewise.
11638 (main): Don't print noXFails and noXPasses.
11639 * math/gen-libm-test.pl (top level): Don't mention expected
11640 failure handling in comment.
11641 (new_test): Don't handle expected failures.
11642 (parse_args): Don't mention expected failure handling in comment.
11643 (generate_testfile): Don't handle expected failures.
11644 (parse_ulps): Likewise.
11645 (print_ulps_file): Likewise.
11646 (get_failure): Remove function.
11647 (output_test): Don't handle expected failures.
11648 * make/README.libm-test: Don't mention expected failure handling.
11649
a7548d41
JM
11650 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11651 (minus_zero): Likewise.
11652 (plus_infty): Likewise.
11653 (minus_infty): Likewise.
11654 (qnan_value): Likewise.
11655 (max_value): Likewise.
11656 (min_value): Likewise.
11657 (min_subnorm_value): Likewise.
11658 (initialize): Do not initialize those variables dynamically.
11659
60bfd54c
RM
116602013-05-03 Roland McGrath <roland@hack.frob.com>
11661
cc0e6ed8
RM
11662 * io/open.c (__open_2): Moved to ...
11663 * io/open_2.c: ... this new file.
11664 * io/open64.c (__open64_2): Moved to ...
11665 * io/open64_2.c: ... this new file.
11666 * io/openat.c (__openat_2): Moved to ...
11667 * io/openat_2.c: ... this new file.
11668 * io/openat64.c (__openat64_2): Moved to ...
11669 * io/openat64_2.c: ... this new file.
11670 * io/Makefile (routines): Add them.
11671 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11672 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11673 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11674 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11675 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11676 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11677 (__openat64): Add hidden_ver.
11678 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11679 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11680
60bfd54c
RM
11681 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11682 Separately conditionalize setting of GLRO(dl_sysinfo) so
11683 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11684 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11685
83e7640f
AZ
116862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11687
11688 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11689 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11690 definition.
11691 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11692 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11693 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11694 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11695 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11696
d5dc2af3
JM
116972013-05-03 Joseph Myers <joseph@codesourcery.com>
11698
c31a5b1e
JM
11699 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11700 test signgam value.
11701
d5dc2af3
JM
11702 * math/libm-test.inc (hypot_test): Do not use
11703 IGNORE_ZERO_INF_SIGN.
11704
164fd39d
AJ
117052013-05-03 Andreas Jaeger <aj@suse.de>
11706
11707 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11708 Linux 3.9.
11709 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11710 (PF_MAX): Adjust for VSOCK change.
11711
8237f48c
AZ
117122013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11713
11714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11715
9df02941
CD
117162013-05-02 Carlos O'Donell <carlos@redhat.com>
11717
11718 [BZ #15264]
11719 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11720 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11721 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11722
d422395e
DM
117232013-05-02 David S. Miller <davem@davemloft.net>
11724
11725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11726
a07c5731
OB
117272013-05-01 Ondřej Bílka <neleai@seznam.cz>
11728
11729 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11730
1324e37f
RM
117312013-05-01 Roland McGrath <roland@hack.frob.com>
11732
11733 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11734
0695940b
RS
117352013-05-01 Richard Smith <richard@metafoo.co.uk>
11736
bb5f27ad 11737 [BZ #14952]
0695940b
RS
11738 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11739 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11740 Use __attribute__ ((__gnu_inline__)).
11741 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11742 Don't use __attribute__ ((__gnu_inline__)).
11743
10de07f5
JM
117442013-05-01 Joseph Myers <joseph@codesourcery.com>
11745
11746 [BZ #15423]
11747 * math/s_catan.c (__catan): Handle small real or imaginary part of
11748 input specially to avoid spurious underflow.
11749 * math/s_catanf.c (__catanf): Likewise.
11750 * math/s_catanh.c (__catanh): Likewise.
11751 * math/s_catanhf.c (__catanhf): Likewise.
11752 * math/s_catanhl.c (__catanhl): Likewise.
11753 * math/s_catanl.c (__catanl): Likewise.
11754 * math/libm-test.inc (catan_test): Add more tests.
11755 (catanh_test): Likewise.
11756 * sysdeps/i386/fpu/libm-test-ulps: Update.
11757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11758
cb4d5414
AZ
117592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11760
11761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11762
caf84319
JM
117632013-04-30 Joseph Myers <joseph@codesourcery.com>
11764
11765 [BZ #15416]
11766 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11767 accurately for denominator in atan2.
11768 * math/s_catanf.c (__catanf): Likewise.
11769 * math/s_catanh.c (__catanh): Likewise.
11770 * math/s_catanhf.c (__catanhf): Likewise.
11771 * math/s_catanhl.c (__catanhl): Likewise.
11772 * math/s_catanl.c (__catanl): Likewise.
11773 * math/libm-test.inc (catan_test): Add more tests.
11774 (catanh_test): Likewise.
11775 * sysdeps/i386/fpu/libm-test-ulps: Update.
11776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11777
d569c6ee
SP
117782013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11779
6dbe713d
SP
11780 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11781
f0ee064b
SP
11782 * benchtests/Makefile (bench): Remove slow benchmarks.
11783 * benchtests/atan-inputs: Add slow benchmark inputs.
11784 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11785 (BENCH_FUNC): Accept variant offset.
11786 (VARIANT): Define.
11787 * benchtests/bench-skeleton.c (main): Run benchmark for each
11788 variant.
11789 * benchtests/cos-inputs: Add slow benchmark inputs.
11790 * benchtests/exp-inputs: Likewise.
11791 * benchtests/pow-inputs: Likewise.
11792 * benchtests/sin-inputs: Likewise.
11793 * benchtests/slowatan-inputs: Remove.
11794 * benchtests/slowatan.c: Remove.
11795 * benchtests/slowcos-inputs: Remove.
11796 * benchtests/slowcos.c: Remove.
11797 * benchtests/slowexp-inputs: Remove.
11798 * benchtests/slowexp.c: Remove.
11799 * benchtests/slowpow-inputs: Remove.
11800 * benchtests/slowpow.c: Remove.
11801 * benchtests/slowsin-inputs: Remove.
11802 * benchtests/slowsin.c: Remove.
11803 * benchtests/slowtan-inputs: Remove.
11804 * benchtests/slowtan.c: Remove.
11805 * benchtests/tan-inputs: Add slow benchmark inputs.
11806 * scripts/bench.pl: Parse comments and directives.
11807
d569c6ee
SP
11808 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11809 in CPPFLAGS.
11810 ($(objpfx)bench-%.c): Remove *-ITER.
11811 * benchtests/bench-modf.c: Remove definition of ITER.
11812 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11813 (main): Loop for DURATION seconds instead of fixed number of
11814 iterations.
11815 * scripts/bench.pl: Don't expect iterations in parameters.
11816
a6a242fe
RM
118172013-04-29 Roland McGrath <roland@hack.frob.com>
11818
11819 * io/fchdir.c (__fchdir): Renamed from fchdir.
11820 (fchdir): Define as weak alias.
11821
f2da7793
JM
118222013-04-29 Joseph Myers <joseph@codesourcery.com>
11823
11824 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11825 (ERRNO_EDOM): Likewise.
11826 (ERRNO_ERANGE): Likewise.
11827 (noErrnoTests): New variable.
11828 (init_max_error): Set errno to 0.
11829 (test_single_errno): New function.
11830 (test_errno): Likewise.
11831 (check_float_internal): Call test_errno. Set errno to 0.
11832 (check_complex): Refer to errno tests in comment.
11833 (check_int): Call test_errno. Set errno to 0.
11834 (check_long): Likewise.
11835 (check_bool): Likewise.
11836 (check_longlong): Likewise.
11837 (cos_test): Use ERRNO_* flags for errno tests instead of
11838 check_int.
11839 (expm1_test): Likewise.
11840 (fmod_test): Likewise.
11841 (ilogb_test): Likewise.
11842 (lgamma_test): Likewise.
11843 (pow_test): Likewise.
11844 (remainder_test): Likewise.
11845 (sin_test): Likewise.
11846 (tan_test): Likewise.
11847 (yn_test): Likewise.
11848 (initialize): Set errno to 0.
11849 (main): Print number of errno tests.
11850 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11851
b1a36ceb
AJ
118522013-04-29 Andreas Jaeger <aj@suse.de>
11853
c3ed8088
AJ
11854 [BZ #15084]
11855 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11856 and RES_USEVC.
11857
f1a24198
AJ
11858 [BZ #15085]
11859 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11860 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11861 unimplemented.
11862
9ce3b2cb
AJ
11863 [BZ #15380]
11864 * stdlib/random.c (__initstate): Return NULL if
11865 __initstate fails.
11866
f1a24198 11867 [BZ #15086]
b1a36ceb
AJ
11868 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11869 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11870 RES_SNGLKUPREOP.
11871
7e7b6f36
AZ
118722013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11873
11874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11875
4d14f449
JM
118762013-04-29 Joseph Myers <joseph@codesourcery.com>
11877
11878 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11879 of individual tests.
11880 (casin_test): Likewise.
11881 (casinh_test): Likewise.
11882
5b4217d7
JM
118832013-04-27 Joseph Myers <joseph@codesourcery.com>
11884
11885 [BZ #15409]
11886 * math/s_catan.c (__catan): Handle arguments with large real or
11887 imaginary part separately without squaring.
11888 * math/s_catanf.c (__catanf): Likewise.
11889 * math/s_catanh.c (__catanh): Likewise.
11890 * math/s_catanhf.c (__catanhf): Likewise.
11891 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11892 and redefine.
11893 (__catanhl): Handle arguments with large real or imaginary part
11894 separately without squaring.
11895 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11896 and redefine.
11897 (__catanl): Handle arguments with large real or imaginary part
11898 separately without squaring.
11899 * math/libm-test.inc (catan_test): Add more tests.
11900 (catanh_test): Likewise.
11901 * sysdeps/i386/fpu/libm-test-ulps: Update.
11902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11903
4220c3ef
AJ
119042013-04-27 Andreas Jaeger <aj@suse.de>
11905
11906 [BZ #15007]
11907 * stdlib/stdlib.h: Update guards for qecvt.
11908 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11909 <stdlib.h>.
11910
4721b2d1
AM
119112013-04-27 Allan McRae <allan@archlinux.org>
11912
11913 * sysdeps/i386/fpu/libm-test-ulps: Update.
11914
f0302940
JM
119152013-04-26 Joseph Myers <joseph@codesourcery.com>
11916
9457fd95
JM
11917 [BZ #15406]
11918 * math/s_catan.c: Include <float.h>.
11919 (__catan): Ensure underflow exception occurs for underflowed
11920 result.
11921 * math/s_catanf.c: Include <float.h>.
11922 (__catanf): Ensure underflow exception occurs for underflowed
11923 result.
11924 * math/s_catanh.c: Include <float.h>.
11925 (__catanh): Ensure underflow exception occurs for underflowed
11926 result.
11927 * math/s_catanhf.c: Include <float.h>.
11928 (__catanhf): Ensure underflow exception occurs for underflowed
11929 result.
11930 * math/s_catanhl.c: Include <float.h>.
11931 (__catanhl): Ensure underflow exception occurs for underflowed
11932 result.
11933 * math/s_catanl.c: Include <float.h>.
11934 (__catanl): Ensure underflow exception occurs for underflowed
11935 result.
11936 * math/libm-test.inc (catan_test): Add more tests.
11937 (catanh_test): Likewise.
11938
f0302940
JM
11939 [BZ #15405]
11940 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11941 underflowed result.
11942 * math/s_ccoshf.c (__ccoshf): Likewise.
11943 * math/s_ccoshl.c (__ccoshl): Likewise.
11944 * math/s_csin.c (__csin): Likewise.
11945 * math/s_csinf.c (__csinf): Likewise.
11946 * math/s_csinh.c (__csinh): Likewise.
11947 * math/s_csinhf.c (__csinhf): Likewise.
11948 * math/s_csinhl.c (__csinhl): Likewise.
11949 * math/s_csinl.c (__csinl): Likewise.
11950 * math/libm-test.inc (ccos_test): Add more tests.
11951 (ccosh_test): Likewise.
11952 (csin_test): Likewise.
11953 (csinh_test): Likewise.
11954
aa630f59
AZ
119552013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11956
11957 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11958 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11959 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11960 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11961 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11962 powerpc/power5+/fpu folders.
11963 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11964
11965
1b835983
MT
119662013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11967
11968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11969
73709b26
JM
119702013-04-25 Joseph Myers <joseph@codesourcery.com>
11971
11972 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11973 additions to variable.
11974 [$(config-machine) = x86_64] (modules-names): Likewise.
11975 ($(objpfx)tst-audit3): Remove dependency.
11976 ($(objpfx)tst-audit3.out): Likewise.
11977 ($(objpfx)tst-audit4): Likewise.
11978 ($(objpfx)tst-audit4.out): Likewise.
11979 ($(objpfx)tst-audit5): Likewise.
11980 ($(objpfx)tst-audit5.out): Likewise.
11981 ($(objpfx)tst-audit6): Likewise.
11982 ($(objpfx)tst-audit6.out): Likewise.
11983 ($(objpfx)tst-audit7): Likewise.
11984 ($(objpfx)tst-audit7.out): Likewise.
11985 (tst-audit3-ENV): Remove variable.
11986 (tst-audit4-ENV): Likewise.
11987 (tst-audit5-ENV): Likewise.
11988 (tst-audit6-ENV): Likewise.
11989 (tst-audit7-ENV): Likewise.
11990 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11991 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11992 addition to variable.
11993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11995 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11996 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11997 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11998 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11999 tst-audit3, tst-audit4 and tst-audit5.
12000 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12001 tst-audit6 and tst-audit7.
12002 [$(subdir) = elf] (modules-names): Add audit modules for those
12003 tests.
12004 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12005 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12006 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12007 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12008 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12009 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12010 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12011 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12012 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12013 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12014 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12015 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12016 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12017 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12018 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12019 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12020 Likewise.
12021 [$(subdir) = elf && $(config-cflags-avx) = yes]
12022 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12023 [$(subdir) = elf && $(config-cflags-avx) = yes]
12024 (CFLAGS-tst-auditmod4a.c): Likewise.
12025 [$(subdir) = elf && $(config-cflags-avx) = yes]
12026 (CFLAGS-tst-auditmod4b.c): Likewise.
12027 [$(subdir) = elf && $(config-cflags-avx) = yes]
12028 (CFLAGS-tst-auditmod6b.c): Likewise.
12029 [$(subdir) = elf && $(config-cflags-avx) = yes]
12030 (CFLAGS-tst-auditmod6c.c): Likewise.
12031 [$(subdir) = elf && $(config-cflags-avx) = yes]
12032 (CFLAGS-tst-auditmod7b.c): Likewise.
12033 * elf/tst-audit3.c: Move to ...
12034 * sysdeps/x86_64/tst-audit3.c: ... here.
12035 * elf/tst-audit4.c: Move to ...
12036 * sysdeps/x86_64/tst-audit4.c: ... here.
12037 * elf/tst-audit5.c: Move to ...
12038 * sysdeps/x86_64/tst-audit5.c: ... here.
12039 * elf/tst-audit6.c: Move to ...
12040 * sysdeps/x86_64/tst-audit6.c: ... here.
12041 * elf/tst-audit7.c: Move to ...
12042 * sysdeps/x86_64/tst-audit7.c: ... here.
12043 * elf/tst-auditmod3a.c: Move to ...
12044 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12045 * elf/tst-auditmod3b.c: Move to ...
12046 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12047 * elf/tst-auditmod4a.c: Move to ...
12048 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12049 * elf/tst-auditmod4b.c: Move to ...
12050 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12051 * elf/tst-auditmod5a.c: Move to ...
12052 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12053 * elf/tst-auditmod5b.c: Move to ...
12054 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12055 * elf/tst-auditmod6a.c: Move to ...
12056 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12057 * elf/tst-auditmod6b.c: Move to ...
12058 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12059 * elf/tst-auditmod6c.c: Move to ...
12060 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12061 * elf/tst-auditmod7a.c: Move to ...
12062 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12063 * elf/tst-auditmod7b.c: Move to ...
12064 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12065
1ef74943
PP
120662013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12067
12068 [BZ #15366]
12069 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12070 define unconditionally.
12071 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12072 define unconditionally.
12073 (INT8_C, INT16_C, etc.): Likewise.
12074
93fd48c5
MR
120752013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12076
ae9552cf
MR
12077 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12078 __ehdr_start with hidden visibility.
12079
93fd48c5
MR
12080 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12081
418601aa
CD
120822013-04-24 Carlos O'Donell <carlos@redhat.com>
12083
12084 * math/libm-test.inc (cos_test): Use accurate hex constants.
12085 (sincost_test): Likewise.
12086
2f38fbfe
JM
120872013-04-24 Joseph Myers <joseph@codesourcery.com>
12088
5e221800
JM
12089 * math/libm-test.inc (catan_test): Add more tests.
12090 (catanh_test): Likewise.
12091
77f143fd
JM
12092 * math/s_catanf.c (__catanf): Use suffixed floating-point
12093 constants.
12094 * math/s_catanhf.c (__catanhf): Likewise.
12095 * math/s_catanhl.c (__catanhl): Likewise.
12096 * math/s_catanl.c (__catanl): Likewise.
12097
2f38fbfe
JM
12098 [BZ #15394]
12099 * math/s_catan.c (__catan): Calculate imaginary part of result
12100 with log1p not log unless computing log of number close to 0.
12101 * math/s_catanf.c (__catanf): Likewise.
12102 * math/s_catanl.c (__catanl): Likewise.
12103 * math/s_catanh.c (__catanh): Calculate real part of result with
12104 log1p not log unless computing log of number close to 0.
12105 * math/s_catanhf.c (__catanhf): Likewise.
12106 * math/s_catanhl.c (__catanhl): Likewise.
12107 * math/libm-test.inc (catan_test): Add more tests.
12108 (catanh_test): Likewise.
12109 * sysdeps/i386/fpu/libm-test-ulps: Update.
12110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12111
45d69176
SP
121122013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12113
12114 * benchtests/Makefile: Mention files in which fast and slow
12115 paths of math functions are implemented.
12116
87f51853
RM
121172013-04-23 Roland McGrath <roland@hack.frob.com>
12118
12119 * sysdeps/posix/timespec_get.c: New file.
12120
3c026539
AZ
121212013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12122
12123 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12124 POWER.
12125 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12126 for POWER.
12127 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12128 powerpc/power5/fpu folders.
12129 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12130 * benchtests/Makefile: Add modf testcase.
12131 * benchtests/bench-modf.c: New file: Benchmark test for mo
12132
ff491d14
SP
121332013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12134
12135 [BZ #14888]
12136 * time/Makefile (tests): Add tst-strptime-whitespace.
12137 * time/strptime_l.c (get_number): Use ISSPACE.
12138 (__strptime_internal): Likewise.
12139 * time/tst-strptime-whitespace.c: New test case.
12140
7ed3f4e8
AS
121412013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12142
12143 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12144 member.
12145 (_nss_files_init): Set it here.
12146
5c95f7b6
HC
121472013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12148
12149 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12150 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12151 unsigned.
12152
d34c9158
JBG
121532013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12154
12155 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12156
2169712d
SP
121572013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12158
12159 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12160 size just once.
12161
29c5de99
DM
121622013-04-21 David S. Miller <davem@davemloft.net>
12163
12164 * po/ru.po: Update Russion translation from translation project.
12165
ccdad15d
AC
121662013-04-17 Adam Conrad <adconrad@0c3.net>
12167
12168 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12169 and setfsgid.
12170
0f122b8d
CD
121712013-04-17 Carlos O'Donell <carlos@redhat.com>
12172
5c5b07da 12173 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12174 * configure: Regenerate.
5c5b07da 12175 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12176 Add example to error message.
12177 * sysdeps/i386/configure: Regenerate.
12178
037714dd
SP
121792013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12180
12181 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12182 slowtan.
12183 * benchtests/cos-inputs: New file.
12184 * benchtests/slowcos-inputs: New file.
12185 * benchtests/slowcos.c: New file.
12186 * benchtests/slowtan-inputs: New file.
12187 * benchtests/slowtan.c: New file.
12188 * benchtests/tan-inputs: New file.
12189
e913141d
RM
121902013-04-16 Roland McGrath <roland@hack.frob.com>
12191
12192 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12193 considered kosher.
12194
a2964074
SP
121952013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12196
4856bcd2
SP
12197 * benchtests/Makefile: Include cppflags-iterator.mk to add
12198 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12199
a2964074
SP
12200 * Makefile.in (bench-clean): New target.
12201 * benchtests/Makefile (bench-clean): Likewise.
12202
9fbf9aca
DH
122032013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12204
12205 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12206
207d1e2a
TS
122072013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12208
12209 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12210
306dfba9
AS
122112013-04-15 Andreas Schwab <schwab@suse.de>
12212
12213 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12215 * nscd/pwdcache.c (cache_addpw): Likewise.
12216 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12217 more than recsize.
12218
206a6699
SP
122192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12220
12221 * benchtests/Makefile (bench): Write all output to
12222 bench-out.tmp together.
12223
0582f6b3
AS
122242013-04-15 Andreas Schwab <schwab@suse.de>
12225
12226 * nscd/nscd.c (main): Don't fork again after closing files.
12227
acb4325f
SP
122282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12229
5cb26d0a
SP
12230 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12231
acb4325f
SP
12232 * benchtests/Rules (bench-deps): Collect dependencies into a
12233 single variable. Add Makefile to dependencies.
12234 ($(objpfx)bench-%.c): Depend on bench-deps.
12235
47792506
RM
122362013-04-12 Roland McGrath <roland@hack.frob.com>
12237 Xavier Roche <roche+kml2@exalead.com>
12238
12239 [BZ #15361]
12240 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12241 just that it's a file descriptor.
12242 * manual/llio.texi (Synchronizing AIO Operations): Update description
12243 for EBADF error from aio_fsync.
12244
8fc1bee5
SP
122452013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12246
12247 * Rules (bench): Move target definition...
12248 * benchtests/Makefile: ... here.
12249
aba5e333
CD
122502013-04-11 Carlos O'Donell <carlos@redhat.com>
12251
12252 * math/libm-test.inc (cos_test): Fix PI/2 test.
12253 (sincos_test): Likewise.
12254 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12255 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12256
273cdee8
AS
122572013-04-11 Andreas Schwab <schwab@suse.de>
12258
6ecec3b6
AS
12259 [BZ #13988]
12260 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12261 accept exponent character only when digits were seen.
12262 * stdio-common/Makefile (tests): Add bug26.
12263 * stdio-common/bug26.c: New file.
12264
273cdee8
AS
12265 [BZ #14293]
12266 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12267 non-freeable.
12268
8da491f5
SP
122692013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12270
01dc6df9
SP
12271 * Makeconfig (rtld-prefix): Define built linker prefix.
12272 * Rules (run-bench): Use it.
12273 * math/Makefile (run-regen-ulps): Likewise.
12274
8da491f5
SP
12275 * Rules (bench): Remove eval.
12276
abe7f530
SP
122772013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12278 Roland McGrath <roland@hack.frob.com>
12279 Ondrej Bilka <neleai@seznam.cz>
12280
12281 [BZ #15346]
12282 * time/getdate.c: Include ctype.h and alloca.h.
12283 (__getdate_r): Trim leading and trailing spaces of input.
12284 * time/tst-getdate.c (tests): Add tests with leading and
12285 trailing spaces.
12286
61c23e62
RM
122872013-04-08 Roland McGrath <roland@hack.frob.com>
12288
12289 [BZ #14280]
12290 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12291 when computing value.
12292
7208a313
CD
122932013-04-06 Carlos O'Donell <carlos@redhat.com>
12294
085b2d41
CD
12295 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12296 Use testrun.sh to run libm tests.
12297
7208a313
CD
12298 [BZ #15309]
12299 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12300
872c0acd
MM
123012013-04-06 Marko Myllynen <myllynen@redhat.com>
12302
12303 [BZ #15264]
12304 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12305
26510bdd
CD
123062013-04-06 Carlos O'Donell <carlos@redhat.com>
12307
12308 * Makefile.in (regen-ulps): New target.
12309 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12310 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12311 [ifneq (no,$(PERL)] (regen-ulps): New target.
12312 [ifeq (no,$(PERL)] (regen-ulps): New target.
12313 * math/libm-test.inc (ulps_file_name): Define.
12314 (output_dir): New variable.
12315 (options): Add "output-dir" option.
12316 (parse_opt): Handle 'o' case.
12317 (main): If output_dir is non-NULL use it as a prefix
12318 otherwise use "".
12319 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12320
a01f19c8
CD
123212013-04-06 Carlos O'Donell <carlos@redhat.com>
12322
12323 [BZ #10060, #10062]
12324 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12325 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12326 fail configure if __sync_val_compare_and_swap is not inlined.
12327 * sysdeps/i386/configure: Regenerate.
12328 * configure.in: Build for i686 when configured for i386.
12329 * configure: Regenerate.
12330 * README: Remove i386 reference.
12331
b7a329a5
CD
123322013-04-06 Carlos O'Donell <carlos@redhat.com>
12333
12334 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12335 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12336
bf0f50df
TS
123372013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12338
ee091edf
TS
12339 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12340 (lmsnanval): New variables.
12341 (F): Add conversion tests.
12342 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12343 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12344
a8b792d6
TS
12345 * stdio-common/tstdiomisc.c (F): Properly collect individual
12346 tests' results.
12347
a1cbf437
TS
12348 [BZ #14686, #15336]
12349 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12350 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12351 Instead, use input NaN values or generate a qNaN by arithmetic
12352 operation. Also fix bugs to comply with the standard.
12353 * math/libm-test.inc (remainder_test): Add more tests.
12354
8b43a0c9
TS
12355 [BZ #15335, #15342]
12356 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12357 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12358 input NaN values or generate a qNaN by arithmetic operation.
12359
d91da4ce
TS
12360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12361 unreachable code.
12362
bf0f50df
TS
12363 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12364 definitions.
12365
05e166c8
JM
123662013-04-03 Joseph Myers <joseph@codesourcery.com>
12367
12368 [BZ #14478]
12369 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12370 underflowed result.
12371 * math/s_cexpf.c (__cexpf): Likewise.
12372 * math/s_cexpl.c (__cexpl): Likewise.
12373 * math/libm-test.inc (cexp_test): Add more tests.
12374
1cef1b19
AS
123752013-04-03 Andreas Schwab <schwab@suse.de>
12376
12377 [BZ #15330]
12378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12379 order arrays from heap if bigger than alloca cutoff.
12380
74d87055
TS
123812013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12382
12383 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12384 (SNAN_TESTS_double): Refer to GCC PR56831.
12385 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12386 GCC PR56828.
12387
d755bba4
SP
123882013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12389
90d5d5bb
SP
12390 * Rules (bench): Move bench.out after the run is complete.
12391
73e0cd5d
SP
12392 * Rules (bench): Echo currently running benchmark.
12393
64aabd4b
SP
12394 * benchtests/Makefile (bench): Add atan and slowatan.
12395 * benchtests/atan-inputs: New file.
12396 * benchtests/slowatan-inputs: New file.
12397 * benchtests/slowatan.c: New file.
12398
c871eccd
SP
12399 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12400 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12401 its value.
12402
d755bba4
SP
12403 [BZ #15305]
12404 * sysdeps/unix/sysv/linux/kernel-features.h
12405 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12406 __ASSUME_XFS_RESTRICTED_CHOWN.
12407 * sysdeps/unix/sysv/linux/pathconf.c
12408 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12409 Save and restore errno.
12410
52ce4860
JM
124112013-04-02 Joseph Myers <joseph@codesourcery.com>
12412
12413 [BZ #15327]
12414 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12415 arguments using __kernel_casinh.
12416 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12417 arguments using __kernel_casinhf.
12418 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12419 arguments using __kernel_casinhl.
12420 * math/libm-test.inc (cacosh_test): Add more tests.
12421 * sysdeps/i386/fpu/libm-test-ulps: Update.
12422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12423
81f311c2
SP
124242013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12425
e7906a47
SP
12426 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12428
92e3664b
SP
12429 * bench/Makefile (bench): Add sin and slowsin.
12430 * benchtests/sin-inputs: New file.
12431 * benchtests/slowsin-inputs: New file.
12432 * benchtests/slowsin.c: New file.
12433
81f311c2
SP
12434 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12435 (bench): Add slowexp and slowpow.
12436 (exp-ITER): Increase iterations.
12437 (pow-ITER): Likewise.
12438 * benchtests/exp-inputs: Change input.
12439 * benchtests/pow-inputs: Likewise.
12440 * benchtests/slowexp-inputs: New file.
12441 * benchtests/slowexp.c: New file.
12442 * benchtests/slowpow-inputs: New file.
12443 * benchtests/slowpow.c: New file.
12444
ab0f1aa9
AZ
124452013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12446
12447 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12448 instructions.
12449 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12451 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12452 * benchtests/Makefile: Add rint benchtest.
12453 * benchtests/rint-inputs: Input for rint benchtest.
12454
57267616
TS
124552013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12456
12457 * Versions.def (libm): Add GLIBC_2.18.
12458 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12459 hidden libm prototypes.
12460 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12461 * math/Makefile (libm-calls): Add s_issignaling.
12462 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12463 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12464 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12465 declaration.
12466 * math/math.h [__USE_GNU] (issignaling): New macro.
12467 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12468 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12470 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12471 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12472 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12473 * manual/arith.texi (issignaling): New section.
12474 * manual/libm-err-tab.pl (@all_functions): Update comment.
12475 * math/gen-libm-test.pl (parse_args): Apply special handling for
12476 issignaling.
12477 * math/libm-test.inc (print_float, issignaling_test): New
12478 functions.
12479 (check_float_internal): Add issignaling checks.
12480 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12481 default definition.
12482 * sysdeps/powerpc/math-tests.h: New file.
12483 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12484 tests.
12485 * math/test-snan.c (TEST_FUNC): Likewise.
12486
6142896d
DM
124872013-03-30 David S. Miller <davem@davemloft.net>
12488
12489 * po/de.po: Update from translation team.
12490
ccc8cadf
JM
124912013-03-30 Joseph Myers <joseph@codesourcery.com>
12492
12493 [BZ #10357]
12494 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12495 imaginary part less than 1.0 and real part less than 0.5
12496 specially.
12497 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12498 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12499 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12500 (cacos_test): Add more tests.
12501 (casin_test): Likewise.
12502 (casinh_test): Likewise.
12503 * sysdeps/i386/fpu/libm-test-ulps: Update.
12504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12505
0f6a8d4b
SP
125062013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12507
0d1029de
SP
12508 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12509 ONE with its value.
12510
c2d94018
SP
12511 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12512 (__pow_mp): Replace ONE and MONE with their values.
12513 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12515 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12516 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12517 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12518 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12519
27ec37f1
SP
12520 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12521
a64d7e0e
SP
12522 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12523 (__pow_mp): Replace ZERO and MZERO with their values.
12524 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12525 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12526 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12528 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12529 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12530 (__sqr): Likewise.
12531
d26dd3eb
SP
12532 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12533
0f6a8d4b
SP
12534 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12535
e57b0c61
RM
125362013-03-28 Roland McGrath <roland@hack.frob.com>
12537
12538 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12539 Declare with __attribute__ ((weak)).
12540 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12541 Call __call_tls_dtors only if it's not NULL.
12542
356b3480
RM
125432013-03-28 Roland McGrath <roland@hack.frob.com>
12544
288f7d79
RM
12545 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12546 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12547 magic __ehdr_start linker symbol if it's defined.
12548 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12549 them up here if it was already done.
12550
dc0a0263
RM
12551 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12552 (_dl_aux_init): Use const in cast when setting it.
12553 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12554 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12555 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12556
3d3436ae
RM
12557 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12558 Declare them here.
12559 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12560 * csu/libc-tls.c: Nor here.
12561 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12562
356b3480
RM
12563 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12564 (__libc_message): Never call vsyslog.
12565
b0f1246a
AM
125662013-03-28 Alan Modra <amodra@gmail.com>
12567
12568 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12569 Define as empty.
12570 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12571 Likewise.
12572
fbbe2b9a
AZ
125732013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12574
12575 [BZ #15214]
12576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12577 underflow.
12578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12579
1728ab37
SP
125802013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12581
7a86be6e
SP
12582 [BZ #15304]
12583 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12584 Don't add gid passed as argument.
12585
1728ab37
SP
12586 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12587
3a7182a1
JM
125882013-03-27 Joseph Myers <joseph@codesourcery.com>
12589
12590 [BZ #15307]
12591 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12592 imaginary part between 1.0 and 1.5 and real part less than 0.5
12593 specially.
12594 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12595 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12596 * math/libm-test.inc (cacos_test): Add more tests.
12597 (casin_test): Likewise.
12598 (casinh_test): Likewise.
12599 * sysdeps/i386/fpu/libm-test-ulps: Update.
12600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12601
6f2e90e7
SP
126022013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12603
5739f705
SP
12604 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12605 constants.
12606 (norm): Likewise.
12607 (denorm): Likewise.
12608 (__dbl_mp): Likewise.
12609 (add_magnitudes): Likewise.
12610 (sub_magnitudes): Likewise.
12611 (__add): Likewise.
12612 (__sub): Likewise.
12613 (__mul): Likewise.
12614 (__sqr): Likewise.
12615 (__inv): Likewise.
12616 (__dvd): Likewise.
12617
e375e83d
SP
12618 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12619 commented code.
12620 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12621 (__dubcos): Likewise.
12622 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12623 (__ieee754_acos): Likewise.
12624 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12625 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12626 (__exp1): Likewise.
12627 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12629 (log1): Likewise.
12630 (my_log2): Likewise.
12631 (checkint): Likewise.
12632 * sysdeps/ieee754/dbl-64/e_remainder.c
12633 (__ieee754_remainder): Likewise.
12634 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12636 (bsloww): Likewise.
12637 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12638
6f2e90e7
SP
12639 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12640 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12641 MANTISSA_STORE_T to store computations on mantissa. Use
12642 macros for rounding and division.
12643 (denorm): Likewise.
12644 (__dbl_mp): Likewise.
12645 (add_magnitudes): Likewise.
12646 (sub_magnitudes): Likewise.
12647 (__mul): Likewise.
12648 (__sqr): Likewise.
12649 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12650 powers of two in terms of TWOPOW macro.
12651 (mp_no): Make type of mantissa as MANTISSA_T.
12652 [!RADIXI]: Define RADIXI.
12653 [!TWO52]: Define TWO52.
12654 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12655
fce14d4e
AZ
126562013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12657
12658 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12659 llroundl symbol when building for PPC32.
12660
9ad027fb
MW
126612013-03-24 Mark H Weaver <mhw@netris.org>
12662
12663 * manual/arith.texi (Normalization Functions): Fix prototypes for
12664 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12665
e42a38dd
AZ
126662013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12667
12668 [BZ #13889]
12669 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12670 high value to check if expl overflow.
12671 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12672 to check for underflow and overflow.
12673 * math/libm-test.inc: Add exp test.
12674
2e0fb521
DL
126752013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12676
12677 [BZ #11120]
12678 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12679 with NOT_IN_libc.
12680
b5784d95
AZ
126812013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12682
12683 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12684 symbol.
12685
5aa4a1a1
TS
126862013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12687
bdef0be7
TS
12688 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12689 wrap blocks consisting of several statements.
12690
5aa4a1a1
TS
12691 * sysdeps/generic/math-tests.h: New file.
12692 * sysdeps/i386/fpu/math-tests.h: Likewise.
12693 * math/test-snan.c: Include it.
12694 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12695
98c48fe5
JM
126962013-03-21 Joseph Myers <joseph@codesourcery.com>
12697
12698 [BZ #15285]
12699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12700 (__ieee754_j0l): Do not improve calculations using cos of twice
12701 input for inputs above LDBL_MAX / 2.0L.
12702 (__ieee754_y0l): Likewise.
12703 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12704 (__ieee754_j1l): Do not improve calculations using cos of twice
12705 input for inputs above LDBL_MAX / 2.0L.
12706 (__ieee754_y1l): Likewise.
12707 * math/libm-test.inc (j0_test): Add another test.
12708 (j1_test): Likewise.
12709 (y0_test): Likewise.
12710 (y1_test): Likewise.
12711 * sysdeps/i386/fpu/libm-test-ulps: Update.
12712
3775a8bc
SP
127132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12714
12715 * Rules ($(objpfx)bench-%.c): Include code from a C source
12716 file.
12717
0a1b2ae6
JM
127182013-03-21 Joseph Myers <joseph@codesourcery.com>
12719
12720 [BZ #15287]
12721 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12722 imaginary part 1.0 and real part less than 0.5 specially.
12723 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12724 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12725 * math/libm-test.inc (cacos_test): Add more tests.
12726 (casin_test): Likewise.
12727 (casinh_test): Likewise.
12728 * sysdeps/i386/fpu/libm-test-ulps: Update.
12729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12730
b33d4ce4
SP
127312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12732
12733 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12734 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12735
bef0b507
JM
127362013-03-20 Joseph Myers <joseph@codesourcery.com>
12737
12738 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12739 * config.make.in (config-cflags-sse4): Remove variable.
12740 (config-cflags-avx): Likewise.
12741 (config-cflags-sse2avx): Likewise.
12742 (config-cflags-novzeroupper): Likewise.
12743 (config-asflags-i686): Likewise.
12744 (have-mfma4): Likewise.
12745 (have-as-vis3): Likewise.
12746 (MIG): Likewise.
12747 * configure.in (MIG): Do not AC_SUBST.
12748 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12749 (libc_cv_cc_sse4): Do not AC_SUBST.
12750 (libc_cv_cc_avx): Likewise.
12751 (libc_cv_cc_sse2avx): Likewise.
12752 (libc_cv_cc_novzeroupper): Likewise.
12753 (libc_cv_cc_fma4): Likewise.
12754 (libc_cv_as_i686): Likewise.
12755 (libc_cv_sparc_as_vis3): Likewise.
12756 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12757 LIBC_CONFIG_VAR.
12758 (config-asflags-i686): Likewise.
12759 (config-cflags-avx): Likewise.
12760 (config-cflags-sse2avx): Likewise.
12761 (have-mfma4): Likewise.
12762 (config-cflags-novzeroupper): Likewise.
12763 * sysdeps/mach/configure.in (MIG): Likewise.
12764 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12765 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12766 LIBC_CONFIG_VAR.
12767 (config-cflags-avx): Likewise.
12768 (config-cflags-sse2avx): Likewise.
12769 (have-mfma4): Likewise.
12770 (config-cflags-novzeroupper): Likewise.
12771 * configure: Regenerated.
12772 * sysdeps/i386/configure: Likewise.
12773 * sysdeps/mach/configure: Likewise.
12774 * sysdeps/sparc/configure: Likewise.
12775 * sysdeps/x86_64/configure: Likewise.
12776
912cc4b3
RM
127772013-03-20 Roland McGrath <roland@hack.frob.com>
12778
12779 [BZ #14812]
12780 * locale/programs/localedef.c (options): Put N_ translation marker
12781 on argument names, not just descriptions.
12782
04eed2b0
MS
127832013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12784
12785 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12786
a065ceff
OB
127872013-03-20 Ondřej Bílka <neleai@seznam.cz>
12788
9bb2a810 12789 [BZ #14176]
a065ceff
OB
12790 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12791
a600e5ce
RM
127922013-03-19 Roland McGrath <roland@hack.frob.com>
12793
12794 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12795 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12796 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12797 [!BEFORE_ABORT] (before_abort): New function.
12798 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12799 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12800 (writev_for_fatal): New function.
12801 (WRITEV_FOR_FATAL): New macro; call that.
12802 (backtrace_and_maps): New function.
12803 (BEFORE_ABORT): New macro; call that.
12804 (struct str_list): Type removed.
12805 (__libc_message, __libc_fatal): Functions removed.
12806 Include <sysdeps/posix/libc_fatal.c> instead.
12807
6b18bea6
JM
128082013-03-19 Joseph Myers <joseph@codesourcery.com>
12809
12810 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12811 constants.
12812 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12813 double constants.
12814
aaa8cb4b
AS
128152013-03-19 Andreas Schwab <schwab@suse.de>
12816
44673770
AS
12817 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12818 * sysdeps/gnu/configure: Regenerate.
12819
aaa8cb4b
AS
12820 * configure.in: Substitute libc_cv_rtlddir.
12821 * configure: Regenerate.
12822 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12823 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12824 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12825 * elf/Makefile (install-others, CFLAGS-interp.c)
12826 (ldso_install, common-ldd-rewrite): Likewise.
12827 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12828 $(inst_slibdir)/$(rtld-installed-name).
12829 * scripts/rellns-sh: Add -p option.
12830 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12831 for source.
12832
d3cfc668
SP
128332013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12834
12835 * manual/nptl.texi: Renamed to ...
12836 * manual/threads.texi: ... this.
12837 * manual/Makefile (chapters): Update.
12838
0e2b9cdd
RM
128392013-03-18 Roland McGrath <roland@hack.frob.com>
12840
12841 [BZ #14812]
12842 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12843 on argument names, not just descriptions.
0e2b9cdd
RM
12844 * malloc/memusagestat.c (options): Likewise.
12845 * nss/getent.c (options): Likewise.
63270c24
RM
12846
128472013-03-18 Benno Schulenberg <bensberg@justemail.net>
12848
12849 [BZ #14812]
12850 * iconv/iconv_prog.c (options): Put N_ translation marker
12851 on argument names, not just descriptions.
12852 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 12853
b2e1393c
OB
128542013-03-18 Ondrej Bilka <neleai@seznam.cz>
12855
12856 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12857 implementation which is faster on all x86_64 architectures.
12858 Tested on AMD, Intel Nehalem, SNB, IVB.
12859 * sysdeps/x86_64/strnlen.S: Likewise.
12860
12861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12862 Remove all multiarch strlen and strnlen versions.
12863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12864 Remove strlen and strnlen related parts.
12865
12866 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12867 Inline strlen part.
12868 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12869
12870 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12871 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12872 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12873 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12874 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12875 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12876
ec4ff04d
CD
128772013-03-17 Carlos O'Donell <carlos@redhat.com>
12878
12879 * manual/memory.texi (Malloc Tunable Parameters):
12880 Sort parameters alphabetically. Add comments for missing entries.
12881
cd18e90a
DM
128822013-03-17 David S. Miller <davem@davemloft.net>
12883
12884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12885
2a185d32
JM
128862013-03-16 Joseph Myers <joseph@codesourcery.com>
12887
d2f9799e
JM
12888 [BZ #15283]
12889 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12890 for arguments at most half maximum finite value.
12891 * math/libm-test.inc (j0_test): Add more tests.
12892 (j1_test): Likewise.
12893 (y0_test): Likewise.
12894 (y1_test): Likewise.
12895 * sysdeps/i386/fpu/libm-test-ulps: Update.
12896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12897
2a185d32
JM
12898 [BZ #14155]
12899 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12900 1 / x and functions P and Q for arguments above 0x1p256L.
12901 (__ieee754_y0l): Likewise.
12902 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12903 (__ieee754_y1l): Likewise.
12904 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12905 (j1_test): Likewise.
12906 (y0_test): Likewise.
12907 (y1_test): Likewise.
12908
6cbec759
TS
129092013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12910
12911 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12912 variable.
12913
bc16e260
RM
129142013-03-15 Roland McGrath <roland@hack.frob.com>
12915
aefc9b8c
RM
12916 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12917 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12918 zero since it's initialized to EXEC_PAGESIZE.
12919
bc16e260
RM
12920 * sysdeps/unix/sysv/linux/ldsodefs.h
12921 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12922 * sysdeps/generic/ldsodefs.h: ... here.
12923
a57da955
TS
129242013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12925
af00a34d
TS
12926 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12927
495ded2c
TS
12928 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12929 math/test-snan.c.
12930 * math/test-snan.c: Renamed from
12931 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12932 * math/Makefile (tests): Add test-snan.
12933 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12934 test-powerpc-snan.
12935
777b0332
TS
12936 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12937 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12938 functions.
12939 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12940 __builtin_nan family of functions.
12941 * math/libm-test.inc (initialize): Initialize qnan_value with
12942 __builtin_nan family of functions.
12943 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12944 Remove variables.
12945 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12946 Remove functions.
12947 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12948 storage class. Initialize qNaN_var and sNaN_var with
12949 __builtin_nan and __builtin_nans families of functions,
12950 respectively.
12951
64d063b8
TS
12952 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12953 (sqrt_test): Remove duplicate test with qNaN input.
12954 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12955 (round_test, signbit_test, significand_test): Note missing +/-Inf
12956 as well as qNaN tests.
12957
67e971f1
TS
12958 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12959 qNaN_var. Fix a few strings, too.
12960 * math/libm-test.inc (nan_value): Rename to qnan_value.
12961 * math/gen-libm-test.pl (%beautify): Adjust to that.
12962 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12963 * math/test-misc.c (main): Likewise.
12964 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12965 to __qnan_bytes, and __qnan_union, respectively.
12966 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12967 Likewise.
12968 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12969 and lqnanval, respectively.
12970 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12971 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12972 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12973 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12974
64487e12
TS
12975 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12976 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12977 doubles.
12978
e015e27b
TS
12979 * math/test-misc.c (main): Fix copy'n'pastos.
12980 * misc/tst-efgcvt.c (special): Likewise.
12981
a57da955
TS
12982 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12983 Remove declarations.
12984
1e380345
SP
129852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12986
12987 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12988 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12989 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12990 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12991
ef26eece
AZ
129922013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12993
12994 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12995 macro to return vdso values correctly in IFUNC implementations.
12996 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12997 Optimization by using IFUNC.
12998
8cfdb7e0
SP
129992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13000 Richard Henderson <rth@redhat.com>
13001 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13002
13003 * Makefile.in (bench): New target.
13004 * NEWS: Mention the benchmark framework.
13005 * Rules (bench): Likewise.
13006 (binaries-bench): Generate binaries for functions to
13007 benchmark.
13008 * benchtests/Makefile: New makefile for benchmark tests.
13009 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13010 programs.
13011 * benchtests/exp-inputs: New input file for EXP function.
13012 * benchtests/pow-inputs: New input file for POW function.
13013 * scripts/bench.pl: New script to generate source files for
13014 benchmark programs.
13015
bcda9880
SP
130162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13017
d22ca8cd
SP
13018 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13019 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13020 computations on mantissa. Use macros for rounding and
13021 division.
13022 (denorm): Likewise.
13023 (__dbl_mp): Likewise.
13024 (add_magnitudes): Likewise.
13025 (sub_magnitudes): Likewise.
13026 (__mul): Likewise.
13027 (__sqr): Likewise.
13028 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13029 powers of two in terms of TWOPOW macro.
13030 (mp_no): Make type of mantissa as MANTISSA_T.
13031 [!RADIXI]: Define RADIXI.
13032 [!TWO52]: Define TWO52.
13033 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13034
bcda9880
SP
13035 * manual/nptl.texi (cindex): Modify threads to pthreads.
13036
06d5adfb
JM
130372013-03-15 Joseph Myers <joseph@codesourcery.com>
13038
13039 * sysdeps/x86_64/preconfigure: Regenerated.
13040
41c7328e
JM
130412013-03-14 Joseph Myers <joseph@codesourcery.com>
13042
13043 [BZ #14155]
13044 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13045 0x1p28 and above.
13046 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13047 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13048 0x1p28 and above.
13049 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13050 * math/libm-test.inc (j0_test): Do not allow one spurious
13051 underflow exception.
13052 (y1_test): Likewise.
13053
e25cfa60
SP
130542013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13055
0409959c
SP
13056 * manual/Makefile (chapters): Add nptl.
13057 * manual/debug.texi (Debugging Support): Add link to Threads
13058 chapter.
13059 * manual/nptl.texi: New file.
13060
e25cfa60
SP
13061 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13062
58a1335e
PB
130632013-03-14 Petr Baudis <pasky@ucw.cz>
13064
13065 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13066 for non-NULL pointer before the memory validity test. Pointed
13067 out by Holger Brunck <holger.brunck@keymile.com>.
13068
9dc7c64f
AS
130692013-03-13 Andreas Schwab <schwab@suse.de>
13070
13071 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13072 instead of .os.
13073
54206aa6
JM
130742013-03-13 Joseph Myers <joseph@codesourcery.com>
13075
13076 * timezone/zic.c: Update from tzcode 2013b.
13077
e98cdb38
CD
130782013-03-12 Carlos O'Donell <carlos@redhat.com>
13079
13080 * manual/install.texi (Configuring and compiling):
13081 Mention i686 and i586.
13082 * INSTALL: Regenerate.
13083
9967e003
RM
130842013-03-12 Roland McGrath <roland@hack.frob.com>
13085
13086 * sysdeps/init_array/elf-init.c: New file.
13087 * csu/elf-init.c
13088 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13089 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13090
13091 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13092 __gmon_start__ as global, but as static with a .preinit_array pointer.
13093 * sysdeps/init_array/gmon-start.c: New file. Use that.
13094 * sysdeps/init_array/crti.S: New file, empty except for comments.
13095 * sysdeps/init_array/crtn.S: Likewise.
13096
e6b5a293 130972013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13098
13099 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13100 definining bcopy.
80f844c9
OB
13101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13102 Remove Prefer_SSE_for_memop.
13103 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13104 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13105 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13107 memset-x86-64.
80f844c9 13108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13109 Remove bzero, memset ifunc support.
80f844c9
OB
13110 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13111 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13112 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13113 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13114
fb6b0fcb
AS
131152013-03-11 Andreas Schwab <schwab@suse.de>
13116
13117 [BZ #15234]
13118 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13119 by SHLIB_COMPAT.
13120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13121 (GLIBC_2.16): Remove pthread_atfork.
13122
3e6bd4b1
PP
131232013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13124
13125 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13126 (ptestcases.h): Likewise.
13127
222d7f00
RM
131282013-03-08 Roland McGrath <roland@hack.frob.com>
13129
13130 * Makeconfig ($(common-objpfx)config.status): Depend on
13131 sysdeps/*/preconfigure{,.in} too.
13132
1ba4f030
JM
131332013-03-08 Joseph Myers <joseph@codesourcery.com>
13134
a222d91a
JM
13135 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13136 (__free_hook): Use void * instead of __malloc_ptr_t.
13137 (__malloc_hook): Likewise.
13138 (__realloc_hook): Likewise.
13139 (__memalign_hook): Likewise.
13140 (__after_morecore_hook): Likewise.
13141 * malloc/arena.c (save_malloc_hook): Likewise.
13142 (save_free_hook): Likewise.
13143 * malloc/hooks.c (malloc_hook_ini): Likewise.
13144 (realloc_hook_ini): Likewise.
13145 (memalign_hook_ini): Likewise.
13146 * malloc/malloc.c (malloc_hook_ini): Likewise.
13147 (realloc_hook_ini): Likewise.
13148 (memalign_hook_ini): Likewise.
13149 (__free_hook): Likewise.
13150 (__malloc_hook): Likewise.
13151 (__realloc_hook): Likewise.
13152 (__memalign_hook): Likewise.
13153 (__libc_malloc): Likewise.
13154 (__libc_free): Likewise.
13155 (__libc_realloc): Likewise.
13156 (__libc_memalign): Likewise.
13157 (__libc_valloc): Likewise.
13158 (__libc_pvalloc): Likewise.
13159 (__libc_calloc): Likewise.
13160 (__posix_memalign): Likewise.
13161 * malloc/morecore.c (__sbrk): Likewise.
13162 (__default_morecore): Likewise.
13163
5cc45e10
JM
13164 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13165
dd54b864
JM
13166 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13167 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13168 __malloc_ptrdiff_t.
13169
1ba4f030
JM
13170 * malloc/malloc.h (__malloc_size_t): Remove macro.
13171 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13172 __malloc_size_t.
13173 (old_memalign_hook): Likewise.
13174 (old_realloc_hook): Likewise.
13175 (struct hdr): Likewise.
13176 (flood): Likewise.
13177 (mallochook): Likewise.
13178 (memalignhook): Likewise.
13179 (reallochook): Likewise.
13180 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13181 (tr_old_realloc_hook): Likewise.
13182 (tr_old_memalign_hook): Likewise.
13183 (tr_mallochook): Likewise.
13184 (tr_reallochook): Likewise.
13185 (tr_memalignhook): Likewise.
13186
edf66e57
AZ
131872013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13188
13189 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13190 default_ldbl_pack and using as default implementation.
13191 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13192 implementation.
13193 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13194 redundant definition.
13195 (ldbl_insert_mantissa): Likewise.
13196 (ldbl_canonicalize): Likewise.
13197 (ldbl_nearbyint): Likewise.
13198 (ldbl_pack): Rename to ldbl_pack_ppc.
13199 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13200 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13201 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13202
6d9145d8
SP
132032013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13204
13205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13206 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13207 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13208 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13210 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13211 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13212 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13213
4dd4e157
AJ
132142013-03-07 Andreas Jaeger <aj@suse.de>
13215
13216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13217 bits/mman-linux.h.
13218
adbb8027
SP
132192013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13220
ce544b5b
SP
13221 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13222 Include mpa.h and declare __MPEXP.
13223 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13224 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13225 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13226 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13227 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13228 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13229 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13230
4cc149fd
SP
13231 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13232 (__slowpow): Use long double EXPL and LOGL functions to
13233 compute POW.
13234 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13235 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13236 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13237 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13238 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13239 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13240
e6ebd4a7
SP
13241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13242 intermediate variable to calculate exponent.
13243 (__sqr): Likewise.
13244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13245 Likewise.
13246 (__sqr): Likewise.
13247
82a9811d
SP
13248 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13249 [!NO__SQR]: Define __sqr.
13250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13251 and NO__SQR. Remove all code except __mul and __sqr. Include
13252 sysdeps/ieee754/dbl-64/mpa.c.
13253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13254
adbb8027
SP
13255 [BZ #12723]
13256 * posix/Makefile (tests): Add tst-pathconf.
13257 * posix/tst-pathconf.c: New test case.
13258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13259 _PC_PIPE_BUF.
13260 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13261
39120df9
PF
132622013-03-06 Patsy Franklin <pfrankli@redhat.com>
13263
13264 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13265
67525cb8
AJ
132662013-03-06 Andreas Jaeger <aj@suse.de>
13267
664a9ce4
AJ
13268 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13269 definition via __MAP_ANONYMOUS.
13270
8e39047d
AJ
13271 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13272 it's not part of Linux headers.
13273
67525cb8
AJ
13274 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13275 (MAP_HUGE_MASK): Define.
13276
13277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13278 Define.
13279 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13281 Define.
13282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13283 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13284 Define.
13285 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13287 Define.
13288 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13289
13290 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13291 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13292 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13293 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13294 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13295 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13296
13297 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13298 Handle f2fs.
13299
13300 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13301 Handle f2fs and efivarfs.
13302
13303 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13304 f2fs.
13305
13306 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13307 (EFIVARFS_MAGIC): Add.
13308 (F2FS_LINK_MAX): Add.
13309
e1b42695
PP
133102013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13311
13312 * stdio-common/vfprintf.c: Replace __builtin_expect with
13313 __glibc_unlikely.
13314
2d67d91a
JM
133152013-03-06 Joseph Myers <joseph@codesourcery.com>
13316
13317 [BZ #13550]
13318 * sysdeps/generic/bp-sym.h: Remove file.
13319 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13320 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13321 <bp-sym.h> and <bp-asm.h>.
13322 (__longjmp): Don't use BP_SYM.
13323 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13324 and <bp-asm.h>.
13325 (memcpy): Don't use BP_SYM.
13326 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13327 <bp-sym.h> and <bp-asm.h>.
13328 (memcpy): Don't use BP_SYM.
13329 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13330 <bp-asm.h>.
13331 (memcpy): Don't use BP_SYM.
13332 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13333 <bp-asm.h>.
13334 (memset): Don't use BP_SYM.
13335 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13336 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13337 (__bzero): Don't use BP_SYM.
13338 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13339 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13340 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13341 <bp-sym.h> and <bp-asm.h>.
13342 (memcmp): Don't use BP_SYM. Remove comment about bounded
13343 pointers.
13344 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13345 <bp-sym.h> and <bp-asm.h>.
13346 (memcpy): Don't use BP_SYM.
13347 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13348 <bp-sym.h> and <bp-asm.h>.
13349 (memset): Don't use BP_SYM.
13350 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13351 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13352 (__bzero): Don't use BP_SYM.
13353 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13354 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13355 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13356 <bp-sym.h> and <bp-asm.h>.
13357 (strncmp): Don't use BP_SYM. Remove comment about bounded
13358 pointers.
13359 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13360 <bp-sym.h> and <bp-asm.h>.
13361 (memcpy): Don't use BP_SYM.
13362 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13363 <bp-sym.h> and <bp-asm.h>.
13364 (memset): Don't use BP_SYM.
13365 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13366 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13367 (__bzero): Don't use BP_SYM.
13368 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13369 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13370 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13371 <bp-sym.h> and <bp-asm.h>.
13372 (__memchr): Don't use BP_SYM.
13373 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13374 <bp-sym.h> and <bp-asm.h>.
13375 (memcmp): Don't use BP_SYM. Remove comment about bounded
13376 pointers.
13377 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13378 <bp-sym.h> and <bp-asm.h>.
13379 (memcpy): Don't use BP_SYM.
13380 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13381 <bp-sym.h> and <bp-asm.h>.
13382 (__mempcpy): Don't use BP_SYM.
13383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13384 <bp-sym.h> and <bp-asm.h>.
13385 (__memrchr): Don't use BP_SYM.
13386 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13387 <bp-sym.h> and <bp-asm.h>.
13388 (memset): Don't use BP_SYM.
13389 (__bzero): Likewise.
13390 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13391 <bp-sym.h> and <bp-asm.h>.
13392 (__rawmemchr): Don't use BP_SYM.
13393 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13394 <bp-sym.h> and <bp-asm.h>.
13395 (__STRCMP): Don't use BP_SYM.
13396 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13397 <bp-sym.h> and <bp-asm.h>.
13398 (strchr): Don't use BP_SYM.
13399 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13400 <bp-sym.h> and <bp-asm.h>.
13401 (__strchrnul): Don't use BP_SYM.
13402 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13403 <bp-sym.h> and <bp-asm.h>.
13404 (strlen): Don't use BP_SYM.
13405 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13406 <bp-sym.h> and <bp-asm.h>.
13407 (strncmp): Don't use BP_SYM. Remove comment about bounded
13408 pointers.
13409 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13410 <bp-sym.h> and <bp-asm.h>.
13411 (__strnlen): Don't use BP_SYM.
13412 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13413 <bp-sym.h> and <bp-asm.h>.
13414 (__GI__setjmp): Don't use BP_SYM.
13415 (_setjmp): Likewise.
13416 (__sigsetjmp): Likewise.
13417 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13418 (L(start_addresses)): Don't use BP_SYM.
13419 (_start): Likewise.
13420 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13421 <bp-asm.h>.
13422 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13423 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13424 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13425 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13426 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13427 <bp-asm.h>.
13428 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13429 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13430 about bounded pointers.
13431 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13432 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13433 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13434 <bp-asm.h>.
13435 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13436 about bounded pointers. Remove GKM FIXME comments.
13437 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13438 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13439 <bp-asm.h>.
13440 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13441 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13442 Remove GKM FIXME comments.
13443 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13444 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13445 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13446 <bp-asm.h>.
13447 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13448 about bounded pointers. Remove GKM FIXME comment.
13449 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13450 and <bp-asm.h>.
13451 (strncmp): Don't use BP_SYM. Remove comment about bounded
13452 pointers.
13453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13454 <bp-sym.h> and <bp-asm.h>.
13455 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13457 <bp-sym.h> and <bp-asm.h>.
13458 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13459 comment.
13460
cdcf361f
PP
134612013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13462
13463 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13464 call free(NULL).
13465
3c4a2b15
DM
134662013-03-05 David S. Miller <davem@davemloft.net>
13467
13468 * po/es.po: Update from translation team.
13469
cdcf361f 134702013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13471
13472 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13473 <bits/mman-linux.h>.
13474 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13475 is fine.
13476 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13477 <bits/mman-linux.h> to end of file.
13478 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13479 is fine.
13480 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13481 <bits/mman-linux.h> to end of file.
13482 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13483 is fine.
13484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13485 <bits/mman-linux.h> to end of file.
13486
13487 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13488 (MCL_CURRENT, MCL_FUTURE): Define here.
13489
5f67c04f
AK
134902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13491
8a4473cc 13492 [BZ #15232]
5f67c04f
AK
13493 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13494 attribute_hidden.
13495 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13496
c3e94a95
AK
134972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13498
13499 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13500 fourth parameter needed for rt_sigprocmask syscall.
13501 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13502 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13503 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13504 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13505 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13506 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13507
cfb6382a
JM
135082013-03-04 Joseph Myers <joseph@codesourcery.com>
13509
13510 [BZ #13550]
13511 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13512 comment about bounded pointers.
13513 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13514 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13515
539d8e01
AJ
135162013-03-04 Andreas Jaeger <aj@suse.de>
13517
13518 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13519 common definitions.
13520
13521 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13522 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13523 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13524 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13525 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13526 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13527
2e167a70 135282013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13529
13530 [BZ #15055]
13531 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13532 __ieee754_sqrl instead of __sqrl.
13533
68508633
JM
135342013-03-01 Joseph Myers <joseph@codesourcery.com>
13535
13536 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13537 * sysdeps/powerpc/fpu_control.h: ... here.
13538 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13539 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13540 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13541 * sysdeps/powerpc/bits/mathinline.h: ... here.
13542
7775448e
RM
135432013-03-01 Roland McGrath <roland@hack.frob.com>
13544
13545 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13546 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13547 to just [NEED_DL_SYSINFO_DSO].
13548 * elf/dl-support.c: Likewise.
13549 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13550 * elf/rtld.c (dl_main): Likewise.
13551 * elf/setup-vdso.h (setup_vdso): Likewise.
13552 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13553 * sysdeps/unix/sysv/linux/dl-sysdep.c
13554 (_dl_discover_osversion): Likewise.
13555
4e9b5995
CD
135562013-03-01 Carlos O'Donell <carlos@redhat.com>
13557
13558 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13559 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13560
e23872c8
SP
135612013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13562
e5c74c63
SP
13563 * NEWS: Mention libm performance improvements and non-x86 PI
13564 futex support.
13565
e23872c8
SP
13566 * csu/libc-start.c (__pthread_initialize_minimal): Change
13567 function arguments.
13568 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13569
b5510883
JM
135702013-02-28 Joseph Myers <joseph@codesourcery.com>
13571
13572 [BZ #13550]
13573 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13574 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13575 <bp-sym.h> and <bp-asm.h>.
13576 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13577 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13578 and <bp-asm.h>.
13579 (memcpy): Don't use BP_SYM.
13580 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13581 <bp-asm.h>.
13582 (__mpn_add_n): Don't use BP_SYM.
13583 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13584 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13585 and <bp-asm.h>.
13586 (__mpn_addmul_1): Don't use BP_SYM.
13587 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13588 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13589 <bp-sym.h>.
13590 (_setjmp): Don't use BP_SYM.
13591 (__novmx_setjmp): Likewise.
13592 (__GI__setjmp): Likewise.
13593 (__vmx_setjmp): Likewise.
13594 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13595 <bp-sym.h>.
13596 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13597 (__bzero): Don't use BP_SYM.
13598 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13599 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13600 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13601 <bp-sym.h> and <bp-asm.h>.
13602 (memcpy): Don't use BP_SYM.
13603 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13604 <bp-sym.h> and <bp-asm.h>.
13605 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13606 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13607 <bp-sym.h> and <bp-asm.h>.
13608 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13609 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13610 <bp-asm.h>.
13611 (__mpn_lshift): Don't use BP_SYM.
13612 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13613 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13614 <bp-asm.h>.
13615 (memset): Don't use BP_SYM.
13616 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13617 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13618 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13619 <bp-asm.h>.
13620 (__mpn_mul_1): Don't use BP_SYM.
13621 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13622 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13623 <bp-sym.h> and <bp-asm.h>.
13624 (memcmp): Don't use BP_SYM.
13625 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13626 <bp-sym.h> and <bp-asm.h>.
13627 (memcpy): Don't use BP_SYM.
13628 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13629 <bp-sym.h> and <bp-asm.h>.
13630 (memset): Don't use BP_SYM.
13631 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13632 <bp-sym.h> and <bp-asm.h>.
13633 (strncmp): Don't use BP_SYM.
13634 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13635 <bp-sym.h> and <bp-asm.h>.
13636 (memcpy): Don't use BP_SYM.
13637 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13638 <bp-sym.h> and <bp-asm.h>.
13639 (memset): Don't use BP_SYM.
13640 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13641 <bp-sym.h> and <bp-asm.h>.
13642 (__memchr): Don't use BP_SYM.
13643 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13644 <bp-sym.h> and <bp-asm.h>.
13645 (memcmp): Don't use BP_SYM.
13646 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13647 <bp-sym.h> and <bp-asm.h>.
13648 (memcpy): Don't use BP_SYM.
13649 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13650 <bp-sym.h> and <bp-asm.h>.
13651 (__mempcpy): Don't use BP_SYM.
13652 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13653 <bp-sym.h> and <bp-asm.h>.
13654 (__memrchr): Don't use BP_SYM.
13655 * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
13659 <bp-sym.h> and <bp-asm.h>.
13660 (__rawmemchr): Don't use BP_SYM.
13661 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13662 <bp-sym.h> and <bp-asm.h>.
13663 (__STRCMP): Don't use BP_SYM.
13664 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13665 <bp-sym.h> and <bp-asm.h>.
13666 (strchr): Don't use BP_SYM.
13667 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13668 <bp-sym.h> and <bp-asm.h>.
13669 (__strchrnul): Don't use BP_SYM.
13670 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13671 <bp-sym.h> and <bp-asm.h>.
13672 (strlen): Don't use BP_SYM.
13673 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13674 <bp-sym.h> and <bp-asm.h>.
13675 (strncmp): Don't use BP_SYM.
13676 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13677 <bp-sym.h> and <bp-asm.h>.
13678 (__strnlen): Don't use BP_SYM.
13679 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13680 <bp-asm.h>.
13681 (__mpn_rshift): Don't use BP_SYM.
13682 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13683 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13684 <bp-sym.h> and <bp-asm.h>.
13685 (__sigsetjmp): Don't use BP_SYM.
13686 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13687 (L(start_addresses)): Don't use BP_SYM.
13688 (_start): Likewise.
13689 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13690 <bp-asm.h>.
13691 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13692 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13693 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13694 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13695 <bp-asm.h>.
13696 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13697 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13698 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13699 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13700 <bp-asm.h>.
13701 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13702 comments.
13703 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13704 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13705 <bp-asm.h>.
13706 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13707 FIXME comments.
13708 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13709 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13710 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13711 <bp-asm.h>.
13712 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13713 comment.
13714 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13715 and <bp-asm.h>.
13716 (strncmp): Don't use BP_SYM,
13717 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13718 <bp-asm.h>.
13719 (__mpn_sub_n): Don't use BP_SYM.
13720 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13721 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13722 and <bp-asm.h>.
13723 (__mpn_submul_1): Don't use BP_SYM.
13724 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13726 <bp-sym.h> and <bp-asm.h>.
13727 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13729 <bp-sym.h> and <bp-asm.h>.
13730 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13731 comment.
13732
8d19fe64
SP
137332013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13734
13735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13736 Use ZK to minimize writes to Z.
13737 (sub_magnitudes): Simplify code a bit.
13738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13739 Use ZK to minimize writes to Z.
13740 (sub_magnitudes): Simplify code a bit.
13741
85bd816a
RM
137422013-02-27 Roland McGrath <roland@hack.frob.com>
13743
13744 * csu/gmon-start.c: Add special exception to license text.
13745
b5977bf2
RH
137462013-02-27 Richard Henderson <rth@redhat.com>
13747
13748 * scripts/config.guess: Update from config.git.
13749 * scripts/config.sub: Likewise.
13750
11d6e2f2
SP
137512013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13752
09c14ed2
SP
13753 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13754
a688864e
SP
13755 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13756
6295157a
SP
13757 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13758
b8de2202
SP
13759 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13760
11d6e2f2
SP
13761 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13762
7e80ddb8
RM
137632013-02-26 Roland McGrath <roland@hack.frob.com>
13764
13765 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13766 [$(build-shared = yes].
7e80ddb8 13767
7da6d9ed
SP
137682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13769
45f05884
SP
13770 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13771 (__mul): Reduce iterations for calculating mantissa.
13772
2236d359
SP
13773 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13774 MPTWO.
13775 (__mpranred): Likewise.
13776
7da6d9ed
SP
13777 [BZ #15160]
13778 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13779 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13780
b7688c42
PE
137812013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13782
13783 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13784 Define __attribute__.
13785
53a5c423
SP
137862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13787
13788 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13789 unused.
13790 * posix/regex_internal.h (__attribute): Remove.
13791 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13792 (re_string_context_at): Likewise.
13793 (bitset_not): Use __attribute__ and mark function as possibly
13794 unused.
13795 (bitset_merge): Likewise.
13796 (bitset_mask): Likewise.
13797 (re_string_char_size_at): Likewise.
13798 (re_string_wchar_at): Likewise.
13799 (re_string_elem_size_at): Likewise.
13800
60f5a8b5
SP
138012013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13802
2a983a2e
SP
13803 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13804 code.
13805 (cc32): Likewise.
13806
e69804d1
SP
13807 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13808 (__acr): Likewise.
13809 (__cpy): Likewise.
13810 (norm): Likewise.
13811 (denorm): Likewise.
13812 (__dbl_mp): Likewise.
13813 (add_magnitudes): Likewise.
13814 (sub_magnitudes): Likewise.
13815 (__mul): Likewise.
13816 (__inv): Likewise.
13817
2f22a1e8
SP
13818 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13819 style.
13820
8930ddc7
SP
13821 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13822 style.
13823
dc60cb11
SP
13824 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13825 code.
13826
60f5a8b5
SP
13827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13828 up changes with default code.
13829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13830 Likewise.
13831
b4d1fd33
AM
138322013-02-24 Allan McRae <allan@archlinux.org>
13833
faf6f8bc
AM
13834 * manual/socket.texi (The Internet Namespace): Order menu items
13835 to match that in the file.
13836
b4d1fd33
AM
13837 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13838 node listing of the info page menu.
13839
2366713d
JM
138402013-02-21 Joseph Myers <joseph@codesourcery.com>
13841
13842 [BZ #13550]
13843 * sysdeps/i386/bp-asm.h: Remove file.
13844 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13845 (PARMS): Do not use macros from bp-asm.h.
13846 (S1): Likewise.
13847 (S2): Likewise.
13848 (SIZE): Likewise.
13849 (__mpn_add_n): Do not use BP_SYM
13850 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13851 "bp-asm.h".
13852 (PARMS): Do not use macros from bp-asm.h.
13853 (S1): Likewise.
13854 (SIZE): Likewise.
13855 (__mpn_addmul_1): Do not use BP_SYM
13856 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13857 "bp-asm.h".
13858 (PARMS): Do not use macros from bp-asm.h.
13859 (SIGMSK): Likewise.
13860 (_setjmp): Likewise. Do not use BP_SYM.
13861 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13862 "bp-asm.h".
13863 (PARMS): Do not use macros from bp-asm.h.
13864 (SIGMSK): Likewise.
13865 (setjmp): Likewise. Do not use BP_SYM.
13866 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13867 "bp-asm.h".
13868 (PARMS): Do not use macros from bp-asm.h.
13869 (__frexp): Do not use BP_SYM.
13870 (frexp): Likewise.
13871 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13872 "bp-asm.h".
13873 (PARMS): Do not use macros from bp-asm.h.
13874 (__frexpf): Do not use BP_SYM.
13875 (frexpf): Likewise.
13876 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13877 "bp-asm.h".
13878 (PARMS): Do not use macros from bp-asm.h.
13879 (__frexpl): Do not use BP_SYM.
13880 (frexpl): Likewise.
13881 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13882 "bp-asm.h".
13883 (PARMS): Do not use macros from bp-asm.h.
13884 (__remquo): Do not use BP_SYM.
13885 (remquo): Likewise.
13886 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13887 "bp-asm.h".
13888 (PARMS): Do not use macros from bp-asm.h.
13889 (__remquof): Do not use BP_SYM.
13890 (remquof): Likewise.
13891 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13892 "bp-asm.h".
13893 (PARMS): Do not use macros from bp-asm.h.
13894 (__remquol): Do not use BP_SYM.
13895 (remquol): Likewise.
13896 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13897 "bp-asm.h".
13898 (PARMS): Do not use macros from bp-asm.h.
13899 (DEST): Likewise.
13900 (SRC): Likewise.
13901 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13902 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13903 "bp-asm.h".
13904 (PARMS): Do not use macros from bp-asm.h.
13905 (strlen): Do not use BP_SYM.
13906 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13907 "bp-asm.h".
13908 (PARMS): Do not use macros from bp-asm.h.
13909 (S1): Likewise.
13910 (S2): Likewise.
13911 (SIZE): Likewise.
13912 (__mpn_add_n): Do not use BP_SYM.
13913 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13914 "bp-asm.h".
13915 (PARMS): Do not use macros from bp-asm.h.
13916 (S1): Likewise.
13917 (SIZE): Likewise.
13918 (__mpn_addmul_1): Do not use BP_SYM.
13919 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13920 weak_alias.
13921 (bzero): Likewise.
13922 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13923 "bp-asm.h".
13924 (PARMS): Do not use macros from bp-asm.h.
13925 (S): Likewise.
13926 (SIZE): Likewise.
13927 (__mpn_lshift): Do not use BP_SYM.
13928 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13929 "bp-asm.h".
13930 (PARMS): Do not use macros from bp-asm.h.
13931 (DEST): Likewise.
13932 (SRC): Likewise.
13933 (LEN): Likewise.
13934 (memcpy): Likewise. Do not use BP_SYM.
13935 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13936 libc_hidden_def and weak_alias.
13937 (mempcpy): Do not use BP_SYM in weak_alias.
13938 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13939 "bp-asm.h".
13940 (PARMS): Do not use macros from bp-asm.h.
13941 (DEST): Likewise.
13942 (LEN): Likewise.
13943 [!BZERO_P] (CHR): Likewise.
13944 (memset): Likewise. Do not use BP_SYM.
13945 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13946 "bp-asm.h".
13947 (PARMS): Do not use macros from bp-asm.h.
13948 (S1): Likewise.
13949 (SIZE): Likewise.
13950 (__mpn_mul_1): Do not use BP_SYM.
13951 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13952 "bp-asm.h".
13953 (PARMS): Do not use macros from bp-asm.h.
13954 (S): Likewise.
13955 (SIZE): Likewise.
13956 (__mpn_rshift): Do not use BP_SYM.
13957 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13958 "bp-asm.h".
13959 (PARMS): Do not use macros from bp-asm.h.
13960 (STR): Likewise.
13961 (CHR): Likewise.
13962 (strchr): Likewise. Do not use BP_SYM.
13963 (index): Do not use BP_SYM in weak_alias.
13964 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13965 "bp-asm.h".
13966 (PARMS): Do not use macros from bp-asm.h.
13967 (DEST): Likewise.
13968 (SRC): Likewise.
13969 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13970 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13971 "bp-asm.h".
13972 (PARMS): Do not use macros from bp-asm.h.
13973 (strlen): Do not use BP_SYM.
13974 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13975 "bp-asm.h".
13976 (PARMS): Do not use macros from bp-asm.h.
13977 (S1): Likewise.
13978 (S2): Likewise.
13979 (SIZE): Likewise.
13980 (__mpn_sub_n): Do not use BP_SYM.
13981 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13982 "bp-asm.h".
13983 (PARMS): Do not use macros from bp-asm.h.
13984 (S1): Likewise.
13985 (SIZE): Likewise.
13986 (__mpn_submul_1): Do not use BP_SYM.
13987 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13988 "bp-asm.h".
13989 (PARMS): Do not use macros from bp-asm.h.
13990 (S1): Likewise.
13991 (S2): Likewise.
13992 (SIZE): Likewise.
13993 (__mpn_add_n): Do not use BP_SYM.
13994 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13995 weak_alias.
13996 (bzero): Likewise.
13997 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13998 "bp-asm.h".
13999 (PARMS): Do not use macros from bp-asm.h.
14000 (BLK2): Likewise.
14001 (LEN): Likewise.
14002 (memcmp): Do not use BP_SYM.
14003 (bcmp): Do not use BP_SYM in weak_alias.
14004 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14005 "bp-asm.h".
14006 (PARMS): Do not use macros from bp-asm.h.
14007 (DEST): Likewise.
14008 (SRC): Likewise.
14009 (LEN): Likewise.
14010 (memcpy): Likewise. Do not use BP_SYM.
14011 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14012 "bp-asm.h".
14013 (PARMS): Do not use macros from bp-asm.h.
14014 (DEST): Likewise.
14015 (SRC): Likewise.
14016 (LEN): Likewise.
14017 (memmove): Likewise. Do not use BP_SYM.
14018 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14019 "bp-asm.h".
14020 (PARMS): Do not use macros from bp-asm.h.
14021 (DEST): Likewise.
14022 (SRC): Likewise.
14023 (LEN): Likewise.
14024 (__mempcpy): Likewise. Do not use BP_SYM.
14025 (mempcpy): Do not use BP_SYM in weak_alias.
14026 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14027 "bp-asm.h".
14028 (PARMS): Do not use macros from bp-asm.h.
14029 (DEST): Likewise.
14030 (LEN): Likewise.
14031 [!BZERO_P] (CHR): Likewise.
14032 (memset): Likewise. Do not use BP_SYM.
14033 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14034 "bp-asm.h".
14035 (PARMS): Do not use macros from bp-asm.h.
14036 (STR2): Likewise.
14037 (strcmp): Do not use BP_SYM.
14038 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14039 "bp-asm.h".
14040 (PARMS): Do not use macros from bp-asm.h.
14041 (STR): Likewise.
14042 (DELIM): Likewise.
14043 [USE_AS_STRTOK_R] (SAVE): Likewise.
14044 (FUNCTION): Likewise. Do not use BP_SYM.
14045 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14046 aliases.
14047 (strtok_r): Likewise.
14048 (__GI___strtok_r): Likewise.
14049 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14050 (PARMS): Do not use macros from bp-asm.h.
14051 (S): Likewise.
14052 (SIZE): Likewise.
14053 (__mpn_lshift): Do not use BP_SYM.
14054 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14055 (PARMS): Do not use macros from bp-asm.h.
14056 (STR): Likewise.
14057 (CHR): Likewise.
14058 (__memchr): Do not use BP_SYM.
14059 (memchr): Do not use BP_SYM in weak_alias.
14060 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14061 (PARMS): Do not use macros from bp-asm.h.
14062 (BLK2): Likewise.
14063 (LEN): Likewise.
14064 (memcmp): Do not use BP_SYM.
14065 (bcmp): Do not use BP_SYM in weak_alias.
14066 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14067 (PARMS): Do not use macros from bp-asm.h.
14068 (S1): Likewise.
14069 (SIZE): Likewise.
14070 (__mpn_mul_1): Do not use BP_SYM.
14071 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14072 "bp-asm.h".
14073 (PARMS): Do not use macros from bp-asm.h.
14074 (STR): Likewise.
14075 (CHR): Likewise.
14076 (__rawmemchr): Do not use BP_SYM.
14077 (rawmemchr): Do not use BP_SYM in weak_alias.
14078 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14079 (PARMS): Do not use macros from bp-asm.h.
14080 (S): Likewise.
14081 (SIZE): Likewise.
14082 (__mpn_rshift): Do not use BP_SYM.
14083 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14084 (PARMS): Do not use macros from bp-asm.h.
14085 (SIGMSK): Likewise.
14086 (__sigsetjmp): Likewise. Do not use BP_SYM.
14087 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14088 (_start): Do not use BP_SYM.
14089 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14090 (PARMS): Do not use macros from bp-asm.h.
14091 (DEST): Likewise.
14092 (SRC): Likewise.
14093 (__stpcpy): Likewise. Do not use BP_SYM.
14094 (stpcpy): Do not use BP_SYM in weak_alias.
14095 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14096 "bp-asm.h".
14097 (PARMS): Do not use macros from bp-asm.h.
14098 (DEST): Likewise.
14099 (SRC): Likewise.
14100 (LEN): Likewise.
14101 (__stpncpy): Likewise. Do not use BP_SYM.
14102 (stpncpy): Do not use BP_SYM in weak_alias.
14103 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14104 (PARMS): Do not use macros from bp-asm.h.
14105 (STR): Likewise.
14106 (CHR): Likewise.
14107 (strchr): Likewise. Do not use BP_SYM.
14108 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14109 "bp-asm.h".
14110 (PARMS): Do not use macros from bp-asm.h.
14111 (STR): Likewise.
14112 (CHR): Likewise.
14113 (__strchrnul): Likewise. Do not use BP_SYM.
14114 (strchrnul): Do not use BP_SYM in weak_alias.
14115 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14116 "bp-asm.h".
14117 (PARMS): Do not use macros from bp-asm.h.
14118 (STOP): Likewise.
14119 (strcspn): Do not use BP_SYM.
14120 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14121 "bp-asm.h".
14122 (PARMS): Do not use macros from bp-asm.h.
14123 (STR): Likewise.
14124 (STOP): Likewise.
14125 (strpbrk): Likewise. Do not use BP_SYM.
14126 * sysdeps/i386/strrchr.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 (strrchr): Likewise. Do not use BP_SYM.
14132 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14133 (PARMS): Do not use macros from bp-asm.h.
14134 (SKIP): Likewise.
14135 (strspn): Do not use BP_SYM.
14136 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14137 (PARMS): Do not use macros from bp-asm.h.
14138 (STR): Likewise.
14139 (DELIM): Likewise.
14140 (SAVE): Likewise.
14141 (FUNCTION): Likewise. Do not use BP_SYM.
14142 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14143 aliases.
14144 (strtok_r): Likewise.
14145 (__GI___strtok_r): Likewise.
14146 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14147 (PARMS): Do not use macros from bp-asm.h.
14148 (S1): Likewise.
14149 (S2): Likewise.
14150 (SIZE): Likewise.
14151 (__mpn_sub_n): Do not use BP_SYM.
14152 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14153 "bp-asm.h".
14154 (PARMS): Do not use macros from bp-asm.h.
14155 (S1): Likewise.
14156 (SIZE): Likewise.
14157 (__mpn_submul_1): Do not use BP_SYM.
14158 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14159 <bp-sym.h>.
14160 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14161 and <bp-asm.h>.
14162 (PARMS): Do not use macros from bp-asm.h.
14163 (FLAGS): Likewise.
14164 (PTID): Likewise.
14165 (TLS): Likewise.
14166 (CTID): Likewise.
14167 (__clone): Do not use BP_SYM.
14168 (clone): Do not use BP_SYM in weak_alias.
14169 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14170 and <bp-asm.h>.
14171 (PARMS): Do not use macros from bp-asm.h.
14172 (LEN): Likewise.
14173 (__mmap64): Do not use BP_SYM.
14174 (mmap64): Do not use BP_SYM in weak_alias.
14175 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14176 <bp-sym.h> and <bp-asm.h>.
14177 (PARMS): Do not use macros from bp-asm.h.
14178 (__posix_fadvise64_l64): Do not use BP_SYM.
14179 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14180 (PARMS): Do not use macros from bp-asm.h.
14181 (NSOPS): Likewise.
14182 (semtimedop): Do not use BP_SYM.
14183 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14184 and <bp-asm.h>.
14185
582a3cff
AM
141862013-02-21 Allan McRae <allan@archlinux.org>
14187
14188 * manual/message.texi (Charset conversion in gettext):
14189 Move @end statement to beginning of line.
14190
bab8a695
SP
141912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14192
80945231
SP
14193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14194 static.
14195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14196 Likewise.
14197
bab8a695
SP
14198 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14199 (denorm): Likewise.
14200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14202
e21d7aa7
AK
142032013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14204
14205 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14206 tail-call to the resolved function if pltexit isn't needed.
14207
4c7a4263
SP
142082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14209
14210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14211 or Y being zero as being unlikely.
14212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14213 Likewise.
14214
41f49342
CD
142152013-02-20 Carlos O'Donell <carlos@redhat.com>
14216
14217 * manual/nss.texi (System Databases and Name Service Switch):
14218 Remove frobnicate @pxref.
14219
50022a93
TS
142202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14221
14222 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14223 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14224
08cbd996
PM
142252013-02-20 Petr Machata <pmachata@redhat.com>
14226
14227 * elf/elf.h (R_ARM_TARGET1): New macro.
14228 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14229 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14230 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14231 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14232 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14233 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14234 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14235 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14236 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14237 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14238 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14239 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14240 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14241 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14242 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14243 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14244 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14245 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14246 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14247 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14248 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14249 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14250 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14251 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14252 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14253 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14254 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14255 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14256 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14257 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14258 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14259 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14260 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14261 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14262 (R_ARM_THM_GOT_BREL12): Likewise.
14263 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14264 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14265 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14266 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14267 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14268 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14269 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14270 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14271 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14272
c7b275d6
TS
142732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14274
14275 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14276 __attribute_used__ to __attribute__ ((unused)).
14277
20cd7fb3
SP
142782013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14279
14280 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14281 powerpc mpa.c.
14282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14283 comment formatting.
14284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14285
92945b52
JM
142862013-02-19 Joseph Myers <joseph@codesourcery.com>
14287
14288 [BZ #13550]
14289 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14290 Remove macro.
14291 (ENTER): Remove both macro definitions.
14292 (LEAVE): Likewise.
14293 (CHECK_BOUNDS_LOW): Likewise.
14294 (CHECK_BOUNDS_HIGH): Likewise.
14295 (CHECK_BOUNDS_BOTH): Likewise.
14296 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14297 (RETURN_BOUNDED_POINTER): Likewise.
14298 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14299 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14300 (POP_ERRNO_LOCATION_RETURN): Likewise.
14301 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14302 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14303 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14304 macros.
14305 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14306 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14307 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14308 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14309 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14310 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14311 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14312 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14313 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14314 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14315 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14316 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14317 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14318 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14319 removed macros.
14320 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14321 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14322 macros.
14323 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14324 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14325 * sysdeps/i386/i586/memset.S (memset): Likewise.
14326 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14327 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14328 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14329 macros.
14330 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14331 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14332 Change uses of L(2) to L(out).
14333 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14334 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14335 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14336 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14337 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14338 removed macros.
14339 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14340 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14341 macros.
14342 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14343 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14344 (RETURN): Do not use macro LEAVE.
14345 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14346 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14347 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14348 * sysdeps/i386/i686/memset.S (memset): Likewise.
14349 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14350 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14351 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14352 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14353 Likewise.
14354 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14355 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14356 L(1_2) and L(1_3) into L(1).
14357 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14358 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14359 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14360 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14361 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14362 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14363 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14364 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14365 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14366 macros.
14367 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14368 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14369 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14370 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14371 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14372 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14373 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14374 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14375 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14376 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14377 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14378 * sysdeps/i386/strspn.S (strspn): Likewise.
14379 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14380 conditional code.
14381 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14382 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14383 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14384 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14385 L(1_3) into L(1_1).
14386 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14387 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14388 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14389 macros.
14390 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14391
2389741a
JJ
143922013-02-19 Jakub Jelinek <jakub@redhat.com>
14393
14394 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14395 macro.
14396
2016b3cd
SP
143972013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14398
e4f22324
SP
14399 * math/atest-exp.c (exp_mpn): Remove ROUND.
14400 * math/atest-exp2.c (exp_mpn): Likewise.
14401 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14402
2016b3cd
SP
14403 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14404 * stdlib/tst-tls-atexit-lib.c: Likewise.
14405 * stdlib/tst-tls-atexit.c: Likewise.
14406
4be9b544
MF
144072013-02-18 Mike Frysinger <vapier@gentoo.org>
14408
14409 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14410 and __attribute_alloc_size__.
14411
2f62b9ee
MF
144122013-02-18 Mike Frysinger <vapier@gentoo.org>
14413
14414 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14415 __attribute_alloc_size__.
14416 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14417 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14418
6ff444c4
MF
144192013-02-18 Mike Frysinger <vapier@gentoo.org>
14420
14421 * include/programs/xmalloc.h: New file.
14422 * catgets/gencat.c: Include it.
14423 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14424 * elf/pldd.c: Likewise.
14425 * iconv/iconv_charmap.c: Likewise.
14426 * iconv/iconvconfig.c: Likewise.
14427 * iconv/strtab.c: Likewise.
14428 * locale/programs/locale.c: Likewise.
14429 * locale/programs/localedef.h: Likewise.
14430 * locale/programs/simple-hash.c: Likewise.
14431 * nscd/nscd.h: Likewise.
14432 * nss/makedb.c: Likewise.
14433 * sysdeps/generic/ldconfig.h: Likewise.
14434
be179c8a
SP
144352013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14436
ba384f6e
SP
14437 * Versions.def: Add GLIBC_2.18.
14438 * include/link.h (struct link_map): New member l_tls_dtor_count.
14439 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14440 (__call_tls_dtors): Likewise.
14441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14442 __cxa_thread_atexit_impl.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14444 Likewise.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14446 Likewise.
14447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14448 Likewise.
14449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14450 Likewise.
14451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14453 Likewise.
14454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14455 Likewise.
14456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14458 Likewise.
14459 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14460 (tests): Add test case tst-tls-atexit.
14461 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14462 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14463 (GLIBC_PRIVATE): Add __call_tls_dtors.
14464 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14465 for libstdc++.
14466 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14467 * stdlib/tst-tls-atexit.c: New test case.
14468 * stdlib/tst-tls-atexit-lib.c: New test case.
14469
ffaa74cf 14470 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14471
be179c8a
SP
14472 * elf/Versions (ld): Add _dl_find_dso_for_object.
14473 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14474 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14475 (dl_open_worker): Use _dl_find_dso_for_object.
14476 * elf/dl-sym.c (do_sym): Likewise.
14477 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14478
f78b5caa
AK
144792013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14480
14481 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14482 Syntactic changes only.
14483 (_dl_runtime_profile): Do a tail-call to the resolved function.
14484
29691210
JM
144852013-02-17 Joseph Myers <joseph@codesourcery.com>
14486
14487 [BZ #13550]
14488 * sysdeps/x86_64/bp-asm.h: Remove file.
14489 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14490 <bp-sym.h> and <bp-asm.h>.
14491 (__clone): Do not use BP_SYM.
14492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14493 <bp-sym.h> and <bp-asm.h>.
14494 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14495 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14496 "bp-asm.h".
14497 (_setjmp): Do not use BP_SYM.
14498 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14499 "bp-asm.h".
14500 (setjmp): Do not use BP_SYM.
14501 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14502 libc_hidden_def.
14503 (mempcpy): Do not use BP_SYM in weak_alias.
14504 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14505 "bp-asm.h".
14506 (strchr): Do not use BP_SYM.
14507 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14508 "bp-asm.h".
14509 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14510 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14511 (_start): Do not use BP_SYM.
14512 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14513 "bp-asm.h".
14514 (strcat): Do not use BP_SYM.
14515 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14516 "bp-asm.h".
14517 (STRCMP): Do not use BP_SYM.
14518 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14519 "bp-asm.h".
14520 (STRCPY): Do not use BP_SYM.
14521 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14522 "bp-asm.h".
14523 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14524 "bp-asm.h".
14525 (FUNCTION): Do not use BP_SYM.
14526 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14527 weak_alias.
14528 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14529
f238fd19
AJ
145302013-02-17 Andreas Jaeger <aj@suse.de>
14531
14532 * time/Versions: Sort entries.
14533 * string/Versions: Likewise.
14534 * resolv/Versions: Likewise.
14535 * posix/Versions: Likewise.
14536 * iconv/Versions: Likewise.
14537 * elf/Versions: Likewise.
14538 * wcsmbs/Versions: Likewise.
14539
bd07f23c 145402013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14541
22af19f9
SP
14542 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14543 loop termination condition.
14544
4709fe76
SP
14545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14546 variable to calculate EZ.
14547 (__sqr): Likewise.
2d0e0f29
SP
14548
14549 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14550 the lower precision input.
14551
daaa7713
JM
145522013-02-15 Joseph Myers <joseph@codesourcery.com>
14553
14554 [BZ #13550]
14555 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14556 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14557 (run-via-rtld-prefix): Do not handle %-bp tests.
14558 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14559 (all-object-suffixes): Remove .ob.
14560 (bppfx): Remove variable.
14561 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14562 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14563 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14564 [$(build-bounded) = yes] (libtype.ob): Likewise.
14565 * Makerules (elide-routines.ob): Remove variable.
14566 (do-tests-clean): Do not handle *-bp.out.
14567 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14568 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14569 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14570 (tests): Do not include $(tests-bp.out).
14571 (xtests): Do not include $(xtests-bp.out).
14572 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14573 [$(build-bounded) = yes] ($(addprefix
14574 $(objpfx),$(binaries-bounded))): Remove rule.
14575 ($(objpfx)%-bp.out): Remove rule.
14576 * config.make.in (build-bounded): Remove variable.
14577 * crypt/Makefile [$(build-bounded) = yes]
14578 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14579 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14580 append to variable.
14581 [$(build-bounded) = yes] (install-lib): Likewise.
14582 [$(build-bounded) = yes] (generated): Likewise.
14583 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14584 Remove rule.
14585 * intl/Makefile [$(build-bounded) = yes]
14586 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14587 * math/Makefile [$(build-bounded) = yes]
14588 ($(tests:%=$(objpfx)%-bp): Likewise.
14589 * misc/Makefile [$(build-bounded) = yes]
14590 ($(objpfx)tst-tsearch-bp): Likewise.
14591 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14592 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14593 Remove dependency.
14594 * string/Makefile (o-objects.ob): Remove variable.
14595 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14596 (CFLAGS-.ob): Remove variable.
14597 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14598 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14599 both definitions of variable.
14600 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14601 (ASFLAGS-.ob): Remove variable.
14602
e97ed6dd
JM
146032013-02-14 Joseph Myers <joseph@codesourcery.com>
14604
2bdd4ca6
JM
14605 [BZ #13550]
14606 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14607 Remove __BOUNDED_POINTERS__ from condition.
14608 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14609 * string/bits/string2.h [!__NO_STRING_INLINES &&
14610 !__BOUNDED_POINTERS__]: Likewise.
14611 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14612 Likewise.
14613 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14614 Remove conditional code.
14615 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14616 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14617 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14618 condition.
14619
e97ed6dd
JM
14620 [BZ #13550]
14621 * csu/libc-start.c: Do not include <bp-sym.h>.
14622 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14623 * elf/dl-open.c: Do not include <bp-sym.h>.
14624 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14625 * math/fegetenv.c: Do not include <bp-sym.h>.
14626 (fegetenv): Do not use BP_SYM in versioned symbols.
14627 * nptl/sysdeps/pthread/bits/libc-lockP.h
14628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14629 <bp-sym.h>.
14630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14631 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14633 (__pthread_mutex_destroy): Likewise.
14634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14635 (__pthread_mutex_lock): Likewise.
14636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14637 (__pthread_mutex_trylock): Likewise.
14638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14639 (__pthread_mutex_unlock): Likewise.
14640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14641 (__pthread_mutexattr_init): Likewise.
14642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14643 (__pthread_mutexattr_destroy): Likewise.
14644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14645 (__pthread_mutexattr_settype): Likewise.
14646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14647 (__pthread_rwlock_init): Likewise.
14648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14649 (__pthread_rwlock_destroy): Likewise.
14650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14651 (__pthread_rwlock_rdlock): Likewise.
14652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14653 (__pthread_rwlock_tryrdlock): Likewise.
14654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14655 (__pthread_rwlock_wrlock): Likewise.
14656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14657 (__pthread_rwlock_trywrlock): Likewise.
14658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14659 (__pthread_rwlock_unlock): Likewise.
14660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14661 (__pthread_key_create): Likewise.
14662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14663 (__pthread_setspecific): Likewise.
14664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14665 (__pthread_getspecific): Likewise.
14666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14667 Likewise.
14668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14669 (_pthread_cleanup_push_defer): Likewise.
14670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14671 (_pthread_cleanup_pop_restore): Likewise.
14672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14673 (pthread_setcancelstate): Likewise.
14674 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14675 <bp-sym.h>.
14676 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14677 (memchr): Do not use BP_SYM in weak_alias.
14678 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14679 (fegetenv): Do not use BP_SYM in versioned symbols.
14680 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14681 (fesetenv): Do not use BP_SYM in versioned symbols.
14682 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14683 (feupdateenv): Do not use BP_SYM in versioned symbols.
14684 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14685 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14686 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14687 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14688 (open64): Do not use BP_SYM in weak_alias.
14689 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14690 (fegetenv): Do not use BP_SYM in versioned symbols.
14691 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14692 (fesetenv): Do not use BP_SYM in versioned symbols.
14693 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14694 (feupdateenv): Do not use BP_SYM in versioned symbols.
14695 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14696 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14697 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14698 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14699 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14700 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14701 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14702 <bp-sym.h>.
14703 (__libc_start_main): Do not use BP_SYM.
14704
d6752ccd
SP
147052013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14706
cb57ce60
SP
14707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14708 redundant return line.
14709 (norm): Likewise.
14710 (denorm): Likewise.
14711 (dbl_mp): Likewise.
14712 (sub_magnitudes): Likewise.
14713 (__add): Likewise.
14714 (__sub): Likewise.
14715 (__mul): Likewise.
14716 (__inv): Likewise.
14717 (__dvd): Likewise.
14718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14719 (norm): Likewise.
14720 (denorm): Likewise.
14721 (dbl_mp): Likewise.
14722 (sub_magnitudes): Likewise.
14723 (__add): Likewise.
14724 (__sub): Likewise.
14725 (__mul): Likewise.
14726 (__inv): Likewise.
14727 (__dvd): Likewise.
14728
f414520d
SP
14729 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14730 instead of __mul.
14731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14732 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14733 (cc32): Likewise.
14734
d6752ccd
SP
14735 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14736 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14737 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14738 of __mul for squares.
14739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14740 function
14741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14742 Likewise.
14743 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14744 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14745
70d9946a
JM
147462013-02-13 Joseph Myers <joseph@codesourcery.com>
14747
14748 [BZ #13550]
14749 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14750 code.
14751 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14752 prototype or function definition. Rename ubp_* variables and
14753 parameters. Remove argv definitions conditional on
14754 [__BOUNDED_POINTERS__].
14755 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14756 * elf/dl-runtime.c (_dl_fixup): Likewise.
14757 * include/set-hooks.h (RUN_HOOK): Likewise.
14758 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14759 definition.
14760 * string/strcpy.c (strcpy): Do not use __unbounded.
14761 * sysdeps/generic/frame.h (struct layout): Likewise.
14762 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14763 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14764 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14765 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14766 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14767 (__backtrace): Likewise.
14768 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14769 use __ptrvalue.
14770 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14771 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14772 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14773 Likewise.
14774 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14775 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14776 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14777 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14778 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14779 Do not use __unbounded.
14780 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14781 Rename __unboundedrlimits parameter to rlimits in prototype.
14782 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14783 Do not use __unbounded.
14784 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14785 not use __ptrvalue.
14786 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14787 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14788 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14789 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14790 __ptrvalue or __unbounded.
14791 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14792 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14793 use __unbounded.
14794 (__new_msgctl): Do not use __ptrvalue.
14795 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14796 __unbounded.
14797 (__libc_msgrcv): Do not use __ptrvalue.
14798 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14799 startup_info): Do not use __unbounded.
14800 (__libc_start_main): Likewise. Rename ubp_* variables and
14801 parameters. Remove argv definitions conditional on
14802 [__BOUNDED_POINTERS__].
14803 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14804 __ptrvalue.
14805 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14806 use __unbounded.
14807 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14808 or __ptrvalue.
14809 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14810 use __unbounded.
14811 (__new_shmctl): Do not use __ptrvalue.
14812 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14813 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14814 Likewise.
14815 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14816 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14817 (__libc_sigaction): Likewise.
14818 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14819 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14820 Likewise.
14821 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14822
cc7834d6
OB
148232013-02-13 Ondřej Bílka <neleai@seznam.cz>
14824
ffb1ec7b 14825 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
14826
14827 * string/mempcpy.c: Implement by calling memcpy.
14828
bdf02814
SP
148292013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14830
c2af38aa
SP
14831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14832
4e92d59e
SP
14833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14834 evaluation.
14835
909279a5
SP
14836 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14837 values in the mantissa.
14838
bdf02814
SP
14839 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14840 minimize writes to Z.
14841 (sub_magnitudes): Simplify code a bit.
14842
cd525923
RM
148432013-02-12 Roland McGrath <roland@hack.frob.com>
14844
14845 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14846 from the message. The linker prefixes all warnings with that already.
14847
7e2f0d2d
AS
148482013-02-12 Andreas Schwab <schwab@suse.de>
14849
a445af0b
AS
14850 [BZ #15078]
14851 * posix/regexec.c (extend_buffers): Add parameter min_len.
14852 (check_matching): Pass minimum needed length.
14853 (clean_state_log_if_needed): Likewise.
14854 (get_subexp): Likewise.
14855 * posix/Makefile (tests): Add bug-regex34.
14856 (bug-regex34-ENV): Define.
14857 * posix/bug-regex34.c: New file.
14858
7e2f0d2d
AS
14859 [BZ #11561]
14860 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14861 elements compare against the byte sequence of it, not its name.
14862 * posix/Makefile (tests): Add bug-regex35.
14863 (bug-regex35-ENV): Define.
14864 * posix/bug-regex35.c: New file.
14865
a175b684
TV
148662013-02-11 Tom de Vries <tom@codesourcery.com>
14867
14868 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14869 comment.
14870 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14871 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14872 (CHECK_EOL): Add undef.
14873
310998fe 148742013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
14875
14876 * bits/stdlib-bsearch.h: New file.
14877 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 14878 * stdlib/stdlib.h: Likewise.
41eda41d 14879
8ded91fb
RM
148802013-02-11 Roland McGrath <roland@hack.frob.com>
14881
14882 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14883 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14884 declaration.
14885 * manual/search.texi (Array Search Function): Add missing const in
14886 lfind prototype.
14887 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14888 declaration to use rlim_t.
14889 (Basic Scheduling Functions): Remove erroneous const from
14890 sched_getparam prototype. Remove erroneous * from
14891 sched_get_priority_max and sched_get_priority_min prototypes.
14892 (Resource Usage): Fix summary @comment on vtimes to refer to
14893 sys/vtimes.h rather than vtimes.h.
14894 Add missing *s in vtimes prototype.
14895 (Limits on Resources): Fix ulimit prototype to return long int.
14896 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14897 prototypes to use long int rather than double.
14898 (BSD Random): Fix initstate and setstate to use char *, not void *.
14899 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14900 prototype to make second argument 'struct aiocb64 *const[]'.
14901 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14902 (Status of AIO Operations): Remove erroneous const in aio_return and
14903 aio_return64 prototypes.
14904 (Synchronizing I/O): Fix sync prototype to return void.
14905 * manual/startup.texi (Suboptions): Remove an erroneous const in
14906 getsubopt prototype.
14907 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14908 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14909 use size_t rather than int.
14910 (Scanning All Users): Likewise for getpwent_r.
14911 (Setting Groups): Add missing const to setgroups prototype.
14912 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14913 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14914 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14915 'const void *' rather than 'const char *'.
14916 (Host Address Functions): Likewise for inet_ntop.
14917 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14918 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14919 ssize_t for return value.
14920 (Sending Data): Likewise for send, sendto, sendmsg.
14921 (Socket Option Functions): Add a missing const in setsockopt prototype.
14922 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14923 use wchar_t for the argument.
14924 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14925 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14926 take no arguments.
14927 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14928 double/float/long double for second argument.
14929 Fix return types of significand, significandf, significandl.
14930 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14931 argument in fchmod prototype.
14932 (File Owner): Use uid_t and gid_t in fchown prototype.
14933 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14934 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14935 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14936 use 'const struct dirent **' as argument types to CMP function pointer
14937 argument.
14938 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14939 (File Times): Fix summary magic @comment for struct utimbuf and utime
14940 to refer to utime.h, not time.h.
14941 * manual/string.texi (Argz Functions): Add missing const in
14942 argz_extract and argz_next prototypes.
14943 (Finding Tokens in a String): Likewise for basename.
14944 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14945 (Copying and Concatenation): Fix typo in wmemmove prototype.
14946 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14947 (Signal Stack): Remove erroneous const in sigstack prototype.
14948 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14949 prototype.
14950 (Simple Calendar Time): Likewise for stime.
14951 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14952 prototype.
14953 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14954 say sys/sysctl.h instead.
14955 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14956 and vsyslog prototypes.
14957
fe77fe6d
TV
149582013-02-11 Tom de Vries <tom@codesourcery.com>
14959
14960 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14961 Remove.
14962
3a09b620
RM
149632013-02-11 Roland McGrath <roland@hack.frob.com>
14964
14965 * misc/sys/mman.h: Fix typo in mremap comment.
14966
550a0b89
RM
149672013-02-08 Roland McGrath <roland@hack.frob.com>
14968
14969 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14970 the '\0' terminator.
14971
a2da1673
JM
149722013-02-08 Joseph Myers <joseph@codesourcery.com>
14973
14974 [BZ #13550]
14975 * debug/segfault.c: Don't include <bp-checks.h>.
14976 * sysdeps/generic/bp-checks.h: Remove file.
14977 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14978 (__GETDENTS): Don't use CHECK_N.
14979 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14980 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14981 (__getgroups): Don't use CHECK_N.
14982 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14983 (setgroups): Don't use CHECK_N.
14984 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14985 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14986 (__libc_msgrcv): Don't use CHECK_N.
14987 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14988 (__libc_msgsnd): Don't use CHECK_N.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14990 <bp-checks.h>.
14991 (__libc_pread): Don't use CHECK_N.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14993 include <bp-checks.h>.
14994 (__libc_pread64): Don't use CHECK_N.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14996 include <bp-checks.h>.
14997 (__libc_pwrite): Don't use CHECK_N.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14999 include <bp-checks.h>.
15000 (__libc_pwrite64): Don't use CHECK_N.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15002 <bp-checks.h>.
15003 (__libc_pread): Don't use CHECK_N.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15005 include <bp-checks.h>.
15006 (__libc_pread64): Don't use CHECK_N.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15008 include <bp-checks.h>.
15009 (__libc_pwrite): Don't use CHECK_N.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15011 include <bp-checks.h>.
15012 (__libc_pwrite64): Don't use CHECK_N.
15013 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15014 (do_pread): Don't use CHECK_N.
15015 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15016 (do_pread64): Don't use CHECK_N.
15017 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15018 (do_pwrite): Don't use CHECK_N.
15019 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15020 (do_pwrite64): Don't use CHECK_N.
15021 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15022 (__libc_readv): Don't use CHECK_N.
15023 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15024 (semop): Don't use CHECK_N.
15025 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15026 <bp-checks.h>.
15027 (semtimedop): Don't use CHECK_N.
15028 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15029 (__libc_pread): Don't use CHECK_N.
15030 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15031 <bp-checks.h>.
15032 (__libc_pread64): Don't use CHECK_N.
15033 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15034 <bp-checks.h>.
15035 (__libc_pwrite): Don't use CHECK_N.
15036 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15037 <bp-checks.h>.
15038 (__libc_pwrite64): Don't use CHECK_N.
15039 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15040 <bp-checks.h>.
15041 (__libc_msgrcv): Don't use CHECK_N.
15042 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15043 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15044 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15045 (__libc_writev): Don't use CHECK_N.
15046
b84660a8
RM
150472013-02-08 Roland McGrath <roland@hack.frob.com>
15048
7f3e75f8
RM
15049 * string/strcpy.c: Removed unused variable.
15050
b84660a8
RM
15051 * Makeconfig (+sysdep-includes): Define with := rather than =.
15052 Use an existing include/ subdir of each sysdeps dir before it.
15053
471514d3
CD
150542013-02-08 Carlos O'Donell <carlos@redhat.com>
15055
15056 * nscd/connection.c (register_traced_file): Comment function.
15057 [HAVE_INOTIFY] (union __inev): Define.
15058 [HAVE_INOTIFY] (inotify_check_files): New function.
15059 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15060 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15061 clear_db_cache.
15062 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15063
b2d3c3be
CD
150642013-02-08 Carlos O'Donell <carlos@redhat.com>
15065
15066 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15067 loaded if not already and that a failure is permanent.
15068
b39949d2
CD
150692013-02-08 Carlos O'Donell <carlos@redhat.com>
15070
ddacd1db 15071 [BZ #15006]
b39949d2
CD
15072 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15073 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15074
b2c9eff4
JM
150752013-02-08 Joseph Myers <joseph@codesourcery.com>
15076
f3aae3f3
JM
15077 [BZ #13550]
15078 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15079 (CHECK_1_NULL_OK): Likewise.
15080 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15081 (__fxstat): Do not use CHECK_1.
15082 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15083 <bp-checks.h>.
15084 (___fxstat64): Do not use CHECK_1.
15085 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15086 <bp-checks.h>.
15087 (__fxstatat): Do not use CHECK_1.
15088 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15089 <bp-checks.h>.
15090 (__fxstatat64): Do not use CHECK_1.
15091 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15092 <bp-checks.h>.
15093 (__fxstat): Do not use CHECK_1.
15094 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15095 <bp-checks.h>.
15096 (__fxstatat): Do not use CHECK_1.
15097 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15098 <bp-checks.h>.
15099 (__getresgid): Do not use CHECK_1.
15100 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15101 <bp-checks.h>.
15102 (__getresuid): Do not use CHECK_1.
15103 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15104 <bp-checks.h>.
15105 (__lxstat): Do not use CHECK_1.
15106 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15107 <bp-checks.h>.
15108 (__old_msgctl): Do not use CHECK_1.
15109 (__new_msgctl): Likewise.
15110 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15111 <bp-checks.h>.
15112 (__new_setrlimit): Do not use CHECK_1.
15113 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15114 <bp-checks.h>.
15115 (__old_shmctl): Do not use CHECK_1.
15116 (__new_shmctl): Likewise.
15117 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15118 <bp-checks.h>.
15119 (__xstat): Do not use CHECK_1.
15120 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15121 (__lxstat): Do not use CHECK_1.
15122 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15123 <bp-checks.h>.
15124 (___lxstat64): Do not use CHECK_1.
15125 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15126 (__old_msgctl): Do not use CHECK_1.
15127 (__new_msgctl): Likewise.
15128 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15129 <bp-checks.h>.
15130 (__gettimeofday): Do not use CHECK_1.
15131 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15132 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15133 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15134 <bp-checks.h>.
15135 (__gettimeofday): Do not use CHECK_1.
15136 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15137 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15138 (__new_shmctl): Do not use CHECK_1.
15139 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15140 <bp-checks.h>.
15141 (do_sigtimedwait): Do not use CHECK_1.
15142 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15143 <bp-checks.h>.
15144 (do_sigwaitinfo): Do not use CHECK_1.
15145 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15146 <bp-checks.h>.
15147 (msgctl): Do not use CHECK_1.
15148 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15149 <bp-checks.h>.
15150 (shmctl): Do not use CHECK_1.
15151 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15152 (ustat): Do not use CHECK_1.
15153 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15154 <bp-checks.h>.
15155 (__fxstat): Do not use CHECK_1.
15156 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15157 <bp-checks.h>.
15158 (__fxstatat): Do not use CHECK_1.
15159 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15160 <bp-checks.h>.
15161 (__lxstat): Do not use CHECK_1.
15162 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15163 <bp-checks.h>.
15164 (__xstat): Do not use CHECK_1.
15165 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15166 (__xstat): Do not use CHECK_1.
15167 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15168 (___xstat64): Do not use CHECK_1.
15169
b2c9eff4
JM
15170 [BZ #13550]
15171 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15172 definitions.
15173 (CHECK_BOUNDS_HIGH): Likewise.
15174 * string/strcpy.c: Do not include <bp-checks.h>.
15175 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15176
f1d70dad
RM
151772013-02-07 Roland McGrath <roland@hack.frob.com>
15178
15179 * nscd/nscd-client.h (__nscd_drop_map_ref):
15180 Add __attribute__ ((unused)).
15181 * nis/nss-nisplus.h (niserr2nss): Likewise.
15182
15183 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15184 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15185
15186 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15187 Remove inline keyword.
15188 * include/rounding-mode.h (round_away): Likewise.
15189 * libio/wfileops.c (adjust_wide_data): Likewise.
15190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15191 (__m128i_strloadu_tolower): Likewise.
15192 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15193 (__m128i_strloadu_tolower): Likewise.
15194 * time/mktime.c (ydhms_diff): Likewise.
15195 * locale/elem-hash.h (elem_hash): Likewise.
15196 * locale/setlocale.c (setdata): Likewise.
15197 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15198 (re_string_wchar_at): Likewise.
15199 (bitset_not, bitset_merge, bitset_mask): Likewise.
15200 [!(__GNUC__ > 3)] (inline): Remove macro.
15201 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15202 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15203 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15204 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15205 * string/memcmp.c (memcmp_bytes): Likewise.
15206 * locale/programs/locarchive.c (compute_hashval): Likewise.
15207 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15208 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15209 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15210 * nss/getent.c (print_rpc, print_protocols): Likewise.
15211 (print_passwd, print_group, print_aliases): Likewise.
15212 * nis/nss-nisplus.h (niserr2nss): Likewise.
15213 * nscd/connections.c (restart_p): Likewise.
15214 Change return type to bool.
15215
eab55bfb
RM
152162013-02-05 Roland McGrath <roland@hack.frob.com>
15217
7bd642f5
RM
15218 * Makeconfig (all-Depend-files): Add existing
15219 $(sorted-subdirs:=/Depend) files.
15220 (all-subdirs): Remove nss.
15221 * sysdeps/unix/inet/Subdirs: Add it here instead.
15222 * hesiod/Depend: New file.
15223
573c29b2
RM
15224 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15225 instead of calling alloca.
15226
b2e25af0
RM
15227 * io/lseek.c (__lseek): Rename to __libc_lseek.
15228 Define __lseek as an alias.
15229
eab55bfb
RM
15230 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15231
9a0d1941
CD
152322013-02-04 Carlos O'Donell <carlos@redhat.com>
15233
15234 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15235 else clause and remove check for non-standard endianness.
15236
b83bbec4
DM
152372013-02-04 David S. Miller <davem@davemloft.net>
15238
15239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15240
6277fdab
JM
152412013-02-04 Joseph Myers <joseph@codesourcery.com>
15242
15243 [BZ #13550]
15244 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15245 (__ubp_memchr): Remove prototype.
15246 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15247 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15248 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15249 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15250 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15251 Remove alias.
15252 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15253 (__ubp_memchr): Likewise.
15254 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15255 (__ubp_memchr): Likewise.
15256 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15257 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15258 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15259 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15260 CHECK_STRING.
15261 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15262 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15263 (__getcwd): Do not use CHECK_STRING.
15264 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15265 <bp-checks.h>.
15266 (__real_chown): Do not use CHECK_STRING.
15267 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15268 <bp-checks.h>.
15269 (fchownat): Do not use CHECK_STRING.
15270 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15271 CHECK_STRING.
15272 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15273 <bp-checks.h>.
15274 (__lchown): Do not use CHECK_STRING.
15275 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15276 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15277 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15278 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15280 include <bp-checks.h>.
15281 (truncate64): Do not use CHECK_STRING.
15282 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15283 <bp-checks.h>.
15284 (__real_chown): Do not use CHECK_STRING.
15285 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15286 <bp-checks.h>.
15287 (__lchown): Do not use CHECK_STRING.
15288 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15289 <bp-checks.h>.
15290 (__chown): Do not use CHECK_STRING.
15291 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15292 <bp-checks.h>.
15293 (truncate64): Do not use CHECK_STRING.
15294 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15295 Likewise.
15296 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15297 (__xmknod): Do not use CHECK_STRING.
15298 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15299 <bp-checks.h>.
15300 (__xmknodat): Do not use CHECK_STRING.
15301 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15302 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15303
903ae060
AS
153042013-02-04 Andreas Schwab <schwab@suse.de>
15305
15306 [BZ #14142]
15307 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15308 * include/netdb.h: Likewise for h_errno.
15309 * elf/tst-stackguard1.c: Include <tls.h>.
15310
542f9466
JK
153112013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15312
15313 * elf/link.h (struct link_map): Extend the l_addr comment.
15314 * include/link.h (struct link_map): Likewise.
15315
e782a927
JM
153162013-02-01 Joseph Myers <joseph@codesourcery.com>
15317
15318 [BZ #13550]
15319 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15320 (BOUNDED_1): Remove macro.
15321 * debug/backtrace.c: Don't include <bp-checks.h>.
15322 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15323 (__backtrace): Likewise.
15324 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15325 <bp-checks.h>.
15326 (__backtrace): Don't use BOUNDED_1.
15327 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15328 <bp-checks.h>.
15329 (__backtrace): Don't use BOUNDED_1.
15330 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15331 (__backtrace): Don't use BOUNDED_1.
15332 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15333 (shmat): Don't use BOUNDED_N.
15334
8cf28c5e
JM
153352013-01-31 Joseph Myers <joseph@codesourcery.com>
15336
3a7ac8a0
JM
15337 [BZ #13550]
15338 * sysdeps/generic/bp-start.h: Remove file.
15339 * csu/libc-start.c: Don't include <bp-start.h>.
15340 (LIBC_START_MAIN): Set up __environ directly instead of using
15341 INIT_ARGV_and_ENVIRON.
15342 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15343 <bp-start.h>.
15344
f3499f95
JM
15345 [BZ #13550]
15346 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15347 definitions.
15348 (CHECK_FCNTL): Likewise.
15349 (CHECK_N_PAGES): Likewise.
15350
32a45bea
JM
15351 [BZ #13550]
15352 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15353 definitions.
15354 (CHECK_SIGSET_NULL_OK): Likewise.
15355 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15356 <bp-checks.h>.
15357 (sigpending): Don't use CHECK_SIGSET.
15358 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15359 <bp-checks.h>.
15360 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15361 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15362 <bp-checks.h>.
15363 (do_sigsuspend): Don't use CHECK_SIGSET.
15364 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15365 use CHECK_SIGSET.
15366 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15367 (do_sigwait): Don't use CHECK_SIGSET.
15368 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15369 use CHECK_SIGSET.
15370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15371 include <bp-checks.h>.
15372 (sigpending): Don't use CHECK_SIGSET.
15373 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15374 include <bp-checks.h>.
15375 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15376 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15377 <bp-checks.h>.
15378 (sigpending): Don't use CHECK_SIGSET.
15379 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15380 <bp-checks.h>.
15381 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15382
2e8a5c8c
JM
15383 [BZ #13550]
15384 * sysdeps/generic/bp-semctl.h: Remove file.
15385 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15386 <bp-checks.h> and <bp-semctl.h>.
15387 (__old_semctl): Don't use CHECK_SEMCTL.
15388 (__new_semctl): Likewise.
15389 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15390 and <bp-semctl.h>.
15391 (__old_semctl): Don't use CHECK_SEMCTL.
15392 (__new_semctl): Likewise.
15393 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15394 <bp-checks.h> and <bp-semctl.h>.
15395 (__old_semctl): Don't use CHECK_SEMCTL.
15396 (__new_semctl): Likewise.
15397 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15398 <bp-checks.h> and <bp-semctl.h>.
15399 (semctl): Don't use CHECK_SEMCTL.
15400
c2d54929
JM
15401 [BZ #13550]
15402 * Makerules (elide-bp-thunks): Remove variable.
15403 (elide-routines.oS): Don't use $(elide-bp-thunks).
15404 (elide-routines.os): Likewise.
15405 (elide-routines.o): Likewise.
15406 (elide-routines.op): Likewise.
15407 (elide-routines.og): Likewise.
15408 (objects): Don't use $(bp-thunks).
15409 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15410 include.
15411 (common-generated): Do not add s-proto-bp.d.
15412 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15413 (int): Likewise.
15414 (typ): Likewise.
15415 Do not generate makefile rules for bounded-pointer thunks.
15416 * sysdeps/generic/bp-thunks.h: Remove file.
15417 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15418 * sysdeps/unix/s-proto-bp.S: Likewise.
15419
8cf28c5e
JM
15420 [BZ #15062]
15421 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15422 parts of result separately when argument is not close to line from
15423 -i to i and one part of argument is small.
15424 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15425 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15426 * math/libm-test.inc (cacos_test): Add more tests.
15427 (casin_test): Likewise.
15428 (casinh_test): Likewise.
15429 * sysdeps/i386/fpu/libm-test-ulps: Update.
15430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15431
c4e33b8d
DM
154322013-01-31 David S. Miller <davem@davemloft.net>
15433
15434 * po/de.po: Update from translation team.
15435
3b60b421
MK
154362013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15437
15438 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15439
bb931195
TS
154402013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15441
b5a5da23
TS
15442 * configure.in (_AC_PROG_CC_C89): New definition.
15443 * configure: Regenerate.
15444
bb931195
TS
15445 * configure.in (AC_PROG_CPP): New definition.
15446 * configure: Regenerate.
15447
8c53a12c
JM
154482013-01-23 Joseph Myers <joseph@codesourcery.com>
15449
15450 * debug/tst-backtrace.h: New file.
15451 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15452 (ret): Remove variable.
15453 (x): Likewise.
15454 (FAIL): Remove macro.
15455 (NO_INLINE): Likewise.
15456 (fn1): Use match function instead of strstr.
15457 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15458 (ret): Remove variable.
15459 (x): Likewise.
15460 (FAIL): Remove macro.
15461 (NO_INLINE): Likewise.
15462 (fn): Use match function instead of strstr.
15463 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15464 (ret): Remove variable.
15465 (x): Likewise.
15466 (FAIL): Remove macro.
15467 (NO_INLINE): Likewise.
15468 (handle_signal): Use match function instead of strstr.
15469 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15470 (ret): Remove variable.
15471 (x): Likewise.
15472 (FAIL): Remove macro.
15473 (NO_INLINE): Likewise.
15474 (handle_signal): Use match function instead of strstr.
15475
4858fa2a
RM
154762013-01-23 Roland McGrath <roland@hack.frob.com>
15477
15478 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15479
bae8e7f5
DM
154802013-01-23 David S. Miller <davem@davemloft.net>
15481
15482 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15483 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15484 argument of CAS if possible.
15485 * sysdeps/sparc/sparc64/bits/atomic.h
15486 (__arch_compare_and_exchange_val_32_acq): Likewise.
15487 (__arch_compare_and_exchange_val_64_acq): Likewise.
15488
9cbbc4ae
PT
154892013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15490
15491 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15492 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15493 Include <limits.h>.
67b3f58c 15494 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15495
5655a0b5
AC
154962013-01-23 Adam Conrad <adconrad@0c3.net>
15497
15498 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15499 (LDFLAGS-tst-array5): Likewise.
15500
052aff95
JM
155012013-01-23 Joseph Myers <joseph@codesourcery.com>
15502
15503 [BZ #15036]
15504 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15505 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15506 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15507 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15508
7c1e01aa
DM
155092013-01-21 David S. Miller <davem@davemloft.net>
15510
15511 * sysdeps/sparc/backtrace.c: New file.
15512 * sysdeps/sparc/sparc32/backtrace.h: New file.
15513 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15514 * sysdeps/sparc/sparc64/backtrace.h: New file.
15515 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15516 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15517 -funwind-tables.
15518
ab087e0a
AS
155192013-01-21 Andreas Schwab <schwab@suse.de>
15520
15521 [BZ #15020]
15522 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15523 closed its stdout.
15524
ed689c2f
AS
155252013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15526
15527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15528 "mpa2.h".
15529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15530
31d470ac
JM
155312013-01-18 Joseph Myers <joseph@codesourcery.com>
15532 Mark Mitchell <mark@codesourcery.com>
15533 Tom de Vries <tom@codesourcery.com>
15534 Paul Pluzhnikov <ppluzhnikov@google.com>
15535
15536 * debug/tst-backtrace2.c: New file.
15537 * debug/tst-backtrace3.c: Likewise.
15538 * debug/tst-backtrace4.c: Likewise.
15539 * debug/tst-backtrace5.c: Likewise.
15540 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15541 (CFLAGS-tst-backtrace3.c): Likewise.
15542 (CFLAGS-tst-backtrace4.c): Likewise.
15543 (CFLAGS-tst-backtrace5.c): Likewise.
15544 (LDFLAGS-tst-backtrace2): Likewise.
15545 (LDFLAGS-tst-backtrace3): Likewise.
15546 (LDFLAGS-tst-backtrace4): Likewise.
15547 (LDFLAGS-tst-backtrace5): Likewise.
15548 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15549 tst-backtrace4 and tst-backtrace5.
15550
90567f30 155512013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15552 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15553
15554 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15555 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15556 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15557 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15559 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15560 "+r" and remove output regs list as redundant. Add explicit inline
15561 asm to specify register of return val to work around compiler codegen
15562 bug. Remove (int) cast on return value. Add return type parameter to
15563 use in macro so that this macro does not truncate return value for
15564 64-bit values.
15565 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15566 pass to INTERNAL_VSYSCALL_NCS.
15567 (INLINE_VSYSCALL): Add 'long int' as return type to
15568 INTERNAL_VSYSCALL_NCS macro invocation.
15569 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15570 INTERNAL_VSYSCALL_NCS macro invocation.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15572
d3b9ea61
SP
155732013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15574
0b57daeb
SP
15575 [BZ #14496]
15576 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15577 Fix application of SIMD FP exception mask.
15578
caa99d06
SP
15579 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15580 mp_no from a power of two.
15581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15582 __mpexp_twomm1. Use __pow_mp.
15583
d3b9ea61
SP
15584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15585 multiplication.
15586
1dbaee3c
DM
155872013-01-17 David S. Miller <davem@davemloft.net>
15588
15589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15590
728d7b43
JM
155912013-01-17 Joseph Myers <joseph@codesourcery.com>
15592
15593 [BZ #15023]
15594 * include/complex.h: Condition contents on [!_COMPLEX_H].
15595 (__kernel_casinhf): New prototype.
15596 (__kernel_casinh): Likewise.
15597 (__kernel_casinhl): Likewise.
15598 * math/Makefile (libm_calls): Add k_casinh.
15599 * math/k_casinh.c: New file.
15600 * math/k_casinhf.c: Likewise.
15601 * math/k_casinhl.c: Likewise.
15602 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15603 finite nonzero arguments.
15604 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15605 finite nonzero arguments.
15606 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15607 finite nonzero arguments.
15608 * math/s_casinh.c: Do not include <float.h>.
15609 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15610 * math/s_casinhf.c: Do not include <float.h>.
15611 (__casinhf): Move code for finite nonzero arguments to
15612 k_casinhf.c.
15613 * math/s_casinhl.c: Do not include <float.h>.
15614 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15615 redefine.
15616 (__casinhl): Move code for finite nonzero arguments to
15617 k_casinhl.c.
15618 * math/libm-test.inc (cacos_test): Add more tests.
15619 * sysdeps/i386/fpu/libm-test-ulps: Update.
15620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15621
2a26ef3a
PT
156222013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15623
15624 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15625 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15626 [!HAVE_MREMAP]: Remove [defined linux] case.
15627 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15628
a897655d
SP
156292013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15630
15631 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15632
881ebe89 156332013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15634
15635 * elf/elf.h (R_386_SIZE32): New relocation.
15636 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15637 R_386_SIZE32.
15638 (elf_machine_rela): Likewise.
15639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15640 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15641
59981e9b
JM
156422013-01-17 Joseph Myers <joseph@codesourcery.com>
15643
15644 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15645 (FP_FAST_FMA): Do not define.
15646 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15647 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15648 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15649 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15650 !_SOFT_FLOAT]: Likewise.
15651 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15652 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15653 value.
15654 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15655 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15656 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15657 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15658 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15659 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15660 file.
15661
cfa8054f
AS
156622013-01-16 Andreas Schwab <schwab@suse.de>
15663
15664 [BZ #14327]
15665 * include/stdlib.h (__mktemp): Add declaration.
15666 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15667 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15668
dd930cc5
SP
156692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15670
881ebe89
SP
15671 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15672 definitions.
15673 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15674 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15675 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15676 definitions here.
15677 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15678 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15679 definitions.
15680 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15681 and ONE.
15682 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15683 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15684 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15685 definitions.
15686 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15687 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15688 definitions.
15689 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15690
dd930cc5
SP
15691 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15692
c19a9f89
DM
156932013-01-15 David S. Miller <davem@davemloft.net>
15694
1aa61767
DM
15695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15696 trunc{,f} to libm-sysdep_routes.
15697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15699 file.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15702 file.
15703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15704 file.
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15707 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15708 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15709 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15710 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15711 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15712 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15713
c42d5e98
DM
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15715 nearbyint{,f} to libm-sysdep_routes.
15716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15718 New file.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15720 file.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15722 New file.
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15724 file.
15725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15728 file.
15729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15731 file.
15732 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15733 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15734 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15735
c19a9f89
DM
15736 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15737 libc_feholdexcept and libc_fesetenv.
15738
357679d2
MF
157392013-01-15 Mike Frysinger <vapier@gentoo.org>
15740
15741 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15742
65a82e3d
DM
157432013-01-14 David S. Miller <davem@davemloft.net>
15744
8b954ab9
DM
15745 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15746 (SPARC_ASM_VIS2_IFUNC): Likewise.
15747 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15749 use of 'siam' instruction.
15750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15751 Likewise.
15752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15753 Likewise.
15754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15755 Likewise.
15756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15761 file.
15762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15763 file.
15764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15765 file.
15766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15767 file.
15768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15773 new VIS2 routines.
15774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15777 Likewise.
15778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15783 routines to libm-sysdep_routines.
15784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15785
65a82e3d
DM
15786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15787 fdim/fdimf to libm-sysdep_routines.
15788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15789 file.
15790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15792 file.
15793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15796 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15797 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15798 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15799 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15800
e34ab705
SP
158012013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15802
2a91b573
SP
15803 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15804 to optimize copies.
15805
1066a534
SP
15806 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15809
e34ab705
SP
15810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15811 local variable MPTWO.
15812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15813 Likewise.
15814
aba5e596
MF
158152013-01-13 Mike Frysinger <vapier@gentoo.org>
15816
15817 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15818 GLOB_NOESCAPE.
15819
e557e9e5
MF
158202013-01-13 Mike Frysinger <vapier@gentoo.org>
15821
15822 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15823
0428cec9
MF
158242013-01-13 Mike Frysinger <vapier@gentoo.org>
15825
15826 * manual/pattern.texi (glob_t): Document gl_flags.
15827 (glob64_t): Likewise.
15828
8794a964
DM
158292013-01-11 David S. Miller <davem@davemloft.net>
15830
66438c3f
RM
15831 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15832 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15833 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
15834 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15835 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15836 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15837 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15838 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15839 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15840 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15841 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15842 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15843 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15844
4ae4244d
DM
15845 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15846 sparc V9 rather than using V8 code.
15847 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15848 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15849
8794a964
DM
15850 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15851 Move to...
15852 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15853 Here.
15854
6270516e
RM
158552013-01-11 Roland McGrath <roland@hack.frob.com>
15856
15857 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15858 not in the main loop.
15859 * configure: Regenerated.
15860
6a57d931
JM
158612013-01-11 Joseph Myers <joseph@codesourcery.com>
15862
15863 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15864 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15865 to just #else.
15866 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15867 [!__GLIBC_HAVE_LONG_LONG] case.
15868 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15869 condition to just #else.
15870 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15871 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15872 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15873 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15874 unconditional.
15875 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15876 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15877 #elif condition to just #else.
15878 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15879 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15880 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15881 #elif condition to just #else.
15882
0e8529e9
SE
158832013-01-11 Steve Ellcey <sellcey@mips.com>
15884
15885 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15886 (EF_MIPS_ARCH_64): Fix value.
15887 (EF_MIPS_ARCH_32R2): New.
15888 (EF_MIPS_ARCH_64R2): New.
15889
740b3dbe
L
158902013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15891
15892 * Makeconfig (+link-pie-before-libc): New.
15893 (+link-pie-after-libc): Likewise.
15894 (+link-pie-tests): Likewise.
15895 (+link-pie): Rewritten.
15896 (link-before-libc): Remove $(config-LDFLAGS).
15897 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15898 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15899 (config-LDFLAGS): Renamed to ...
15900 (rtld-LDFLAGS): This.
15901 (rtld-tests-LDFLAGS): New macro.
15902 (link-libc-rpath-link): Likewise.
15903 (link-libc-tests-rpath-link): Likewise.
15904 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15905 (link-libc): Prepand $(link-libc-rpath-link).
15906 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15907 (test-program-prefix): New macro.
15908 (test-via-rtld-prefix): Likewise.
15909 (test-program-cmd): Likewise.
15910 (host-test-program-cmd): Likewise.
15911 * Makefile ($(common-objpfx)testrun.sh): Replace
15912 $(run-program-prefix) with $(test-program-prefix).
15913 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15914 $(rtld-LDFLAGS).
15915 ($(common-objpfx)shlib.lds): Likewise.
15916 (build-module-helper): Likewise.
15917 ($(common-objpfx)format.lds): Likewise.
15918 * Rules (binaries-pie-tests): New.
15919 (binaries-pie-notests): Likewise.
15920 (binaries-pie): Rewritten.
15921 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15922 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15923 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15924 (make-test-out): Replace $(host-built-program-cmd) with
15925 $(host-test-program-cmd).
15926 * config.make.in (build-hardcoded-path-in-tests): New variable.
15927 * configure.in (--enable-hardcoded-path-in-tests): New configure
15928 option.
15929 (hardcoded_path_in_tests): New AC_SUBST.
15930 * configure: Regenerated.
15931 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15932 $(built-program-cmd) with $(test-program-cmd).
15933 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15934 (test_program_cmd): This.
15935 * elf/Makefile ($(objpfx)order.out): Run test with
15936 $(test-program-prefix).
15937 ($(objpfx)order2.out): Likewise.
15938 ($(objpfx)tst-initorder.out): Likewise.
15939 ($(objpfx)tst-initorder2.out): Likewise.
15940 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15941 $(test-program-cmd).
15942 ($(objpfx)tst-array1-static.out): Likewise.
15943 ($(objpfx)tst-array2.out): Likewise.
15944 ($(objpfx)tst-array3.out): Likewise.
15945 ($(objpfx)tst-array4.out): Likewise.
15946 ($(objpfx)tst-array5.out): Likewise.
15947 ($(objpfx)tst-array5-static.out): Likewise.
15948 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15949 $(test-program-cmd).
15950 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15951 $(run-program-prefix) with $(test-program-prefix).
15952 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15953 (test_program_prefix): This.
15954 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15955 $(run-program-prefix) with $(test-program-prefix).
15956 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15957 (test_program_prefix): This.
15958 * iconvdata/tst-tables.sh: Likewise.
15959 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15960 $(run-program-prefix) with $(test-program-prefix).
15961 ($(objpfx)tst-translit.out): Likewise.
15962 ($(objpfx)tst-gettext2.out): Likewise.
15963 ($(objpfx)tst-gettext4.out): Likewise.
15964 ($(objpfx)tst-gettext6.out): Likewise.
15965 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15966 (test_program_prefix): This.
15967 * intl/tst-gettext2.sh: Likewise.
15968 * intl/tst-gettext4.sh Likewise.
15969 * intl/tst-gettext6.sh: Likewise.
15970 * intl/tst-translit.sh: Likewise.
15971 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15972 with $(test-program-cmd).
15973 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15974 $(run-program-prefix) with $(test-program-prefix).
15975 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15976 (test_program_prefix): This.
15977 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15978 $(run-program-prefix) with $(test-program-prefix).
15979 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15980 (test_program_prefix): This.
15981 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15982 * posix/Makefile ($(objpfx)globtest.out): Replace
15983 $(run-via-rtld-prefix) and $(test-wrapper) with
15984 $(test-program-prefix) and $(test-via-rtld-prefix).
15985 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15986 $(test-program-prefix).
15987 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15988 $(host-test-program-cmd).
15989 (tst-spawn-ARGS): Likewise.
15990 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15991 $(test-program-prefix).
15992 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15993 (test_via_rtld_prefix): This.
15994 (test_wrapper): Renamed to ...
15995 (test_program_prefix): This.
15996 (run_program_prefix): Replaced by test_program_prefix.
15997 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15998 (test_program_prefix): This.
15999 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16000 with $(host-test-program-cmd).
16001 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16002 $(run-program-prefix) with $(test-program-prefix).
16003 ($(objpfx)tst-printf.out): Likewise.
16004 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16005 $(test-program-cmd).
16006 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16007 (test_program_prefix): This.
16008 * stdio-common/tst-unbputc.sh: Likewise.
16009 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16010 $(run-program-prefix) with $(test-program-prefix).
16011 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16012 (test_program_prefix): This.
16013 * string/Makefile ($(objpfx)tst-svc.out): Replace
16014 $(built-program-cmd) with $(test-program-cmd).
16015
c6fe55cf
AJ
160162013-01-11 Andreas Jaeger <aj@suse.de>
16017
16018 [BZ #15003]
16019 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16020 value. Sync with Linux 3.7.
16021
9e6919c8
DM
160222013-01-10 David S. Miller <davem@davemloft.net>
16023
16024 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16025 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16026 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16027
1c9f1a02
RM
160282013-01-10 Roland McGrath <roland@hack.frob.com>
16029
16030 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16031 never set.
16032 * configure: Regenerated.
16033
b9de2dde
DM
160342013-01-10 David S. Miller <davem@davemloft.net>
16035
16036 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16037 sparc V9 rather than using V8 code.
16038 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16039 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16040
e7f68ef4
RM
160412013-01-10 Roland McGrath <roland@hack.frob.com>
16042
16043 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16044 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16045 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16046 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16047 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16048 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16049 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16050 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16051 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16052 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16053 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16054 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16055 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16056 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16057 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16058 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16059 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16060 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16061 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16062 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16063 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16064 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16065 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16066 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16067 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16068 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16069 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16070
5a47cc9c
DM
160712013-01-10 David S. Miller <davem@davemloft.net>
16072
16073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16074
4cf8f209
L
160752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16076
16077 * posix/Makefile (tests-static): New variable.
16078 (tests): Add $(tests-static).
16079 (tst-exec-static-ARGS): New variable.
16080 (tst-spawn-static-ARGS): Likewise.
16081 * posix/tst-exec-static.c: New file.
16082 * posix/tst-spawn-static.c: Likewise.
16083 * posix/tst-exec.c: Support run directly.
16084 * posix/tst-spawn.c: Likewise.
16085
fed0faa1
JM
160862013-01-10 Joseph Myers <joseph@codesourcery.com>
16087
828beb13
JM
16088 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16089 long.
16090 * math/bits/mathcalls.h (llrint): Likewise.
16091 (llround): Likewise.
16092 * stdlib/stdlib.h (struct drand48_data): Likewise.
16093 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16094 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16095 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16096 Likewise.
16097 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16098 Likewise.
16099 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16100 (elf_greg_t): Likewise.
16101 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16102 (__jmp_buf): Likewise.
16103 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16104 definitions.
16105 (llrint): Likewise, for all definitions.
16106 (llrintl): Likewise.
16107
fed0faa1
JM
16108 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16109 Remove [__GNUC__] condition.
16110 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16111 condition to just [__USE_ISOC99].
16112 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16113
1a20cb20
L
161142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16115
16116 [BZ #14200]
16117 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16118 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16119 defined.
16120 (_POSIX_V6_ILP32_OFF32): Likewise.
16121 (_XBS5_ILP32_OFF32): Likewise.
16122 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16123 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16124
751b85f7
SP
161252013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16126
7490eb81
SP
16127 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16128
751b85f7
SP
16129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16130 doubles __mpexp_twomm1. Adjust usage.
16131 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16132 Remove.
16133
988197f0
AS
161342013-01-10 Andreas Schwab <schwab@suse.de>
16135
16136 [BZ #14964]
16137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16138 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16139
e83d7298
DM
161402013-01-09 David S. Miller <davem@davemloft.net>
16141
034ed64b 16142 [BZ #15003]
e83d7298
DM
16143 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16144 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16145 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16146 TCP_FASTOPEN): Define.
16147 (tcp_repair_opt): New structure.
16148 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16149 enum values.
16150 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16151 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16152 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16153 (tcp_cookie_transactions): New structure.
16154
d5e0b9bd
AB
161552013-01-09 Anton Blanchard <anton@samba.org>
16156
16157 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16158 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16159 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16160 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16161
0c07e3ea
JM
161622013-01-09 Joseph Myers <joseph@codesourcery.com>
16163
16164 * include/features.h (__USE_ANSI): Remove.
16165
232f7002
RM
161662013-01-09 Roland McGrath <roland@hack.frob.com>
16167
ad98e30c
RM
16168 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16169
232f7002
RM
16170 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16171
950c99ca
SP
161722013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16173
b5792741
SP
16174 * sysdeps/s390/fpu/libm-test-ulps: Update.
16175
47cf2278
SP
16176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16177
950c99ca
SP
16178 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16179 (__acr): Likewise.
16180 (__cpy): Likewise.
16181 (norm): Likewise.
16182 (denorm): Likewise.
16183 (__mp_dbl): Likewise.
16184 (__dbl_mp): Likewise.
16185 (add_magnitudes): Likewise.
16186 (sub_magnitudes): Likewise.
16187 (__add): Likewise.
16188 (__sub): Likewise.
16189 (__mul): Likewise.
16190 (__inv): Likewise.
16191 (__dvd): Likewise.
16192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16193 (__acr): Likewise.
16194 (__cpy): Likewise.
16195 (norm): Likewise.
16196 (denorm): Likewise.
16197 (__mp_dbl): Likewise.
16198 (__dbl_mp): Likewise.
16199 (add_magnitudes): Likewise.
16200 (sub_magnitudes): Likewise.
16201 (__add): Likewise.
16202 (__sub): Likewise.
16203 (__mul): Likewise.
16204 (__inv): Likewise.
16205 (__dvd): Likewise.
16206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16207 (__acr): Likewise.
16208 (__cpy): Likewise.
16209 (norm): Likewise.
16210 (denorm): Likewise.
16211 (__mp_dbl): Likewise.
16212 (__dbl_mp): Likewise.
16213 (add_magnitudes): Likewise.
16214 (sub_magnitudes): Likewise.
16215 (__add): Likewise.
16216 (__sub): Likewise.
16217 (__mul): Likewise.
16218 (__inv): Likewise.
16219 (__dvd): Likewise.
16220
eede9df9
JM
162212013-01-08 Joseph Myers <joseph@codesourcery.com>
16222
16223 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16224 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16225 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16226 2 && __USE_EXTERN_INLINES]: Likewise.
16227
c40ea3d9
AJ
162282013-01-08 Andreas Jaeger <aj@suse.de>
16229
16230 [BZ# 14985]
16231 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16232 Remove.
16233 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16234 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16235
2ccdea26
AB
162362013-01-07 Anton Blanchard <anton@samba.org>
16237
16238 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16239 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16240 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16241 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16242 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16243 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16244 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16245 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16247 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16248 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16249 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16250 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16251 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16252 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16253 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16254 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16255 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16256 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16257 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16258 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16259 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16261 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16262 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16263 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16264 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16265 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16266 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16267 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16268 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16270 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16271 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16272 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16273 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16274 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16275 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16276 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16277 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16278 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16279 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16280 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16281
a9708fed
JM
162822013-01-07 Joseph Myers <joseph@codesourcery.com>
16283
375607b9
JM
16284 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16285 (__MALLOC_PMT): Likewise.
16286 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16287 [__GNUC__], only on [_LIBC].
16288 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16289 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16290 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16291 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16292 forward declaration.
16293 (realloc_hook_ini): Likewise.
16294 (memalign_hook_ini): Likewise.
16295 (__libc_memalign): Do not use __MALLOC_PMT in variable
16296 declaration.
16297 (__libc_valloc): Likewise.
16298 (__libc_pvalloc): Likewise.
16299 (__libc_calloc): Likewise.
16300 (__posix_memalign): Likewise.
16301
a9708fed
JM
16302 [BZ #14996]
16303 * math/s_casinh.c: Include <float.h>.
16304 (__casinh): Do not do computation with squaring and square root
16305 for large arguments.
16306 * math/s_casinhf.c: Include <float.h>.
16307 (__casinhf): Do not do computation with squaring and square root
16308 for large arguments.
16309 * math/s_casinhl.c: Include <float.h>.
16310 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16311 (__casinhl): Do not do computation with squaring and square root
16312 for large arguments.
16313 * math/libm-test.inc (casin_test): Add more tests.
16314 (casinh_test): Likewise.
16315 * sysdeps/i386/fpu/libm-test-ulps: Update.
16316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16317
afec409a
L
163182013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16321 (__x86_64_raw_data_cache_size): Likewise.
16322 (__x86_64_data_cache_size_half): Likewise.
16323 (__x86_64_raw_data_cache_size_half): Likewise.
16324 (__x86_64_shared_cache_size): Likewise.
16325 (__x86_64_raw_shared_cache_size): Likewise.
16326 (__x86_64_shared_cache_size_half): Likewise.
16327 (__x86_64_raw_shared_cache_size_half): Likewise.
16328 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16329 to ...
16330 (__x86_data_cache_size): This.
16331 (__x86_64_raw_data_cache_size): Renamed to ...
16332 (__x86_raw_data_cache_size): This.
16333 (__x86_64_data_cache_size_half): Renamed to ...
16334 (__x86_data_cache_size_half): This.
16335 (__x86_64_raw_data_cache_size_half): Renamed to ...
16336 (__x86_raw_data_cache_size_half): This.
16337 (__x86_64_shared_cache_size): Renamed to ...
16338 (__x86_shared_cache_size): This.
16339 (__x86_64_raw_shared_cache_size): Renamed to ...
16340 (__x86_raw_shared_cache_size): This.
16341 (__x86_64_shared_cache_size_half): Renamed to ...
16342 (__x86_shared_cache_size_half): This.
16343 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16344 (__x86_raw_shared_cache_size_half): This.
16345 * sysdeps/x86_64/memcpy.S: Updated.
16346 * sysdeps/x86_64/memset.S: Likewise.
16347 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16349 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16350
0b3986d0
DM
163512013-01-04 David S. Miller <davem@davemloft.net>
16352
16353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16354
e47686e9
AS
163552013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16356
d643bac1
AS
16357 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16358 1 to avoid redefinition warning.
16359 (__USE_GNU): Don't define.
16360 (init_signaling_nan): Protoize.
16361
e47686e9
AS
16362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16363
b18decba
SP
163642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16365
fffb407f
SP
16366 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16368 (__cpymn): Likewise.
16369 (norm): Remove commented code.
16370 (denorm): Likewise.
16371 (__mp_dbl): Likewise.
16372 (__inv): Likewise.
16373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16374 (__cpymn): Likewise.
16375 (norm): Remove commented code.
16376 (denorm): Likewise.
16377 (__mp_dbl): Likewise.
16378 (__inv): Likewise.
16379
b18decba
SP
16380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16381 mp_no value for 1.0 and 2.0.
16382 (norm): Use RADIXI instead of radixi.d.
16383 (denorm): Likewise.
16384 (__mul): Use 0.0 instead of zero.d.
16385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16386 mp_no value for 1.0 and 2.0.
16387 (norm): Use RADIXI instead of radixi.d.
16388 (denorm): Likewise.
16389 (__mul): Use 0.0 instead of zero.d.
16390
cdc1c96f
JM
163912013-01-04 Joseph Myers <joseph@codesourcery.com>
16392
16393 [BZ #14994]
16394 * math/s_casinh.c (__casinh): Reduce finite argument to first
16395 quadrant then set signs of results at the end.
16396 * math/s_casinhf.c (__casinhf): Likewise.
16397 * math/s_casinhl.c (__casinhl): Likewise.
16398 * math/libm-test.inc (casin_test): Add more tests.
16399 (casinh_test): Likewise.
16400 * sysdeps/i386/fpu/libm-test-ulps: Update.
16401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16402
302913e1
SP
164032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16404
6420d207
SP
16405 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16406
a9e48ab4
SP
16407 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16408
b7837264
SP
16409 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16410 declarations.
16411 (denorm): Likewise.
16412 (__mp_dbl): Likewise.
16413 (__inv): Likewise.
16414
f8af25d2
SP
16415 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16416 and adjust the header comment.
16417
302913e1
SP
16418 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16419 variable name from declaration.
16420
5d7dd1ca
L
164212013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16422
16423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16424 Initialize COMMON_CPUID_INDEX_7 element.
16425 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16426 (CPUID_RTM): Likewise.
16427 (HAS_RTM): Likewise.
16428 (COMMON_CPUID_INDEX_7): New enum.
16429
2f5f40f4
AS
164302013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16431
16432 [BZ #14981]
16433 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16434 size is zero, record memory as freed.
16435
4056f4a0
AJ
164362013-01-03 Andreas Jaeger <aj@suse.de>
16437
16438 * po/ia.po: Add new Interlingua translation.
16439
ab15736f 164402012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16441
16442 * locale/programs/localedef.c: Fix description of '--posix' flag.
16443
568035b7
JM
164442013-01-02 Joseph Myers <joseph@codesourcery.com>
16445
e6898b8d
JM
16446 * NEWS: Update dates in second copyright notice.
16447 * README: Update copyright dates in example.
16448 * manual/libc.texinfo: Update copyright dates.
16449 * scripts/test-installation.pl: Update copyright date in --version
16450 output.
16451
0e2f9562
JM
16452 * hurd/ctty-input.c: Fix copyright notice formatting.
16453 * hurd/ctty-output.c: Likewise.
16454 * hurd/dtable.c: Likewise.
16455 * hurd/hurd-raise.c: Likewise.
16456 * hurd/hurdprio.c: Likewise.
16457 * hurd/msgportdemux.c: Likewise.
16458 * misc/sys/file.h: Likewise.
16459 * misc/sys/ioctl.h: Likewise.
16460 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16461 * sysdeps/mach/hurd/chdir.c: Likewise.
16462 * sysdeps/mach/hurd/fchdir.c: Likewise.
16463 * sysdeps/mach/hurd/rename.c: Likewise.
16464 * sysdeps/mach/hurd/rmdir.c: Likewise.
16465 * sysdeps/mach/hurd/seekdir.c: Likewise.
16466 * sysdeps/mach/hurd/setsid.c: Likewise.
16467 * sysdeps/posix/wait3.c: Likewise.
16468
568035b7
JM
16469 * All files with FSF copyright notices: Update copyright dates
16470 using scripts/update-copyrights.
16471 * intl/plural.c: Regenerated.
16472 * locale/programs/charmap-kw.h: Likewise.
16473 * locale/programs/locfile-kw.h: Likewise.
16474
da08f647
SP
164752013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16476
0f5477af
SP
16477 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16478 four values.
16479
44e0d4c2
SP
16480 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16481 calculation loop and add branch prediction.
16482
4d55b4e5
SP
16483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16484 check access beyond bounds of m1np.
16485
da08f647
SP
16486 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16487 MPTWO.
16488 (__inv): Remove local variable MPTWO to use the global
16489 constant.
16490 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16491 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16492 variable MPTWO.
16493 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16494 MP3HALFS static const.
16495
8e051029
DM
164962013-01-01 David S. Miller <davem@davemloft.net>
16497
16498 * po/ca.po: Update from translation team.
16499
f4cf5f2d
JM
165002013-01-01 Joseph Myers <joseph@codesourcery.com>
16501
16502 * scripts/update-copyrights: New file.
16503 * Makeconfig: Reformat copyright notice.
16504 * ctype/ctype.h: Likewise.
16505 * debug/swprintf_chk.c: Likewise.
16506 * elf/dl-cache.c: Likewise.
16507 * elf/dl-debug.c: Likewise.
16508 * elf/dl-object.c: Likewise.
16509 * grp/initgroups.c: Likewise.
16510 * hurd/Makefile: Likewise.
16511 * hurd/hurd/signal.h: Likewise.
16512 * hurd/hurdfault.c: Likewise.
16513 * hurd/hurdioctl.c: Likewise.
16514 * hurd/hurdlookup.c: Likewise.
16515 * hurd/intr-msg.c: Likewise.
16516 * iconv/gconv_open.c: Likewise.
16517 * libio/swprintf.c: Likewise.
16518 * locale/lc-ctype.c: Likewise.
16519 * locale/nl_langinfo.c: Likewise.
16520 * mach/Machrules: Likewise.
16521 * mach/Makefile: Likewise.
16522 * malloc/obstack.h: Likewise.
16523 * manual/Makefile: Likewise.
16524 * manual/tsort.awk: Likewise.
16525 * misc/bits/stab.def: Likewise.
16526 * nis/nis_print_group_entry.c: Likewise.
16527 * nis/nis_table.c: Likewise.
16528 * nis/nss_compat/compat-pwd.c: Likewise.
16529 * nis/nss_compat/compat-spwd.c: Likewise.
16530 * po/Makefile: Likewise.
16531 * posix/fnmatch.c: Likewise.
16532 * posix/regex.h: Likewise.
16533 * resolv/Makefile: Likewise.
16534 * resolv/nss_dns/dns-network.c: Likewise.
16535 * resolv/res_hconf.c: Likewise.
16536 * scripts/gen-sorted.awk: Likewise.
16537 * soft-fp/soft-fp.h: Likewise.
16538 * stdio-common/printf.h: Likewise.
16539 * stdlib/monetary.h: Likewise.
16540 * stdlib/random.c: Likewise.
16541 * stdlib/random_r.c: Likewise.
16542 * sysdeps/generic/Makefile: Likewise.
16543 * sysdeps/gnu/Makefile: Likewise.
16544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16567 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16568 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16569 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16570 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16571 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16572 * sysdeps/mach/hurd/errnos.awk: Likewise.
16573 * sysdeps/mach/hurd/fork.c: Likewise.
16574 * sysdeps/mach/hurd/getcwd.c: Likewise.
16575 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16576 * sysdeps/mach/hurd/mmap.c: Likewise.
16577 * sysdeps/mach/hurd/utimes.c: Likewise.
16578 * sysdeps/mach/hurd/xmknod.c: Likewise.
16579 * sysdeps/posix/profil.c: Likewise.
16580 * sysdeps/posix/readdir_r.c: Likewise.
16581 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16582 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16583 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16584 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16586 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16587 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16588 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16590 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16591 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16592 * sysdeps/pthread/lio_listio.c: Likewise.
16593 * sysdeps/sparc/dl-procinfo.h: Likewise.
16594 * sysdeps/unix/i386/sysdep.S: Likewise.
16595 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16596 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16597 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16598 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16600 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16601 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16602 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16603 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16604 * sysdeps/wordsize-32/divdi3.c: Likewise.
16605 * time/sys/time.h: Likewise.
16606 * wcsmbs/Makefile: Likewise.
16607
0549fbba
DM
166082013-01-01 David S. Miller <davem@davemloft.net>
16609
a141f1a7
DM
16610 * po/fr.po: Update from translation team.
16611
0549fbba
DM
16612 * catgets/gencat.c: Update copyright year.
16613 * csu/version.c: Likewise.
16614 * debug/catchsegv.sh: Likewise.
16615 * debug/pcprofiledump.c: Likewise.
16616 * debug/xtrace.sh: Likewise.
16617 * elf/ldconfig.c: Likewise.
16618 * elf/ldd.bash.in: Likewise.
16619 * elf/pldd.c: Likewise.
16620 * elf/sotruss.ksh: Likewise.
16621 * elf/sprof.c: Likewise.
16622 * iconv/iconv_prog.c: Likewise.
16623 * iconv/iconvconfig.c: Likewise.
16624 * locale/programs/locale.c: Likewise.
16625 * locale/programs/localedef.c: Likewise.
16626 * login/programs/pt_chown.c: Likewise.
16627 * malloc/memusage.sh: Likewise.
16628 * malloc/memusagestat.c: Likewise.
16629 * malloc/mtrace.pl: Likewise.
16630 * nscd/nscd.c: Likewise.
16631 * nss/getent.c: Likewise.
16632 * nss/makedb.c: Likewise.
16633 * posix/getconf.c: Likewise.
16634
18ea052c
SP
166352012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16636
16637 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16638 numbers.
16639
9c89fca6
MF
166402012-12-30 Mike Frysinger <vapier@gentoo.org>
16641
16642 * math/bits/mathcalls.h (modf): Use __nonnull.
16643
085ec079
SP
166442012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16645
16646 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16647 (split): Use macro CN instead of the bare value.
16648 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16649 could be used.
16650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16651 instead of the bare value.
16652 (power1): Likewise.
16653
6d9f97e1
SP
166542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16655
d63f73be
SP
16656 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16657 __ATAN_TWOM.
16658 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16659
6d9f97e1
SP
16660 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16661 their values.
16662 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16663 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16664 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16665 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16666
4c4febf5
AJ
166672012-12-28 Andreas Jaeger <aj@suse.de>
16668
af5843ef
AJ
16669 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16670 values are from Linux 3.7.
16671
4c4febf5
AJ
16672 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16673 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16674
99136f82
SP
166752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16676
2f216c3c 16677 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16678 TRUE case.
16679
99136f82
SP
16680 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16681 (norm): Likewise.
16682 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16683 variables with preprocessor constants.
16684 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16685 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16686 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16687
7fffbdff
BH
166882012-12-27 Bruno Haible <bruno@clisp.org>
16689
16690 [BZ #14317]
16691 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16692 only if needed.
16693
b76eb5f0
SP
166942012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16695
31a7fe5c
SP
16696 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16697 and use variable directly.
16698 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16699
b76eb5f0
SP
16700 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16701 MPONE.
16702 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16704 variable MPONE.
16705 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16707 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16708 include directive. Remove local variable MPONE.
16709 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16710 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16712
2c8bfe7d
DM
167132012-12-25 David S. Miller <davem@davemloft.net>
16714
16715 * version.h (RELEASE): Set to "development".
16716 (VERSION): Set to "2.17.90".
16717 * NEWS: Add 2.18 section.
16718
147d03b0
DM
167192012-12-21 David S. Miller <davem@davemloft.net>
16720
16721 * po/hr.po: Update from translation team.
16722
a8ebb2b9
AK
167232012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16724
16725 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16726
95b4f1b6
SE
167272012-12-19 Steve Ellcey <sellcey@mips.com>
16728
b2d94007 16729 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16730
cedb2a90
MS
167312012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16732
16733 * manual/contrib.texi (Contributors): Spelling correction.
16734
bbf527d6
DM
167352012-12-15 David S. Miller <davem@davemloft.net>
16736
16737 * po/ru.po: Update from translation team.
16738
bc38c906
DM
167392012-12-13 David S. Miller <davem@davemloft.net>
16740
85429b1a
DM
16741 * NEWS: Mention IFUNC testsuite enhancements.
16742
d283e353
DM
16743 * po/pl.po: Update from translation team.
16744 * po/bg.po: Likewise.
16745
bc38c906
DM
16746 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16747 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16748
a181b0d7
DM
167492012-12-11 David S. Miller <davem@davemloft.net>
16750
4641d57e
DM
16751 * po/sv.po: Update from translation team.
16752
f7bc6495
DM
16753 * po/vi.po: Update from translation team.
16754
6fc9048f
DM
16755 * po/cs.po: Update from translation team.
16756
a181b0d7
DM
16757 * po/de.po: Update from translation team.
16758 * po/eo.po: Likewise.
16759 * po/nl.po: Likewise.
16760
f70bfe80
SP
167612012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16762
3c8b4190
SP
16763 [BZ #14246]
16764 * manual/argp.texi (Argp Helper Functions): Move node to follow
16765 Argp Parsing State.
16766
f70bfe80
SP
16767 [BZ #14872]
16768 * manual/conf.texi (Limits on File System Capacity): Mention if
16769 terminating null is included in the max size.
16770
188f0adf
AJ
167712012-12-10 Andreas Jaeger <aj@suse.de>
16772
16773 * po/cs.po: Update from translation team.
16774
56e7d3ad
SP
167752012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16776
16777 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16778 void pointer and cast to uintptr_t.
16779 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16780 path.
16781 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16782 * sysdeps/s390/s390-64/memset.S: Likewise.
16783
76f2d2ea 167842012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16785
16786 [BZ #14833]
16787 * menual/message.texi (Message Translation): Fix typos.
16788 (Helper programs for gettext): Likewise.
16789
67cbf9a2
AS
167902012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16791
16792 [BZ #14898]
16793 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16794 Change to -1.
16795
682d0e9a
DM
167962012-12-07 David S. Miller <davem@davemloft.net>
16797
16798 * po/libc.pot: Update.
16799
573cd484
RH
168002012-12-07 Richard Henderson <rth@redhat.com>
16801
7e9da188 16802 [BZ #10114]
573cd484
RH
16803 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16804 normal/normal case to before the switch.
16805 (_FP_DIV): Likewise.
16806
e933a943
MF
168072012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16808 Mike Frysinger <vapier@gentoo.org>
16809
16810 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16811 check for __NR_fadvise64_64.
16812
82123268
CM
168132012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16814
16815 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16816 0, not just to plain "0" as a statement.
16817 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16818 with cw.
16819
d9814526
JM
168202012-12-06 Joseph Myers <joseph@codesourcery.com>
16821
16822 * NEWS: Use sourceware.org in Bugzilla URL.
16823
7728c574
SP
168242012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16825
f16946dd
SP
16826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16827 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16828
5704bbcb
SP
16829 * stdio-common/tst-put-error.c (do_test): Add newline to the
16830 padded test to ensure flush.
16831
17aa0516
JL
168322012-12-05 Jeff Law <law@redhat.com>
16833
16834 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16835
363313b5
JM
168362012-12-05 Joseph Myers <joseph@codesourcery.com>
16837
effbd42a
JM
16838 * README: Don't refer to ports add-on as distributed separately.
16839 Mention AArch64 in list of systems supported in the ports add-on.
16840
87600365
JM
16841 * LICENSES: Add more non-FSF copyright and license notices.
16842
a0d7066a
JM
16843 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16844 ((unused)).
16845
66ca5a5b
JM
16846 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16847
363313b5
JM
16848 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16849 10000 as width of padded output.
16850
b37984ad
JM
168512012-12-04 Joseph Myers <joseph@codesourcery.com>
16852
9003570a
JM
16853 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16854
b37984ad
JM
16855 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16856 variable LX with __attribute__ ((unused)).
16857 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16858 Likewise.
16859 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16860 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16861 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16862 with __attribute__ ((unused)).
16863
c8df52ec
DM
168642012-12-04 David S. Miller <davem@abraco.davemloft.net>
16865
16866 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16867
b3b099af
JM
168682012-12-04 Joseph Myers <joseph@codesourcery.com>
16869
c33aa6e3
JM
16870 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16871 (CFLAGS-nldbl-acos.c): New variable.
16872 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16873 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16874 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16875 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16876 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16877 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16878 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16879 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16880 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16881 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16882 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16883 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16884 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16885 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16886 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16887 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16888 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16889 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16890 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16891 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16892 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16893 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16894 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16895 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16896 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16897 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16898 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16899 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16900 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16901 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16902 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16903 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16904 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16905 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16906 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16907 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16908 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16909 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16910 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16911 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16912 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16913 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16914 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16915 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16916 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16917 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16918 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16919 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16920 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16921 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16922 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16923 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16924 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16925 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16926 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16927 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16928 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16929 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16930 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16931 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16932 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16933 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16934 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16935 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16936 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16937 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16938 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16939 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16940 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16941 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16942 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16943 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16944 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16945 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16946 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16947 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16948 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16949 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16950 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16951 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16952 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16953 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16954 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16955 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16956 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16957 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16958 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16959 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16960 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16961 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16962 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16963 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16964 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16965 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16966 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16967 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16968 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16969
20f0018d
JM
16970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16971 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16972
b3b099af
JM
16973 [BZ #14914]
16974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16975 whole low double instead of just low 47 bits when splitting values
16976 into two parts.
16977
029264d1
AM
169782012-12-03 Allan McRae <allan@archlinux.org>
16979
16980 * manual/stdio.texi (Predefined Printf Handlers): Remove
16981 @hsep and @vsep usage.
16982
c9d6789e
MF
169832012-12-03 Mike Frysinger <vapier@gentoo.org>
16984
16985 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16986 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16987
4b7634a5
JL
169882012-12-03 Jeff Law <law@redhat.com>
16989
16990 * time/sys/time.h (settimeofday): Do not mark TV argument
16991 as __nonnull.
16992
eb6cbd24
MF
169932012-12-01 Mike Frysinger <vapier@gentoo.org>
16994
16995 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16996 when currently writing and seek to current position when not.
16997 * libio/Makefile (tests): Remove bug-fclose1.
16998 * libio/bug-fclose1.c: Delete.
16999
f638872a
JM
170002012-12-01 Joseph Myers <joseph@codesourcery.com>
17001
17002 * manual/arith.texi (feenableexcept): Fix typo.
17003 (fedisableexcept): Likewise.
17004
48085d14
RM
170052012-11-30 Roland McGrath <roland@hack.frob.com>
17006
17007 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17008 second, differently-typed declaration, rather than a cast.
17009
1a538b9f
SP
170102012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17011
17012 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17013 * include/rpc/svc.h: ... here.
17014
d07f2ff1 170152012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17016
17017 [BZ #13013]
17018 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17019 depending n and resplen2 to catch cases where answer
17020 equals answerp2.
17021
c93ec1f0
CD
170222012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17023
17024 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17025 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17026
37db69de
MF
170272012-11-29 Mike Frysinger <vapier@gentoo.org>
17028
17029 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17030
e10c4e4f
RM
170312012-11-29 Roland McGrath <roland@hack.frob.com>
17032
17033 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17034
2af1b328
JL
170352012-11-28 Jeff Law <law@redhat.com>
17036
17037 [BZ #13761]
17038 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17039 dataset_temporary. Track alloca usage into alloca_used.
17040 If dataset is large allocate and release it via malloc/free.
17041
111db5b1
FW
170422012-06-04 Florian Weimer <fweimer@redhat.com>
17043
f06cc227 17044 [BZ #14197]
111db5b1
FW
17045 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17046
dd694abd
DM
170472012-11-28 David S. Miller <davem@davemloft.net>
17048
17049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17050
9984dd01
JM
170512012-11-28 Joseph Myers <joseph@codesourcery.com>
17052
17053 [BZ #14803]
17054 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17055 of pi/2 rounded to nearest to 64 bits.
17056 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17057 nearest to 64 bits.
17058 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17059 bits.
17060
14bc93a9
JL
170612012-11-28 Jeff Law <law@redhat.com>
17062 Martin Osvald <mosvald@redhat.com>
17063
17064 [BZ #14889]
17065 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17066 * sunrpc/svc.c: Include time.h.
17067 (__svc_accept_failed): New function.
17068 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17069 any reason other than EINTR, call __svc_accept_failed.
17070 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17071 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17072
e3c6aa3a
AS
170732012-11-28 Andreas Schwab <schwab@suse.de>
17074
17075 * scripts/abilist.awk: Also handle indirect functions in .opd
17076 section.
17077
1bead169
JM
170782012-11-28 Joseph Myers <joseph@codesourcery.com>
17079
17080 [BZ #13881]
17081 * sysdeps/x86/fpu/powl_helper.c: New file.
17082 * sysdeps/x86/fpu/Makefile: Likewise.
17083 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17084 (p3): New object.
17085 (__ieee754_powl): Use __powl_helper for finite arguments except
17086 integer exponents below 8.
17087 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17088 (p3): New object.
17089 (__ieee754_powl): Use __powl_helper for finite arguments except
17090 integer exponents below 8.
17091 * math/libm-test.inc (pow_test): Add more tests and enable some
17092 previously disabled tests.
17093 * sysdeps/i386/fpu/libm-test-ulps: Update.
17094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17095
0817d63d
SP
170962012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17097 Carlos O'Donell <carlos_odonell@mentor.com>
17098
17099 * nss/makedb.c (is_prime): Assert that input is odd and greater
17100 than 4. Note that fact in a comment too.
17101 (next_prime): Add 4 to input.
17102
de2fd463
SP
171032012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17104
17105 [BZ #11741]
17106 * libio/Makefile (tests): Add test case tst-fwrite-error.
17107 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17108 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17109 * libio/tst-fwrite-error.c: New test case.
17110
c515fb51
L
171112012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17112
17113 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17114 before casting to void *.
17115 * include/libc-internal.h (__pointer_type): New macro.
17116 (__integer_if_pointer_type_sub): Likewise.
17117 (__integer_if_pointer_type): Likewise.
17118 (cast_to_integer): Likewise.
17119 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17120 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17121 before casting to atomic64_t.
17122 (atomic_exchange_acq): Likewise.
17123 (__arch_exchange_and_add_body): Likewise.
17124 (__arch_add_body): Likewise.
17125 (atomic_add_negative): Likewise.
17126 (atomic_add_zero): Likewise.
17127
4cf77aa9
JM
171282012-11-26 Joseph Myers <joseph@codesourcery.com>
17129
17130 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17131 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17132 (add_fdes): Likewise.
17133 (linear_search_fdes): Likewise.
17134 (binary_search_unencoded_fdes): Likewise.
17135
d260b3b4
AS
171362012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17137
17138 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17139
67060746
AC
171402012-11-24 Adam Conrad <adconrad@0c3.net>
17141
17142 * configure.in: Autodetect C++ header directories.
17143 * configure: Regenerated.
17144
800938a1
MF
171452012-11-23 Mike Frysinger <vapier@gentoo.org>
17146
17147 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17148
4e6e34e6
AS
171492012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17150
17151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17152
7c7feb47
JM
171532012-11-22 Joseph Myers <joseph@codesourcery.com>
17154
7184dcdf
JM
17155 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17156 LDBL_MANT_DIG == 106]: Disable some tests.
17157 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17158 Likewise.
17159 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17160 Likewise.
17161
0a42601f
JM
17162 [BZ #14871]
17163 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17164 input for small inputs. Return +/- pi/2 for large inputs.
17165 * math/libm-test.inc (atan_test): Add more tests.
17166
79c9b9fe
JM
17167 * sysdeps/generic/unwind-dw2-fde-glibc.c
17168 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17169 __attribute__ ((unused)).
17170
c60d3bf2
JM
17171 [BZ #14645]
17172 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17173 x * y if x and y are nonzero and z is zero.
17174
ef1e0867
JM
17175 [BZ #14811]
17176 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17177 nonzero exponents with absolute value below 0x1p-117 to +/-
17178 0x1p-117.
17179
1468ded3
JM
17180 [BZ #14869]
17181 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17182 up arguments below 2**-450, not just those below 2**-500.
17183 * math/libm-test.inc (hypot_test): Add another test.
17184
8e27e3cc
JM
17185 [BZ #14868]
17186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17187 Return a+b for ratio over 2**120, not 2**60.
17188 * math/libm-test.inc (hypot_test): Add another test.
17189
c9c0279b
JM
17190 * math/libm-test.inc (clog_test): Use
17191 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17192 (clog10_test): Likewise.
17193
7c7feb47
JM
17194 [BZ #6778]
17195 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17196
fff1530e
AS
171972012-11-22 Andreas Schwab <schwab@suse.de>
17198
17199 * sysdeps/i386/fpu/libm-test-ulps: Update.
17200
94558d30
PT
172012012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17202
17203 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17204 printf output with newline.
17205
7e1be741
L
172062012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17207
6bfea974
L
17208 [BZ #14865]
17209 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17210 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17211 -z nodlopen, -z initfirst and -z execstack support.
17212 * configure: Regenerated.
17213
7e1be741
L
17214 * elf/elf.h (DF_1_NODIRECT): New macro.
17215 (DF_1_IGNMULDEF): Likewise.
17216 (DF_1_NOKSYMS): Likewise.
17217 (DF_1_NOHDR): Likewise.
17218 (DF_1_EDITED): Likewise.
17219 (DF_1_NORELOC): Likewise.
17220 (DF_1_SYMINTPOSE): Likewise.
17221 (DF_1_GLOBAUDIT): Likewise.
17222 (DF_1_SINGLETON): Likewise.
17223 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17224 DT_1_SUPPORTED_MASK bits.
17225 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17226
105ce2ce
CD
172272012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17228
17229 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17230
123be9de
TS
172312012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17232
d072f3f7
TS
17233 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17234 macro.
17235
123be9de
TS
17236 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17237 (sendmmsg): Move declarations...
17238 * socket/sys/socket.h: ... here.
17239 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17240 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17241 include it from...
17242 * socket/recvmmsg.c: ... this new file.
17243 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17244 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17245 definition of __sendmmsg hidden.
17246 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17247 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17248 Move ENOSYS stub into and include it from...
17249 * socket/sendmmsg.c: ... this new file.
17250 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17251 (sysdep_routines): Move recvmmsg and sendmmsg...
17252 * socket/Makefile (routines): ... here.
17253 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17254 (GLIBC_PRIVATE): Add __sendmmsg.
17255 * include/sys/socket.h (__sendmmsg): Add declarations.
17256 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17257 sendmmsg.
17258
cf9a5d18
JM
172592012-11-20 Joseph Myers <joseph@codesourcery.com>
17260
17261 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17262 variable I1 with __attribute__ ((unused)).
17263 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17264
ecd4caf9
JM
172652012-11-19 Joseph Myers <joseph@codesourcery.com>
17266
be14d48f
JM
17267 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17268 DUMMY variables with __attribute__ ((unused)).
17269
ecd4caf9
JM
17270 * bits/byteswap.h: Include <bits/types.h>.
17271 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17272
986cab95
PT
172732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17274
17275 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17276 string_t. Do not manually set errno.
17277 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17278 length with __strnlen. Make sure to both set errno and return it on
17279 failure.
17280
6d33cc9d
DM
172812012-11-19 David S. Miller <davem@davemloft.net>
17282
17283 With help from Joseph Myers.
17284 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17285 very large arguments properly.
17286 * math/libm-test.inc (atan_test): New tests.
17287 (atan2_test): New tests.
17288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17290
ee663277
JM
172912012-11-19 Joseph Myers <joseph@codesourcery.com>
17292
877f2d8e
JM
17293 [BZ #14856]
17294 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17295 Define to 3.
17296
116fc08a
JM
17297 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17298 [POSIX] (EADDRNOTAVAIL): Likewise.
17299 [POSIX] (EAFNOSUPPORT): Likewise.
17300 [POSIX] (EALREADY): Likewise.
17301 [POSIX] (ECONNABORTED): Likewise.
17302 [POSIX] (ECONNREFUSED): Likewise.
17303 [POSIX] (ECONNRESET): Likewise.
17304 [POSIX] (EDESTADDRREQ): Likewise.
17305 [POSIX] (EDQUOT): Likewise.
17306 [POSIX] (EHOSTUNREACH): Likewise.
17307 [POSIX] (EIDRM): Likewise.
17308 [POSIX] (EISCONN): Likewise.
17309 [POSIX] (ELOOP): Likewise.
17310 [POSIX] (EMULTIHOP): Likewise.
17311 [POSIX] (ENETDOWN): Likewise.
17312 [POSIX] (ENETUNREACH): Likewise.
17313 [POSIX] (ENOBUFS): Likewise.
17314 [POSIX] (ENODATA): Likewise.
17315 [POSIX] (ENOLINK): Likewise.
17316 [POSIX] (ENOMSG): Likewise.
17317 [POSIX] (ENOPROTOOPT): Likewise.
17318 [POSIX] (ENOSR): Likewise.
17319 [POSIX] (ENOSTR): Likewise.
17320 [POSIX] (ENOTCONN): Likewise.
17321 [POSIX] (ENOTSOCK): Likewise.
17322 [POSIX] (EOPNOTSUPP): Likewise.
17323 [POSIX] (EOVERFLOW): Likewise.
17324 [POSIX] (EPROTO): Likewise.
17325 [POSIX] (EPROTONOSUPPORT): Likewise.
17326 [POSIX] (EPROTOTYPE): Likewise.
17327 [POSIX] (ESTALE): Likewise.
17328 [POSIX] (ETIME): Likewise.
17329 [POSIX] (ETXTBSY): Likewise.
17330 [POSIX] (EWOULDBLOCK): Likewise.
17331 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17332 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17333 [POSIX] (SEEK_CUR): Likewise.
17334 [POSIX] (SEEK_END): Likewise.
17335 [POSIX || UNIX98] (mode_t): Do not require.
17336 [POSIX] (off_t): Likewise.
17337 [POSIX] (pid_t): Likewise.
17338 [POSIX] (sys/stat.h): Do not allow header.
17339 [POSIX] (unistd.h): Likewise.
17340 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17341 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17342 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17343 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17344 require.
17345 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17346 sigevent): Specify elements.
17347 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17348 entry.
17349 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17350 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17351
a483863f
JM
17352 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17353 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17354 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17355 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17356 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17357 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17358 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17359 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17360 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17361 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17362 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17363 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17364 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17365 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17366 Likewise.
17367 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17368 Likewise.
17369 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17370 Likewise.
17371 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17372 Likewise.
17373 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17374 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17375 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17376 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17377 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17378 Specify lower bound on value.
17379 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17380 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17381 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17382 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17383 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17384 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17385 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17386 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17387 value.
17388 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17389 as optional.
17390 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17391 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17392 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17393 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17394 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17395 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17396 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17397 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17398 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17399 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17400 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17401 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17402 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17403 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17404 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17405 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17406 entry.
17407 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17408 optional.
17409 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17410 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17411 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17412 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17413 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17414 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17415 Likewise.
17416 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17417 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17418 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17419 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17420 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17421 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17422 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17423 as optional.
17424 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17425 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17426 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17427 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17428 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17429 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17430 specify as optional.
17431 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17432 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17433 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17434 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17435 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17436 [XPG3] (NL_LANGMAX): Likewise.
17437 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17438 [POSIX || XPG3] (NL_NMAX): Likewise.
17439 [POSIX || XPG3] (NL_SETMAX): Likewise.
17440 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17441 [XPG3] (NZERO): Likewise.
17442 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17443 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17444 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17445 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17446 (REG_ERANGE): Expect.
17447 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17448 optional-constant.
17449 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17450 Use (void) in prototype.
17451 [POSIX] (*_t): Allow.
17452 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17453 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17454 (WRDE_BADVAL): Expect.
17455
5ba924e3
JM
17456 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17457 expect.
17458 [XPG3 || XPG4] (O_RSYNC): Likewise.
17459 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17460 Likewise.
17461 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17462 [XPG3 || XPG4] (sigqueue): Likewise.
17463 [XPG3 || XPG4] (sigtimedwait): Likewise.
17464 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17465 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17466 [XPG3 || XPG4] (vsnprintf): Likewise.
17467 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17468 Likewise.
17469 [XPG3 || XPG4] (blksize_t): Likewise.
17470 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17471 Likewise.
17472 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17473 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17474 [XPG3 || XPG4] (struct itimerspec): Likewise.
17475 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17476 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17477 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17478 [XPG3 || XPG4] (clockid_t): Likewise.
17479 [XPG3 || XPG4] (timer_t): Likewise.
17480 [XPG3 || XPG4] (clock_getres): Likewise.
17481 [XPG3 || XPG4] (clock_gettime): Likewise.
17482 [XPG3 || XPG4] (clock_settime): Likewise.
17483 [XPG3 || XPG4] (nanosleep): Likewise.
17484 [XPG3 || XPG4] (timer_create): Likewise.
17485 [XPG3 || XPG4] (timer_delete): Likewise.
17486 [XPG3 || XPG4] (timer_gettime): Likewise.
17487 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17488 [XPG3 || XPG4] (timer_settime): Likewise.
17489 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17490 [XPG3 || XPG4] (getlogin_r): Likewise.
17491 [XPG3 || XPG4] (pread): Likewise.
17492 [XPG3 || XPG4] (pthread_atfork): Likewise.
17493 [XPG3 || XPG4] (pwrite): Likewise.
17494
ee663277
JM
17495 [BZ #14835]
17496 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17497 <bits/siginfo.h>.
17498
942caa16
PT
174992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17500
e19af380
PT
17501 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17502 finalizing MALLSTREAM.
17503
942caa16
PT
17504 * sysdeps/mach/hurd/syncfs.c: New file.
17505
cfde9b46
SP
175062012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17507
17508 [BZ #14719]
17509 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17510 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17511 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17512 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17513 (_nss_dns_gethostbyname4_r): Likewise.
17514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17515 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17516
f6da27e5
PH
175172012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17518
17519 [BZ #13763]
17520 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17521
6665d4a2
SM
175222012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17523
1f51ee92
SM
17524 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17525 * elf/cache.c (print_entry): Print ",AArch64" for
17526 FLAG_AARCH64_LIB64
17527
6665d4a2
SM
17528 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17529 * elf/cache.c (print_entry): Print ",hard-float" for
17530 FLAG_ARM_LIBHF.
17531
05b227bd
DM
175322012-11-18 David S. Miller <davem@davemloft.net>
17533
17534 With help from Joseph Myers.
17535 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17536 cutoff to 2**-13.
17537 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17538 cutoff to 2**-25.
17539 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17540 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17541 small.
17542 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17543 * math/libm-test.inc (y0_test): New tests.
17544 (y1_test): New tests.
17545 * sysdeps/i386/fpu/libm-test-ulps: Update.
17546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17548
786b0b67
AS
175492012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17550
17551 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17552 64-bit targets.
17553 * configure: Regenerated.
17554
8e18b86d
DM
175552012-11-17 David S. Miller <davem@davemloft.net>
17556
17557 [BZ #14811]
17558 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17559 nonzero exponents with absolute value below 0x1p-128 to +/-
17560 0x1p-128.
17561
531f1ae0
JM
175622012-11-17 Joseph Myers <joseph@codesourcery.com>
17563
12df29e2
JM
17564 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17565
150dc1a0
JM
17566 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17567
531f1ae0
JM
17568 * posix/getconf-speclist.c: New file.
17569 * posix/posix-envs.def: Likewise.
17570 * posix/confstr.c (START_ENV_GROUP): New macro.
17571 (END_ENV_GROUP): Likewise.
17572 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17573 (KNOWN_PRESENT_ENV_STRING): Likewise.
17574 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17575 (UNKNOWN_ENVIRONMENT): Likewise.
17576 (confstr): Include posix-envs.def instead of handling
17577 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17578 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17579 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17580 (END_ENV_GROUP): Likewise.
17581 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17582 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17583 (UNKNOWN_ENVIRONMENT): Likewise.
17584 (__sysconf): Include posix-envs.def instead of handling associated
17585 cases directly here.
17586 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17587 preprocessing getconf-speclist.c rather than running getconf or
17588 generating empty file.
17589
a93f9cbc
PT
175902012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17591
17592 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17593
d64d9f87
AL
175942012-11-16 Andrej Lajovic <natrij@gmail.com>
17595
17596 [BZ #14672]
17597 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17598
447885eb
DM
175992012-11-16 David S. Miller <davem@davemloft.net>
17600
17601 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17602 smaller than LDBL_EPSILON/2.0L, just return xm1.
17603
bcbf9830
L
176042012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17605
17606 * elf/tst-array1.c (init): Set constructor priority to 1000.
17607 (fini): Set destructor priority to 1000.
17608 * elf/tst-array2dep.c: Likewise.
17609
2b766585
SP
176102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17611
17612 [BZ #11741]
17613 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17614 (_IO_new_file_xsputn): Also return EOF if none of the input
17615 data was written when overflow failed.
17616 * libio/iopadn.c (_IO_padn): Likewise.
17617 * libio/iowpadn.c (_IO_wpadn): Likewise.
17618 * stdio-common/tst-put-error.c: Add copyright notice.
17619 (do_test): Add case for printing padded string.
17620 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17621 _IO_padn returned error.
17622 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17623 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17624 return EOF.
17625
b1848fde
SP
176262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17627
17628 * libio/libioP.h: Add comment note that the references to C++
17629 bits are now obsolete.
17630
2fd89785
MS
176312012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17632
17633 * math/libm-test.inc (check_complex): Use asprintf.
17634
e3ea5409
JM
176352012-11-14 Joseph Myers <joseph@codesourcery.com>
17636
17637 * debug/pcprofiledump.c (print_version): Update copyright year.
17638 * malloc/memusagestat.c (print_version): Likewise.
17639
2e64d265
L
176402012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17641
17642 [BZ #14831]
17643 * elf/Makefile (tests): Add tst-audit8.
17644 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17645 ($(objpfx)tst-audit8.out): New target.
17646 (tst-audit8-ENV): New variable.
17647 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17648 audit if l_reloc_result is NULL.
17649 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17650 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17651 * elf/tst-audit8.c: New file.
17652
c485e4d2
MS
176532012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17654
17655 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17656 * misc/Makefile (CFLAGS-select.c): Define.
17657 * posix/Makefile (CFLAGS-pause.c): Define.
17658
3a0d900a
DM
176592012-11-13 David S. Miller <davem@davemloft.net>
17660
17661 * crypt/Makefile: Move test targets after toplevel Rules
17662 inclusion. Grab any necessary sysdep routines when linking.
17663 * crypt/md5.c (md5_process_block): Remove define, we will always
17664 name it __md5_process_block.
17665 (md5_finish_ctx): Update md5_process_block call.
17666 (md5_stream): Likewise.
17667 (md5_process_bytes): Likewise.
17668 (md5_process_block): Rename to __md5_process_block and move to ...
17669 * crypt/md5-block.c: ... here.
17670 * crypt/sha256.c (sha256_process_block): Move to ...
17671 * crypt/sha256-block.c: ... here.
17672 * crypt/sha512.c (sha512_process_block): Move to ...
17673 * crypt/sha512-block.c: ... here.
17674 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17675 path.
17676 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17677 * sysdeps/sparc/sparc64/multiarch/Makefile
17678 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17679 crypt subdir.
17680 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17681 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17682 multiarch changes.
17683 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17684 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17685 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17686 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17687 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17688 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17689 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17690 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17692 file.
17693 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17694 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17695 file.
17696 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17697
8ca89318
JM
176982012-11-13 Joseph Myers <joseph@codesourcery.com>
17699
e27d476a
JM
17700 * timezone/tzselect.ksh: Update from tzcode git revision
17701 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17702 * timezone/zdump.c: Likewise.
17703 * timezone/zic.c: Likewise.
17704 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17705 in TZVERSION setting, not $(PKGVERSION).
17706 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17707 REPORT_BUGS_TO settings.
17708
8ca89318
JM
17709 [BZ #14838]
17710 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17711 macro.
17712
47594329
MS
177132012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17714
17715 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17716 detection to immediately after _FP_ROUND().
17717 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17718 bits are 0.
17719
640ac3f1
DM
177202012-11-11 David S. Miller <davem@davemloft.net>
17721
17722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17723 inttypes.h
17724 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17725 __close rather than their public counterparts.
17726
3d2577bb
JM
177272012-11-10 Joseph Myers <joseph@codesourcery.com>
17728
17729 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17730 file.
17731 [UNIX98] (sem_timedwait): Do not expect.
17732 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17733 [XPG4 || UNIX98] (sockatmark): Do not expect.
17734 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17735 (clock_getcpuclockid): Do not expect.
17736 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17737 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17738 Do not expect.
17739 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17740 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17741 [UNIX98] (vwscanf): Likewise.
17742 [UNIX98] (vswscanf): Likewise.
17743
fb1ae1ee
JM
177442012-11-09 Joseph Myers <joseph@codesourcery.com>
17745
9ec6f8bd
JM
17746 * timezone/version.h: Remove file.
17747 * timezone/README: Do not refer to version.h.
17748 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17749 $(objpfx)version.h.
17750 ($(objpfx)zdump.o): Likewise.
c3f81911 17751 ($(objpfx)version.h): New target.
9ec6f8bd 17752
0aa8f8a1
JM
17753 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17754 2012i.
17755 * timezone/README: Don't mention modification to tzselect.ksh.
17756 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17757 work on unmodified tzselect.ksh. Substitute version numbers in
17758 tzselect.ksh.
17759
4e87147f
JM
17760 * Makefile (format-me): Remove.
17761 (INSTALL): Adjust indentation. Use commands directly instead of
17762 using $(format-me).
17763
8b748aed
JM
17764 * aclocal.m4 (ACX_PKGVERSION): New macro.
17765 (ACX_BUGURL): Likewise.
17766 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17767 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17768 (REPORT_BUGS_TO): Likewise.
17769 * configure: Regenerated.
17770 * config.h.in (PKGVERSION): New macro.
17771 (REPORT_BUGS_TO): Likewise.
17772 * config.make.in (PKGVERSION): New variable.
17773 (PKGVERSION_TEXI): Likewise.
17774 (REPORT_BUGS_TO): Likewise.
17775 (REPORT_BUGS_TEXI): Likewise.
17776 * Makefile (format-me): Use -I$(common-objpfx)manual.
17777 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17778 ($(common-objpfx)manual/%): New target.
17779 (manual/%): Remove target.
17780 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17781 (print_version): Use PKGVERSION.
17782 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17783 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17784 and REPORT_BUGS_TO.
17785 ($(objpfx)xtrace): Likewise.
17786 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17787 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17788 (print_version): Use PKGVERSION.
17789 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17790 (do_version): Use PKGVERSION.
17791 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17792 REPORT_BUGS_TO.
17793 (common-ldd-rewrite): Likewise.
17794 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17795 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17796 (print_version): Use PKGVERSION.
17797 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17798 * elf/pldd.c (argp_program_bug_address): Remove variable.
17799 (more_help): New function.
17800 (argp): Use more_help.
17801 (print_version): Use PKGVERSION.
17802 * elf/sln.c (main): Use PKGVERSION.
17803 (usage): Use REPORT_BUGS_TO.
17804 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17805 (top level): Use PKGVERSION.
17806 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17807 (print_version): Use PKGVERSION.
17808 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17809 (print_version): Use PKGVERSION.
17810 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17811 (print_version): Use PKGVERSION.
17812 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17813 (print_version): Use PKGVERSION.
17814 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17815 (print_version): Use PKGVERSION.
17816 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17817 (print_version): Use PKGVERSION.
17818 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17819 and BUGURL.
17820 ($(objpfx)memusage): Likewise.
17821 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17822 (do_version): Use PKGVERSION.
17823 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17824 (print_version): Use PKGVERSION.
17825 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17826 ($PKGVERSION): New variable.
17827 ($REPORT_BUGS_TO): Likewise.
17828 (usage): Use $REPORT_BUGS_TO.
17829 (top level): Use $PKGVERSION.
17830 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17831 ($(objpfx)pkgvers.texi): New rule.
17832 ($(objpfx)stamp-pkgvers): Likewise.
17833 * manual/install.texi: Include pkgvers.texi.
17834 (--with-pkgversion): Document new configure option.
17835 (--with-bugurl): Likewise.
17836 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17837 than necessarily for this particular distribution. Use
17838 REPORT_BUGS_TO for where to report bugs.
17839 * INSTALL: Regenerated.
17840 * manual/libc.texinfo: Include pkgvers.texi.
17841 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17842 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17843 (print_version): Use PKGVERSION.
17844 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17845 (print_version): Use PKGVERSION.
17846 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17847 (print_version): Use PKGVERSION.
17848 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17849 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17850 macro.
17851 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17852 (print_version): Use PKGVERSION.
17853 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17854 (print_version): Use PKGVERSION.
17855 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17856 and PKGVERSION.
17857
92e4b6a9
JM
17858 * timezone/checktab.awk: Update from tzcode 2012i.
17859 * timezone/ialloc.c: Likewise.
17860 * timezone/private.h: Likewise.
17861 * timezone/scheck.c: Likewise.
17862 * timezone/tzfile.h: Likewise.
17863 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17864 (TZVERSION): Hardcode tzcode version number.
17865 * timezone/zdump.c: Update from tzcode 2012i.
17866 * timezone/zic.c: Likewise.
17867 * timezone/version.h: New file.
17868 * timezone/README: Describe version.h. Update upstream location.
17869
9bde902c
JM
17870 [BZ #14824]
17871 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17872 (mktemp): Enable declaration.
17873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17877 Likewise.
17878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17879 Likewise.
17880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17881 Likewise.
17882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17883 Likewise.
17884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17885 Likewise.
17886 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17887 Likewise.
17888
fb1ae1ee
JM
17889 [BZ #14821]
17890 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17891 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17892 for copies of such integer values.
17893 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17894 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17895
2c1adbcb
AJ
178962012-11-09 Andreas Jaeger <aj@suse.de>
17897
17898 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17899 definitions and declarations that are provided by
17900 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17901
d0f8457e
AK
179022012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17903
3a235abb 17904 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
17905 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17906 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17907 definition.
17908
57241e26
MS
179092012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17910
17911 * elf/elf.h: Update comment before AArch64 relocations.
17912
60e8270d
DM
179132012-11-07 David S. Miller <davem@davemloft.net>
17914
17915 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17916 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17917 (__start_context): Declare.
17918 (__makecontext_ret): Delete.
17919 (__makecontext): Hook up __start_context instead of
17920 __makecontext_ret.
17921 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17922 (sysdep_routines): Add __start_context when in stdlib.
17923
0fbb0fbc
JM
179242012-11-07 Joseph Myers <joseph@codesourcery.com>
17925
17926 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17927 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17928 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17929 hardcoded "nm".
17930 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17931 (READELF): New variable. Use it instead of hardcoded "readelf".
17932
eb48db7e
L
179332012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17934
17935 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17936 * sysdeps/x86/Makefile: Here.
17937 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17938 * sysdeps/x86/tst-xmmymm.sh: This.
17939
05bcf62a
JM
179402012-11-07 Joseph Myers <joseph@codesourcery.com>
17941
c4b6cf53
JM
17942 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17943 expectations.
17944 [UNIX98] (pthread_barrier_t): Do not expect.
17945 [UNIX98] (pthread_barrierattr_t): Likewise.
17946 [UNIX98] (pthread_spinlock_t): Likewise.
17947 [UNIX98] (pthread_barrier_destroy): Likewise.
17948 [UNIX98] (pthread_barrier_init): Likewise.
17949 [UNIX98] (pthread_barrier_wait): Likewise.
17950 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17951 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17952 [UNIX98] (pthread_barrierattr_init): Likewise.
17953 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17954 [UNIX98] (pthread_getcpuclockid): Likewise.
17955 [UNIX98] (pthread_mutex_timedlock): Likewise.
17956 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17957 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17958 [UNIX98] (pthread_sigmask): Likewise.
17959 [UNIX98] (pthread_spin_destroy): Likewise.
17960 [UNIX98] (pthread_spin_init): Likewise.
17961 [UNIX98] (pthread_spin_lock): Likewise.
17962 [UNIX98] (pthread_spin_trylock): Likewise.
17963 [UNIX98] (pthread_spin_unlock): Likewise.
17964 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17965 Do not expect.
17966 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17967 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17968 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17969 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17970 [XPG3 || XPG4] (pthread_key_t): Likewise.
17971 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17972 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17973 [XPG3 || XPG4] (pthread_once_t): Likewise.
17974 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17975 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17976 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17977 [XPG3 || XPG4] (pthread_t): Likewise.
17978
cbe6e120
JM
17979 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17980 not expect.
17981 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17982
1b126443
JM
17983 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17984 Change function return type to int.
17985
b961a573
JM
17986 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17987 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17988 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17989 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17990 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17991 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17992 [!POSIX] (posix_madvise): Likewise.
17993 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17994 && !UNIX98].
17995 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17996 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17997 (mode_t): Likewise.
17998 (posix_mem_offset): Likewise.
17999 (posix_typed_mem_get_info): Likewise.
18000 (posix_typed_mem_open): Likewise.
18001
9e188909
JM
18002 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18003 Change condition to [XOPEN2K8].
18004
05bcf62a
JM
18005 * conform/conformtest.pl: Preprocess allow-header data with -x c
18006 instead of from stdin.
18007 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18008 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18009 [C99-based standards] (cerfc): Likewise.
18010 [C99-based standards] (cexp2): Likewise.
18011 [C99-based standards] (cexpm1): Likewise.
18012 [C99-based standards] (clog10): Likewise.
18013 [C99-based standards] (clog1p): Likewise.
18014 [C99-based standards] (clog2): Likewise.
18015 [C99-based standards] (clgamma): Likewise.
18016 [C99-based standards] (ctgamma): Likewise.
18017 [C99-based standards] (cerff): Likewise.
18018 [C99-based standards] (cerfcf): Likewise.
18019 [C99-based standards] (cexp2f): Likewise.
18020 [C99-based standards] (cexpm1f): Likewise.
18021 [C99-based standards] (clog10f): Likewise.
18022 [C99-based standards] (clog1pf): Likewise.
18023 [C99-based standards] (clog2f): Likewise.
18024 [C99-based standards] (clgammaf): Likewise.
18025 [C99-based standards] (ctgammaf): Likewise.
18026 [C99-based standards] (cerfl): Likewise.
18027 [C99-based standards] (cerfcl): Likewise.
18028 [C99-based standards] (cexp2l): Likewise.
18029 [C99-based standards] (cexpm1l): Likewise.
18030 [C99-based standards] (clog10l): Likewise.
18031 [C99-based standards] (clog1pl): Likewise.
18032 [C99-based standards] (clog2l): Likewise.
18033 [C99-based standards] (clgammal): Likewise.
18034 [C99-based standards] (ctgammal): Likewise.
18035 * conform/data/inttypes.h-data [C99-based standards]: Include
18036 stdint.h-data. Remove all expectations for stdint.h contents.
18037 [C99-based standards] (PRI*): Do not allow.
18038 [C99-based standards] (SCN*): Likewise.
18039 [C99-based standards] (*_t): Likewise.
18040 [C99-based-standards] (PRId8): Expect macro.
18041 [C99-based-standards] (PRIi8): Likewise.
18042 [C99-based-standards] (PRIo8): Likewise.
18043 [C99-based-standards] (PRIu8): Likewise.
18044 [C99-based-standards] (PRIx8): Likewise.
18045 [C99-based-standards] (PRIX8): Likewise.
18046 [C99-based-standards] (SCNd8): Likewise.
18047 [C99-based-standards] (SCNi8): Likewise.
18048 [C99-based-standards] (SCNo8): Likewise.
18049 [C99-based-standards] (SCNu8): Likewise.
18050 [C99-based-standards] (SCNx8): Likewise.
18051 [C99-based-standards] (PRIdLEAST8): Likewise.
18052 [C99-based-standards] (PRIiLEAST8): Likewise.
18053 [C99-based-standards] (PRIoLEAST8): Likewise.
18054 [C99-based-standards] (PRIuLEAST8): Likewise.
18055 [C99-based-standards] (PRIxLEAST8): Likewise.
18056 [C99-based-standards] (PRIXLEAST8): Likewise.
18057 [C99-based-standards] (SCNdLEAST8): Likewise.
18058 [C99-based-standards] (SCNiLEAST8): Likewise.
18059 [C99-based-standards] (SCNoLEAST8): Likewise.
18060 [C99-based-standards] (SCNuLEAST8): Likewise.
18061 [C99-based-standards] (SCNxLEAST8): Likewise.
18062 [C99-based-standards] (PRIdFAST8): Likewise.
18063 [C99-based-standards] (PRIiFAST8): Likewise.
18064 [C99-based-standards] (PRIoFAST8): Likewise.
18065 [C99-based-standards] (PRIuFAST8): Likewise.
18066 [C99-based-standards] (PRIxFAST8): Likewise.
18067 [C99-based-standards] (PRIXFAST8): Likewise.
18068 [C99-based-standards] (SCNdFAST8): Likewise.
18069 [C99-based-standards] (SCNiFAST8): Likewise.
18070 [C99-based-standards] (SCNoFAST8): Likewise.
18071 [C99-based-standards] (SCNuFAST8): Likewise.
18072 [C99-based-standards] (SCNxFAST8): Likewise.
18073 [C99-based-standards] (PRId16): Likewise.
18074 [C99-based-standards] (PRIi16): Likewise.
18075 [C99-based-standards] (PRIo16): Likewise.
18076 [C99-based-standards] (PRIu16): Likewise.
18077 [C99-based-standards] (PRIx16): Likewise.
18078 [C99-based-standards] (PRIX16): Likewise.
18079 [C99-based-standards] (SCNd16): Likewise.
18080 [C99-based-standards] (SCNi16): Likewise.
18081 [C99-based-standards] (SCNo16): Likewise.
18082 [C99-based-standards] (SCNu16): Likewise.
18083 [C99-based-standards] (SCNx16): Likewise.
18084 [C99-based-standards] (PRIdLEAST16): Likewise.
18085 [C99-based-standards] (PRIiLEAST16): Likewise.
18086 [C99-based-standards] (PRIoLEAST16): Likewise.
18087 [C99-based-standards] (PRIuLEAST16): Likewise.
18088 [C99-based-standards] (PRIxLEAST16): Likewise.
18089 [C99-based-standards] (PRIXLEAST16): Likewise.
18090 [C99-based-standards] (SCNdLEAST16): Likewise.
18091 [C99-based-standards] (SCNiLEAST16): Likewise.
18092 [C99-based-standards] (SCNoLEAST16): Likewise.
18093 [C99-based-standards] (SCNuLEAST16): Likewise.
18094 [C99-based-standards] (SCNxLEAST16): Likewise.
18095 [C99-based-standards] (PRIdFAST16): Likewise.
18096 [C99-based-standards] (PRIiFAST16): Likewise.
18097 [C99-based-standards] (PRIoFAST16): Likewise.
18098 [C99-based-standards] (PRIuFAST16): Likewise.
18099 [C99-based-standards] (PRIxFAST16): Likewise.
18100 [C99-based-standards] (PRIXFAST16): Likewise.
18101 [C99-based-standards] (SCNdFAST16): Likewise.
18102 [C99-based-standards] (SCNiFAST16): Likewise.
18103 [C99-based-standards] (SCNoFAST16): Likewise.
18104 [C99-based-standards] (SCNuFAST16): Likewise.
18105 [C99-based-standards] (SCNxFAST16): Likewise.
18106 [C99-based-standards] (PRId32): Likewise.
18107 [C99-based-standards] (PRIi32): Likewise.
18108 [C99-based-standards] (PRIo32): Likewise.
18109 [C99-based-standards] (PRIu32): Likewise.
18110 [C99-based-standards] (PRIx32): Likewise.
18111 [C99-based-standards] (PRIX32): Likewise.
18112 [C99-based-standards] (SCNd32): Likewise.
18113 [C99-based-standards] (SCNi32): Likewise.
18114 [C99-based-standards] (SCNo32): Likewise.
18115 [C99-based-standards] (SCNu32): Likewise.
18116 [C99-based-standards] (SCNx32): Likewise.
18117 [C99-based-standards] (PRIdLEAST32): Likewise.
18118 [C99-based-standards] (PRIiLEAST32): Likewise.
18119 [C99-based-standards] (PRIoLEAST32): Likewise.
18120 [C99-based-standards] (PRIuLEAST32): Likewise.
18121 [C99-based-standards] (PRIxLEAST32): Likewise.
18122 [C99-based-standards] (PRIXLEAST32): Likewise.
18123 [C99-based-standards] (SCNdLEAST32): Likewise.
18124 [C99-based-standards] (SCNiLEAST32): Likewise.
18125 [C99-based-standards] (SCNoLEAST32): Likewise.
18126 [C99-based-standards] (SCNuLEAST32): Likewise.
18127 [C99-based-standards] (SCNxLEAST32): Likewise.
18128 [C99-based-standards] (PRIdFAST32): Likewise.
18129 [C99-based-standards] (PRIiFAST32): Likewise.
18130 [C99-based-standards] (PRIoFAST32): Likewise.
18131 [C99-based-standards] (PRIuFAST32): Likewise.
18132 [C99-based-standards] (PRIxFAST32): Likewise.
18133 [C99-based-standards] (PRIXFAST32): Likewise.
18134 [C99-based-standards] (SCNdFAST32): Likewise.
18135 [C99-based-standards] (SCNiFAST32): Likewise.
18136 [C99-based-standards] (SCNoFAST32): Likewise.
18137 [C99-based-standards] (SCNuFAST32): Likewise.
18138 [C99-based-standards] (SCNxFAST32): Likewise.
18139 [C99-based-standards] (PRId64): Likewise.
18140 [C99-based-standards] (PRIi64): Likewise.
18141 [C99-based-standards] (PRIo64): Likewise.
18142 [C99-based-standards] (PRIu64): Likewise.
18143 [C99-based-standards] (PRIx64): Likewise.
18144 [C99-based-standards] (PRIX64): Likewise.
18145 [C99-based-standards] (SCNd64): Likewise.
18146 [C99-based-standards] (SCNi64): Likewise.
18147 [C99-based-standards] (SCNo64): Likewise.
18148 [C99-based-standards] (SCNu64): Likewise.
18149 [C99-based-standards] (SCNx64): Likewise.
18150 [C99-based-standards] (PRIdLEAST64): Likewise.
18151 [C99-based-standards] (PRIiLEAST64): Likewise.
18152 [C99-based-standards] (PRIoLEAST64): Likewise.
18153 [C99-based-standards] (PRIuLEAST64): Likewise.
18154 [C99-based-standards] (PRIxLEAST64): Likewise.
18155 [C99-based-standards] (PRIXLEAST64): Likewise.
18156 [C99-based-standards] (SCNdLEAST64): Likewise.
18157 [C99-based-standards] (SCNiLEAST64): Likewise.
18158 [C99-based-standards] (SCNoLEAST64): Likewise.
18159 [C99-based-standards] (SCNuLEAST64): Likewise.
18160 [C99-based-standards] (SCNxLEAST64): Likewise.
18161 [C99-based-standards] (PRIdFAST64): Likewise.
18162 [C99-based-standards] (PRIiFAST64): Likewise.
18163 [C99-based-standards] (PRIoFAST64): Likewise.
18164 [C99-based-standards] (PRIuFAST64): Likewise.
18165 [C99-based-standards] (PRIxFAST64): Likewise.
18166 [C99-based-standards] (PRIXFAST64): Likewise.
18167 [C99-based-standards] (SCNdFAST64): Likewise.
18168 [C99-based-standards] (SCNiFAST64): Likewise.
18169 [C99-based-standards] (SCNoFAST64): Likewise.
18170 [C99-based-standards] (SCNuFAST64): Likewise.
18171 [C99-based-standards] (SCNxFAST64): Likewise.
18172 [C99-based-standards] (PRIdMAX): Likewise.
18173 [C99-based-standards] (PRIiMAX): Likewise.
18174 [C99-based-standards] (PRIoMAX): Likewise.
18175 [C99-based-standards] (PRIuMAX): Likewise.
18176 [C99-based-standards] (PRIxMAX): Likewise.
18177 [C99-based-standards] (PRIXMAX): Likewise.
18178 [C99-based-standards] (SCNdMAX): Likewise.
18179 [C99-based-standards] (SCNiMAX): Likewise.
18180 [C99-based-standards] (SCNoMAX): Likewise.
18181 [C99-based-standards] (SCNuMAX): Likewise.
18182 [C99-based-standards] (SCNxMAX): Likewise.
18183 [C99-based-standards] (PRIdPTR): Likewise.
18184 [C99-based-standards] (PRIiPTR): Likewise.
18185 [C99-based-standards] (PRIoPTR): Likewise.
18186 [C99-based-standards] (PRIuPTR): Likewise.
18187 [C99-based-standards] (PRIxPTR): Likewise.
18188 [C99-based-standards] (PRIXPTR): Likewise.
18189 [C99-based-standards] (SCNdPTR): Likewise.
18190 [C99-based-standards] (SCNiPTR): Likewise.
18191 [C99-based-standards] (SCNoPTR): Likewise.
18192 [C99-based-standards] (SCNuPTR): Likewise.
18193 [C99-based-standards] (SCNxPTR): Likewise.
18194 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18195 allow.
18196 * conform/data/stdint.h-data: Update comments to clarify
18197 requirements.
18198 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18199 type.
18200 [C99-based standards] (INT8_MAX): Likewise.
18201 [C99-based standards] (INT16_MIN): Likewise.
18202 [C99-based standards] (INT16_MAX): Likewise.
18203 [C99-based standards] (INT32_MIN): Likewise.
18204 [C99-based standards] (INT32_MAX): Likewise.
18205 [C99-based standards] (INT64_MIN): Likewise.
18206 [C99-based standards] (INT64_MAX): Likewise.
18207 [C99-based standards] (UINT8_MAX): Likewise.
18208 [C99-based standards] (UINT16_MAX): Likewise.
18209 [C99-based standards] (UINT32_MAX): Likewise.
18210 [C99-based standards] (UINT64_MAX): Likewise.
18211 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18212 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18213 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18214 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18215 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18216 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18217 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18218 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18219 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18220 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18221 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18222 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18223 [C99-based standards] (INT_FAST8_MIN): Likewise.
18224 [C99-based standards] (INT_FAST8_MAX): Likewise.
18225 [C99-based standards] (INT_FAST16_MIN): Likewise.
18226 [C99-based standards] (INT_FAST16_MAX): Likewise.
18227 [C99-based standards] (INT_FAST32_MIN): Likewise.
18228 [C99-based standards] (INT_FAST32_MAX): Likewise.
18229 [C99-based standards] (INT_FAST64_MIN): Likewise.
18230 [C99-based standards] (INT_FAST64_MAX): Likewise.
18231 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18232 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18233 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18234 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18235 [C99-based standards] (INTPTR_MIN): Likewise.
18236 [C99-based standards] (INTPTR_MAX): Likewise.
18237 [C99-based standards] (UINTPTR_MAX): Likewise.
18238 [C99-based standards] (INTMAX_MIN): Likewise.
18239 [C99-based standards] (INTMAX_MAX): Likewise.
18240 [C99-based standards] (UINTMAX_MAX): Likewise.
18241 [C99-based standards] (PTRDIFF_MIN): Likewise.
18242 [C99-based standards] (PTRDIFF_MAX): Likewise.
18243 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18244 [C99-based standards] (SIZE_MAX): Likewise.
18245 [C99-based standards] (WCHAR_MAX): Likewise.
18246 [C99-based standards] (WINT_MAX): Likewise.
18247 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18248 constraint on value.
18249 [C99-based standards] (WCHAR_MIN): Likewise.
18250 [C99-based standards] (WINT_MIN): Likewise.
18251 [C99-based standards] (*_t): Allow.
18252 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18253 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18254 Include math.h-data and complex.h-data. Remove all expectations
18255 of math.h and complex.h contents.
18256 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18257 at end of line.
18258 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18259 (struct tm): Expect tag.
18260 [C99-based-standards] (wcstof): Expect function.
18261 [C99-based-standards] (wcstold): Likewise.
18262 [C99-based-standards] (wcstoll): Likewise.
18263 [C99-based-standards] (wcstoull): Likewise.
18264 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18265 macro-int-constant. Specify type.
18266 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18267 constraint on value.
18268 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18269 Specify type.
18270 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18271 Specify value.
18272 [ISO C standards]: Do not allow headers.
18273 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18274 wcs[abcdefghijklmnopqrstuvwxyz]*.
18275 [ISO C standards] (*_t): Do not allow.
18276 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18277 Expect function.
18278 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18279 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18280 Specify type.
18281 [ISO C standards]: Do not allow headers.
18282 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18283 is[abcdefghijklmnopqrstuvwxyz]*.
18284 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18285 to[abcdefghijklmnopqrstuvwxyz]*.
18286 [ISO C standards] (*_t): Do not allow.
18287 * conform/data/stdalign.h-data: New file.
18288 * conform/data/stdbool.h-data: Likewise.
18289 * conform/data/stdnoreturn.h-data: Likewise.
18290
7514feb8
RM
182912012-11-07 Roland McGrath <roland@hack.frob.com>
18292
18293 [BZ #14815]
18294 * manual/filesys.texi (Directory Entries): Typo fix.
18295 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18296
19b2ecfc
MS
182972012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18298
18299 * elf/elf.h (EM_AARCH64): New macro.
18300 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18301 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18302 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18303 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18304 (R_AARCH64_TLSDESC): Likewise.
18305 (NT_ARM_TLS): Likewise.
18306 (NT_ARM_HW_BREAK): Likewise.
18307 (NT_ARM_HW_WATCH): Likewise.
18308
60e235ee
JM
183092012-11-07 Joseph Myers <joseph@codesourcery.com>
18310
18311 [BZ #14811]
18312 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18313 (__ieee754_powl): Saturate nonzero exponents with absolute value
18314 below 0x1p-79 to +/- 0x1p-79.
18315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18316 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18317 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18318 nonzero exponents with absolute value below 0x1p-32 to +/-
18319 0x1p-32.
18320 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18321 (__ieee754_powl): Saturate nonzero exponents with absolute value
18322 below 0x1p-79 to +/- 0x1p-79.
18323 * math/libm-test.inc (pow_test): Add more tests.
18324
0ab234b7
AK
183252012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18326
18327 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18328 _dl_s390_cap_flags with kernel. Increase string length.
18329 (_dl_s390_platforms): Add z196 and zEC12.
18330
45832f74
JM
183312012-11-07 Joseph Myers <joseph@codesourcery.com>
18332
18333 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18334 Change XOPEN21K to XOPEN2K.
18335
19218757
MK
183362012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18337
18338 * string/memmove.c: Use memcpy when possible.
18339
c5f45721
AJ
183402012-11-06 Andreas Jaeger <aj@suse.de>
18341
18342 * po/eo.po: Update from translation team.
18343
82477c28
JM
183442012-11-06 Joseph Myers <joseph@codesourcery.com>
18345
18346 [BZ #14793]
18347 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18348 exponent and small x and y exponents, scale x or y up. Increase
18349 by 2 the exponent used in scaling up.
18350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18352 * math/libm-test.inc (fma_test): Add more tests.
18353 (fma_test_towardzero): Likewise.
18354 (fma_test_downward): Likewise.
18355 (fma_test_upward): Likewise.
18356
99252c8c
JM
183572012-11-05 Joseph Myers <joseph@codesourcery.com>
18358
acfa885f
JM
18359 [BZ #14805]
18360 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18361 fenv_t *.
18362
99252c8c
JM
18363 [BZ #14801]
18364 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18365 namespace for names of struct fields.
18366 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18367 fenv_t fields.
18368 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18369 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18370
d6d98dea
ST
183712012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18372
18373 [BZ #3665]
18374 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18375
e10bb107
TS
183762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18377
18378 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18379 PTR_DEMANGLE.
18380
18381 [BZ #5246]
18382 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18383 PTR_DEMANGLE.
18384
a0c2940d
JM
183852012-11-04 Joseph Myers <joseph@codesourcery.com>
18386
18387 [BZ #14797]
18388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18389 definitely overflow as x * y not x * y + z.
18390 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18392 * math/libm-test.inc (fma_test): Add more tests.
18393 (fma_test_towardzero): Likewise.
18394 (fma_test_downward): Likewise.
18395 (fma_test_upward): Likewise.
18396
b830319d
TS
183972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18398
18399 [BZ #157]
18400
18401 * include/stub-tag.h: Remove file.
18402 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18403 '#include' of it.
18404 * manual/maint.texi (Porting): Don't reference it.
18405 * Makerules ($(objpfx)stubs): Likewise.
18406 * dirent/closedir.c: Don't include <stub-tag.h>.
18407 * dirent/dirfd.c: Likewise.
18408 * dirent/fdopendir.c: Likewise.
18409 * dirent/getdents.c: Likewise.
18410 * dirent/getdents64.c: Likewise.
18411 * dirent/opendir.c: Likewise.
18412 * dirent/readdir.c: Likewise.
18413 * dirent/readdir64.c: Likewise.
18414 * dirent/readdir64_r.c: Likewise.
18415 * dirent/readdir_r.c: Likewise.
18416 * dirent/rewinddir.c: Likewise.
18417 * dirent/seekdir.c: Likewise.
18418 * dirent/telldir.c: Likewise.
18419 * gmon/profil.c: Likewise.
18420 * grp/setgroups.c: Likewise.
18421 * inet/if_index.c: Likewise.
18422 * io/access.c: Likewise.
18423 * io/chdir.c: Likewise.
18424 * io/chmod.c: Likewise.
18425 * io/chown.c: Likewise.
18426 * io/close.c: Likewise.
18427 * io/dup.c: Likewise.
18428 * io/dup2.c: Likewise.
18429 * io/dup3.c: Likewise.
18430 * io/euidaccess.c: Likewise.
18431 * io/faccessat.c: Likewise.
18432 * io/fchdir.c: Likewise.
18433 * io/fchmod.c: Likewise.
18434 * io/fchmodat.c: Likewise.
18435 * io/fchown.c: Likewise.
18436 * io/fchownat.c: Likewise.
18437 * io/fcntl.c: Likewise.
18438 * io/flock.c: Likewise.
18439 * io/fstatfs.c: Likewise.
18440 * io/fstatfs64.c: Likewise.
18441 * io/fstatvfs.c: Likewise.
18442 * io/fstatvfs64.c: Likewise.
18443 * io/futimens.c: Likewise.
18444 * io/fxstat.c: Likewise.
18445 * io/fxstat64.c: Likewise.
18446 * io/fxstatat.c: Likewise.
18447 * io/fxstatat64.c: Likewise.
18448 * io/getcwd.c: Likewise.
18449 * io/isatty.c: Likewise.
18450 * io/lchmod.c: Likewise.
18451 * io/lchown.c: Likewise.
18452 * io/link.c: Likewise.
18453 * io/linkat.c: Likewise.
18454 * io/lseek.c: Likewise.
18455 * io/lseek64.c: Likewise.
18456 * io/lxstat64.c: Likewise.
18457 * io/mkdir.c: Likewise.
18458 * io/mkdirat.c: Likewise.
18459 * io/mkfifo.c: Likewise.
18460 * io/mkfifoat.c: Likewise.
18461 * io/open.c: Likewise.
18462 * io/open64.c: Likewise.
18463 * io/openat.c: Likewise.
18464 * io/openat64.c: Likewise.
18465 * io/pipe.c: Likewise.
18466 * io/pipe2.c: Likewise.
18467 * io/poll.c: Likewise.
18468 * io/posix_fadvise.c: Likewise.
18469 * io/posix_fadvise64.c: Likewise.
18470 * io/posix_fallocate.c: Likewise.
18471 * io/posix_fallocate64.c: Likewise.
18472 * io/read.c: Likewise.
18473 * io/readlink.c: Likewise.
18474 * io/readlinkat.c: Likewise.
18475 * io/rmdir.c: Likewise.
18476 * io/sendfile.c: Likewise.
18477 * io/sendfile64.c: Likewise.
18478 * io/statfs.c: Likewise.
18479 * io/statfs64.c: Likewise.
18480 * io/statvfs.c: Likewise.
18481 * io/statvfs64.c: Likewise.
18482 * io/symlink.c: Likewise.
18483 * io/symlinkat.c: Likewise.
18484 * io/ttyname.c: Likewise.
18485 * io/ttyname_r.c: Likewise.
18486 * io/umask.c: Likewise.
18487 * io/unlink.c: Likewise.
18488 * io/unlinkat.c: Likewise.
18489 * io/utime.c: Likewise.
18490 * io/utimensat.c: Likewise.
18491 * io/write.c: Likewise.
18492 * io/xmknod.c: Likewise.
18493 * io/xmknodat.c: Likewise.
18494 * io/xstat.c: Likewise.
18495 * io/xstat64.c: Likewise.
18496 * login/getpt.c: Likewise.
18497 * login/grantpt.c: Likewise.
18498 * login/unlockpt.c: Likewise.
18499 * math/e_acoshl.c: Likewise.
18500 * math/e_acosl.c: Likewise.
18501 * math/e_asinl.c: Likewise.
18502 * math/e_atan2l.c: Likewise.
18503 * math/e_atanhl.c: Likewise.
18504 * math/e_coshl.c: Likewise.
18505 * math/e_expl.c: Likewise.
18506 * math/e_fmodl.c: Likewise.
18507 * math/e_gammal_r.c: Likewise.
18508 * math/e_hypotl.c: Likewise.
18509 * math/e_j0l.c: Likewise.
18510 * math/e_j1l.c: Likewise.
18511 * math/e_jnl.c: Likewise.
18512 * math/e_lgammal_r.c: Likewise.
18513 * math/e_log10l.c: Likewise.
18514 * math/e_log2l.c: Likewise.
18515 * math/e_logl.c: Likewise.
18516 * math/e_powl.c: Likewise.
18517 * math/e_rem_pio2l.c: Likewise.
18518 * math/e_sinhl.c: Likewise.
18519 * math/e_sqrtl.c: Likewise.
18520 * math/fclrexcpt.c: Likewise.
18521 * math/fedisblxcpt.c: Likewise.
18522 * math/feenablxcpt.c: Likewise.
18523 * math/fegetenv.c: Likewise.
18524 * math/fegetexcept.c: Likewise.
18525 * math/fegetround.c: Likewise.
18526 * math/feholdexcpt.c: Likewise.
18527 * math/fesetenv.c: Likewise.
18528 * math/fesetround.c: Likewise.
18529 * math/feupdateenv.c: Likewise.
18530 * math/fgetexcptflg.c: Likewise.
18531 * math/fraiseexcpt.c: Likewise.
18532 * math/fsetexcptflg.c: Likewise.
18533 * math/ftestexcept.c: Likewise.
18534 * math/k_cosl.c: Likewise.
18535 * math/k_rem_pio2l.c: Likewise.
18536 * math/k_sinl.c: Likewise.
18537 * math/k_tanl.c: Likewise.
18538 * math/s_asinhl.c: Likewise.
18539 * math/s_atanl.c: Likewise.
18540 * math/s_cbrtl.c: Likewise.
18541 * math/s_erfl.c: Likewise.
18542 * math/s_expm1l.c: Likewise.
18543 * math/s_log1pl.c: Likewise.
18544 * math/s_tanhl.c: Likewise.
18545 * misc/acct.c: Likewise.
18546 * misc/brk.c: Likewise.
18547 * misc/chflags.c: Likewise.
18548 * misc/chroot.c: Likewise.
18549 * misc/fchflags.c: Likewise.
18550 * misc/fgetxattr.c: Likewise.
18551 * misc/flistxattr.c: Likewise.
18552 * misc/fremovexattr.c: Likewise.
18553 * misc/fsetxattr.c: Likewise.
18554 * misc/fsync.c: Likewise.
18555 * misc/ftruncate.c: Likewise.
18556 * misc/futimes.c: Likewise.
18557 * misc/futimesat.c: Likewise.
18558 * misc/getdomain.c: Likewise.
18559 * misc/getdtsz.c: Likewise.
18560 * misc/gethostid.c: Likewise.
18561 * misc/gethostname.c: Likewise.
18562 * misc/getloadavg.c: Likewise.
18563 * misc/getpagesize.c: Likewise.
18564 * misc/getsysstats.c: Likewise.
18565 * misc/getxattr.c: Likewise.
18566 * misc/gtty.c: Likewise.
18567 * misc/ioctl.c: Likewise.
18568 * misc/lgetxattr.c: Likewise.
18569 * misc/listxattr.c: Likewise.
18570 * misc/llistxattr.c: Likewise.
18571 * misc/lremovexattr.c: Likewise.
18572 * misc/lsetxattr.c: Likewise.
18573 * misc/lutimes.c: Likewise.
18574 * misc/madvise.c: Likewise.
18575 * misc/mincore.c: Likewise.
18576 * misc/mlock.c: Likewise.
18577 * misc/mlockall.c: Likewise.
18578 * misc/mmap.c: Likewise.
18579 * misc/mprotect.c: Likewise.
18580 * misc/msync.c: Likewise.
18581 * misc/munlock.c: Likewise.
18582 * misc/munlockall.c: Likewise.
18583 * misc/munmap.c: Likewise.
18584 * misc/preadv.c: Likewise.
18585 * misc/preadv64.c: Likewise.
18586 * misc/ptrace.c: Likewise.
18587 * misc/pwritev.c: Likewise.
18588 * misc/pwritev64.c: Likewise.
18589 * misc/readv.c: Likewise.
18590 * misc/reboot.c: Likewise.
18591 * misc/remap_file_pages.c: Likewise.
18592 * misc/removexattr.c: Likewise.
18593 * misc/revoke.c: Likewise.
18594 * misc/select.c: Likewise.
18595 * misc/setdomain.c: Likewise.
18596 * misc/setegid.c: Likewise.
18597 * misc/seteuid.c: Likewise.
18598 * misc/sethostid.c: Likewise.
18599 * misc/sethostname.c: Likewise.
18600 * misc/setregid.c: Likewise.
18601 * misc/setreuid.c: Likewise.
18602 * misc/setxattr.c: Likewise.
18603 * misc/sstk.c: Likewise.
18604 * misc/stty.c: Likewise.
18605 * misc/swapoff.c: Likewise.
18606 * misc/swapon.c: Likewise.
18607 * misc/sync.c: Likewise.
18608 * misc/syncfs.c: Likewise.
18609 * misc/syscall.c: Likewise.
18610 * misc/truncate.c: Likewise.
18611 * misc/ualarm.c: Likewise.
18612 * misc/usleep.c: Likewise.
18613 * misc/ustat.c: Likewise.
18614 * misc/utimes.c: Likewise.
18615 * misc/vhangup.c: Likewise.
18616 * misc/writev.c: Likewise.
18617 * posix/_exit.c: Likewise.
18618 * posix/alarm.c: Likewise.
18619 * posix/execve.c: Likewise.
18620 * posix/fexecve.c: Likewise.
18621 * posix/fork.c: Likewise.
18622 * posix/fpathconf.c: Likewise.
18623 * posix/getaddrinfo.c: Likewise.
18624 * posix/getegid.c: Likewise.
18625 * posix/geteuid.c: Likewise.
18626 * posix/getgid.c: Likewise.
18627 * posix/getgroups.c: Likewise.
18628 * posix/getlogin.c: Likewise.
18629 * posix/getlogin_r.c: Likewise.
18630 * posix/getpgid.c: Likewise.
18631 * posix/getpid.c: Likewise.
18632 * posix/getppid.c: Likewise.
18633 * posix/getresgid.c: Likewise.
18634 * posix/getresuid.c: Likewise.
18635 * posix/getsid.c: Likewise.
18636 * posix/getuid.c: Likewise.
18637 * posix/glob64.c: Likewise.
18638 * posix/nanosleep.c: Likewise.
18639 * posix/pathconf.c: Likewise.
18640 * posix/pause.c: Likewise.
18641 * posix/posix_madvise.c: Likewise.
18642 * posix/pread.c: Likewise.
18643 * posix/pread64.c: Likewise.
18644 * posix/pwrite.c: Likewise.
18645 * posix/pwrite64.c: Likewise.
18646 * posix/sched_getaffinity.c: Likewise.
18647 * posix/sched_getp.c: Likewise.
18648 * posix/sched_gets.c: Likewise.
18649 * posix/sched_primax.c: Likewise.
18650 * posix/sched_primin.c: Likewise.
18651 * posix/sched_rr_gi.c: Likewise.
18652 * posix/sched_setaffinity.c: Likewise.
18653 * posix/sched_setp.c: Likewise.
18654 * posix/sched_sets.c: Likewise.
18655 * posix/sched_yield.c: Likewise.
18656 * posix/setgid.c: Likewise.
18657 * posix/setlogin.c: Likewise.
18658 * posix/setpgid.c: Likewise.
18659 * posix/setresgid.c: Likewise.
18660 * posix/setresuid.c: Likewise.
18661 * posix/setsid.c: Likewise.
18662 * posix/setuid.c: Likewise.
18663 * posix/sleep.c: Likewise.
18664 * posix/spawni.c: Likewise.
18665 * posix/sysconf.c: Likewise.
18666 * posix/times.c: Likewise.
18667 * posix/wait.c: Likewise.
18668 * posix/wait3.c: Likewise.
18669 * posix/wait4.c: Likewise.
18670 * posix/waitpid.c: Likewise.
18671 * resolv/gai_sigqueue.c: Likewise.
18672 * resource/getpriority.c: Likewise.
18673 * resource/getrlimit.c: Likewise.
18674 * resource/getrusage.c: Likewise.
18675 * resource/nice.c: Likewise.
18676 * resource/setpriority.c: Likewise.
18677 * resource/setrlimit.c: Likewise.
18678 * resource/ulimit.c: Likewise.
18679 * rt/aio_cancel.c: Likewise.
18680 * rt/aio_fsync.c: Likewise.
18681 * rt/aio_read.c: Likewise.
18682 * rt/aio_sigqueue.c: Likewise.
18683 * rt/aio_suspend.c: Likewise.
18684 * rt/aio_write.c: Likewise.
18685 * rt/clock_getres.c: Likewise.
18686 * rt/clock_gettime.c: Likewise.
18687 * rt/clock_nanosleep.c: Likewise.
18688 * rt/clock_settime.c: Likewise.
18689 * rt/lio_listio.c: Likewise.
18690 * rt/mq_close.c: Likewise.
18691 * rt/mq_getattr.c: Likewise.
18692 * rt/mq_notify.c: Likewise.
18693 * rt/mq_open.c: Likewise.
18694 * rt/mq_receive.c: Likewise.
18695 * rt/mq_send.c: Likewise.
18696 * rt/mq_setattr.c: Likewise.
18697 * rt/mq_timedreceive.c: Likewise.
18698 * rt/mq_timedsend.c: Likewise.
18699 * rt/mq_unlink.c: Likewise.
18700 * rt/shm_open.c: Likewise.
18701 * rt/shm_unlink.c: Likewise.
18702 * rt/timer_create.c: Likewise.
18703 * rt/timer_delete.c: Likewise.
18704 * rt/timer_getoverr.c: Likewise.
18705 * rt/timer_gettime.c: Likewise.
18706 * rt/timer_settime.c: Likewise.
18707 * setjmp/__longjmp.c: Likewise.
18708 * setjmp/setjmp.c: Likewise.
18709 * signal/kill.c: Likewise.
18710 * signal/killpg.c: Likewise.
18711 * signal/raise.c: Likewise.
18712 * signal/sigaction.c: Likewise.
18713 * signal/sigaltstack.c: Likewise.
18714 * signal/sigblock.c: Likewise.
18715 * signal/sigignore.c: Likewise.
18716 * signal/sigintr.c: Likewise.
18717 * signal/signal.c: Likewise.
18718 * signal/sigpause.c: Likewise.
18719 * signal/sigpending.c: Likewise.
18720 * signal/sigqueue.c: Likewise.
18721 * signal/sigreturn.c: Likewise.
18722 * signal/sigset.c: Likewise.
18723 * signal/sigsetmask.c: Likewise.
18724 * signal/sigstack.c: Likewise.
18725 * signal/sigsuspend.c: Likewise.
18726 * signal/sigtimedwait.c: Likewise.
18727 * signal/sigvec.c: Likewise.
18728 * signal/sigwait.c: Likewise.
18729 * signal/sigwaitinfo.c: Likewise.
18730 * signal/sysv_signal.c: Likewise.
18731 * socket/accept.c: Likewise.
18732 * socket/accept4.c: Likewise.
18733 * socket/bind.c: Likewise.
18734 * socket/connect.c: Likewise.
18735 * socket/getpeername.c: Likewise.
18736 * socket/getsockname.c: Likewise.
18737 * socket/getsockopt.c: Likewise.
18738 * socket/isfdtype.c: Likewise.
18739 * socket/listen.c: Likewise.
18740 * socket/recv.c: Likewise.
18741 * socket/recvfrom.c: Likewise.
18742 * socket/recvmsg.c: Likewise.
18743 * socket/send.c: Likewise.
18744 * socket/sendmsg.c: Likewise.
18745 * socket/sendto.c: Likewise.
18746 * socket/setsockopt.c: Likewise.
18747 * socket/shutdown.c: Likewise.
18748 * socket/sockatmark.c: Likewise.
18749 * socket/socket.c: Likewise.
18750 * socket/socketpair.c: Likewise.
18751 * stdio-common/ctermid.c: Likewise.
18752 * stdio-common/cuserid.c: Likewise.
18753 * stdio-common/remove.c: Likewise.
18754 * stdio-common/rename.c: Likewise.
18755 * stdio-common/renameat.c: Likewise.
18756 * stdio-common/tempname.c: Likewise.
18757 * stdlib/getcontext.c: Likewise.
18758 * stdlib/makecontext.c: Likewise.
18759 * stdlib/setcontext.c: Likewise.
18760 * stdlib/swapcontext.c: Likewise.
18761 * stdlib/system.c: Likewise.
18762 * streams/fattach.c: Likewise.
18763 * streams/fdetach.c: Likewise.
18764 * streams/getmsg.c: Likewise.
18765 * streams/getpmsg.c: Likewise.
18766 * streams/putmsg.c: Likewise.
18767 * streams/putpmsg.c: Likewise.
18768 * sysdeps/unix/bsd/getpt.c: Likewise.
18769 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18770 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18771 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18773 Likewise.
18774 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18775 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18776 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18777 * sysvipc/msgctl.c: Likewise.
18778 * sysvipc/msgget.c: Likewise.
18779 * sysvipc/msgrcv.c: Likewise.
18780 * sysvipc/msgsnd.c: Likewise.
18781 * sysvipc/semctl.c: Likewise.
18782 * sysvipc/semget.c: Likewise.
18783 * sysvipc/semop.c: Likewise.
18784 * sysvipc/semtimedop.c: Likewise.
18785 * sysvipc/shmat.c: Likewise.
18786 * sysvipc/shmctl.c: Likewise.
18787 * sysvipc/shmdt.c: Likewise.
18788 * sysvipc/shmget.c: Likewise.
18789 * termios/tcdrain.c: Likewise.
18790 * termios/tcflow.c: Likewise.
18791 * termios/tcflush.c: Likewise.
18792 * termios/tcgetattr.c: Likewise.
18793 * termios/tcgetpgrp.c: Likewise.
18794 * termios/tcsendbrk.c: Likewise.
18795 * termios/tcsetattr.c: Likewise.
18796 * termios/tcsetpgrp.c: Likewise.
18797 * time/adjtime.c: Likewise.
18798 * time/clock.c: Likewise.
18799 * time/getitimer.c: Likewise.
18800 * time/gettimeofday.c: Likewise.
18801 * time/setitimer.c: Likewise.
18802 * time/settimeofday.c: Likewise.
18803 * time/stime.c: Likewise.
18804 * time/time.c: Likewise.
18805
188062012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18807
a20492cf
PT
18808 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18809 /usr/old/bin.
18810
72e182e3
PT
18811 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18812 instead of spaces.
18813 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18814
fbeafede
JM
188152012-11-03 Joseph Myers <joseph@codesourcery.com>
18816
5b5b04d6
JM
18817 [BZ #14796]
18818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18819 FE_TONEAREST before applying Dekker multiplication and Knuth
18820 addition. Clear inexact exceptions and check for exact zero
18821 results afterwards.
18822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18823 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18824 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18825 * math/libm-test.inc (fma_test): Add more tests.
18826 (fma_test_towardzero): Likewise.
18827 (fma_test_downward): Likewise.
18828 (fma_test_upward): Likewise.
18829 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18830 function.
18831 (libc_fesetround): New macro.
18832 (libc_fesetroundf): Likewise.
18833 (libc_fesetroundl): Likewise.
18834 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18835 function.
18836 (libc_fesetround_387): Likewise.
18837 (libc_fesetroundf): New macro.
18838 (libc_fesetround): Likewise.
18839 (libc_fesetroundl): Likewise.
18840 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18841 function.
18842 (libc_fesetroundf): New macro.
18843 (libc_fesetround): Likewise.
18844 (libc_fesetroundl): Likewise.
18845 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18846 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18847 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18848 libm_hidden_ver.
18849 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18850 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18851 libm_hidden_def.
18852 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18853 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18854 libm_hidden_ver.
18855 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18856 libm_hidden_def.
18857
fbeafede
JM
18858 [BZ #3439]
18859 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18860 integer constant usable in #if and use that to give value to enum
18861 constant.
18862 (FE_DIVBYZERO): Likewise.
18863 (FE_UNDERFLOW): Likewise.
18864 (FE_OVERFLOW): Likewise.
18865 (FE_INVALID): Likewise.
18866 (FE_INVALID_SNAN): Likewise.
18867 (FE_INVALID_ISI): Likewise.
18868 (FE_INVALID_IDI): Likewise.
18869 (FE_INVALID_ZDZ): Likewise.
18870 (FE_INVALID_IMZ): Likewise.
18871 (FE_INVALID_COMPARE): Likewise.
18872 (FE_INVALID_SOFTWARE): Likewise.
18873 (FE_INVALID_SQRT): Likewise.
18874 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18875 (FE_TONEAREST): Likewise.
18876 (FE_TOWARDZERO): Likewise.
18877 (FE_UPWARD): Likewise.
18878 (FE_DOWNWARD): Likewise.
18879 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18880 (FE_DIVBYZERO): Likewise.
18881 (FE_OVERFLOW): Likewise.
18882 (FE_UNDERFLOW): Likewise.
18883 (FE_INEXACT): Likewise.
18884 (FE_TONEAREST): Likewise.
18885 (FE_DOWNWARD): Likewise.
18886 (FE_UPWARD): Likewise.
18887 (FE_TOWARDZERO): Likewise.
18888 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18889 (FE_UNDERFLOW): Likewise.
18890 (FE_OVERFLOW): Likewise.
18891 (FE_DIVBYZERO): Likewise.
18892 (FE_INVALID): Likewise.
18893 (FE_TONEAREST): Likewise.
18894 (FE_TOWARDZERO): Likewise.
18895 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18896 (FE_OVERFLOW): Likewise.
18897 (FE_UNDERFLOW): Likewise.
18898 (FE_DIVBYZERO): Likewise.
18899 (FE_INEXACT): Likewise.
18900 (FE_TONEAREST): Likewise.
18901 (FE_TOWARDZERO): Likewise.
18902 (FE_UPWARD): Likewise.
18903 (FE_DOWNWARD): Likewise.
18904 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18905 (FE_DIVBYZERO): Likewise.
18906 (FE_OVERFLOW): Likewise.
18907 (FE_UNDERFLOW): Likewise.
18908 (FE_INEXACT): Likewise.
18909 (FE_TONEAREST): Likewise.
18910 (FE_DOWNWARD): Likewise.
18911 (FE_UPWARD): Likewise.
18912 (FE_TOWARDZERO): Likewise.
18913
105ca950
CM
189142012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18915
18916 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18917
a542b389
AS
189182012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18919
18920 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18921 commands. Quote $PWD.
18922 (blacklist_exports): Don't use remove_newlines. Replace "declare
18923 -x" by "export".
18924 (remove_newlines): Remove.
18925
f62c8abc
L
189262012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18927
18928 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18929 * stdlib/stdlib.h (atof): Moved to ...
18930 * include/bits/stdlib-float.h: Here. New file.
18931 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18932 * stdlib/bits/stdlib-float.h: New file.
18933 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18934 -mno-sse -mno-mmx.
18935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18936 <xmmintrin.h>.
18937
0155d5b2
JM
189382012-11-02 Joseph Myers <joseph@codesourcery.com>
18939
a68d0680
JM
18940 * conform/conformtest.pl (@headers): Add fenv.h.
18941 * conform/data/fenv.h-data: New file.
18942 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18943 include of <math/fenv.h>.
18944
caf7f573
JM
18945 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18946 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18947 && !UNIX98]. Enables tests for XOPEN2K8.
18948 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18949 POSIX2008]: Likewise.
18950
6c073ad6
JM
18951 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18952 (struct rusage): Do not expect type or its members.
18953
0155d5b2
JM
18954 [BZ #3439]
18955 * math/math.h (FP_NAN): Define macro to integer constant usable in
18956 #if and use that to give value to enum constant.
18957 (FP_INFINITE): Likewise.
18958 (FP_ZERO): Likewise.
18959 (FP_SUBNORMAL): Likewise.
18960 (FP_NORMAL): Likewise.
18961
b5dcacb4
AS
189622012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18963
18964 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18965 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18966 arguments.
18967
f7934be8
RM
189682012-11-02 Roland McGrath <roland@hack.frob.com>
18969
18970 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18971 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18972 autoconf-time if not.
18973 * configure.in: Remove AC_PREREQ.
18974
d7d08bde
TMQMF
189752012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18976
18977 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18978 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18979 of the internal implementation.
18980
dcdae19a
JM
189812012-11-02 Joseph Myers <joseph@codesourcery.com>
18982
18983 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18984 except include of <misc/sys/syslog.h>.
18985
d6cffd3e
AS
189862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18987
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18989 function returns with a NULL context exit with zero.
18990
b3563932
TMQMF
189912012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18992
18993 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18994
b288a93d
L
189952012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18996
18997 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18998 (run_program_cmd): This.
18999 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19000 (tst_langinfo): New variable. Use it.
19001
a2421a68
SAS
190022012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19003
19004 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19005 floating point opcodes.
19006
6f796e1b
TS
190072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19008
7402596b
TS
19009 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19010 variable.
19011
d0d4f868
TS
19012 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19013
6f796e1b
TS
19014 * sysdeps/mach/hurd/powerpc: Remove directory.
19015 * sysdeps/mach/powerpc: Likewise.
19016
4da224a2
AS
190172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19018
19019 * scripts/check-local-headers.sh: Ignore c++ headers.
19020
341dd673
TS
190212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19022
19023 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19024 __libc_cleanup_region_start argument.
19025
473611b2
JM
190262012-11-01 Joseph Myers <joseph@codesourcery.com>
19027
19028 [BZ #14784]
19029 [BZ #14785]
19030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19031 x * y using scaling, not as x * y + z.
19032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19033 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19034 * math/libm-test.inc (fma_test): Add more tests.
19035 (fma_test_towardzero): Likewise.
19036 (fma_test_downward): Likewise.
19037 (fma_test_upward): Likewise.
19038
4078da3d
TS
190392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19040
19041 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19042
903252aa
JM
190432012-10-31 Joseph Myers <joseph@codesourcery.com>
19044
19045 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19046 New variable.
19047
cbc818d0
TS
190482012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19049
19050 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19051
5a03cb1e
AS
190522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19053
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19055 Fix sort order.
19056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19057 Likewise.
19058
90aff2ff
TMQMF
190592012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19060
19061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19062 Fix the order of the list for glibc 2.17.
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19064 Likewise.
19065
1818fcb7
AS
190662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19067
19068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19069
ef82f4da
JM
190702012-10-31 Joseph Myers <joseph@codesourcery.com>
19071
16a0e2ec
JM
19072 [BZ #14610]
19073 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19074 for low part of x being zero before using __atanl (y).
19075 * math/libm-test.inc (atan2_test): Add another test.
19076
0eb69512
JM
19077 * manual/install.texi (Configuring and compiling): Document
19078 general use of test-wrapper and test-wrapper-env.
19079 * INSTALL: Regenerated.
19080
ef82f4da
JM
19081 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19082 (__fma): Do not extract and scale down low bits on after-rounding
19083 systems when result rounded to normal precision would have normal
19084 exponent.
19085 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19086 (__fmal): Do not extract and scale down low bits on after-rounding
19087 systems when result rounded to normal precision would have normal
19088 exponent.
19089 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19090 (__fmal): Do not extract and scale down low bits on after-rounding
19091 systems when result rounded to normal precision would have normal
19092 exponent.
19093 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19094 macro.
19095 (fma_test): Add more tests.
19096 (fma_test_towardzero): Likewise.
19097 (fma_test_downward): Likewise.
19098 (fma_test_upward): Likewise.
19099
954ef0d9
L
191002012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19101
19102 * sysdeps/i386/tininess.h: Renamed to ...
19103 * sysdeps/x86/tininess.h: This.
19104 * sysdeps/x86_64/tininess.h: Removed.
19105
df61ffb2
JM
191062012-10-30 Joseph Myers <joseph@codesourcery.com>
19107
19108 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19109 input. Use $(build-program-cmd).
19110 ($(objpfx)tst-array1-static.out): Likewise.
19111 ($(objpfx)tst-array2.out): Likewise.
19112 ($(objpfx)tst-array3.out): Likewise.
19113 ($(objpfx)tst-array4.out): Likewise.
19114 ($(objpfx)tst-array5.out): Likewise.
19115 ($(objpfx)tst-array5-static.out): Likewise.
19116
01767843
CM
191172012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19118
47cc1490
CM
19119 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19120 if defined.
19121
01767843
CM
19122 * nss/nsswitch.h (nss_interface_function): Provide new
19123 macro for use with NSS functions.
19124 * grp/initgroups.c: Use new macro.
19125 * nss/getXXbyYY.c: Likewise.
19126 * nss/getXXbyYY_r.c: Likewise.
19127 * nss/getXXent.c: Likewise.
19128 * nss/getXXent_r.c: Likewise.
19129 * sysdeps/posix/getaddrinfo.c: Likewise.
19130
8321aa97
AJ
191312012-10-30 Andreas Jaeger <aj@suse.de>
19132
19133 * po/ru.po: Update Russion translation from translation project.
19134
2a27fd6d
JM
191352012-10-30 Joseph Myers <joseph@codesourcery.com>
19136
8627a232
JM
19137 [BZ #14152]
19138 [BZ #14783]
19139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19140 result and shift together with sticky bit instead of replicating
19141 round-to-nearest rounding.
19142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19144 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19145 missing underflow exceptions.
19146 (fma_test_towardzero): Add more tests.
19147 (fma_test_downward): Likewise.
19148 (fma_test_upward): Likewise.
19149
2a27fd6d
JM
19150 [BZ #14047]
19151 * sysdeps/generic/tininess.h: New file.
19152 * sysdeps/i386/tininess.h: Likewise.
19153 * sysdeps/sh/tininess.h: Likewise.
19154 * sysdeps/x86_64/tininess.h: Likewise.
19155 * stdlib/tst-strtod-underflow.c: Likewise.
19156 * stdlib/tst-tininess.c: Likewise.
19157 * stdlib/strtod_l.c: Include <tininess.h>.
19158 (round_and_return): Do not set errno for exact underflow cases.
19159 Force an underflow exception when setting errno for underflow.
19160 Determine underflow based on rounding to normal precision if
19161 TININESS_AFTER_ROUNDING.
19162 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19163 ERANGE for exact underflow cases.
19164 * stdlib/Makefile (tests): Add tst-tininess and
19165 tst-strtod-underflow.
19166 ($(objpfx)tst-tininess): Use $(link-libm).
19167 ($(objpfx)tst-strtod-underflow): Likewise.
19168
e7170363
AJ
191692012-10-30 Andreas Jaeger <aj@suse.de>
19170
e5088dc6
AJ
19171 [BZ#14767]
19172 * elf/Makefile (tests): Remove conditional for have-initfini-array
19173 since this is now always required and the variable does not exist
19174 anymore.
19175 (tests-static): Likewise.
19176 (modules-names): Likewise.
19177
e7170363 19178 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19179
19180 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19181 merged with constructor/destructor.
19182 (init_array): Likewise.
19183 * elf/tst-array2dep.c (fini_array): Likewise.
19184 (init_array): Likewise.
19185
60457d8a
MF
191862012-10-29 Mike Frysinger <vapier@gentoo.org>
19187
19188 * manual/message.texi: Delete @cartouche tags.
19189
8bece752
PT
191902012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19191
94ce799f
PT
19192 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19193 EOPNOTSUPP.
19194 * sysdeps/mach/hurd/fsync.c: Likewise.
19195
8bece752
PT
19196 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19197 [_POSIX_REALTIME_SIGNALS]: Change condition to
19198 [_POSIX_REALTIME_SIGNALS > 0].
19199
86ebe6b1
AJ
192002012-10-27 Andreas Jaeger <aj@suse.de>
19201
19202 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19203 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19205 [__WORDSIZE != 64]: Likewise.
19206
54399c08
L
192072012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19208
19209 * iconvdata/tst-table.sh: Remove ${SHELL}.
19210 * iconvdata/tst-tables.sh: Likewise.
19211
e2211bed
DM
192122012-10-25 David S. Miller <davem@davemloft.net>
19213
19214 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19215 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19216 of strtoull.
19217
f303f97c
DM
19218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19219 ifunc-impl-list.c
19220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19221 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19222 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19223 file.
19224
1e9d84cd
RM
192252012-10-25 Roland McGrath <roland@hack.frob.com>
19226
19227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19228 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19229 __getdirentries.
19230
df381762
JM
192312012-10-25 Joseph Myers <joseph@codesourcery.com>
19232 Jim Blandy <jimb@codesourcery.com>
19233
19234 * scripts/cross-test-ssh.sh: New file.
19235 * manual/install.texi (Configuring and compiling): Document use of
19236 cross-test-ssh.sh.
19237 * INSTALL: Regenerated.
19238
bff64913
PT
192392012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19240
19241 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19242 EOPNOTSUPP.
19243
25fe8932
JM
192442012-10-25 Joseph Myers <joseph@codesourcery.com>
19245
19246 * Makeconfig (run-program-prefix): Fix comment.
19247
cc1290d0
JM
192482012-10-24 Joseph Myers <joseph@codesourcery.com>
19249 Jim Blandy <jimb@codesourcery.com>
19250
19251 * Makeconfig (test-wrapper): New variable,
19252 (test-wrapper-env): Likewise.
19253 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19254 (run-built-tests): Define to yes.
19255 (run-program-prefix): Use $(test-wrapper).
19256 (built-program-cmd): Likewise.
19257 * Rules (make-test-out): Use $(test-wrapper-env) and
19258 $(host-built-program-cmd).
19259 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19260 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19261 tst-pathopt.sh.
19262 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19263 $(test-wrapper-env) to tst-rtld-load-self.sh.
19264 ($(objpfx)order2.out): Use $(test-wrapper).
19265 ($(objpfx)tst-initorder.out): Likewise.
19266 ($(objpfx)tst-initorder2.out): Likewise.
19267 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19268 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19269 (test_wrapper_env): New variable. Use it to run ld.so.
19270 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19271 Use it to run ld.so.
19272 (test_wrapper_env): Likewise.
19273 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19274 $(test-wrapper) to run-iconv-test.sh.
19275 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19276 (ICONV): Use $test_wrapper.
19277 * posix/Makefile ($(objpfx)globtest.out): Pass
19278 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19279 globtest.sh, not $(run-program-prefix).
19280 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19281 (test_wrapper): Likewise.
19282 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19283 set together with run_via_rtld_prefix.
19284 (run_program_prefix): Define in terms of test_wrapper and
19285 run_via_rtld_prefix.
19286
6e6249d0
RM
192872012-10-24 Roland McGrath <roland@hack.frob.com>
19288
19289 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19290 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19291 Targets removed.
19292
19293 [BZ #14743]
19294 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19295 Declare __clock_getres, __clock_gettime, __clock_settime,
19296 __clock_nanosleep, and __clock_getcpuclockid.
19297 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19298 Remove librt_hidden_def (clock_gettime).
19299 * sysdeps/unix/clock_gettime.c: Likewise.
19300 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19301 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19302 * rt/clock_getres.c: Define __clock_getres as an alias.
19303 * sysdeps/posix/clock_getres.c: Likewise.
19304 * rt/clock_settime.c: Define __clock_settime as an alias.
19305 * sysdeps/unix/clock_settime.c: Likewise.
19306 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19307 * sysdeps/unix/clock_nanosleep.c: Likewise.
19308 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19309 * rt/clock-compat.c: New file.
19310 * rt/Makefile (librt-routines): Add clock-compat and move
19311 $(clock-routines) to ...
19312 (routines): ... here, new variable.
19313 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19314 Don't add get_clockfreq here.
19315 * rt/Versions (libc: GLIBC_2.17): New version set.
19316 Add clock_* symbols here.
19317 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19318 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19319 (GLIBC_2.17): Add clock_* symbols.
19320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19322 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19324 Likewise.
19325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19326 Likewise.
19327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19331 * NEWS: Mention the move.
19332
19333 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19334 Use __open, __read, __close rather than their public counterparts.
19335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19336 (__get_clockfreq_via_cpuinfo): Likewise.
19337 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19338 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19339
19340 * config.h.in (HAVE_IFUNC): New #undef.
19341 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19342 was successful.
19343 * configure: Regenerated.
19344
0cae3f4b
MF
193452012-10-24 Mike Frysinger <vapier@gentoo.org>
19346
19347 * configure.in: Move READELF check to start of file.
19348 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19349 libc_cv_asm_gnu_indirect_function in the process.
19350 * configure: Regenerated.
19351
8175a253
MF
193522012-10-24 Mike Frysinger <vapier@gentoo.org>
19353
19354 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19355 send the output to /dev/null.
19356 (libc_cv_cc_with_libunwind): Likewise.
19357 (libc_cv_as_noexecstack): Likewise.
19358 * configure: Regenerate.
19359
0708a7d1
JM
193602012-10-24 Joseph Myers <joseph@codesourcery.com>
19361
10b40d85
JM
19362 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19363
0708a7d1
JM
19364 * posix/globtest.sh (TMPDIR): Do not set.
19365 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19366 (testout): Likewise.
19367
9fddec1a
AJ
193682012-10-24 Andreas Jaeger <aj@suse.de>
19369
3a8db22f
AJ
19370 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19371 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19372 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19373 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19374 posix_fadvise64, posix_fallocate64.
19375
9fddec1a
AJ
19376 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19377 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19378 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19379 Likewise.
19380 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19381 Likewise.
19382 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19383
19384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19385 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19386 <bits/fcntl-linux.h>.
19387 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19388
19389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19390 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19391 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19392 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19393 [__WORDSIZE != 64]: Likewise.
19394
ebfd1bbd
JM
193952012-10-23 Joseph Myers <joseph@codesourcery.com>
19396
03ac099f
JM
19397 * Makeconfig (run-built-tests): New variable.
19398 * Rules [$(cross-compiling) = yes]: Change condition to
19399 [$(run-built-tests) = no].
19400 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19401 to [$(run-built-tests) = yes].
19402 * elf/Makefile [$(cross-compiling) = no]: Likewise
19403 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19404 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19405 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19406 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19407 * io/Makefile [$(cross-compiling) = no]: Likewise.
19408 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19409 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19410 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19411 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19412 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19413 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19414 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19415 * string/Makefile [$(cross-compiling) = no]: Likewise.
19416
ebfd1bbd
JM
19417 * posix/Makefile ($(objpfx)globtest.out): Pass
19418 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19419 $(rtld-installed-name).
19420 * posix/globtest.sh (elf_objpfx): Remove variable.
19421 (rtld_installed_name): Likewise.
19422 (library_path): Likewise.
19423 (run_program_prefix): New variable. Use for running globtest
19424 binary.
19425
166bca24
JB
194262012-10-23 Jim Blandy <jimb@codesourcery.com>
19427 Joseph Myers <joseph@codesourcery.com>
19428
19429 * Makeconfig (host-built-program-cmd): New variable.
19430 * elf/Makefile (tst-stackguard1-ARGS): Use
19431 $(host-built-program-cmd).
19432 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19433 (tst-spawn-ARGS): Likewise.
19434 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19435
88866099
JM
194362012-10-23 Joseph Myers <joseph@codesourcery.com>
19437 Jim Blandy <jimb@codesourcery.com>
19438
19439 * Makeconfig (run-via-rtld-prefix): New variable.
19440 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19441 (built-program-cmd): Likewise.
19442
b4b4c296
AJ
194432012-10-22 Andreas Jaeger <aj@suse.de>
19444
19445 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19446 __O_RSYNC if it exists, otherwise to O_SYNC.
19447
6fb54a22
JB
194482012-10-22 Jim Blandy <jimb@codesourcery.com>
19449 Joseph Myers <joseph@codesourcery.com>
19450
19451 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19452 /dev/null.
19453 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19454 from /dev/null
19455 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19456 /dev/null.
19457
481b90b9
AJ
194582012-10-22 Andreas Jaeger <aj@suse.de>
19459
2a0e2669
AJ
19460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19461 Define always.
19462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19463
76e38f9a
AJ
19464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19465 bits/fcntl-linux.h.
19466
7cd37b43
AJ
19467 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19468 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19469
481b90b9
AJ
19470 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19471 to __O_LARGEFILE.
19472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19473 to __O_LARGEFILE.
19474
aba75984
JB
194752012-10-21 Jim Blandy <jimb@codesourcery.com>
19476 Joseph Myers <joseph@codesourcery.com>
19477
19478 * config.make.in (NM): New variable.
19479
88d4247f
AJ
194802012-10-21 Andreas Jaeger <aj@suse.de>
19481
19482 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19483 definitions and declarations that are provided by
19484 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19485
f2eed205
L
194862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19487
19488 [BZ #14683]
19489 * elf/Makefile (tests-static): Add tst-leaks1-static.
19490 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19491 ($(objpfx)tst-leaks1-static): New rule.
19492 ($(objpfx)tst-leaks1-static-mem): Likewise.
19493 (tst-leaks1-static-ENV): New macro.
19494 * elf/dl-open.c (dl_open_worker): Check the main application
19495 only if SHARED is defined.
19496 * elf/tst-leaks1-static.c: New file.
19497
335e6931
AJ
194982012-10-20 Andreas Jaeger <aj@suse.de>
19499
19500 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19501 generic values for Linux.
19502 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19503 and declarations that are provided by <bits/fcntl-linux.h> and
19504 include <bits/fcntl-linux.h>.
19505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19507
ac5c94d3
RM
195082012-10-20 Roland McGrath <roland@hack.frob.com>
19509
19510 * io/fcntl.h: Move include of <bits/types.h> to the top and
19511 include it unconditionally.
19512
de54b33a
L
195132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19514
228cfb01
L
19515 * wcsmbs/Makefile (tests-ifunc): New variable.
19516 (tests): Add $(tests-ifunc).
19517 * wcsmbs/test-wcschr-ifunc.c: New file.
19518 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19519 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19520 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19521 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19522 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19523
69f07e5f
L
19524 * string/Makefile (tests-ifunc): New variable.
19525 (tests): Add $(tests-ifunc).
19526 * string/test-memccpy.c (TEST_NAME): New macro.
19527 * string/test-memchr.c (TEST_NAME): Likewise.
19528 * string/test-memcmp.c (TEST_NAME): Likewise.
19529 * string/test-memcpy.c (TEST_NAME): Likewise.
19530 * string/test-memmem.c (TEST_NAME): Likewise.
19531 * string/test-memmove.c (TEST_NAME): Likewise.
19532 * string/test-memset.c (TEST_NAME): Likewise.
19533 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19534 * string/test-stpcpy.c (TEST_NAME): Likewise.
19535 * string/test-stpncpy.c (TEST_NAME): Likewise.
19536 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19537 * string/test-strcasestr.c (TEST_NAME): Likewise.
19538 * string/test-strcat.c (TEST_NAME): Likewise.
19539 * string/test-strchr.c (TEST_NAME): Likewise.
19540 * string/test-strcmp.c(TEST_NAME): Likewise.
19541 * string/test-strcpy.c (TEST_NAME): Likewise.
19542 * string/test-strcspn.c (TEST_NAME): Likewise.
19543 * string/test-strlen.c (TEST_NAME): Likewise.
19544 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19545 * string/test-strncmp.c (TEST_NAME): Likewise.
19546 * string/test-strncpy.c (TEST_NAME): Likewise.
19547 * string/test-strnlen.c (TEST_NAME): Likewise.
19548 * string/test-strpbrk.c (TEST_NAME): Likewise.
19549 * string/test-strrchr.c (TEST_NAME): Likewise.
19550 * string/test-strspn.c (TEST_NAME): Likewise.
19551 * string/test-strstr.c (TEST_NAME): Likewise.
19552 * string/test-bcopy-ifunc.c: New file.
19553 * string/test-bzero-ifunc.c: Likewise.
19554 * string/test-memccpy-ifunc.c: Likewise.
19555 * string/test-memchr-ifunc.c: Likewise.
19556 * string/test-memcmp-ifunc.c: Likewise.
19557 * string/test-memcpy-ifunc.c: Likewise.
19558 * string/test-memmem-ifunc.c: Likewise.
19559 * string/test-memmove-ifunc.c: Likewise.
19560 * string/test-mempcpy-ifunc.c: Likewise.
19561 * string/test-memset-ifunc.c: Likewise.
19562 * string/test-rawmemchr-ifunc.c: Likewise.
19563 * string/test-stpcpy-ifunc.c: Likewise.
19564 * string/test-stpncpy-ifunc.c: Likewise.
19565 * string/test-strcasecmp-ifunc.c: Likewise.
19566 * string/test-strcasestr-ifunc.c: Likewise.
19567 * string/test-strcat-ifunc.c: Likewise.
19568 * string/test-strchr-ifunc.c: Likewise.
19569 * string/test-strchrnul-ifunc.c: Likewise.
19570 * string/test-strcmp-ifunc.c: Likewise.
19571 * string/test-strcpy-ifunc.c: Likewise.
19572 * string/test-strcspn-ifunc.c: Likewise.
19573 * string/test-strlen-ifunc.c: Likewise.
19574 * string/test-strncasecmp-ifunc.c: Likewise.
19575 * string/test-strncat-ifunc.c: Likewise.
19576 * string/test-strncmp-ifunc.c: Likewise.
19577 * string/test-strncpy-ifunc.c: Likewise.
19578 * string/test-strnlen-ifunc.c: Likewise.
19579 * string/test-strpbrk-ifunc.c: Likewise.
19580 * string/test-strrchr-ifunc.c: Likewise.
19581 * string/test-strspn-ifunc.c: Likewise.
19582 * string/test-strstr-ifunc.c: Likewise.
19583
de54b33a
L
19584 * debug/Makefile (tests-ifunc): New variable.
19585 (tests): Add $(tests-ifunc).
19586 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19587 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19588 * debug/test-stpcpy_chk-ifunc.c: New file.
19589 * debug/test-strcpy_chk-ifunc.c: Likewise.
19590
88481c16
SP
195912012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19592
19593 [BZ #13601]
19594 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19595 header is not read in.
19596
135948bd
JM
195972012-10-19 Joseph Myers <joseph@codesourcery.com>
19598
89f1c388
JM
19599 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19600 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19601 directly. Pass built executable to script as
19602 $(built-program-cmd).
19603 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19604 $testprogram without using LD_LIBRARY_PATH and $ldso.
19605
e40a0d21
JM
19606 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19607 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19608 $(rtld-installed-name).
19609 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19610 (rtld_installed_name): Likewise.
19611 (library_path): Likewise.
19612 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19613 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19614 $(run-program-prefix) to tst-tables.sh.
19615 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19616 it to run tst-table-from and tst-table-to.
19617 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19618 Pass it to tst-table.sh.
19619 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19620 $(run-program-prefix) to tst-gettext.sh.
19621 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19622 tst-translit.sh.
19623 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19624 tst-gettext2.sh.
19625 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19626 to run tst-gettext.
19627 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19628 to run tst-gettext2.
19629 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19630 to run tst-translit.
19631 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19632 $(run-program-prefix) to tst-mtrace.sh.
19633 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19634 to run tst-mtrace.
19635 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19636 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19637 $(rtld-installed-name).
19638 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19639 (rtld_installed_name): Likewise.
19640 (run_program_prefix): New variable. Use it to run wordexp-test.
19641
728e272a
JM
19642 * Makeconfig (ARCH): Remove all definitions.
19643 (machine): Likewise.
19644 [ARCH]: Remove conditional code.
19645 [!objdir]: Give error.
19646 [!objdir] (objpfx): Remove.
19647 [!objdir] (common-objpfx): Likewise.
19648 [!objdir] (common-objdir): Likewise.
19649 * configure.in (config_makefile): Remove. Hardcode Makefile in
19650 AC_CONFIG_FILES call.
19651 * configure: Regenerated.
19652
d528cdcf
JM
19653 [BZ #13888]
19654 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19655 or TMPDIR.
19656 (testout): Likewise.
19657
135948bd
JM
19658 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19659 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19660 $(rtld-installed-name).
19661 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19662 (rtld_installed_name): Likwise.
19663 (runit): Remove function.
19664 (run_getconf): New variable, Use it for running getconf binary.
19665
38c78296
L
196662012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19667
19668 [BZ #14716]
19669 * string/test-memmem.c (check_result): New function.
19670 (do_one_test): Use it.
19671 (check1): New function.
19672 (test_main): Use it.
19673
d077f65f
MT
196742012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19675
19676 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19677
ced52c71
JM
196782012-10-18 Joseph Myers <joseph@codesourcery.com>
19679
19680 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19681 (_G_LSEEK64): Likewise.
19682 (_G_MMAP64): Likewise.
19683 (_G_FSTAT64): Likewise.
19684 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19685 (_G_LSEEK64): Likewise.
19686 (_G_MMAP64): Likewise.
19687 (_G_FSTAT64): Likewise.
19688 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19689 unconditional. Call __mmap64 directly.
19690 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19691 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19692 __lseek64 directly.
19693 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19694 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19695 __mmap64 directly.
19696 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19697 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19698 __lseek64 directly.
19699 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19700 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19701 __lseek64 directly.
19702 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19703 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19704 __lseek64 directly.
19705 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19706 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19707 __fxstat64 directly.
19708 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19709 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19710 unconditional.
19711 (freopen64) [!_G_OPEN64]: Remove conditional code.
19712 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19713 unconditional.
19714 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19715 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19716 unconditional.
19717 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19718 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19719 unconditional.
19720 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19721 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19722 unconditional.
19723 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19724 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19725 unconditional.
19726 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19727 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19728 unconditional.
19729 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19730 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19731 unconditional.
19732 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19733
b741de23
SP
197342012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19735
19736 [BZ #12140]
19737 * manual/memory.texi (Malloc Tunable Parameters): Add note
19738 about free list pointers overwriting some perturb bytes.
19739 Wording suggested by Roland McGrath.
19740
f9b9d9c9
JM
197412012-10-17 Joseph Myers <joseph@codesourcery.com>
19742
19743 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19744 (lgamma_test): Likewise.
19745 (tgamma_test): Likewise.
19746
172a631a
FW
197472012-10-16 Florian Weimer <fweimer@redhat.com>
19748
19749 [BZ #14700]
19750 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19751 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19752
e9f37252
MK
197532012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19754
19755 * NEWS: Mention BZ #14716.
19756 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19757 when removing AVAILABLE1_USES_J macro.
19758
d394eb74
L
197592012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19760
19761 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19762 (__bswap_64): __uint64_t for unsigned 64-bit int.
19763
ca38dc17
AS
197642012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19765
19766 * include/string.h (memmem): Declare libc hidden alias.
19767 * string/memmem.c (memmem): Define libc hidden alias.
19768 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19769 __read, __close instead of open, read, close.
19770
9a387d1f
L
197712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19772
ac49ecaf
L
19773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19774 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19775 global and hidden.
19776 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19777 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19778 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19779 Likewise.
19780 (__rawmemchr_sse2): Likewise.
19781 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19782 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19783 (__strchr_sse2): Likewise.
19784 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19785 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19786 (__strcasecmp_sse2): Likewise.
19787 (__strncasecmp_sse2): Likewise.
19788 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19789 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19790 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19791 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19792 (__strrchr_sse2): Likewise.
19793 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19794 ifunc-impl-list.c.
19795 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19796 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19797 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19798 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19799 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19800 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19801 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19802 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19803 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19804 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19805 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19806 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19807 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19808 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19809 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19810 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19811 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19812 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19813 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19814 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19815 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19816 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19817 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19818 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19819 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19820 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19821 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19822 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19823 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19824 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19825
b090e8ea
L
19826 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19827 global and hidden.
19828 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19829 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19830 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19831 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19832 Likewise.
19833 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19834 Likewise.
19835 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19836 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19837 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19838 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19839 ifunc-impl-list.c.
19840 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19841 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19842 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19843 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19844 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19845 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19846 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19847 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19848 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19849 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19850 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19851 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19852 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19853 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19854 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19855 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19856 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19857 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19858 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19859 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19860 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19861 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19862 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19863 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19864 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19865 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19866 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19867 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19868 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19869 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19870 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19871 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19872 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19873 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19874 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19875 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19876 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19877 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19878 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19879 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19880 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19881
11dd4af6
L
19882 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19883 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19884 * include/ifunc-impl-list.h: New file.
19885 * misc/ifunc-impl-list.c: Likewise.
19886 * misc/Makefile (routines): Add ifunc-impl-list.
19887 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19888 * string/test-string.h: Include <ifunc-impl-list.h>.
19889 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19890 impl_array): New variables.
19891 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19892 are defined.
19893 (test_init): Call __libc_ifunc_impl_list to initialize
19894 func_list if TEST_IFUNC and TEST_NAME are defined.
19895
9a387d1f
L
19896 * string/Makefile (strop-tests): Add bcopy and bzero.
19897 * string/test-bcopy.c: New file.
19898 * string/test-bzero.c: Likewise.
19899 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19900 defined.
19901 * string/test-memset.c: Support bzero test if TEST_BZERO is
19902 defined.
19903 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19904 __libc_memmove.
19905 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19906 __libc_memset.
19907 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19908 of memset.
19909
472371b9
JM
199102012-10-10 Joseph Myers <joseph@codesourcery.com>
19911
1e4a9536
JM
19912 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19913 * configure: Regenerated.
19914
d173d12e
JM
19915 * Makeconfig (+link-static-before-libc): Don't include
19916 $(link-static-libc).
19917
472371b9
JM
19918 * libio/libio.h (_IO_pos_t): Remove.
19919
89a3ad0b
AO
199202012-10-10 Alexandre Oliva <aoliva@redhat.com>
19921
19922 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19923 McGrath.
19924
e7451425
AO
199252012-10-10 Alexandre Oliva <aoliva@redhat.com>
19926
19927 * crypt/crypt-entry.c: Include fips-private.h.
19928 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19929 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19930 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19931 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19932
4ba74a35
AO
199332012-10-10 Alexandre Oliva <aoliva@redhat.com>
19934
19935 * crypt/crypt-private.h: Include stdbool.h.
19936 (_ufc_setup_salt_r): Return bool.
19937 * crypt/crypt-entry.c: Include errno.h.
19938 (__crypt_r): Return NULL with EINVAL for bad salt.
19939 * crypt/crypt_util.c (bad_for_salt): New.
19940 (_ufc_setup_salt_r): Check that salt is long enough and within
19941 the specified alphabet.
19942 * crypt/badsalttest.c: New file.
19943 * crypt/Makefile (tests): Add it.
19944 ($(objpfx)badsalttest): New.
19945
f96f1242
MK
199462012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19947
19948 * NEWS: Add entry for BZ #14602.
19949
0e8e0c1c
JM
199502012-10-09 Joseph Myers <joseph@codesourcery.com>
19951
19952 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19953 type-generic.
19954 * math/libm-test.inc: Update comment listing what functions and
19955 macros are tested.
19956 (isgreater_test): New function.
19957 (isgreaterequal_test): Likewise.
19958 (isless_test): Likewise.
19959 (islessequal_test): Likewise.
19960 (islessgreater_test): Likewise.
19961 (isunordered_test): Likewise.
19962 (main): Call the new functions.
19963
273edc5e
RM
199642012-10-09 Roland McGrath <roland@hack.frob.com>
19965
b8493de0
RM
19966 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19967 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19968 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19969 * sysdeps/i386/configure: Regenerated.
19970 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19971 * sysdeps/mach/configure: Regenerated.
19972 * sysdeps/mach/hurd/configure: Regenerated.
19973 * sysdeps/powerpc/configure: Regenerated.
19974 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19975 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19976 * sysdeps/s390/s390-32/configure: Regenerated.
19977 * sysdeps/s390/s390-64/configure: Regenerated.
19978 * sysdeps/sh/configure: Regenerated.
19979 * sysdeps/sparc/configure: Regenerated.
19980 * sysdeps/unix/sysv/linux/configure: Regenerated.
19981 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19982 * sysdeps/x86_64/configure: Regenerated.
19983
273edc5e
RM
19984 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19985 defined. Don't check if MAP is NULL.
19986
c8450f70
JM
199872012-10-09 Joseph Myers <joseph@codesourcery.com>
19988
19989 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19990 (_G_stat64): Likewise.
19991 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19992 (_G_stat64): Likewise.
19993 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19994 instead of struct _G_stat64.
19995 * libio/fileops.c (mmap_remap_check): Likewise.
19996 (decide_maybe_mmap): Likewise.
19997 (_IO_new_file_seekoff): Likewise.
19998 (_IO_file_stat): Likewise.
19999 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20000 _G_off64_t.
20001 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20002 instead of struct _G_stat64.
20003 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20004
57e605ba
MK
200052012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20006
20007 [BZ #14602]
20008 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20009 Replace with ...
20010 (CHECK_EOL): New macro.
20011 (two_way_short_needle): Check beginning of haystack for EOL. Use
20012 CHECK_EOL.
20013 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20014 Replace with CHECK_EOL.
20015 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20016 Replace with CHECK_EOL.
20017
ef1bb361
JM
200182012-10-08 Joseph Myers <joseph@codesourcery.com>
20019
20020 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20021 type-generic.
20022 * math/libm-test.inc: Update comment listing what functions and
20023 macros are tested.
20024 (finite_test): New function.
20025 (isinf_test): Likewise.
20026 (isnan_test): Likewise.
20027 (fpclassify_test): Test subnormal input.
20028 (isfinite_test): Likewise.
20029 (isnormal_test): Likewise.
20030 (main): Call the new functions.
20031
55f11534
JN
200322012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20033
20034 [BZ #14660]
20035 * Makerules (%.dynsym): Force C locale when running
20036 $(OBJDUMP) --dynamic-syms.
20037
1ab29350
AS
200382012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20039
20040 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20041 <stdint.h>.
20042
f1ecb7ef
DM
200432012-10-06 David S. Miller <davem@davemloft.net>
20044
20045 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20046 upper 32-bits of the length value in %o2 since we use branch-on-register
20047 tests which consider the entire 64-bit register.
20048
5d41d91a
L
200492012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20050
20051 * string/test-strstr.c (check2): Add a test for page boundary.
20052
3baddb72
DM
200532012-10-05 David S. Miller <davem@davemloft.net>
20054
20055 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20056 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20057 file.
20058 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20059 sysdep_routines.
20060 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20061 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20062 and bzero when HWCAP_SPARC_CRYPTO is present.
20063
9cee5585
L
200642012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20065
d7e0dab9
L
20066 [BZ #14602]
20067 * string/test-strstr.c (check2): New function.
20068 (test_main): Call check2.
20069
03759f47
L
20070 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20071 and bug-strchr1.
20072 * string/bug-strcasestr1.c (do_test): Moved to ...
20073 * string/test-strcasestr.c (check1): Here. New function.
20074 (do_one_test): Break out result checking code into ...
20075 (check_result): This. New function.
20076 (do_one_test): Call check_result.
20077 (test_main): Call check1.
20078 * string/bug-strchr1.c (do_test): Moved to ...
20079 * string/test-strchr.c (check1): Here. New function.
20080 (do_one_test): Break out result checking code into ...
20081 (check_result): This. New function.
20082 (do_one_test): Call check_result.
20083 (test_main): Call check1.
20084 * string/bug-strstr1.c (main): Moved to ...
046f153e 20085 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20086 (do_one_test): Break out result checking code into ...
20087 (check_result): This. New function.
20088 (do_one_test): Call check_result.
20089 (test_main): Call check1.
20090 * string/bug-strcasestr1.c: Removed.
20091 * string/bug-strchr1.c: Likewise.
20092 * string/bug-strstr1.c: Likewise.
20093
53cea63e
L
20094 * elf/Makefile (dl-routines): Add hwcaps.
20095 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20096 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20097 (_dl_important_hwcaps): Moved to ...
20098 * elf/dl-hwcaps.c: Here. New file.
20099 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20100
9cee5585 20101 [BZ #14557]
bb859b06
L
20102 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20103 if IS_IN_rtld isn't defined.
20104
9cee5585
L
20105 * elf/dl-support.c (_dl_sysinfo_map): New.
20106 Include "get-dynamic-info.h" and "setup-vdso.h".
20107 (_dl_non_dynamic_init): Call setup_vdso.
20108 * elf/dynamic-link.h: Don't include <assert.h>.
20109 (elf_get_dynamic_info): Moved to ...
20110 * elf/get-dynamic-info.h: Here. New file.
20111 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20112 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20113 * elf/setup-vdso.h: Here. New file.
20114 * elf/rtld.c: Include "setup-vdso.h".
20115 (dl_main): Call setup_vdso.
20116
23c31b76
JM
201172012-10-05 Joseph Myers <joseph@codesourcery.com>
20118
28234b07
JM
20119 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20120 creal in comment listing functions tested. List finite, isinf,
20121 isnan, isless, islessequal, isgreater, isgreaterequal,
20122 islessgreater, isunordered, lgamma_r and pow10 as functions and
20123 macros not tested. Mention which functions not tested are aliases
20124 for other functions. Fix typo. Note that signs of NaNs are not
20125 tested.
20126
23c31b76
JM
20127 * scripts/config.guess: Update from config.git.
20128 * scripts/config.sub: Likewise.
20129
9043e228
RM
201302012-10-04 Roland McGrath <roland@hack.frob.com>
20131
20132 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20133 * misc/madvise.c (madvise): Renamed to __madvise.
20134 Make madvise a weak alias.
20135 * include/sys/mman.h: Declare __madvise.
20136 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20137 * sysdeps/unix/syscalls.list
20138 (madvise): Make __madvise the strong name, and madvise a weak alias.
20139 * sysdeps/unix/sysv/linux/syscalls.list
20140 (madvise, mmap): Remove redundant entries.
20141 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20142 * malloc/malloc.c (mtrim): Likewise.
20143 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20144
f57f8055
RM
201452012-10-03 Roland McGrath <roland@hack.frob.com>
20146
20147 * sysdeps/mach/hurd/dl-cache.c: File removed.
20148 * config.h.in (USE_LDCONFIG): New #undef.
20149 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20150 * configure: Regenerated.
20151 * elf/Makefile (dl-routines): Add dl-cache only under
20152 [$(use-ldconfig) = yes].
20153 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20154 cache on [USE_LDCONFIG].
20155 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20156 [USE_LDCONFIG].
20157 * elf/rtld.c (dl_main): Likewise.
20158
5bb0c10a
PT
201592012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20160
20161 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20162 _SC_LEVEL4_CACHE_LINESIZE.
20163
010188c6
RM
201642012-10-03 Roland McGrath <roland@hack.frob.com>
20165
20166 * sysdeps/unix/bsd/confstr.h: File removed.
20167
b6c5ec07
AO
201682012-10-02 Alexandre Oliva <aoliva@redhat.com>
20169
20170 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20171 sys/sdt-config.h.
20172
408223d4
RM
201732012-10-02 Roland McGrath <roland@hack.frob.com>
20174
20175 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20176 Make 'mapoff' field ElfW(Off) rather than off_t.
20177
bb9510dc
DL
201782012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20179
fc997c6e
DL
20180 * nscd/Makefile: Remove nscd-cflags and all its users.
20181 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20182 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20183
bb9510dc
DL
20184 [BZ #10631]
20185 * malloc.c (malloc_printerr): Clarify error message.
20186
05699367
L
201872012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20188
20189 [BZ #14648]
20190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20191 Set bit_FMA_Usable if FMA is supported.
20192 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20193 macro.
20194 (bit_FMA4_Usable): Updated.
20195 (index_FMA_Usable): New macro.
20196 (CPUID_FMA): Likewise
20197 (HAS_FMA): Defined with bit_FMA_Usable.
20198
51367701
RM
201992012-10-01 Roland McGrath <roland@hack.frob.com>
20200
20201 * bits/types.h (__swblk_t): Type removed.
20202 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20203 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20205 (__SWBLK_T_TYPE): Likewise.
20206 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20207 (__SWBLK_T_TYPE): Likewise.
20208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20209 (__SWBLK_T_TYPE): Likewise.
20210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20211 (__SWBLK_T_TYPE): Likewise.
20212
4d57bf63 202132012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20214 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20215
20216 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20217 (xdr_mapname): Use YPMAXMAP as maxsize.
20218 (xdr_peername): Use YPMAXPEER as maxsize.
20219 (xdr_keydat): Use YPAXRECORD as maxsize.
20220 (xdr_valdat): Use YPMAXRECORD as maxsize.
20221
93c65d43
RM
202222012-10-01 Roland McGrath <roland@hack.frob.com>
20223
497a03d6
RM
20224 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20225
93c65d43
RM
20226 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20227 * csu/init-first.c: ... here.
20228 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20229 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20230 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20231 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20232 * sysdeps/i386/init-first.c: File removed.
20233 * sysdeps/sh/init-first.c: File removed.
20234
bec749fd
JM
202352012-10-01 Joseph Myers <joseph@codesourcery.com>
20236
20237 [BZ #14645]
20238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20239 if x * y might underflow to zero and z is zero.
20240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20242 * math/libm-test.inc (min_subnorm_value): New variable.
20243 (fma_test): Add more tests.
20244 (fma_test_towardzero): Likewise.
20245 (fma_test_downward): Likewise
20246 (fma_test_upward): Likewise.
20247 (initialize): Set min_subnorm_value.
20248
8ec5b013
JM
202492012-09-29 Joseph Myers <joseph@codesourcery.com>
20250
20251 [BZ #14638]
20252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20253 0 + 0.
20254 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20255 mode for addition resulting in exact zero.
20256 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20258 exact 0 + 0.
20259 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20260 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20261 * math/libm-test.inc (fma_test): Add more tests.
20262 (fma_test_towardzero): New function.
20263 (fma_test_downward): Likewise.
20264 (fma_test_upward): Likewise.
20265 (main): Call the new functions.
20266
b1fa802e
DM
202672012-09-28 David S. Miller <davem@davemloft.net>
20268
20269 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20270
d3b9fd9e
RM
202712012-09-28 Roland McGrath <roland@hack.frob.com>
20272
ea4d37b3
RM
20273 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20274 instead of SIGALRM.
20275
ac51c949
RM
20276 * sysdeps/gnu/_G_config.h: Moved to ...
20277 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20278 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20279 * sysdeps/generic/_G_config.h: ... here.
20280
28c195f7
RM
20281 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20282
848917f9
RM
20283 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20284
6bacf05b
RM
20285 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20286 Conditionalize target on [libnss_test1.so-version].
20287
91363dbb
RM
20288 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20289
cc87f7d8
RM
20290 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20291 (elfobjdir): Move out of conditionals.
20292
b1c608fe
RM
20293 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20294 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20295 (__nss_lookup_function): Conditionalize label remove_from_tree on
20296 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20297
1d9a6d96
DM
202982012-09-28 David S. Miller <davem@davemloft.net>
20299
20300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20301 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20302 file.
20303 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20304 sysdep_routines.
20305 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20306 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20307 when HWCAP_SPARC_CRYPTO is present.
20308
72581615
PT
203092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20310
20311 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20312
715a900c
JL
203132012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20314
20315 [BZ #6530]
20316 * stdio-common/vfprintf.c (process_string_arg): Revert
20317 2000-07-22 change.
20318
203192011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20320
20321 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20322 for testcase.
20323 * stdio-common/tst-sprintf.c: Include <locale.h>
20324 (main): Test sprintf's handling of incomplete multibyte
20325 characters.
20326
9bac1d86
L
203272012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20328
20329 * elf/dl-runtime.c (VERSYMIDX): Removed.
20330 * elf/dl-version.c (VERSYMIDX): Likewise.
20331 * elf/do-rel.h (VERSYMIDX): Likewise.
20332 (VALIDX): Likewise.
20333 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20334 * elf/rtld.c (VALIDX): Likewise.
20335 (ADDRIDX): Likewise.
9bac1d86
L
20336 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20337 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20338 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20339 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20340 (VALIDX): Likewise.
20341 (ADDRIDX): Likewise.
9bac1d86 20342
b31606c0
PT
203432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20344
20345 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20346
11541177
JL
203472012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20348
20349 [BZ #11438]
20350 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20351 to global scope.
20352 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20353 addresses are in the same scope as 192.0.2/24.
20354 * posix/gai.conf: Document new scope table defaults.
20355
adb26fae
SP
203562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20357
20358 [BZ #5298]
20359 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20360 for ftell. Compute offsets from write pointers instead.
20361 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20362
4573c6b0
SP
203632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20364
20365 [BZ #14543]
20366 * libio/Makefile (tests): New test case tst-fseek.
20367 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20368 combination works in wide mode.
20369 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20370 state when the external buffer state changes.
20371
aa9bbfe6
DM
203722012-09-27 David S. Miller <davem@davemloft.net>
20373
20374 [BZ #14376]
20375 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20376 pass reloc->r_addend in as the 'high' argument to
20377 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20378
784421e7
DM
20379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20380
c39bc8b8
PT
203812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20382
20383 * rt/tst-aio2.c: Include <pthread.h>.
20384 * rt/tst-aio3.c: Likewise.
20385
1ccc2399
SE
203862012-09-27 Steve Ellcey <sellcey@mips.com>
20387
20388 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20389
31ed4153
L
203902012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20391
25f5f885
L
20392 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20393 contents on [SHARED].
31ed4153 20394
b7bfe116
MP
203952012-09-26 Marek Polacek <polacek@redhat.com>
20396
20397 [BZ #14530]
20398 [BZ #13741]
20399 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20400 for C++ and GCC <4.3 as well as for non GCC compilers.
20401
43c4edba
MT
204022012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20403
20404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20405
6a1bf82f
RM
204062012-09-25 Roland McGrath <roland@hack.frob.com>
20407
20408 * Makefile.in (all, install): Declare with .PHONY.
20409 Reported by Michael Hope <michael.hope@linaro.org>.
20410
8ad11b9a
TMQMF
204112012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20412
20413 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20414 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20415 system header.
20416 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20417 Likewise.
20418 (sydep_routines): Add the new and the internal functions.
20419 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20420 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20422 (GLIBC_2.17): Add the new function.
20423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20424 (GLIBC_2.17): Likewise.
20425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20426 (GLIBC_2.17): Likewise.
20427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20428 (GLIBC_2.17): Likewise.
20429 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20430
7e2fca8d
AM
204312012-09-25 Alan Modra <amodra@gmail.com>
20432
20433 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20434 Add release barrier before setting once_control to say
20435 initialisation is done. Add hints on lwarx. Use macro in
20436 place of isync.
20437 (clear_once_control): Add release barrier.
20438
b87c4b24
JM
204392012-09-25 Joseph Myers <joseph@codesourcery.com>
20440
d032e0d2
JM
20441 [BZ #13629]
20442 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20443 specially.
20444 * math/s_clog10.c (__clog10): Likewise.
20445 * math/s_clog10f.c (__clog10f): Likewise.
20446 * math/s_clog10l.c (__clog10l): Likewise.
20447 * math/s_clogf.c (__clogf): Likewise.
20448 * math/s_clogl.c (__clogl): Likewise.
20449 * math/Makefile (libm-calls): Add x2y2m1.
20450 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20451 (__x2y2m1): Likewise.
20452 (__x2y2m1l): Likewise.
20453 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20454 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20455 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20456 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20457 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20458 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20459 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20460 * sysdeps/i386/fpu/libm-test-ulps: Update.
20461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20462
b87c4b24
JM
20463 [BZ #14621]
20464 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20465 int as type of variable DEPTH.
20466 (glob): Use size_t instead of int as type of variables NEWCOUNT
20467 and OLD_PATHC.
20468
6d3bf199
LD
204692012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20470
22bf5c17
LD
20471 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20472 Add s_sincosf-sse2.
20473 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20474 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20475 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20476 macros for using routine as __sincosf_ia32.
20477 Use macro for function declaration and weak_alias.
20478 * sysdeps/i386/fpu/libm-test-ulps: Update.
20479
20480 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20482
20483 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20484 subnormal argument.
20485 * math/s_cexpf.c (__cexpf): Likewise.
20486 * math/s_csinf.c (__csinf): Likewise.
20487 * math/s_csinhf.c (__csinhf): Likewise.
20488 * math/s_ctanf.c (__ctanf): Likewise.
20489 * math/s_ctanhf.c (__ctanhf): Likewise.
20490 * math/s_ccosh.c (__ccoshf): Likewise.
20491 * math/s_cexp.c (__cexpl): Likewise.
20492 * math/s_csin.c (__csin): Likewise.
20493 * math/s_csinh.c (__csinh): Likewise.
20494 * math/s_ctan.c (__ctan): Likewise.
20495 * math/s_ctanh.c (ctanh): Likewise.
20496 * math/s_ccoshl.c (__ccoshl): Likewise.
20497 * math/s_cexpl.c (__cexpl): Likewise.
20498 * math/s_csinl.c (__csinl): Likewise.
20499 * math/s_csinhl.c (__csinhl): Likewise.
20500 * math/s_ctanl.c (__ctanl): Likewise.
20501 * math/s_ctanhl.c (__ctanhl): Likewise.
20502
203e5603
JM
205032012-09-25 Joseph Myers <joseph@codesourcery.com>
20504
20505 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20506 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20507 (_IO_off_t): Define to __off_t, not _G_off_t.
20508 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20509 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20510 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20511 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20512 type of __dummy and __dummy2 fields.
20513 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20514 (_G_ssize_t): Likewise.
20515 (_G_off_t): Likewise.
20516 (_G_pid_t): Likewise.
20517 (_G_uid_t): Likewise.
20518 (_G_wchar_t): Likewise.
20519 (_G_wint_t): Likewise.
20520 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20521 (_G_ssize_t): Likewise.
20522 (_G_off_t): Likewise.
20523 (_G_pid_t): Likewise.
20524 (_G_uid_t): Likewise.
20525 (_G_wchar_t): Likewise.
20526 (_G_wint_t): Likewise.
20527 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20528 (_G_ssize_t): Likewise.
20529 (_G_off_t): Likewise.
20530 (_G_pid_t): Likewise.
20531 (_G_uid_t): Likewise.
20532 (_G_wchar_t): Likewise.
20533 (_G_wint_t): Likewise.
20534
9fab36eb
SP
205352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20536
20537 * malloc/arena.c: Include malloc-sysdep.h.
20538 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20539 is sufficient to shrink the heap or an unmap is needed.
20540 * sysdeps/generic/malloc-sysdep.h: New file. Define
20541 new function check_may_shrink_heap.
20542 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20543 new function check_may_shrink_heap.
20544
2b4f00d1
SP
205452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20546
20547 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20548 comments.
20549
9a9028b1
DL
205502012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20551
57c69bef
DL
20552 * catgets/test-gencat.sh: Add "set -e".
20553 * elf/tst-pathopt.sh: Likewise.
20554 * grp/tst_fgetgrent.sh: Likewise.
20555 * iconvdata/run-iconv-test.sh: Likewise.
20556 * intl/tst-gettext.sh: Likewise.
20557 * intl/tst-gettext2.sh: Likewise.
20558 * intl/tst-gettext4.sh: Likewise.
20559 * intl/tst-gettext6.sh: Likewise.
20560 * intl/tst-translit.sh: Likewise.
20561 * io/ftwtest-sh: Likewise.
20562 * libio/test-freopen.sh: Likewise.
20563 * malloc/tst-mtrace.sh: Likewise.
20564 * posix/globtest.sh: Likewise.
20565 * posix/tst-getconf.sh: Likewise.
20566 * posix/wordexp-tst.sh: Likewise.
20567 * stdio-common/tst-printf.sh: Likewise.
20568 * stdio-common/tst-unbputc.sh: Likewise.
20569 * stdlib/tst-fmtmsg.sh: Likewise.
20570 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20571 * catgets/Makefile: Do not specify -e option when running
20572 testsuite shell scripts.
20573 * elf/Makefile: Likewise.
20574 * grp/Makefile: Likewise.
20575 * iconvdata/Makefile: Likewise.
20576 * intl/Makefile: Likewise.
20577 * io/Makefile: Likewise.
20578 * libio/Makefile: Likewise.
20579 * malloc/Makefile: Likewise.
20580 * posix/Makefile: Likewise.
20581 * stdio-common/Makefile: Likewise.
20582 * stdlib/Makefile: Likewise.
20583 * sysdeps/x86_64/Makefile: Likewise.
20584
9a9028b1
DL
20585 * io/ftwtest-sh: Add copyright header.
20586 * posix/globtest.sh: Likewise.
20587 * posix/tst-getconf.sh: Likewise.
20588 * posix/wordexp-tst.sh: Likewise.
20589 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20590
ced6f16e
L
205912012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20592
94b32c39
L
20593 [BZ #13679]
20594 * Makeconfig (+link): Defined as $(+link-static) if
20595 $(build-shared) isn't yes.
20596 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20597 isn't yes.
20598 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20599
189e935b
L
20600 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20601
ced6f16e
L
20602 [BZ #14562]
20603 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20604 new chunk size with MALLOC_ALIGN_MASK.
20605
a9f8e53a
JM
206062012-09-24 Joseph Myers <joseph@codesourcery.com>
20607
20608 [BZ #5044]
20609 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20610 <rounding-mode.h>.
20611 (__printf_fphex): Determine rounding using get_rounding_mode and
20612 round_away.
20613 * stdio-common/tst-printf-round.c (struct hex_test): New
20614 structure.
20615 (hex_tests): New variable.
20616 (test_hex_in_one_mode): New function.
20617 (do_test): Also run tests for hex float output.
20618
43153109
JM
206192012-09-21 Joseph Myers <joseph@codesourcery.com>
20620
20621 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20622 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20623 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20624 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20625 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20626 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20627 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20628 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20629
8a26625d
JM
206302012-09-20 Joseph Myers <joseph@codesourcery.com>
20631
20632 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20633 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20634 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20635 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20636
f3fd569c
DL
206372012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20638
20639 [BZ #14579]
20640 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20641 mode only.
20642 * elf/tst-rtld-load-self.sh: New test.
20643 * elf/Makefile: Run it.
20644
63bbedd4
JM
206452012-09-18 Joseph Myers <joseph@codesourcery.com>
20646
20647 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20648 (tst-writev-ENV): Remove.
20649 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20650
626f8b6a
CM
206512012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20652
20653 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20654
b7aaa4d6
JM
206552012-09-17 Joseph Myers <joseph@codesourcery.com>
20656
20657 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20658 unconditional.
20659 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20660 Likewise.
20661 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20662 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20663 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20664 Likewise.
20665
65513990
L
206662012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20667
20668 [BZ #14587]
20669 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20670 * config.make.in (have-cpp-asm-debuginfo): Removed.
20671 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20672 * configure: Regenerated.
20673
784761be
JM
206742012-09-14 Joseph Myers <joseph@codesourcery.com>
20675
20676 [BZ #5044]
20677 * stdio-common/printf_fp.c: Include <stdbool.h> and
20678 <rounding-mode.h>.
20679 (___printf_fp): Determine rounding using get_rounding_mode and
20680 round_away.
20681 * stdio-common/tst-printf-round.c: New file.
20682 * stdio-common/Makefile (tests): Add tst-printf-round.
20683 (link-libm): New variable.
20684 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20685
9503345f
L
206862012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20687
20688 [BZ #14576]
20689 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20690 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20691 Likewise.
20692 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20693 Likewise.
20694
ad35fc00
JM
206952012-09-13 Joseph Myers <joseph@codesourcery.com>
20696
20697 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20698 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20699 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20700 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20701
6c9b0f68
JM
207022012-09-12 Joseph Myers <joseph@codesourcery.com>
20703
20704 [BZ #14518]
20705 * include/rounding-mode.h: New file.
20706 * sysdeps/generic/get-rounding-mode.h: Likewise.
20707 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20708 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20709 (MAX_VALUE): New macro.
20710 (MIN_VALUE): Likewise.
20711 (overflow_value): New function.
20712 (underflow_value): Likewise.
20713 (round_and_return): Use overflow_value and underflow_value to
20714 determine return values in overflow and underflow cases. Use
20715 round_away to determine rounding depending on rounding mode.
20716 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20717 determine return values in overflow and underflow cases.
20718 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20719 (struct test_results): New structure.
20720 (struct test): Use struct test_results to store expected results
20721 for all rounding modes.
20722 (TEST): Include expected results for all rounding modes.
20723 (test_in_one_mode): New function.
20724 (do_test): Use test_in_one_mode to compute and check results.
20725 Check results for all rounding modes.
20726 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20727 $(link-libm).
20728
19fcedd5
AM
207292012-12-09 Allan McRae <allan@archlinux.org>
20730
1e9d84cd 20731 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20732
8bbfd2f1
JM
207332012-09-11 Joseph Myers <joseph@codesourcery.com>
20734
20735 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20736 (_G_int32_t): Likewise.
20737 (_G_uint16_t): Likewise.
20738 (_G_uint32_t): Likewise.
20739 (_G_HAVE_BOOL): Likewise.
20740 (_G_HAVE_ATEXIT): Likewise.
20741 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20742 (_G_HAVE_IO_FILE_OPEN): Likewise.
20743 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20744 (_G_int32_t): Likewise.
20745 (_G_uint16_t): Likewise.
20746 (_G_uint32_t): Likewise.
20747 (_G_HAVE_BOOL): Likewise.
20748 (_G_HAVE_ATEXIT): Likewise.
20749 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20750 (_G_HAVE_IO_FILE_OPEN): Likewise.
20751 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20752 (_G_int32_t): Likewise.
20753 (_G_uint16_t): Likewise.
20754 (_G_uint32_t): Likewise.
20755 (_G_HAVE_BOOL): Likewise.
20756 (_G_HAVE_ATEXIT): Likewise.
20757 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20758 (_G_HAVE_IO_FILE_OPEN): Likewise.
20759
b1dc5912
L
207602012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20761
20762 * csu/libc-tls.c: Update copyright years.
20763
0e886ef9
JM
207642012-09-10 Joseph Myers <joseph@codesourcery.com>
20765
28361c5e
JM
20766 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20767 [!_G_USING_THUNKS]: Remove conditional code.
20768 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20769 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20770
0e886ef9
JM
20771 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20772 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20773 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20774 (_G_VTABLE_LABEL_PREFIX): Likewise.
20775 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20776 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20777 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20778 (_G_VTABLE_LABEL_PREFIX): Likewise.
20779 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20780 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20781 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20782 (_G_VTABLE_LABEL_PREFIX): Likewise.
20783 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20784
bcba7aa2
L
207852012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20786
20787 * libio/Makefile: Include ../Makeconfig before tests.
20788 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20789 only if $(build-shared) is yes.
20790
06585ee8
L
20791 * iconv/gconv_db.c: Update copyright years.
20792
80ccd52c
LD
207932012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20794
20795 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20796 unwind info if defined PIC. Fix special cases description.
20797 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20798
20799 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20800 DP_HI_MASK entry.
20801 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20802
691bc9c1
L
208032012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20804
3d9b46b3
L
20805 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20806
de2139a9
L
20807 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20808 is NULL.
20809
5ca78dd0
L
20810 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20811 (LDLIBS-tst-chk4): This.
20812 (LDFLAGS-tst-chk5): Renamed to ...
20813 (LDLIBS-tst-chk5): This.
20814 (LDFLAGS-tst-chk6): Renamed to ...
20815 (LDLIBS-tst-chk6): This.
20816 (LDFLAGS-tst-lfschk4): Renamed to ...
20817 (LDLIBS-tst-lfschk4): This.
20818 (LDFLAGS-tst-lfschk5): Renamed to ...
20819 (LDLIBS-tst-lfschk5): This.
20820 (LDFLAGS-tst-lfschk6): Renamed to ...
20821 (LDLIBS-tst-lfschk6): This.
20822
691bc9c1
L
20823 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20824 on $(common-objpfx)soversions.mk.
20825
65cafb1c
JM
208262012-09-07 Joseph Myers <joseph@codesourcery.com>
20827
20828 [BZ #10014]
20829 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20830 example host name.
20831
c78ab094
SP
208322012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20833
20834 * malloc/arena.c (arena_get_retry): New function that gets
20835 another arena for the caller to try its request on.
20836 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20837 current arena cannot fulfill the request.
20838 (__libc_memalign): Likewise.
20839 (__libc_memalign): Likewise.
20840 (__libc_pvalloc): Likewise.
20841 (__libc_calloc): Likewise.
20842
01f49f59
JT
208432012-09-05 John Tobey <john.tobey@gmail.com>
20844
20845 [BZ #13542]
20846 * manual/arith.texi (Operations on Complex): Fix description
20847 of carg branch cut.
20848
4c23fed5
JM
208492012-09-06 Joseph Myers <joseph@codesourcery.com>
20850
1d3c8572
JM
20851 [BZ #10014]
20852 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20853 host name.
20854
4c23fed5
JM
20855 [BZ #10038]
20856 * manual/memory.texi (Memory): Make order of menu items match
20857 order of sections.
20858
04570aaa
L
208592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20860
20861 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20862 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20863 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20864
b80af2f4
L
208652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20866
20867 * csu/libc-tls.c (static_dtv): Renamed to ...
20868 (_dl_static_dtv): This. Make it global.
20869 (_dl_initial_dtv): Removed.
20870 (__libc_setup_tls): Updated.
20871 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20872 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20873 DL_INITIAL_DTV.
20874
2abe9f15
PM
208752012-09-06 Petr Machata <pmachata@redhat.com>
20876
20877 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20878 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20879 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20880 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20881
0948c3af
L
208822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20883
20884 [BZ #14545]
20885 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20886 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20887 freeing dtv[-1].
20888
a5055ad1
L
208892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20890
20891 [BZ #14544]
20892 * Makeconfig (link-static-before-libc): Replace $(+prector)
20893 with $(+prectorT).
20894 (link-static-after-libc): Replace $(+postctor) with
20895 $(+postctorT).
20896 (link-bounded): Replace $(+prector)/$(+postctor) with
20897 $(+prectorT)/$(+postctorT).
20898 (+prectorT): New macro.
20899 (+postctorT): Likewise.
20900
ed8c2ecd
JM
209012012-09-06 Joseph Myers <joseph@codesourcery.com>
20902
20903 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20904 (round_str): Handle values above the maximum for IBM long double
20905 as inexact.
20906 * stdlib/tst-strtod-round.c (tests): Regenerated.
20907
14c996c8
AK
209082012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20909
20910 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20911 assembler flag.
20912 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20913 zarch_nohighgprs around the zarch optimized routines.
20914 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20915 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20916 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20917 for zarch.
20918
430d6ce6
DM
209192012-09-05 David S. Miller <davem@davemloft.net>
20920
20921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20922
ff04dda4
DM
20923 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20924 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20925 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20926 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20927 entries.
20928
24d4e01b
AO
209292012-09-05 Alexandre Oliva <aoliva@redhat.com>
20930
20931 * malloc/arena.c: Fold copyright years.
20932 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20933
61d58174
AO
209342012-09-05 Alexandre Oliva <aoliva@redhat.com>
20935
20936 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20937
20196a5e
AO
209382012-09-05 Alexandre Oliva <aoliva@redhat.com>
20939
20940 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20941
5c447383
AO
209422012-09-05 Alexandre Oliva <aoliva@redhat.com>
20943
20944 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20945 change internal state upon failure.
20946
fad64255
AO
209472012-09-05 Alexandre Oliva <aoliva@redhat.com>
20948
20949 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20950 * malloc/memusage.c (mmap): Likewise.
20951 (mmap64, mremap): Likewise. Adjust name in comment.
20952
1ffb8c90
SP
209532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20954
20955 * libio/fileops.c: Fix typos in comments.
20956 * libio/oldfileops.c: Likewise.
20957 * libio/wfileops.c: Likewise.
20958
6ef9cc37
SP
209592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20960
20961 [BZ #1349]
20962 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20963 (tst-malloc-usable-ENV): Set environment for test case.
20964 * malloc/hooks.c (malloc_check_get_size): New function to get
20965 requested size.
20966 * malloc/malloc.c (musable): Use malloc_check_get_size.
20967 * malloc/tst-malloc-usable.c: New test case.
20968
4d038ae3
AS
209692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20970
20971 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20972
c4e85184
AM
209732012-09-05 Allan McRae <allan@archlinux.org>
20974
b9dafc56 20975 [BZ #13966]
c4e85184
AM
20976 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20977 determine header location.
20978 * configure: Regenerated.
20979
e1343020
AS
209802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20981
20982 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20983 float format.
20984 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
20985 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20986 format.
e1343020
AS
20987 (test): Regenerate.
20988
0a9f1987
DM
209892012-09-04 David S. Miller <davem@davemloft.net>
20990
20991 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20992 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20993 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20994
29237804
FW
209952012-09-04 Florian Weimer <fweimer@redhat.com>
20996
20997 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20998 failures.
20999
edb3cb88
FW
21000 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21001
60160d83
JM
210022012-09-04 Joseph Myers <joseph@codesourcery.com>
21003
21004 [BZ #9914]
21005 * libio/iogetdelim.c: Include <limits.h>.
21006 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21007 + len + 1 would overflow.
21008
bcd6c8dc
AJ
210092012-09-03 Andreas Jaeger <aj@suse.de>
21010
21011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21012 * sysdeps/i386/fpu/libm-test-ulps: Update.
21013
4ffffbd2
LD
210142012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21015
21016 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21017 Add s_sinf-sse2, s_conf-sse2.
21018
21019 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21020 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21021 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21022 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21023
21024 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21025 for using routine as __sinf_ia32.
21026 Use macro for function declaration and weak_alias.
21027 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21028 for using routine as __cosf_ia32.
21029 Use macro for function declaration and weak_alias.
21030
21031 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21032 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21033
21034 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21035 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21037
21038 * math/libm-test.inc (cos_test): Add more test cases.
21039 (sin_test): Likewise.
21040 (sincos_test): Likewise.
21041
511fa286
AK
210422012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21043
21044 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21045 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21046 hidden.
21047 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21048
5f30cfec
L
210492012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21050
21051 [BZ #14538]
21052 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21053 first element of the GOT.
21054 (elf_machine_load_address): Return the difference between
21055 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21056
0786794f
AM
210572012-09-01 Allan McRae <allan@archlinux.org>
21058
5f30cfec
L
21059 [BZ #13412]
21060 * configure.in (AWK): Require gawk version 3.0 or later.
21061 * configure: Regenerated.
0786794f 21062
26889eac
JM
210632012-09-01 Joseph Myers <joseph@codesourcery.com>
21064
21065 * sysdeps/unix/sysv/linux/kernel-features.h
21066 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21067 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21068 [__NR_clock_getres]: Make code unconditional.
21069 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21070 (clock_getcpuclockid): Remove code left unreachable by removal of
21071 conditionals.
21072 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21073 code unconditional.
21074 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21075 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21076 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21077 Make code unconditional.
21078 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21079 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21080 * sysdeps/unix/sysv/linux/clock_settime.c
21081 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21082 conditional code.
21083 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21084 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21085
d22e28b0
L
210862012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21087
21088 [BZ #14476]
21089 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21090 scripts/test-installation.pl.
21091
21092 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21093 and $ld_so_version if it is set.
21094
050af9c4
SP
210952012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21096
21097 [BZ #14516]
21098 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21099 failure if reading from procfs failed.
21100 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21101
ad845c0b
JM
211022012-08-27 Joseph Myers <joseph@codesourcery.com>
21103
21104 * sysdeps/unix/sysv/linux/kernel-features.h
21105 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21106 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21107 Remove conditional code.
21108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21109 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21110 Remove conditional code.
21111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21112 * sysdeps/unix/sysv/linux/i386/fxstat.c
21113 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21115 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21116 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21118 * sysdeps/unix/sysv/linux/i386/lxstat.c
21119 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21121 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21122 Remove conditional code.
21123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21124 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21125 Remove conditional code.
21126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21127 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21128 <kernel-features.h>.
21129 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21130 Remove.
21131 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21132 Remove conditional code.
21133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21134 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21135 Remove conditional.
21136
5dbf56af
MF
211372012-08-27 Mike Frysinger <vapier@gentoo.org>
21138
21139 [BZ #5400]
21140 * NEWS: Add fixed bug number.
21141
d6e70f43
JM
211422012-08-27 Joseph Myers <joseph@codesourcery.com>
21143
7efb4737
JM
21144 [BZ #14519]
21145 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21146 underflowing exponent in case of negative sign.
21147 * stdlib/tst-strtod-round-data: Add more tests.
21148 * stdlib/tst-strtod-round.c (tests): Regenerated.
21149
af92131a
JM
21150 [BZ #3479]
21151 * stdlib/strtod_l.c (NDIG): Remove.
21152 (HEXNDIG): Likewise.
21153 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21154 smallest representable value.
21155 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21156 lie within an exact representation of 1/2 ulp of the result.
21157 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21158 unconditionally.
21159 (TENS_P9_IDX): Define unconditionally.
21160 (TENS_P9_SIZE): Likewise.
21161 (TENS_P10_IDX): Likewise.
21162 (TENS_P10_SIZE): Likewise.
21163 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21164 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21165 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21166 entries for 10^2^13 and 10^2^14.
21167 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21168 (TENS_P13_IDX): Define.
21169 (TENS_P13_SIZE): Likewise.
21170 (TENS_P14_IDX): Likewise.
21171 (TENS_P14_SIZE): Likewise.
21172 (_fpioconst_pow10): Change array size to
21173 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21174 unconditional.
21175 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21176 1024]: Add entries for 10^2^13 and 10^2^14.
21177 [LAST_POW10 > _LAST_POW10]: Remove #error.
21178 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21179 (_fpioconst_pow10): Change array size to
21180 FPIOCONST_POW10_ARRAY_SIZE.
21181 * stdlib/gen-fpioconst.c: New file.
21182 * stdlib/gen-tst-strtod-round.c: Likewise.
21183 * stdlib/tst-strtod-round-data: Likewise.
21184 * stdlib/tst-strtod-round.c: Likewise.
21185 * stdlib/Makefile (tests): Add tst-strtod-round.
21186
d6e70f43
JM
21187 [BZ #14459]
21188 * stdlib/strtod_l.c: Include <stdint.h>.
21189 (NDEBUG): Do not define.
21190 (round_and_return): Change EXPONENT parameter to type intmax_t.
21191 Rearrange calculations to avoid internal overflow possibilities.
21192 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21193 Rearrange calculations to avoid internal overflow possibilities.
21194 Assert that number fits inside MPNSIZE limbs.
21195 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21196 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21197 calculations and add assertions to avoid internal overflow
21198 possibilities. Add casts to avoid signed/unsigned operations.
21199 * stdlib/tst-strtod-overflow.c: New file.
21200 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21201
1f529f7d
MP
212022012-08-25 Marek Polacek <polacek@redhat.com>
21203
21204 * time/time.h: Fix some typos in comments.
21205
59a629f1
RM
212062012-08-23 Roland McGrath <roland@hack.frob.com>
21207
21208 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21209 * posix/tst-rfc3484-2.c: Likewise.
21210 * posix/tst-rfc3484-3.c: Likewise.
21211
d3bafbc9
SM
212122012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21213
21214 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21215 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21216
4efcc022
JM
212172012-08-23 Joseph Myers <joseph@codesourcery.com>
21218
21219 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21220 #include of fxstatat64.c.
21221
3cc3ef96
RM
212222012-08-22 Roland McGrath <roland@hack.frob.com>
21223
f04e2132
RM
21224 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21225 * shadow/getspent_r.c: Likewise.
21226 * shadow/getspnam.c: Likewise.
21227 * shadow/getspnam_r.c: Likewise.
21228 * gshadow/getsgent.c: Likewise.
21229 * gshadow/getsgent_r.c: Likewise.
21230 * gshadow/getsgnam.c: Likewise.
21231 * gshadow/getsgnam_r.c: Likewise.
21232 * inet/getnetbyad.c: Likewise.
21233 * inet/getnetbyad_r.c: Likewise.
21234 * inet/getnetbynm.c: Likewise.
21235 * inet/getnetbynm_r.c: Likewise.
21236 * inet/getnetent.c: Likewise.
21237 * inet/getnetent_r.c: Likewise.
21238 * inet/getproto.c: Likewise.
21239 * inet/getproto_r.c: Likewise.
21240 * inet/getprtent.c: Likewise.
21241 * inet/getprtent_r.c: Likewise.
21242 * inet/getprtname.c: Likewise.
21243 * inet/getprtname_r.c: Likewise.
21244 * inet/getrpcbyname.c: Likewise.
21245 * inet/getrpcbyname_r.c: Likewise.
21246 * inet/getrpcbynumber.c: Likewise.
21247 * inet/getrpcbynumber_r.c: Likewise.
21248 * inet/getrpcent.c: Likewise.
21249 * inet/getrpcent_r.c: Likewise.
21250 * inet/getaliasent.c: Likewise.
21251 * inet/getaliasent_r.c: Likewise.
21252 * inet/getaliasname.c: Likewise.
21253 * inet/getaliasname_r.c: Likewise.
21254 * nscd/getgrgid_r.c: Likewise.
21255 * nscd/getgrnam_r.c: Likewise.
21256 * nscd/gethstbyad_r.c: Likewise.
21257 * nscd/gethstbynm3_r.c: Likewise.
21258 * nscd/getpwnam_r.c: Likewise.
21259 * nscd/getpwuid_r.c: Likewise.
21260 * nscd/getsrvbynm_r.c: Likewise.
21261 * nscd/getsrvbypt_r.c: Likewise.
21262 * nscd/gai.c: Likewise.
21263
c53d909c
RM
21264 * configure.in (build_nscd): New substituted variable, set
21265 by --disable-build-nscd and defaults to $use_nscd.
21266 * configure: Regenerated.
21267 * config.make.in (build-nscd): New substituted variable.
21268 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21269 Change conditional to require [$(build-nscd) = yes] as well.
21270 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21271
3cc3ef96
RM
21272 [BZ# 13696]
21273 * configure.in (use_nscd): New substituted variable, set by
21274 --disable-nscd. If enabled, define USE_NSCD.
21275 * configure: Regenerated.
21276 * config.h.in: Add USE_NSCD.
21277 * config.make.in (use-nscd): New substituted variable.
21278 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21279 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21280 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21281 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21282 (CFLAGS-getgrnam_r.c): Likewise.
21283 (CFLAGS-initgroups.c): Likewise.
21284 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21285 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21286 Variables removed.
21287 * inet/getnetgrent_r.c
21288 (nscd_setnetgrent): New function, broken out of ...
21289 (setnetgrent): ... here. Call it.
21290 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21291 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21292 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21293 * nscd/Makefile (routines, aux): Move definitions after include of
21294 Makeconfig. Conditionalize on [$(use-nscd) != no].
21295 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21296 Conditionalize on [USE_NSCD].
21297 (is_nscd, nscd_init_cb): Likewise.
21298 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21299 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21300 * nss/nss_db/db-init.c: Likewise.
21301 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21302 [USE_NSCD].
21303 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21304 (make_request): Use it.
21305 (cache_valid_p): New function.
21306 (__check_pf): Use it.
21307 * NEWS: Add item for --disable-nscd.
21308
07e51550
DL
213092012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21310
21311 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21312 to support sed >= 4.2.1-20-ga9bf076.
21313 * configure: Regenerated.
21314
35a5b08b
RM
213152012-08-22 Roland McGrath <roland@hack.frob.com>
21316
21317 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21318 Conditionalize whole body on [IREL].
21319
8479f23a
JL
213202012-08-22 Jeff Law <law@redhat.com>
21321
21322 [BZ #14505]
21323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21324 if the family is PF_UNSPEC.
21325
48da0b21
MF
213262012-08-22 Mike Frysinger <vapier@gentoo.org>
21327
21328 * Makerules (lib-version): Rename from V.
21329 (install-lib-nosubdir): Change V to lib-version.
21330
15d0da8c
WS
213312012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21332
21333 [BZ #14252]
21334 * powerpc32/power6/wcschr.c: New file.
21335 * powerpc32/power6/wcscpy.c: New file.
21336 * powerpc32/power6/wcsrchr.c: New file.
21337 * powerpc64/power6/wcschr.c: New file.
21338 * powerpc64/power6/wcscpy.c: New file.
21339 * powerpc64/power6/wcsrchr.c: New file.
21340
bcca0895
MK
213412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21342
21343 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21344 (two_way_short_needle): Use it.
5a4aaa33
RM
21345 * string/strstr.c (AVAILABLE1_USES_J): Define.
21346 * string/strcasestr.c: Likewise.
99677e57
MK
21347
21348 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21349 array references.
21350 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21351
400726de
MK
21352 [BZ #11607]
21353 * NEWS: Add an entry.
21354 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21355 define their defaults.
21356 (two_way_short_needle): Detect end-of-string on-the-fly.
21357 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21358 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21359 * string/bug-strcasestr1.c: New test.
21360 * string/Makefile: Run it.
21361
20a71f2c
MK
213622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21363
21364 [BZ #11607]
21365 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21366 the first character.
21367
21ad0558
RM
213682012-08-21 Roland McGrath <roland@hack.frob.com>
21369
21370 * csu/elf-init.c (__libc_csu_irel): Function removed.
21371 * csu/libc-start.c (apply_irel): New function.
21372 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21373
0e1d9911
JM
213742012-08-21 Joseph Myers <joseph@codesourcery.com>
21375
21376 * sysdeps/unix/sysv/linux/kernel-features.h
21377 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21378 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21379 <kernel-features.h>.
21380 [__NR_fadvise64_64]: Make code unconditional.
21381 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21382 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21383 !__NR_fadvise64_64)]: Likewise.
21384 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21385 !__NR_fadvise64_64))]: Likewise.
21386 [__NR_fadvise64]: Make code unconditional.
21387 [!__NR_fadvise64]: Remove conditional code.
21388 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21389 <kernel-features.h>.
21390 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21391 unconditional.
21392 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21393 conditional code.
21394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21395 not include <kernel-features.h>.
21396 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21397 unconditional.
21398 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21399 conditional code.
21400 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21401 include <kernel-features.h>.
21402 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21403 unconditional.
21404 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21405 conditional code.
21406
14a50c9d
WS
214072012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21408
21409 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21410 slight instruction rearrangements per scrollpipe analysis.
21411 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21412
c0f4faf0
RM
214132012-08-20 Roland McGrath <roland@hack.frob.com>
21414
696da859
RM
21415 * manual/syslog.texi (syslog; vsyslog, closelog):
21416 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21417 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21418
c0f4faf0
RM
21419 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21420 DSOCAPS to match condition on defining it.
21421
348363b2
JM
214222012-08-20 Joseph Myers <joseph@codesourcery.com>
21423
a35cbf28
JM
21424 * sysdeps/unix/sysv/linux/kernel-features.h
21425 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21427 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21428 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21430 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21431 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21433 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21434 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21435
445f7ecd
JM
21436 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21437 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21438
348363b2
JM
21439 * sysdeps/unix/sysv/linux/kernel-features.h
21440 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21441 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21442 unconditional.
21443 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21444 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21445 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21446 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21447 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21448 Make code unconditional.
21449 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21450 (__mmap64) [!__NR_mmap2]: Likewise.
21451 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21452 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21453 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21454 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21455 [__NR_mmap2]: Make code unconditional.
21456 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21457 (__mmap64) [!__NR_mmap2]: Likewise.
21458
bc5bc0e5
AK
214592012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21460
21461 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21462
88d506de
AJ
214632012-08-18 Andreas Jaeger <aj@suse.de>
21464
21465 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21466
493387d2
MF
214672012-08-18 Mike Frysinger <vapier@gentoo.org>
21468
21469 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21470 * include/unistd.h (__have_sock_cloexec): Likewise.
21471 (__have_pipe2): Likewise.
21472 (__have_dup3): Likewise.
21473
a277af22
MF
214742012-08-18 Mike Frysinger <vapier@gentoo.org>
21475
21476 [BZ #9685]
21477 * include/unistd.h (__have_pipe2): Change define into an extern int.
21478 (__have_dup3): Likewise.
21479 * socket/have_sock_cloexec.c: Include fcntl.h.
21480 (__have_pipe2): New variable.
21481 (__have_dup3): Likewise.
21482
fdab8fd3
MF
214832012-08-17 Mike Frysinger <vapier@gentoo.org>
21484
21485 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21486
31035e80
MP
214872012-08-17 Marek Polacek <polacek@redhat.com>
21488
21489 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21490 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21491
3bd9e993
RM
214922012-08-17 Roland McGrath <roland@hack.frob.com>
21493
c91c505f
RM
21494 * configure.in: Add AC_SUBST for sysheaders.
21495 * configure: Regenerated.
21496 * config.make.in (sysheaders): New substituted variable.
21497
7c6f9d53
RM
21498 * sysdeps/unix/mkfifo.c: Moved ...
21499 * sysdeps/posix/mkfifo.c: ... here.
21500 * sysdeps/unix/mkfifoat.c: Moved ...
21501 * sysdeps/posix/mkfifoat.c: ... here.
21502
21503 * sysdeps/unix/utime.c: Moved ...
21504 * sysdeps/posix/utime.c: ... here.
21505
21506 * sysdeps/unix/time.c: Moved ...
21507 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21508 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21509 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21510
21511 * sysdeps/unix/nice.c: Moved ...
21512 * sysdeps/posix/nice.c: ... here.
21513
21514 * sysdeps/unix/alarm.c: Moved ...
21515 * sysdeps/posix/alarm.c: ... here.
21516
3bd9e993
RM
21517 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21518
d1f09384
JL
215192012-08-17 Jeff Law <law@redhat.com>
21520
21521 * intl/Makefile (codeset_mo): New variable.
21522 ($(codeset_mo)): New target.
21523 (tst-codeset.out): Depend on that. Remove explicit rule.
21524 (tst-gettext3.out, tst-gettext5.out): Likewise.
21525 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21526 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21527 * intl/tst-codeset.sh: Remove.
21528 * intl/tst-gettext3.sh: Likewise.
21529 * intl/tst-gettext5.sh: Likewise.
21530
2ae1ae5c
RM
215312012-08-17 Roland McGrath <roland@hack.frob.com>
21532
c31fdb83
RM
21533 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21534 * sysdeps/unix/syscalls.list: ... here.
21535
a0844057
RM
21536 * sysdeps/posix/getaddrinfo.c
21537 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21538 (gaiconf_init, gaiconf_reload): Use them.
21539 [!_STATBUF_ST_NSEC]
21540 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21541 Define using time_t rather than struct timespec.
21542
750c1f2a
RM
21543 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21544 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21545 Macros removed.
21546 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21547 [!NO_THREADS].
21548 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21549 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21550 Likewise.
21551
2ae1ae5c
RM
21552 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21553 __libc_cleanup_push argument.
21554
e66a42f5
RM
21555 * bits/param.h: New file.
21556 * misc/sys/param.h: New file.
21557 * include/sys/param.h: New file.
21558 * misc/Makefile (headers): Add bits/param.h.
21559 * sysdeps/generic/sys/param.h: File removed.
21560 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21561 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21562 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21563 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21564
b7c08a66
RM
21565 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21566 last change.
21567
b2e1c562
RM
21568 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21569 [_IO_MTSAFE_IO].
21570 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21571 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21572 New macros.
21573
c75ccd4c
RM
21574 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21575 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21576 rather than -D_IO_MTSAFE_IO conditionally.
21577 * stdio-common/Makefile (CPPFLAGS): Likewise.
21578 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21579 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21580 Use $(libio-mtsafe).
21581 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21582 of -D_IO_MTSAFE_IO.
21583 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21584 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21585 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21586 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21587 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21588 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21589 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21590 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21591 (CFLAGS-fread_u_chk.c): Likewise.
21592 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21593 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21594 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21595 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21596 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21597 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21598 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21599 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21600 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21601
21602 * libio/Makefile: Test [$(libc-reentrant) = yes]
21603 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21604
21605 * Makeconfig
21606 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21607 * sysdeps/pthread/configure: File removed.
21608 * sysdeps/pthread/Makeconfig: New file.
21609 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21610 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21611
d9195db8
GB
216122012-08-16 Gary Benson <gbenson@redhat.com>
21613
21614 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21615 unmapping the first object in a namespace.
21616
86466cd9
RM
216172012-08-16 Roland McGrath <roland@hack.frob.com>
21618
21619 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21620 (__internal_setnetgrent): ... this. Add internal_function to
21621 definition. Add libc_hidden_def.
21622 (setnetgrent): Update caller.
21623 (internal_endnetgrent): Renamed to ...
21624 (__internal_endnetgrent): ... this. Add internal_function to
21625 definition. Add libc_hidden_def.
21626 (endnetgrent): Update caller.
21627 (internal_getnetgrent_r): Renamed to ...
21628 (__internal_getnetgrent_r): ... this. Add internal_function to
21629 definition. Add libc_hidden_def.
21630 (__getnetgrent_r): Update caller.
21631 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21632
c3c8283c
JM
216332012-08-16 Joseph Myers <joseph@codesourcery.com>
21634
21635 * stdlib/longlong.h: Update from GCC.
21636
db1ee0a8
RM
216372012-08-16 Roland McGrath <roland@hack.frob.com>
21638
21639 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21640 on _QL, which is set by umul_ppmm but never used.
21641 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21642 variables, which are set by GMP macros but never used.
21643 * stdio-common/_itowa.c (_itowa): Likewise.
21644 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21645 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21646
30f69637
CD
216472012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21648
21649 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21650 struct La_sh_regs is not constant.
21651 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21652 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21653 and struct La_sparc64_regs are not constant.
21654
93a78ac4
JM
216552012-08-16 Joseph Myers <joseph@codesourcery.com>
21656
21657 * sysdeps/unix/sysv/linux/kernel-features.h
21658 (__ASSUME_POSIX_TIMERS): Remove.
21659 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21660 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21661 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21662 Make code unconditional.
21663 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21664 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21665 Make code unconditional.
21666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21667 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21668 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21670 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21671 Make code unconditional.
21672 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21673 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21674 (__libc_missing_posix_timers): Remove.
21675
dd924cd7
RM
216762012-08-15 Roland McGrath <roland@hack.frob.com>
21677
4b4f2771
RM
21678 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21679 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21680
601c888b
RM
21681 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21682
176790a7
RM
21683 * elf/dl-sym.c: Include <stdlib.h>.
21684
329bc018
RM
21685 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21686 constants, which avoids warnings in 32-bit builds.
21687
e04e272d
RM
21688 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21689 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21690
952bf94a
RM
21691 * misc/lseek.c: File moved to ...
21692 * io/lseek.c: ... here.
21693
7c99b50a
RM
21694 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21695
dd924cd7
RM
21696 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21697 shifting LEN more than 31 bits at once.
21698
b3f479a8
LD
216992012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21700
21701 [BZ #14195]
8c4ae0d4
RM
21702 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21703 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21704 * string/test-strncasecmp.c (check1): Renamed to...
21705 (bz12205): ...this.
21706 (bz14195): Add new testcase for two empty input strings and N > 0.
21707 (test_main): Call new testcase, adapt for renamed function.
21708
9c55864e
AJ
217092012-08-15 Andreas Jaeger <aj@suse.de>
21710
21711 [BZ #14090]
21712 * crypt/md5test2.c: New test, based on test supplied by Serge
21713 Belyshev <belyshev@depni.sinp.msu.ru>.
21714 * crypt/Makefile (xtests): Add md5test-giant..
21715 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21716
02dcb6c5
PE
217172012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21718
21719 [BZ #14090]
21720 * crypt/md5.c (md5_process_block): Don't assume the buffer
21721 length is less than 2**32.
21722 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21723 length is less than 2**64.
21724
a3f95dcc
RM
217252012-08-15 Roland McGrath <roland@hack.frob.com>
21726
be75d758
RM
21727 * string/str-two-way.h: Include <sys/param.h>.
21728 (MAX): Macro removed.
21729
7312ca90
RM
21730 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21731 Move #define and #undef of memmove to just before and after
21732 including <string.h>.
21733
9a0a5486
RM
21734 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21735 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21736 and after including <string.h>. Move declarations of
21737 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21738 to before #include "string/memmove.c".
21739
67cc348d
RM
21740 * include/dirent.h: Declare __getdirentries.
21741
a3f95dcc
RM
21742 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21743 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21744
ca98e171
MF
217452012-08-14 Mike Frysinger <vapier@gentoo.org>
21746
21747 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21748 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21749 * sysdeps/i386/configure: Regenerated.
21750 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21751 STABS_CURRENT_FILE, and STABS_FUN.
21752 (END): Remove call to STABS_FUN_END.
21753 (STABS_CURRENT_FILE1): Delete.
21754 (STABS_CURRENT_FILE): Likewise.
21755 (STABS_FUN): Likewise.
21756 (STABS_FUN_END): Likewise.
21757 (STABS_FUN2): Likewise.
21758 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21759 * sysdeps/x86_64/configure: Regenerated.
21760
5908bf46
RM
217612012-08-14 Roland McGrath <roland@hack.frob.com>
21762
21763 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21764 * elf/dl-lookup.c: Likewise.
5908bf46 21765
f2c05b9e
JM
217662012-08-14 Joseph Myers <joseph@codesourcery.com>
21767
21768 * sysdeps/unix/sysv/linux/kernel-features.h
21769 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21770 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21771 unconditionally.
21772 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21773 unconditionally.
21774 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21775 condition on __ASSUME_CLONE_THREAD_FLAGS.
21776
e11f5155
AJ
217772012-08-14 Andreas Jaeger <aj@suse.de>
21778
21779 * sysdeps/i386/fpu/libm-test-ulps: Update.
21780
51a9ba86
MK
217812012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21782
2fdd4f78
AJ
21783 * include/atomic.h (atomic_exchange_and_add): Split into ...
21784 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21785 New atomic macros.
51a9ba86 21786
ba6cba9e
MT
217872012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21788
21789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21790
42443a47
JL
217912012-08-13 Jeff Law <law@redhat.com>
21792
21793 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21794 null byte in the output string.
21795
121dce05
JM
217962012-08-10 Joseph Myers <joseph@codesourcery.com>
21797
21798 * sysdeps/unix/sysv/linux/kernel-features.h
21799 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21800 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21801 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21802 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21803 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21804 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21805 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21806
bf51f568
JL
218072012-08-09 Jeff Law <law@redhat.com>
21808
21809 [BZ #13939]
21810 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21811 When avoid_arena is set, don't retry in the that arena. Pick the
21812 next one, whatever it might be.
21813 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21814 (arena_lock): Pass in new parameter to arena_get2.
21815 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21816 arena_get2.
21817 (__libc_malloc): Unify retrying after main arena failure with
21818 __libc_memalign version.
21819 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21820
f85fa270
L
218212012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21822
21823 [BZ #14166]
21824 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21825 to __redirect_strstr.
21826 (__strstr_sse42): Use typeof __redirect_strstr.
21827 (__strstr_ia32): Likewise.
21828 (__libc_strstr): New prototype.
21829 (strstr): Renamed to ...
21830 (__libc_strstr): This.
21831 (strstr): New strong alias of __libc_strstr.
21832 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21833 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21834 __redirect_time.
21835 Include <time.h>.
21836 (__libc_time): New prototype.
21837 (time_ifunc): Replace time with __libc_time.
21838 (time): New strong alias and hidden definition of __libc_time.
21839 (__GI_time): Remove strong alias.
21840 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21841 Include <stddef.h>.
21842 (memmove): Redefined to __redirect_memmove.
21843 (__memmove_sse2): Use typeof __redirect_memmove.
21844 (__memmove_ssse3): Likewise.
21845 (__memmove_ssse3_back): Likewise.
21846 (__libc_memmove): New prototype.
21847 (memmove): Renamed to ...
21848 (__libc_memmove): This.
21849 (memmove): New strong alias of __libc_memmove.
21850
33b4a91e
MS
218512012-08-08 Mark Salter <msalter@redhat.com>
21852
21853 * elf/elf.h
21854 (R_MN10300_TLS_GD): Define.
21855 (R_MN10300_TLS_LD): Likewise.
21856 (R_MN10300_TLS_LDO): Likewise.
21857 (R_MN10300_TLS_GOTIE): Likewise.
21858 (R_MN10300_TLS_IE): Likewise.
21859 (R_MN10300_TLS_LE): Likewise.
21860 (R_MN10300_TLS_DTPMOD): Likewise.
21861 (R_MN10300_TLS_DTPOFF): Likewise.
21862 (R_MN10300_TLS_TPOFF): Likewise.
21863 (R_MN10300_SYM_DIFF): Likewise.
21864 (R_MN10300_ALIGN): Likewise.
21865 (R_MN10300_NUM): Update.
21866
b36137f1
JM
218672012-08-08 Joseph Myers <joseph@codesourcery.com>
21868
21869 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21870 Remove.
21871
cdd915fd
RM
218722012-08-08 Roland McGrath <roland@hack.frob.com>
21873
a2433aac
RM
21874 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21875
cdd915fd
RM
21876 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21877 sysdeps/unix -> sysdeps/posix move.
21878 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21879
bf9b740a
AM
218802012-08-07 Allan McRae <allan@archlinux.org>
21881
21882 [BZ #14303]
21883 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21884 (SUNOS_CPP): Likewise.
21885 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21886 not found.
21887 (open_input): Call CPP using execvp.
21888
93df14ee
JM
218892012-08-07 Joseph Myers <joseph@codesourcery.com>
21890
21891 * sysdeps/unix/sysv/linux/kernel-features.h
21892 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21893 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21894 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21895 (__ASSUME_WAITID_SYSCALL): Likewise.
21896 * sysdeps/unix/sysv/linux/dl-execstack.c
21897 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21898 code unconditional.
21899 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21900 conditional code.
21901 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21902 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21903 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21904 code.
21905 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21906 unconditional.
21907 [__ASSUME_WAITID_SYSCALL]: Likewise.
21908 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21909
d34689de
RM
219102012-08-07 Roland McGrath <roland@hack.frob.com>
21911
a281decc
RM
21912 * sysdeps/unix/closedir.c: Renamed to ...
21913 * sysdeps/posix/closedir.c: ... here.
21914 * sysdeps/unix/dirfd.c: Renamed to ...
21915 * sysdeps/posix/dirfd.c: ... here.
21916 * sysdeps/unix/dirstream.h: Renamed to ...
21917 * sysdeps/posix/dirstream.h: ... here.
21918 * sysdeps/unix/fdopendir.c: Renamed to ...
21919 * sysdeps/posix/fdopendir.c: ... here.
21920 * sysdeps/unix/opendir.c: Renamed to ...
21921 * sysdeps/posix/opendir.c: ... here.
21922 * sysdeps/unix/readdir.c: Renamed to ...
21923 * sysdeps/posix/readdir.c: ... here.
21924 * sysdeps/unix/readdir_r.c: Renamed to ...
21925 * sysdeps/posix/readdir_r.c: ... here.
21926 * sysdeps/unix/rewinddir.c: Renamed to ...
21927 * sysdeps/posix/rewinddir.c: ... here.
21928 * sysdeps/unix/seekdir.c: Renamed to ...
21929 * sysdeps/posix/seekdir.c: ... here.
21930 * sysdeps/unix/telldir.c: Renamed to ...
21931 * sysdeps/posix/telldir.c: ... here.
21932 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21933 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21934 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21935 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21936
22895b47
RM
21937 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21938 * bits/fcntl.h: ... here.
21939
707a53b6
RM
21940 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21941 not 0.
21942 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21943 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21944 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21945 (struct flock): Move l_start, l_len to the beginning.
21946 Use __pid_t for l_pid.
21947 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21948 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21949 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21950 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21951 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21952 [__USE_LARGEFILE64] (struct flock64): New type.
21953 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21954
f0bd3e25
RM
21955 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21956 * bits/dirent.h: ... here.
21957
d34689de
RM
21958 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21959 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21960
6dad2c06
JM
219612012-08-07 Joseph Myers <joseph@codesourcery.com>
21962
21963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21964 Change from 2.6.0 to 2.6.16.
21965 * sysdeps/unix/sysv/linux/configure: Regenerated.
21966 * sysdeps/unix/sysv/linux/kernel-features.h
21967 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21968 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21969 version.
21970 (__ASSUME_UTIMES): Likewise.
21971 (__ASSUME_CLONE_STOPPED): Remove.
21972 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21973 architectures, not kernel version.
21974 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21975 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21976 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21977 (__ASSUME_WAITID_SYSCALL): Likewise.
21978 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21979 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21980 * README: State 2.6.16 as minimum Linux kernel version. Do not
21981 refer to older versions.
21982
03af9520
RM
219832012-08-06 Roland McGrath <roland@hack.frob.com>
21984
8e49df1d
RM
21985 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21986 Define alphasort64 as an alias.
21987 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21988 Define versionsort64 as an alias.
21989 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21990 Define scandir64 as an alias.
21991 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21992 Define scandirat64 as an alias.
21993 * dirent/alphasort64.c (alphasort64):
21994 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21995 * dirent/versionsort64.c: Likewise.
21996 * dirent/scandir64.c: Likewise.
21997 * dirent/scandirat64.c: Likewise.
21998 * sysdeps/wordsize-64/alphasort.c: File removed.
21999 * sysdeps/wordsize-64/alphasort64.c: File removed.
22000 * sysdeps/wordsize-64/scandir.c: File removed.
22001 * sysdeps/wordsize-64/scandir64.c: File removed.
22002 * sysdeps/wordsize-64/scandirat.c: File removed.
22003 * sysdeps/wordsize-64/scandirat64.c: File removed.
22004 * sysdeps/wordsize-64/versionsort.c: File removed.
22005 * sysdeps/wordsize-64/versionsort64.c: File removed.
22006 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22007 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22008 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22009 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22010 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22011 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22012 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22013 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22014
22015 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22017 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22018 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22019 [defined __arch64__ || defined __sparcv9]
22020 (__INO_T_MATCHES_INO64_T): New macro.
22021 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22022 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22023 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22024 * sysdeps/unix/sysv/linux/bits/dirent.h
22025 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22026 (_DIRENT_MATCHES_DIRENT64): New macro.
22027
03af9520
RM
22028 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22029 Define lockf64 as an alias.
22030 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22031 Define fseeko64 as an alias.
22032 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22033 Define ftello64 as an alias.
22034 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22035 Define _IO_fgetpos64 and fgetpos64 as aliases.
22036 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22037 Define _IO_fsetpos64 and fsetpos64 as aliases.
22038 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22039 Conditionalize body on this.
22040 * libio/fseeko64.c: Likewise.
22041 * libio/ftello64.c: Likewise.
22042 * libio/iofgetpos64.c: Likewise.
22043 * libio/iofsetpos64.c: Likewise.
22044 * sysdeps/wordsize-64/lockf.c: File removed.
22045 * sysdeps/wordsize-64/lockf64.c: File removed.
22046 * sysdeps/wordsize-64/fseeko.c: File removed.
22047 * sysdeps/wordsize-64/fseeko64.c: File removed.
22048 * sysdeps/wordsize-64/ftello.c: File removed.
22049 * sysdeps/wordsize-64/ftello64.c: File removed.
22050 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22051 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22052 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22053 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22054 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22056 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22057 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22058 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22059 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22060 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22061 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22062 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22064
22065 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22067 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22069 [defined __arch64__ || defined __sparcv9]
22070 (__OFF_T_MATCHES_OFF64_T): New macro.
22071 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22072 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22073 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22074 (__OFF_T_MATCHES_OFF64_T): New macro.
22075
c5757acd
L
220762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22077
22078 * stdlib/secure-getenv.c (__secure_getenv): Replace
22079 GLIBC_2_16 with GLIBC_2_17.
22080
3a31811e
L
220812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22082
22083 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22084 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22085
faa2bccb
DM
220862012-08-03 David S. Miller <davem@davemloft.net>
22087
22088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22089
85fe1997
JM
220902012-08-03 Joseph Myers <joseph@codesourcery.com>
22091
22092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22093 Remove.
22094 (__ASSUME_CORRECT_SI_PID): Likewise.
22095 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22096 (__ASSUME_TMPFS_NAME): Likewise.
22097 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22098 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22099 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22100 (HAVE_AUX_SECURE): Make definition unconditional.
22101 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22102 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22103
4f75b7a0
RM
221042012-08-03 Roland McGrath <roland@hack.frob.com>
22105
22106 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22107 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22108 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22109 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22110 __eloop_threshold instead of SYMLOOP_MAX.
22111
22112 * sysdeps/generic/eloop-threshold.h: New file.
22113 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22114 of MAXSYMLINKS.
22115 * elf/chroot_canon.c (chroot_canon): Likewise.
22116
7aab07e4
JM
221172012-08-03 Joseph Myers <joseph@codesourcery.com>
22118
22119 [BZ #13717]
22120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22121 Change to 2.6.0 everywhere.
22122 * sysdeps/unix/sysv/linux/configure: Regenerated.
22123 * sysdeps/unix/sysv/linux/kernel-features.h
22124 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22125 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22126 kernel versions.
22127 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22128 (__ASSUME_FUTEX_REQUEUE): Remove.
22129 (__ASSUME_STATFS64): Define unconditionally.
22130 (__ASSUME_AT_SECURE): Likewise.
22131 (__ASSUME_CORRECT_SI_PID): Likewise.
22132 (__ASSUME_TGKILL): Define without depending on kernel version for
22133 i386.
22134 (__ASSUME_UTIMES): Likewise.
22135 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22136 kernel version.
22137 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22138 (__ASSUME_TMPFS_NAME): Likewise.
22139 * README: Update reference to Linux kernel versions.
22140
b67e9372
MP
221412012-08-02 Marek Polacek <polacek@redhat.com>
22142
1f529f7d 22143 [BZ# 14150]
b67e9372
MP
22144 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22145 libc_cv_asm_type_prefix with %.
22146 * configure: Regenerated.
d2441631
RM
22147 * include/libc-symbols.h: Remove comment about
22148 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22149 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22150 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22151 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22152 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22153 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22154 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22155 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22156 * elf/tst-unique2mod1.c: Likewise.
22157 * elf/tst-unique1mod2.c: Likewise.
22158 * elf/tst-unique1mod1.c: Likewise.
22159 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22160 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22161 Replace ASM_TYPE_DIRECTIVE with .type.
22162 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22163 * sysdeps/i386/sysdep.h: Likewise.
22164 * sysdeps/x86_64/sysdep.h: Likewise.
22165 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22167 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22168 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22169 * sysdeps/powerpc/powerpc32/sysdep.h:
22170 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22171 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22172 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22173 * sysdeps/i386/fpu/e_powf.S: Likewise.
22174 * sysdeps/i386/fpu/e_expl.S: Likewise.
22175 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22176 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22177 * sysdeps/i386/fpu/e_pow.S: Likewise.
22178 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22179 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22180 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22181 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22182 * sysdeps/i386/fpu/e_log2.S: Likewise.
22183 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22184 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22185 * sysdeps/i386/fpu/e_powl.S: Likewise.
22186 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22187 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22188 * sysdeps/i386/fpu/e_logl.S: Likewise.
22189 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22190 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22191 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22192 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22193 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22194 * sysdeps/i386/fpu/e_log.S: Likewise.
22195 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22196 * sysdeps/i386/fpu/e_logf.S: Likewise.
22197 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22198 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22199 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22200 * sysdeps/i386/fpu/e_log10.S: Likewise.
22201 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22202 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22203 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22204 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22205 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22206 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22207 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22208 * sysdeps/i386/i686/strtok.S: Likewise.
22209 * sysdeps/i386/i386-mcount.S: Likewise.
22210 * sysdeps/i386/strtok.S: Likewise.
22211 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22212 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22213 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22214 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22215 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22216 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22217 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22218 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22219 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22220 * sysdeps/x86_64/_mcount.S: Likewise.
22221 * sysdeps/x86_64/strtok.S: Likewise.
22222 * sysdeps/sh/_mcount.S: Likewise.
22223
2747bf9a
RM
222242012-08-01 Roland McGrath <roland@hack.frob.com>
22225
22226 * libio/iofopen.c: Include <fcntl.h>.
22227 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22228 (_IO_fopen64, fopen64): Define as aliases.
22229 * libio/iofopen64.c: Include <fcntl.h>.
22230 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22231 Conditionalize body on this.
22232 * sysdeps/wordsize-64/iofopen.c: File removed.
22233 * sysdeps/wordsize-64/iofopen64.c: File removed.
22234
3fb791b8
MP
222352012-08-01 Marek Polacek <polacek@redhat.com>
22236
22237 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22238 Use dlfcn directly instead of a variable.
22239 (binfmt-subdir): Do not define.
22240 (dlfcn): Likewise.
22241
a9f1039f
JM
222422012-08-01 Joseph Myers <joseph@codesourcery.com>
22243
23bddc06
JM
22244 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22245 Remove all definitions.
22246 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22247 <kernel-features.h>.
22248 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22249 (miss_F_GETOWN_EX): Remove all definitions.
22250 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22251 macro definition.
22252 [!__ASSUME_FCNTL64]: Remove conditional code.
22253 [__ASSUME_FCNTL64]: Make code unconditional.
22254 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22255 <kernel-features.h>.
22256 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22257 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22258 (lockf64) [__NR_fcntl64]: Make code unconditional.
22259 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22260
a9f1039f
JM
22261 * sysdeps/unix/sysv/linux/kernel-features.h
22262 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22263 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22264 Make code unconditional.
22265 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22266 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22268 [__NR_vfork]: Make code unconditional.
22269 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22270 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22272 [__NR_vfork]: Make code unconditional.
22273 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22274 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22275
09c0ee5f
RM
222762012-08-01 Roland McGrath <roland@hack.frob.com>
22277
48aec5b9
RM
22278 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22279 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22280
cd97c966
RM
22281 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22282 Define mkstemp64 as an alias.
3f55550c
RM
22283 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22284 Define mkstemps64 as an alias.
cd97c966
RM
22285 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22286 Define mkostemp64 as an alias.
b8625cfc
RM
22287 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22288 Define mkostemps64 as an alias.
cd97c966
RM
22289 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22290 Conditionalize body on this.
22291 * misc/mkostemp64.c: Likewise.
b8625cfc 22292 * misc/mkostemps64.c: Likewise.
3f55550c 22293 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22294 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22295 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22296 * sysdeps/wordsize-64/mkostemp.c: File removed.
22297 * sysdeps/wordsize-64/mkstemp.c: File removed.
22298 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22299 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22300 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22301 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22302
09c0ee5f
RM
22303 [BZ #14138]
22304 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22305 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22306 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22307 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22308
22309 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22310 compat_symbol macros from <shlib-compat.h> rather than the underlying
22311 default_symbol_version and symbol_version macros, so that DEFAULT
22312 lines in shlib-versions are respected.
22313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22314
7e66ee51
FW
223152012-08-01 Florian Weimer <fweimer@redhat.com>
22316
22317 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22318 Declare with warn_unused_result.
22319 (setgid, setregid, setegid, setresgid): Likewise.
22320 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22321 Likewise.
22322 * WUR-REPORT: Remove set*id functions.
22323
d2a54255
PT
223242012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22325
22326 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22327
7ecdb005
RM
223282012-07-31 Roland McGrath <roland@hack.frob.com>
22329
b4180a5e 22330 [BZ #10191]
789bd351
RM
22331 * include/sys/socket.h (__libc_accept, __libc_accept4):
22332 Add attribute_hidden.
22333 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22334
40ce302d
RM
22335 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22336 use of PTR_MANGLE.
22337 * inet/getnetgrent_r.c (setup): Likewise.
22338
7ecdb005
RM
22339 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22340
e2eabb2c
DM
223412012-07-31 David S. Miller <davem@davemloft.net>
22342
22343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22344
d0419dbf
JM
223452012-07-31 Joseph Myers <joseph@codesourcery.com>
22346
22347 [BZ #13629]
22348 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22349 value between 1.0 and 2.0 and smaller part has absolute value less
22350 than 1.0.
22351 * math/s_clog10.c (__clog10): Likewise.
22352 * math/s_clog10f.c (__clog10f): Likewise.
22353 * math/s_clog10l.c (__clog10l): Likewise.
22354 * math/s_clogf.c (__clogf): Likewise.
22355 * math/s_clogl.c (__clogl): Likewise.
22356 * math/libm-test.inc (clog_test): Add more tests.
22357 (clog10_test): Likewise.
22358 * sysdeps/i386/fpu/libm-test-ulps: Update.
22359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22360
2bc13872
FW
223612012-07-31 Florian Weimer <fweimer@redhat.com>
22362
22363 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22364 Exit with zero in case no suitable GID is found, and write a
22365 message to standard error.
22366
bea9b193
RM
223672012-07-30 Roland McGrath <roland@hack.frob.com>
22368
22369 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22370 rather than to 1.
22371 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22372 (MAXPATHLEN): Removed.
22373 (NOGROUP, NODEV): New macros.
22374 (setbit, clrbit, isset, isclr): New macros.
22375 (howmany, roundup, powerof2): New macros.
22376 (DEV_BSIZE): New macro.
22377
22378 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22379 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22380
22381 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22382 definition on [!__NO_LONG_DOUBLE_MATH].
22383
22384 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22385 PTR_MANGLE and PTR_DEMANGLE.
22386
22387 * socket/accept4.c (accept4): Rename to __libc_accept4.
22388 Define accept4 as a weak alias.
22389
22390 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22391 on [_DIRENT_HAVE_D_TYPE].
22392 * io/ftw.c (ftw_dir): Likewise.
22393
22394 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22395
22396 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22397
22398 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22399 Use the BSD numbers rather than the arbitrary ones we had.
22400 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22401 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22402 (SIGXCPU, SIGXFSZ): New macros.
22403 (_NSIG): Now 32.
22404
22405 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22406 initializer on [_LIBC_REENTRANT].
22407
22408 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22409 definitions inside [_POSIX_MAPPED_FILES].
22410
22411 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22412
22413 * dirent/opendir.c: Include <fcntl.h>.
22414
22415 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22416 (__libc_getspecific): Likewise.
22417 (__libc_key_create): Likewise.
22418
22419 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22420 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22421 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22422 (tmpfile64): Define as alias.
22423 * sysdeps/wordsize-64/tmpfile.c: File removed.
22424 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22425 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22426 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22427
22428 * stdio-common/vfscanf.c: Include <stdbool.h>.
22429 * nss/makedb.c: Likewise.
22430 * stdio-common/_i18n_number.h: Likewise.
22431 * argp/argp-help.c: Likewise.
22432 * posix/wordexp.c: Likewise.
22433 * sysdeps/posix/spawni.c: Likewise.
22434 * nss/nss_files/files-initgroups.c: Likewise.
22435 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22436 * nss/nss_files/files-initgroups.c: Likewise.
22437 * nss/nss_db/db-netgrp.c: Likewise.
22438 * nss/nss_db/db-initgroups.c: Likewise.
22439 * io/fchmodat.c: Include <sys/stat.h>.
22440
22441 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22442 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22443
22444 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22445 [HAVE_MMAP].
22446
22447 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22448 Add multiple inclusion protection.
22449
e5abc686
DM
224502012-07-27 David S. Miller <davem@davemloft.net>
22451
22452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22453
815e6fa3
GB
224542012-07-27 Gary Benson <gbenson@redhat.com>
22455
22456 [BZ #14298]
22457 * elf/rtld.c: Include <stap-probe.h>.
22458 (dl_main): Added static probes "init_start" and "init_complete".
22459 * elf/dl-load.c: Include <stap-probe.h>.
22460 (lose): Take new parameter "nsid".
22461 Added static probe "map_failed".
22462 (_dl_map_object_from_fd): Pass namespace id to lose.
22463 Added static probe "map_start".
22464 (open_verify): Pass namespace id to lose.
22465 * elf/dl-open.c: Include <stap-probe.h>.
22466 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22467 and "reloc_complete".
22468 * elf/dl-close.c: Include <stap-probe.h>.
22469 (_dl_close_worker): Added static probes "unmap_start" and
22470 "unmap_complete".
22471 * elf/rtld-debugger-interface.txt: New file documenting the above.
22472
9f98c16c
RM
224732012-07-26 Roland McGrath <roland@hack.frob.com>
22474
22475 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22476 rather than a string variable.
22477 * sunrpc/rpc_main.c (h_output): Likewise.
22478 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22479
f3c22df3
PT
224802012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22481
22482 * inet/check_native.c: New file.
22483
3129cfc6
JM
224842012-07-26 Joseph Myers <joseph@codesourcery.com>
22485
da865e95
JM
22486 [BZ #13629]
22487 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22488 if larger part has absolute value 1.0.
22489 * math/s_clog10.c (__clog10): Likewise.
22490 * math/s_clog10f.c (__clog10f): Likewise.
22491 * math/s_clog10l.c (__clog10l): Likewise.
22492 * math/s_clogf.c (__clogf): Likewise.
22493 * math/s_clogl.c (__clogl): Likewise.
22494 * math/libm-test.inc (clog_test): Add more tests.
22495 (clog10_test): Likewise.
22496 * sysdeps/i386/fpu/libm-test-ulps: Update.
22497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22498
3129cfc6
JM
22499 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22500 (pltexit): Likewise.
22501 (La_regs): Likewise.
22502 (La_retval): Likewise.
22503 (int_retval): Likewise.
22504 Update #error for removed macros to refer only to definitions in
22505 tst-audit.h.
22506 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22507 macro.
22508 (pltexit): Likewise.
22509 (La_regs): Likewise.
22510 (La_retval): Likewise.
22511 (int_retval): Likewise.
22512 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22513 macro.
22514 (pltexit): Likewise.
22515 (La_regs): Likewise.
22516 (La_retval): Likewise.
22517 (int_retval): Likewise.
22518 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22519 macro.
22520 (pltexit): Likewise.
22521 (La_regs): Likewise.
22522 (La_retval): Likewise.
22523 (int_retval): Likewise.
22524 * elf/tst-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
22537 macro.
22538 (pltexit): Likewise.
22539 (La_regs): Likewise.
22540 (La_retval): Likewise.
22541 (int_retval): Likewise.
22542 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22543 macro definitions in tst-audit.h.
22544 * sysdeps/i386/tst-audit.h: New file.
22545 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22546 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22547 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22548 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22549 * sysdeps/sh/tst-audit.h: Likewise.
22550 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22551 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22552 * sysdeps/x86_64/tst-audit.h: Likewise.
22553
bfc07087
AJ
225542012-07-26 Andreas Jaeger <aj@suse.de>
22555
b1b2aaf8
AJ
22556 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22557 ptrace.
22558
22559 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22560 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22561 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22562 PTRACE_O_MASK.
22563 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22564 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22565 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22566
bfc07087
AJ
22567 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22568 value.
22569
22570 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22571 _sigsys.
22572 (si_call_addr, si_syscall, si_arch): Define new macro.
22573 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22574 _sigsys.
22575 (si_call_addr, si_syscall, si_arch): Define new marcro.
22576 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22577 _sigsys.
22578 (si_call_addr, si_syscall, si_arch): Define new macro.
22579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22580 _sigsys.
22581 (si_call_addr, si_syscall, si_arch): Define new macro.
22582
89b4b02f
JM
225832012-07-25 Joseph Myers <joseph@codesourcery.com>
22584
22585 [BZ #13717]
22586 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22587 Change to 2.4.21 where previously 2.4.1.
22588 * sysdeps/unix/sysv/linux/configure: Regenerated.
22589 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22590 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22591 Linux kernel version.
22592 (__ASSUME_STD_AUXV): Remove.
22593 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22594 kernel version.
22595 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22596 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22597 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22598 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22599 (__ASSUME_NETLINK_SUPPORT): Likewise.
22600 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22601 (__no_netlink_support): Remove conditional definition.
22602 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22603 Remove.
22604 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22605 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22606 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22607 (if_nameindex_ioctl): Remove.
22608 (if_nameindex_netlink): Do not handle __no_netlink_support.
22609 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22610 code.
22611 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22612 Remove conditional code.
22613 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22614 code.
22615 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22616 unconditional.
22617 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22618 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22619 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22620 Remove.
22621 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22622 [!__ASSUME_STD_AUXV]: Remove conditional code.
22623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22624 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22625 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22627 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22628 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22629 code.
22630 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22632 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22633 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22634 conditional code.
22635 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22637 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22638 code.
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22640 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22641 conditional code.
22642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22643 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22644 code unconditional.
22645 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22646 conditional code.
22647 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22648 unconditional.
22649 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22650 conditional code.
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22652 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22653 unconditional.
22654 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22655 conditional code.
22656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22657 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22658 code unconditional.
22659 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22660 conditional code.
22661 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22662 unconditional.
22663 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22664 conditional code.
22665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22666 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22667 code unconditional.
22668 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22669 conditional code.
22670 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22671 unconditional.
22672 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22673 conditional code.
22674
842a39cd
AS
226752012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22676
22677 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22678 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22679 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22680 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22681 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22682 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22683 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22684 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22685 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22686 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22687 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22688 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22689 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22690 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22691 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22693 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22694 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22695 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22697 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22698 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22700
84b3fd84
FW
227012012-07-25 Florian Weimer <fweimer@redhat.com>
22702
22703 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22704 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22705 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22706 Introduce __libc_secure_getenv.
0c7936d5
FW
22707 * stdlib/Versions (2.17): Add secure_getenv
22708 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22709 * stdlib/secure-getenv.c: Rename __secure_getenv to
22710 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22711 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22712 * stdlib/tst-secure-getenv.c: New.
22713 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22714 * manual/startup.texi (Environment Access): Document
22715 secure_getenv.
84b3fd84
FW
22716 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22717 __libc_secure_getenv.
22718 * inet/ruserpass.c (ruserpass): Likewise.
22719 * malloc/mtrace.c (mtrace): Likewise.
22720 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22721 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22722 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22723 * sysdeps/posix/tempname.c: Likewise. Evaluate
22724 HAVE_SECURE_GETENV.
22725 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22726 __secure_getenv to __libc_secure_getenv.
84b3fd84 22727 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22729 Likewise.
22730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22731 Likewise.
22732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22739
56e49b71
JM
227402012-07-25 Joseph Myers <joseph@codesourcery.com>
22741
22742 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22743 (struct La_i86_retval): Likewise.
22744 (struct La_x86_64_regs): Likewise.
22745 (struct La_x86_64_retval): Likewise.
22746 (struct La_x32_regs): Likewise.
22747 (struct La_x32_retval): Likewise.
22748 (struct La_ppc32_regs): Likewise.
22749 (struct La_ppc32_retval): Likewise.
22750 (struct La_ppc64_regs): Likewise.
22751 (struct La_ppc64_retval): Likewise.
22752 (struct La_sh_regs): Likewise.
22753 (struct La_sh_retval): Likewise.
22754 (struct La_s390_32_regs): Likewise.
22755 (struct La_s390_32_retval): Likewise.
22756 (struct La_s390_64_regs): Likewise.
22757 (struct La_s390_64_retval): Likewise.
22758 (struct La_sparc32_regs): Likewise.
22759 (struct La_sparc32_retval): Likewise.
22760 (struct La_sparc64_regs): Likewise.
22761 (struct La_sparc64_retval): Likewise.
22762 (struct audit_ifaces): Remove architecture-specific pltenter and
22763 pltexit members.
22764 * sysdeps/i386/ldsodefs.h: New file.
22765 * sysdeps/powerpc/ldsodefs.h: Likewise.
22766 * sysdeps/s390/ldsodefs.h: Likewise.
22767 * sysdeps/sh/ldsodefs.h: Likewise.
22768 * sysdeps/sparc/ldsodefs.h: Likewise.
22769 * sysdeps/x86_64/ldsodefs.h: Likewise.
22770
354691b7
MP
227712012-07-25 Marek Polacek <polacek@redhat.com>
22772
22773 [BZ #6808]
22774 * math/libm-test.inc (yn_test): Add another test.
22775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22776 to ERANGE when the result is +-Inf.
22777 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22778 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22779 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22780 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22781
bf9e2071
JM
227822012-07-24 Joseph Myers <joseph@codesourcery.com>
22783
22784 * conform/data/time.h-data (NULL): Use macro-constant. Require
22785 equal to 0.
22786 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22787 clock_t.
22788 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22789
57633811
TS
227902012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22791
22792 * configure.in <sysdeps resolving>: Correct printing
22793 Implies_before.
22794 * configure: Regenerate.
22795
c23c33b0
TS
227962012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22797
22798 * math/w_ilogb.c: Include <limits.h>.
22799 * math/w_ilogbl.c: Likewise.
22800
b5982523
JM
228012012-07-20 Joseph Myers <joseph@codesourcery.com>
22802
22803 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22804 va_copy. Document allowing for unavailable va_copy only as
22805 pre-C99 compatibility.
22806 * manual/string.texi (Copying and Concatenation): Use va_copy
22807 instead of __va_copy in concat example.
22808
ac4ea442
PT
228092012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22810
22811 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22812 (__sendto): Use create_address_port. Initialize APORT and deallocate
22813 it if not null.
22814
f98eafbd
PT
22815 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22816 with O_NOLINK passed to __file_name_lookup.
22817
898c7aab
PT
22818 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22819 with O_NOLINK passed to __file_name_lookup.
22820
0ced335a
PT
22821 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22822 negative N or less than NGIDS.
22823
b3404dbd
PT
22824 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22825 type to string_t. Set ERANGE as errno and return it if NAME is not big
22826 enough. Use memcpy instead of strncpy.
22827
0f48659e
JM
228282012-07-20 Joseph Myers <joseph@codesourcery.com>
22829
22830 * elf/Makefile (check-data): Remove.
22831 (localplt.data): New vpath directive.
22832 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22833 instead of $(check-data).
22834 * scripts/data/localplt-generic.data: Move to ...
22835 * sysdeps/generic/localplt.data: ... here.
22836 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22837 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22838 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22840 ... here.
22841 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22843 ... here.
22844 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22846 ... here.
22847 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22849 ... here.
22850 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22852 ... here.
22853 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22855 ... here.
22856
d37cbdaa
AZ
228572012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22858
22859 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22860 PPC32 and PPC64 files.
22861 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22862 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22863
46f85fc2
AK
228642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22865
22866 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22867 __makecontext_ret to ...
22868 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22869 ... here and call exit if uc_link is NULL. New file.
22870 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22871 __makecontext_ret.S.
22872 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22873 __makecontext_ret to ...
22874 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22875 ... here and call exit if uc_link is NULL. New file.
22876 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22877 __makecontext_ret.S.
22878
08f43f9b
AK
228792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22880
22881 * elf/elf.h (R_390_IRELATIVE): New definition.
22882 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22883 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22884 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22885 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22886 (elf_machine_lazy_rel): Likewise.
22887 * sysdeps/s390/dl-irel.h: New file.
22888 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22889 * sysdeps/s390/s390-64/memset.S: New asm code.
22890 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22891 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22892 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22893 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22894 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22895 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22896 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22897 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22898 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22899 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22900 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22901 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22902 * sysdeps/s390/s390-32/memset.S: New asm code.
22903 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22904
3b05db33
MP
229052012-07-17 Marek Polacek <polacek@redhat.com>
22906
22907 [BZ #14349]
22908 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22909 * sysdeps/s390/s390-64/configure.in: Likewise.
22910 * sysdeps/sparc/configure.in: Likewise.
22911 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22912 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22913 * sysdeps/i386/configure.in: Likewise.
22914 * sysdeps/x86_64/configure.in: Likewise.
22915 * sysdeps/sh/configure.in: Likewise.
22916 * sysdeps/s390/s390-32/configure: Regenerated.
22917 * sysdeps/s390/s390-64/configure: Likewise.
22918 * sysdeps/x86_64/configure: Likewise.
22919 * sysdeps/sh/configure: Likewise.
22920 * sysdeps/powerpc/powerpc64/configure: Likewise.
22921 * sysdeps/powerpc/powerpc32/configure: Likewise.
22922 * sysdeps/sparc/configure: Likwise.
22923 * sysdeps/i386/configure: Likewise.
22924
a66877c6
MP
22925 * elf/dl-open.c: Comment fixes.
22926
cfc82fd8
JM
229272012-07-17 Joseph Myers <joseph@codesourcery.com>
22928
bd29910a
JM
22929 * Makefile [CXX] (check-data): Remove.
22930 [CXX] (c++-types.data): New vpath directive.
22931 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22932 vpath. Do not allow for C++ type data being missing.
22933 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22934 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22935 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22936 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22937 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22938 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22939 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22941 ... here.
22942 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22944 ... here.
22945 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22947 ... here.
22948 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22950 ... here.
22951 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22953 ... here.
22954 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22956 ... here.
22957 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22959 ... here.
22960 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22962
cfc82fd8
JM
22963 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22964 definitions to architecture-specific files.
22965 (TLS_IE): Likewise.
22966 (TLS_LD): Likewise.
22967 (TLS_GD): Likewise.
22968 * sysdeps/i386/tls-macros.h: New file.
22969 * sysdeps/powerpc/tls-macros.h: Likewise.
22970 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22971 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22972 * sysdeps/sh/tls-macros.h: Likewise.
22973 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22974 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22975 * sysdeps/x86_64/tls-macros.h: Likewise.
22976
f7db3170
TS
229772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22978
07cbfc23
TS
22979 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22980 zero value for regular exit case.
22981
f7db3170
TS
22982 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22983 (__start_context): Preserve zero value for regular exit case.
22984
dc97c227
TS
229852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22986 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22987
22988 * manual/setjmp.texi (setcontext): Clarify normal process
22989 termination when uc_link is the null pointer.
22990 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22991 exit call.
22992
d0cd7d02
AS
229932012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22994
22995 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22996 preprocessor. Test for each exception mask separately.
22997
dd318934
AJ
229982012-07-16 Andreas Jaeger <aj@suse.de>
22999
23000 * po/ru.po: Update from translation team.
23001
8048311a
JM
230022012-07-15 Joseph Myers <joseph@codesourcery.com>
23003
23004 * conform/data/string.h-data (NULL): Use macro-constant. Require
23005 equal to 0.
23006 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23007 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23008 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23009 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23010 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23011
b637d46e
AJ
230122012-07-13 Andreas Jaeger <aj@suse.de>
23013
23014 * po/fr.po: Update from translation team.
23015
541428fe
MP
230162012-07-12 Marek Polacek <polacek@redhat.com>
23017
23018 [BZ #14173]
23019 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23020 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23021 loop condition.
23022
ec332e94
JM
230232012-07-12 Joseph Myers <joseph@codesourcery.com>
23024
23025 [BZ #13717]
23026 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23027 Change to 2.4.1 where previously 2.4.0.
23028 * sysdeps/unix/sysv/linux/configure: Regenerated.
23029 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23030 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23031 version.
23032 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23033 (__ASSUME_AT_CLKTCK): Remove.
23034 (__ASSUME_AT_PAGESIZE): Likewise.
23035 (__ASSUME_AT_XID): Likewise.
23036 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23037 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23038 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23039 unconditionally.
23040 (HAVE_AUX_PAGESIZE): Likewise.
23041 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23042 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23043 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23044
7b6e99be
JB
230452012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23046
23047 [BZ #14307]
23048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23049 the temporary buffer used to invoke __gethostbyname2_r,
23050 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23051 host_data / struct gaih_addrtuple.
23052 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23053 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23054 header file nss/nsswitch.h.
23055 * nss/nsswitch.h (global scope): Add definition of implementation
23056 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23057 resolv/nss_dns/dns-host.c).
23058
608404eb
AJ
230592012-07-11 Andreas Jaeger <aj@suse.de>
23060
23061 * po/fr.po: Update from translation team.
23062
71220aca
AJ
23063 * po/sv.po: Update from translation team
23064 * po/fr.po: Another update from translation team.
23065
28cfe843
AZ
230662012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23067
23068 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23069 for subnormals or multiply small sinh result by itself.
23070 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23072
6b90f981
DM
230732012-07-11 David S. Miller <davem@davemloft.net>
23074
23075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23076
c6825772
AS
230772012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23078
23079 [BZ #14347]
23080 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23081 (INTERNAL_MARK): Shift it here.
23082
7b8e0d49
MP
230832012-07-10 Marek Polacek <polacek@redhat.com>
23084
23085 [BZ #14151]
23086 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23087 libc_cv_asm_global_directive with .globl.
23088 * configure: Regenerated.
23089 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23090 with .globl.
23091 * sysdeps/i386/configure: Regenerated.
23092 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23093 with .globl.
23094 * sysdeps/x86_64/configure: Regenerated.
23095 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23096 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23097 * elf/tst-unique2mod2.c: Likewise.
23098 * elf/tst-unique2mod1.c: Likewise.
23099 * elf/tst-unique1mod2.c: Likewise.
23100 * elf/tst-unique1mod1.c: Likewise.
23101 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23102 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23103 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23104 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23105 * sysdeps/mach/sysdep.h: Likewise.
23106 * sysdeps/i386/sysdep.h: Likewise.
23107 * sysdeps/i386/i386-mcount.S: Likewise.
23108 * sysdeps/x86_64/_mcount.S: Likewise.
23109 * sysdeps/x86_64/sysdep.h: Likewise.
23110 * sysdeps/sh/_mcount.S: Likewise.
23111 * sysdeps/sh/sysdep.h: Likewise.
23112 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23113 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23114 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23115 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23116 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23117 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23118 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23119 * locale/localeinfo.h: Likewise.
23120 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23121 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23122
6c55cda3
RM
231232012-07-09 Roland McGrath <roland@hack.frob.com>
23124
23125 [BZ #14336]
23126 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23127 system".
23128 * manual/message.texi (The Uniforum approach): Likewise.
23129 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23130 (glibc iconv Implementation): Likewise.
23131
638a572e
JM
231322012-07-09 Joseph Myers <joseph@codesourcery.com>
23133
23134 [BZ #14337]
23135 * math/s_clog.c (__clog): Avoid scaling a value down where that
23136 could result in underflow.
23137 * math/s_clog10.c (__clog10): Likewise.
23138 * math/s_clog10f.c (__clog10f): Likewise.
23139 * math/s_clog10l.c (__clog10l): Likewise.
23140 * math/s_clogf.c (__clogf): Likewise.
23141 * math/s_clogl.c (__clogl): Likewise.
23142 * math/libm-test.inc (clog_test): Add more tests.
23143 (clog10_test): Likewise.
23144 * sysdeps/i386/fpu/libm-test-ulps: Update.
23145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23146
261f4859
AS
231472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23148
0abaf3e4
AS
23149 [BZ #14283]
23150 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23151 by 7 not 8 to examine high bit of fractional part.
23152
261f4859
AS
23153 [BZ #14042]
23154 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23155 for call to __mcount_internal.
23156 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23157 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23158 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23159
f17ac40d
JM
231602012-07-06 Joseph Myers <joseph@codesourcery.com>
23161
9ad63c23
JM
23162 [BZ #14154]
23163 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23164 approximation for values within 0x1p-13f of an odd multiple of
23165 pi/4.
23166 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23167 exception. Add more tests.
23168 * sysdeps/i386/fpu/libm-test-ulps: Update.
23169
f17ac40d
JM
23170 [BZ #6778]
23171 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23172 inputs and return -1 for them. Do not check for +Inf in case not
23173 reachable for +Inf.
23174 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23175 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23176 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23177 and return -1 for them. Do not check for +Inf in case not
23178 reachable for +Inf.
23179 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23180 define.
23181 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23182 and return -1 for them. Do not check for +Inf in case not
23183 reachable for +Inf.
23184 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23185 spurious underflow.
23186 * sysdeps/i386/fpu/libm-test-ulps: Update.
23187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23188
fb21f89b
MF
231892012-07-06 Mike Frysinger <vapier@gentoo.org>
23190
23191 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23192
cdfe2c5e
JM
231932012-07-05 Joseph Myers <joseph@codesourcery.com>
23194
23195 [BZ #14157]
23196 [BZ #14331]
23197 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23198 could result in spurious underflow. Scale down values above
23199 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23200 * math/s_csqrtf.c (__csqrtf): Likewise.
23201 * math/s_csqrtl.c (__csqrtl): Likewise.
23202 * math/libm-test.inc (csqrt_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
70d35b67
AS
232072012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23208
704bc459
AS
23209 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23210 xopen-msg.sed.
23211 * catgets/xopen-msg.awk: New file.
23212 * catgets/xopen-msg.sed: Removed.
23213
70d35b67
AS
23214 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23215 po2text.sed.
23216 * intl/po2test.awk: New file.
23217 * intl/po2test.sed: Removed.
23218
ca61cf32
JM
232192012-07-04 Joseph Myers <joseph@codesourcery.com>
23220
23221 [BZ #14328]
23222 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23223 or multiply small sinh result by itself.
23224 * math/s_ctanf.c (__ctanf): Likewise.
23225 * math/s_ctanh.c (__ctanh): Likewise.
23226 * math/s_ctanhf.c (__ctanhf): Likewise.
23227 * math/s_ctanhl.c (__ctanhl): Likewise.
23228 * math/s_ctanl.c (__ctanl): Likewise.
23229 * math/libm-test.inc (ctan_test_tonearest): New function.
23230 (ctan_test_towardzero): Likewise.
23231 (ctan_test_downward): Likewise.
23232 (ctan_test_upward): Likewise.
23233 (ctanh_test_tonearest): Likewise.
23234 (ctanh_test_towardzero): Likewise.
23235 (ctanh_test_downward): Likewise.
23236 (ctanh_test_upward): Likewise.
23237 (main): Call these new functions.
23238 * sysdeps/i386/fpu/libm-test-ulps: Update.
23239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23240
ca48a46a
MF
232412012-07-03 Mike Frysinger <vapier@gentoo.org>
23242
23243 * .gitignore: Delete /ports entry.
23244
9d63d37d
AJ
232452012-07-03 Andreas Jaeger <aj@suse.de>
23246
23247 * po/bg.po: Update from translation team.
23248 * po/cs.po: Likewise.
23249 * po/de.po: Likewise.
23250 * po/hr.po: Likewise.
23251 * po/nl.pl: Likewise.
23252 * po/pl.po: Likewise.
23253 * po/vi.po: Likewise.
23254
370ca3d2
JM
232552012-07-03 Joseph Myers <joseph@codesourcery.com>
23256
95f5a9a8
JM
23257 * Makeconfig [!+link] (+link-before-libc): New variable.
23258 [!+link] (+link-after-libc): Likewise.
23259 [!+link] (+link-tests): Likewise.
23260 [!+link] (+link): Define in terms of $(+link-before-libc) and
23261 $(+link-after-libc).
23262 [!+link-static] (+link-static-before-libc): New variable.
23263 [!+link-static] (+link-static-after-libc): Likewise.
23264 [!+link-static] (+link-static-tests): Likewise.
23265 [!+link-static] (+link-static): Define in terms of
23266 $(+link-static-before-libc) and $(+link-static-after-libc).
23267 [build-shared] (link-libc-before-gnulib): New variable.
23268 [build-shared] (link-libc-tests): Likewise.
23269 [build-shared] (link-libc): Define in terms of
23270 $(link-libc-before-gnulib).
23271 [!build-shared] (link-libc-tests): New variable.
23272 (link-libc-static-tests): New variable.
23273 [!gnulib] (gnulib-arch): New variable.
23274 [!gnulib] (gnulib-tests): Likewise.
23275 [!gnulib] (static-gnulib-arch): Likewise.
23276 [!gnulib] (static-gnulib-tests): Likewise.
23277 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23278 Define with "=" instead of ":=".
23279 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23280 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23281 * Rules (binaries-all-notests): New variable.
23282 (binaries-all-tests): Likewise.
23283 (binaries-static-notests): Likewise.
23284 (binaries-static-tests): Likewise.
23285 (binaries-all): Define using $(binaries-all-notests) and
23286 $(binaries-all-tests).
23287 (binaries-static): Define using $(binaries-static-notests) and
23288 $(binaries-static-tests).
23289 (binaries-shared-tests): New variable.
23290 (binaries-shared-notests): Likewise.
23291 (binaries-shared): Remove variable.
23292 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23293 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23294 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23295 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23296 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23297 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23298 * elf/Makefile (sln-modules): New variable.
23299 (extra-objs): Add $(sln-modules:=.o).
23300 (ldconfig-modules): Add static-stubs.
23301 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23302 * elf/static-stubs.c: New file.
23303
7a845b2c
JM
23304 [BZ #14283]
23305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23306 by 7 not 8 to examine high bit of fractional part. Use volatile
23307 variables when splitting into final array of floats if
23308 __FLT_EVAL_METHOD__ != 0.
23309 * math/libm-test.inc (cos_test): Add another test.
23310 (sin_test): Likewise.
23311 * sysdeps/i386/fpu/libm-test-ulps: Update.
23312
e2283f38
JM
23313 [BZ #14273]
23314 * math/libm-test.inc (cosh_test): Add more tests.
23315
370ca3d2
JM
23316 * version.h (RELEASE): Set to "development".
23317 (VERSION): Set to "2.16.90".
23318
ee9247c3
CD
233192012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23320
23321 * NEWS: Update copyright. Remove last-updated date.
23322 Mention math library bug fixes and timezone data changes.
23323 * README: Mention GNU/Hurd, x32, and HPPA support status.
23324
4648c381
TS
233252012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23326
23327 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23328
aac78a43
AJ
233292012-06-27 Andreas Jaeger <aj@suse.de>
23330
23331 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23332
ed3dbfad
AJ
233332012-06-25 Andreas Jaeger <aj@suse.de>
23334
23335 * sysdeps/s390/fpu/libm-test-ulps: Update.
23336
4d0ee855
AS
233372012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23338 Thomas Schwinge <thomas@codesourcery.com>
23339
23340 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23341 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23342 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23343 fanotify_mark.
23344
af1bce34
TS
233452012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23346
a9fa33ba
TS
23347 * sysdeps/mach/start.c: Remove file.
23348 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23349 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23350 * sysdeps/sh/init-first.c: Likewise.
23351
58f902b8
TS
23352 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23353 registers for frame unwinding purposes, add CFI directives.
23354 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23355 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23356 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23357 Likewise.
23358
1518f58b
TS
23359 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23360 __fortify_fail returning.
23361 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23362
db9b5059
TS
23363 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23364 sysdeps/sh/____longjmp_chk.S.
23365 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23366 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23367 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23368 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23369
967705fe
TS
23370 * sysdeps/sh/abort-instr.h: New file.
23371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23372 process in case exit returns.
23373
a9def8c4
TS
23374 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23375 initialize the GOT register before use.
23376
2a649725
TS
23377 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23378 calculation of ARGC > 4.
23379
af1bce34
TS
23380 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23381 meaningful names to some local labels.
23382
d230f50a
KK
233832012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23384 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23385
23386 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23387 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23388 (__arch_compare_and_exchange_val_16_acq): Likewise.
23389 (__arch_compare_and_exchange_val_32_acq): Likewise.
23390 (atomic_exchange_and_add): Fix gUSA sequence.
23391 (atomic_add): Likewise.
23392 (atomic_add_negative): Likewise.
23393 (atomic_add_zero): Likewise.
23394 (atomic_bit_test_set): Likewise.
23395
0479b305
AS
233962012-06-22 Andreas Schwab <schwab@redhat.com>
23397
23398 [BZ #13579]
23399 * include/link.h (struct link_map): Add l_free_initfini.
23400 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23401 l_initfini.
23402 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23403 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23404 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23405 set.
23406
0e3933b9
CD
234072012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23408
23409 * configure.in: Use AC_LANG_SOURCE.
23410 * configure: Regenerate.
23411
4248b1b1
RM
234122012-06-22 Roland McGrath <roland@hack.frob.com>
23413
23414 * configure.in (libc_cv_localstatedir): New substituted variable.
23415 * configure: Regenerated.
23416 * config.make.in (localstatedir): New variable, substituted from
23417 libc_cv_localstatedir.
23418 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23419 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23420 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23421 * sysdeps/gnu/configure: Regenerated.
23422
006dd861
JL
234232012-06-21 Jeff Law <law@redhat.com>
23424
23425 [BZ #14277]
23426 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23427 free. Simplify list management for _LIBC case.
23428
79662d42
JM
234292012-06-21 Joseph Myers <joseph@codesourcery.com>
23430
b7abb4bf
JM
23431 [BZ #14273]
23432 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23433 Clear sign bit of 64-bit integer value before comparing against
23434 overflow value.
23435
79662d42
JM
23436 * sysdeps/mach/configure: Regenerated.
23437
1f150908
L
234382012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 [BZ #14278]
23441 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23442
28363bbf
JL
234432012-06-21 Jeff Law <law@redhat.com>
23444
23445 [BZ #13882]
23446 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23447 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23448 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23449 * elf/dl-open.c (dl_open_worker): Likewise.
23450
09615db4
CD
234512012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23452
23453 * scripts/list-sources.sh: Scan PORTS for translations.
23454 * po/libc.pot: Regenerated.
23455
2174c6dd
AJ
234562012-06-21 Andreas Jaeger <aj@suse.de>
23457
23458 [BZ #12194]
23459 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23460 warning.
23461 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23462 * bits/byteswap-16.h (__bswap_16): Likewise.
23463 * bits/byteswap.h (__bswap_constant_16): Likewise.
23464
3ee947b1
L
234652012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23466
23467 [BZ #14117]
a2f34833
L
23468 * sysdeps/i386/fpu_control.h: Removed.
23469 * sysdeps/x86_64/fpu_control.h: Moved to ...
23470 * sysdeps/x86/fpu_control.h: Here.
23471
3ee947b1
L
23472 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23473 (_FPU_SETCW): Likewise.
23474
ed1825f8
L
234752012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23476
25f1282a
L
23477 [BZ #14117]
23478 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23479 * sysdeps/x86/fpu/bits/mathinline.h: This.
23480 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23481
ed1825f8
L
23482 [BZ #14050]
23483 [BZ #14117]
23484 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23485 functions if __x86_64__ is defined.
23486
36d54b74
CLT
234872012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23488
23489 * string/endian.h: Add !__ASSEMBLER__ condition for including
23490 conversion interfaces.
23491
10285c21
JM
234922012-06-15 Joseph Myers <joseph@codesourcery.com>
23493
23494 [BZ #14241]
23495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23496 of ABS(x) in calculating zero to negative powers other than odd
23497 integers.
23498 * math/libm-test.inc (pow_test): Add more tests.
23499
06c5abbd
AJ
235002012-06-15 Andreas Jaeger <aj@suse.de>
23501
23502 * manual/contrib.texi (Contributors): Update entry of Liubov
23503 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23504 Machado Filho.
23505
a3aeac40
CH
235062012-06-15 Cyril Hrubis <metan@ucw.cz>
23507
23508 * string/string.h: Add __wur to GNU version of strerror_r.
23509
49bdf4c1
L
235102012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23511
23512 [BZ #14229]
23513 * string/Makefile (tests): Add tst-strtok_r.
23514 * string/tst-strtok_r.c: New file.
23515 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23516 RAX_LP/RDX_LP on SAVE_PTR.
23517
834f9b8d
RM
235182012-06-14 Roland McGrath <roland@hack.frob.com>
23519
23520 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23521
75fa1921
JM
235222012-06-14 Joseph Myers <joseph@codesourcery.com>
23523
23524 * libm_test.inc (csqrt_test): Allow more spurious underflow
23525 exceptions.
23526 (j0_test): Likewise.
23527 (j1_test): Likewise.
23528 (y0_test): Likewise.
23529 (y1_test): Likewise.
23530
771766df
CD
235312012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23532
23533 * po/Makefile (libc.pot): Use UTF-8 charset.
23534
ceb9e56b
PP
235352012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23536
23537 [BZ #14210]
23538 Suppress sign-conversion warning from FD_SET.
23539 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23540 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23541 not unsigned long int.
23542 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23543
ddb28975
L
235442012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23545
23546 [BZ #14050]
23547 [BZ #14117]
23548 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23549 __extern_always_inline instead of __extern_inline.
23550 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23551 (__signbit): Likewise.
23552 (__signbitl): Support C++ namespace.
23553 (lrintf): New inline function.
23554 (lrint): Likewise.
23555 (llrintf): Likewise.
23556 (llrint): Likewise.
23557 (fmaxf): Likewise.
23558 (fmax): Likewise.
23559 (fminf): Likewise.
23560 (fmin): Likewise.
23561 (rint): Likewise.
23562 (rintf): Likewise.
23563 (ceil): Likewise.
23564 (ceilf): Likewise.
23565 (floor): Likewise.
23566 (floorf): Likewise.
23567 (nearbyint): Likewise.
23568 (nearbyintf): Likewise.
23569
d7b4fb26
TS
235702012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23571
23572 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23573 non-default versions.
23574
eb55f5c2
RM
235752012-06-11 Roland McGrath <roland@hack.frob.com>
23576
23577 [BZ #14218]
23578 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23579
366af02c
TS
235802012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23581
99ff6e5c
TS
23582 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23583 (FE_UPWARD, FE_DOWNWARD): Don't define.
23584 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23585 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23586
366af02c
TS
23587 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23588 reading it.
23589 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23590 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23591
793ea851
KK
235922012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23593
23594 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23596 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23597 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23598
a728a38f
L
235992012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23600
23601 [BZ #14117]
c08010c7
L
23602 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23603 * sysdeps/i386/fpu/Implies: New file.
23604 * sysdeps/x86_64/fpu/Implies: Likewise.
23605 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23606 * sysdeps/x86/fpu/bits/fenv.h: This.
23607
a728a38f
L
23608 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23609 __SSE_MATH__.
23610
6e230d11
SP
236112012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23612
23613 [BZ #14134]
23614 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23615 character 0xffff that matches the last element of the
23616 conversion table.
23617
1b671feb
AZ
236182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23619
23620 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23621 fmodl commit.
23622
6043738b
AZ
236232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23624
23625 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23626 values higher than 25.6283.
23627
34ae0b32
AZ
236282012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23629
23630 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23631 subnormal exponent extraction and add some __builtin_expect.
23632 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23633 Fix for subnormal mantissa calculation.
23634
1214ec8f
MF
236352012-06-04 Mike Frysinger <vapier@gentoo.org>
23636
23637 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23638 cpu2 is -1 and errno is not ENOSYS.
23639
f3d1f93c
L
236402012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23641
23642 [BZ #14117]
0e4a3cd7
L
23643 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23644 * sysdeps/x86/bits/string.h: This.
23645 * sysdeps/x86_64/bits/string.h: Removed.
23646
6704c645
L
23647 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23648 if not compiling for x86-64, but compiling for >= i486.
23649
48495318
L
23650 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23651 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23652
14adcbfc
L
23653 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23654 New macro from Linux kernel 3.4.0.
23655 (FP_XSTATE_MAGIC2): Likewise.
23656 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23657 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23658 (struct _fpx_sw_bytes): New struct.
23659 (struct _xsave_hdr): Likewise.
23660 (struct _ymmh_state): Likewise.
23661 (struct _xstate): Likewise.
23662
68e408ab
L
23663 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23664 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23665 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23666 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23667 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23668 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23669
f3d1f93c
L
23670 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23671 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23672 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23673 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23674 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23675 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23676
d9dc34cd
TMQMF
236772012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23678
23679 [BZ #13743]
23680 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23681 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23682 (sysdep_headers): Include sys/platform/ppc.h.
23683 * sysdeps/powerpc/test-gettimebase.c: Test for
23684 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23685 * manual/Makefile (appendices): Include platform.texi.
23686 * manual/contrib.texi (Contributors): Update @node pointers.
23687 * manual/maint.texi (Maintenance): Likewise.
23688 (Platform): New node.
23689 * manual/platform.texi: New file. Document the new features.
23690
4af3879c
SP
236912012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23692 Jakub Jelinek <jakub@redhat.com>
23693
23694 [BZ #14188]
23695 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23696 where __builtin_expect is unavailable.
23697
2fd6ff13
DM
236982012-06-03 David S. Miller <davem@davemloft.net>
23699
23700 * stdlib/longlong.h: Updated from GCC.
23701
173f7220
AS
237022012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23703
23704 [BZ #14042]
23705 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23706 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23707 __mcount_internal.
23708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23709 (GLIBC_2.16): Likewise.
23710
f34a1c6f
L
237112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23712
23713 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23714
88a4576f
JM
237152012-06-01 Joseph Myers <joseph@codesourcery.com>
23716
ea32bcdd
JM
23717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23718 (default-abi): New variable.
23719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23720 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23721 variable.
23722 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23723 Likewise.
23724 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23725 Likewise.
23726 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23727 Likewise.
23728
88a4576f
JM
23729 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23730 definition. Document in comment.
23731
402fe938
DM
237322012-06-01 David S. Miller <davem@davemloft.net>
23733
23734 * stdlib/longlong.h: Updated from GCC.
23735
3553723f
L
237362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 [BZ #14117]
3bd872c4
L
23739 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23740 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23741 sys/debugreg.h sys/io.h here.
23742 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23743 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23744 sys/io.h.
23745 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23746 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23747 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23748 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23749 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23750 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23751
3553723f
L
23752 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23753 Define only if __x86_64__ is defined.
23754
4842e4fe
JM
237552012-06-01 Joseph Myers <joseph@codesourcery.com>
23756
c5bfe3d5
JM
23757 [BZ #14048]
23758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23759 Use int64_t for variable i.
23760 * math/libm-test.inc (fmod_test): Add more tests.
23761
4842e4fe
JM
23762 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23763 z computation is not scheduled after fetestexcept.
23764 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23765 Use math_force_eval instead of asm to ensure calculation scheduled
23766 before exception test.
23767 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23768 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23769
efb73488
AJ
237702012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23771
23772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23773 computation is not scheduled after fetestexcept.
23774
29bcce7c
L
237752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23776
23777 [BZ #14117]
23778 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23779 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23780
73a68f94
AZ
237812012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23782
23783 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23784 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23785
67b6df78
L
237862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23787
edf2933a 23788 [BZ #14117]
ebc64a18
L
23789 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23790 <bits/wordsize.h>.
23791 (__WCHAR_MIN): Support __WORDSIZE == 64.
23792 (__WCHAR_MAX): Likewise.
23793
edf2933a
L
23794 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23795 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23796
57c6cf40
L
23797 [BZ #14183]
23798 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23799 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23800
67b6df78 23801 [BZ #14117]
8eb6281e
L
23802 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23803 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23804
aac639f4
L
23805 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23806 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23807
67b6df78
L
23808 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23809 Defined to 1 if __x86_64__ isn't defined.
23810 (_STAT_VER_LINUX_OLD): New.
23811 (st_atime): Remove duplicate.
23812 (st_mtime): Likewise.
23813 (st_ctime): Likewise.
23814
1c2cfe81
DM
238152012-05-31 David S. Miller <davem@davemloft.net>
23816
23817 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23818 entries.
23819
5be8418c
AS
238202012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23821
e7725326
AS
23822 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23823 gen-libm-test.pl.
23824
5be8418c
AS
23825 [BZ #14132]
23826 * elf/dl-reloc.c: Include <_itoa.h>.
23827 (_dl_reloc_bad_type): Remove use of INTUSE.
23828 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23829 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23830 * stdio-common/psiginfo.c (psiginfo): Likewise.
23831 * stdio-common/psignal.c (psignal): Likewise.
23832 * string/strsignal.c (strsignal): Likewise.
23833 * include/signal.h (_sys_siglist): Declare hidden proto.
23834 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23835 INTVARDEF with libc_hidden_data_def.
23836 * stdio-common/itoa-udigits.c: Likewise.
23837 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23838 (_itoa_lower_digits_internal): Remove declaration.
23839 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23840 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23841 (_sys_sigabbrev_internal): Remove aliases.
23842 (_sys_siglist): Define hidden alias.
23843
507352f1
MT
238442012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23845
23846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23847 bits/sysctl.h.
23848
42bbb1c3
L
238492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23850
23851 [BZ #14117]
6bd784b6
L
23852 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23853 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23854
8bca20f0
L
23855 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23856 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23857 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23858 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23859 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23860 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23861
f9e890a9
L
23862 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23863 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23864 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23865
471101a1
L
23866 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23867 with __addr.
23868 (insw): Likewise.
23869 (insl): Likewise.
23870 (outsb): Likewise.
23871 (outsw): Likewise.
23872 (outsl): Likewise.
23873
6451c862
L
23874 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23875 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23876 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23877
a254b8c9
L
23878 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23879 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23881 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23882 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23883 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23884
b8dfdd92
L
23885 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23886 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23887
578cd270
L
23888 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23889 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23890
de662f5f
L
23891 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23892 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23894
25653439
L
23895 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23896 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23897 to ...
23898 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23899
6bad24a0
L
23900 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23901 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23902 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23903
42bbb1c3
L
23904 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23905 for x86-64.
23906 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23907
2d10d547
JM
239082012-05-31 Joseph Myers <joseph@codesourcery.com>
23909
23910 * math/math.h (M_El): Use two more decimal places.
23911 (M_LOG2El): Likewise.
23912 (M_LOG10El): Likewise.
23913 (M_LN2l): Likewise.
23914 (M_LN10l): Likewise.
23915 (M_PIl): Likewise.
23916 (M_PI_2l): Likewise.
23917 (M_PI_4l): Likewise.
23918 (M_1_PIl): Likewise.
23919 (M_2_PIl): Likewise.
23920 (M_2_SQRTPIl): Likewise.
23921 (M_SQRT2l): Likewise.
23922 (M_SQRT1_2l): Likewise.
23923
f230c29b
DM
239242012-05-31 David S. Miller <davem@davemloft.net>
23925
23926 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23927 values between float registers.
23928 * sysdeps/sparc/sparc64/memset.S: Likewise.
23929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23930
fed806c3
MF
239312012-05-31 Mike Frysinger <vapier@gentoo.org>
23932
23933 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23934 -D_FORTIFY_SOURCE=1.
23935 (CPPFLAGS-tst-longjmp_chk.c): Define.
23936 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23937 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23938 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23939 CFLAGS-tst-wchar-h.c.
23940
30917259
MP
239412012-05-31 Marek Polacek <polacek@redhat.com>
23942
23943 [BZ #14132]
23944 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23945 __endmntent_internal): Remove declaration.
23946 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23947 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23948 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23949
1c58d5dc
DM
239502012-05-30 David S. Miller <davem@davemloft.net>
23951
23952 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23953 (___Q_simulate_exceptions): Use real FP ops rather than writing
23954 into the %fsr.
23955 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23956 Likewise.
23957
7dc00e0d
L
239582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23959
23960 [BZ #14117]
0bd53985
L
23961 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23962 * sysdeps/x86/bits/xtitypes.h: This.
23963
3a257e66
L
23964 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23965 * sysdeps/x86/bits/wordsize.h: This.
23966
62f62904
L
23967 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23968 * sysdeps/x86/bits/huge_vall.h: This.
23969
404fe9d9
L
23970 * sysdeps/i386/bits/select.h: Removed.
23971 * sysdeps/x86_64/bits/select.h: Renamed to ...
23972 * sysdeps/x86/bits/select.h: This.
23973
d48d0446
L
23974 * sysdeps/i386/bits/setjmp.h: Removed.
23975 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23976 * sysdeps/x86/bits/setjmp.h: This.
23977
7dc00e0d
L
23978 * sysdeps/i386/bits/mathdef.h: Removed.
23979 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23980 * sysdeps/x86/bits/mathdef.h: This.
23981
03277f8f
AS
239822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23983
23984 [BZ #14132]
23985 * include/sys/socket.h (__connect_internal)
23986 (__libc_sa_len_internal): Remove declaration.
23987 (__connect, __libc_sa_len): Declare hidden_proto.
23988 (SA_LEN): Remove use of INTUSE.
23989 * socket/connect.c: Add libc_hidden_def.
23990 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23991 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23992 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23993 alias.
23994 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23995 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23996 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23997 of adding _internal alias.
23998
13764867
L
239992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24000
24001 [BZ #14117]
6bd97696
L
24002 * sysdeps/i386/bits/link.h: Removed.
24003 * sysdeps/i386/bits/linkmap.h: Likewise.
24004 * sysdeps/x86_64/bits/link.h: Renamed to ...
24005 * sysdeps/x86/bits/link.h: This.
24006 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24007 * sysdeps/x86/bits/linkmap.h: This.
24008
f726f0bb
L
24009 * sysdeps/i386/bits/endian.h: Removed.
24010 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24011 * sysdeps/x86/bits/endian.h: This.
24012
13764867
L
24013 * sysdeps/i386/bits/byteswap.h: Removed.
24014 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24015 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24016 * sysdeps/x86/bits/byteswap.h: This.
24017 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24018 * sysdeps/x86/bits/byteswap-16.h: This.
24019 * sysdeps/i386/Implies: Add x86.
24020 * sysdeps/x86_64/Implies: Likewise.
24021
ae251b0b
DM
240222012-05-30 David S. Miller <davem@davemloft.net>
24023
24024 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24025 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24026 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24027 (FP_TRAPPING_EXCEPTIONS): Define.
24028 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24029 (FP_TRAPPING_EXCEPTIONS): Define.
24030 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24031 subnormals only when inexact has been signalled or underflow
24032 exceptions are enabled.
24033 (_FP_PACK_CANONICAL): Likewise.
24034
d5c90867
L
240352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24036
24037 [BZ #14183]
24038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24039 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24040
63f1549e
RH
240412012-05-30 Richard Henderson <rth@twiddle.net>
24042
8d8f2279
RH
24043 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24044 with #ifndef NOT_IN_libc.
24045
63f1549e
RH
24046 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24047 marked to avoid plt entry.
24048
0ab0291b
L
240492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24050
24051 [BZ #14112]
24052 * Makeconfig (default-abi): New macro.
24053 (abi-includes): Likewise.
24054 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24055 $(abi-$(default-abi)-lib-soname) for soname if defined.
24056 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24057 abi-variants.
24058 * Makefile (installed-stubs): Likewise.
24059 * include/stubs-biarch.h: Removed.
24060 * scripts/lib-names.awk: Only handle one library at a time.
24061 * scripts/soversions.awk: Remove WORDSIZE support.
24062 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24063 entries.
24064 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24065 Removed.
24066 (syscall-list-default-condition): Likewise.
24067 (syscall-list-default-condition): Likewise.
24068 (syscall-list-includes): Likewise.
24069 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24070 syscall-list-* with abi-*. Handle undefined abi-variants.
24071 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24072 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24073 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24074 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24075 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24076 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24077 Removed.
24078 (syscall-list-32-options): Likewise.
24079 (syscall-list-32-condition): Likewise.
24080 (syscall-list-64-options): Likewise.
24081 (syscall-list-64-condition): Likewise.
24082 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24083 macro.
24084 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24085 Renamed to ...
24086 (abi-*): This.
24087 (abi-64-ld-soname): New macro.
24088 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24089 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24090 Renamed to ...
24091 (abi-*): This.
24092 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24093 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24094
4da0431d
JM
240952012-05-30 Joseph Myers <joseph@codesourcery.com>
24096
3a85279c
JM
24097 * sysdeps/unix/sysv/linux/kernel-features.h
24098 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24099 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24100 include <kernel-features.h>.
24101 [!__NR_ftruncate64]: Remove conditional code.
24102 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24103 [__NR_ftruncate64]: Make code unconditional.
24104 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24105 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24106 include <kernel-features.h>.
24107 [!__NR_ftruncate64]: Remove conditional code.
24108 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24109 [__NR_ftruncate64]: Make code unconditional.
24110 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24112 include <kernel-features.h>.
24113 [!__NR_ftruncate64]: Remove conditional code.
24114 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24115 [__NR_ftruncate64]: Make code unconditional.
24116 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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
4da0431d
JM
24124 * configure.in (libc_cv_fpie): Weaken to a compile test using
24125 LIBC_TRY_CC_OPTION.
24126 * configure: Regenerated.
24127
11ef492c
AK
241282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24129
24130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24134 Refreshed.
24135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24141 Refreshed.
24142
d66ef399
DM
241432012-05-27 David S. Miller <davem@davemloft.net>
24144
24145 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24146 (___Q_zero): New.
24147 (__Q_simulate_exceptions): Return void. Change to simulate
24148 exceptions by writing into the %fsr.
24149 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24150 (__Qp_handle_exceptions): Likewise.
24151 (numbers): Delete.
24152 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24153 __Qp_handle_exceptions.
24154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24155 __Qp_handle_exceptions.
24156 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24157 as unused and give dummy FP_RND_NEAREST initializer.
24158 (FP_INHIBIT_RESULTS): Define.
24159 (___Q_simulate_exceptions): Update declaration.
24160 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24161 formatting.
24162 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24163 as unused and give dummy FP_RND_NEAREST initializer.
24164 (__Qp_handle_exceptions): Update declaration.
24165 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24166 formatting.
24167
04fb54b5
TS
241682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24169
24170 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24171 the temporary FPU control word.
24172 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24173 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24174 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24175 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24176 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24177 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24178 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24179 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24180 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24181 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24182 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24183
3f99608f
KK
241842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24185
24186 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24187 fields.
24188
65a4de4e
CLT
241892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24190
24191 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24192 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24193 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24194 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24195 Likewise.
24196 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24197 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24198 Likewise.
24199
15749d40
UD
242002012-05-27 Ulrich Drepper <drepper@gmail.com>
24201
24202 * po/h.po: Update from translation team.
24203
25dbcb27
AS
242042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24205
3d3f8e55
AS
24206 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24207
25dbcb27
AS
24208 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24209 handling of denormals.
24210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24211 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24212 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24213 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24216 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24217 Likewise.
24218
7ad47a80 242192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24220
24221 [BZ #14152]
24222 * math/libm-test.inc (fma_test): Don't always expect underflow
24223 exception.
24224
9c6ea9fa
SP
242252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24226
24227 [BZ #12416]
24228 * elf/tst-execstack.c: Include stackinfo.h.
24229 (do_test): Adjust test case to ensure that pthread_getattr_np
24230 behaviour remains the same after marking stack executable.
24231
a8239222
JM
242322012-05-25 Joseph Myers <joseph@codesourcery.com>
24233
24234 * sysdeps/unix/sysv/linux/kernel-features.h
24235 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24236 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24237 kernel-features.h.
24238 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24239 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24240 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24241 kernel-features.h.
24242 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24243 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24244
918b5606
L
242452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24246
24247 * configure.in: Define the default includes to being none.
24248 * configure: Regenerated.
24249
3a097cc7
RM
242502012-05-25 Roland McGrath <roland@hack.frob.com>
24251
8422c9a5
RM
24252 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24253 * sysdeps/x86_64/setjmp.S: Likewise.
24254 * sysdeps/i386/bsd-setjmp.S: Likewise.
24255 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24256 * sysdeps/i386/setjmp.S: Likewise.
24257 * sysdeps/i386/__longjmp.S: Likewise.
24258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24259 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24260
3a097cc7
RM
24261 * include/stap-probe.h: New file.
24262 * configure.in: Handle --enable-systemtap.
24263 * configure: Regenerated.
24264 * config.h.in (USE_STAP_PROBE): New #undef.
24265 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24266 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24267 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24268
21708942
JM
242692012-05-25 Joseph Myers <joseph@codesourcery.com>
24270
24271 [BZ #13717]
24272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24273 to 2.4.0 where earlier.
24274 * sysdeps/unix/sysv/linux/configure: Regenerated.
24275 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24276 <kernel-features.h>.
24277 [__ASSUME_32BITUIDS]: Make code unconditional.
24278 [!__ASSUME_32BITUIDS]: Remove conditional code.
24279 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24280 <kernel-features.h>.
24281 [__ASSUME_32BITUIDS]: Make code unconditional.
24282 [!__ASSUME_32BITUIDS]: Remove conditional code.
24283 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24284 [__ASSUME_32BITUIDS]: Make code unconditional.
24285 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24286 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24287 <kernel-features.h>.
24288 [__ASSUME_32BITUIDS]: Make code unconditional.
24289 [!__ASSUME_32BITUIDS]: Remove conditional code.
24290 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24291 <kernel-features.h>.
24292 [__ASSUME_32BITUIDS]: Make code unconditional.
24293 [!__ASSUME_32BITUIDS]: Remove conditional code.
24294 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24295 <kernel-features.h>.
24296 [__ASSUME_32BITUIDS]: Make code unconditional.
24297 [!__ASSUME_32BITUIDS]: Remove conditional code.
24298 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24299 <kernel-features.h>.
24300 [__ASSUME_32BITUIDS]: Make code unconditional.
24301 [!__ASSUME_32BITUIDS]: Remove conditional code.
24302 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24303 <kernel-features.h>.
24304 [__ASSUME_32BITUIDS]: Make code unconditional.
24305 [!__ASSUME_32BITUIDS]: Remove conditional code.
24306 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24307 <kernel-features.h>.
24308 [__ASSUME_32BITUIDS]: Make code unconditional.
24309 [!__ASSUME_32BITUIDS]: Remove conditional code.
24310 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24311 <kernel-features.h>.
24312 [__ASSUME_32BITUIDS]: Make code unconditional.
24313 [!__ASSUME_32BITUIDS]: Remove conditional code.
24314 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24315 <kernel-features.h>.
24316 [__ASSUME_32BITUIDS]: Make code unconditional.
24317 [!__ASSUME_32BITUIDS]: Remove conditional code.
24318 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24319 <kernel-features.h>.
24320 [__ASSUME_32BITUIDS]: Make code unconditional.
24321 [!__ASSUME_32BITUIDS]: Remove conditional code.
24322 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24323 <kernel-features.h>.
24324 [__ASSUME_32BITUIDS]: Make code unconditional.
24325 [!__ASSUME_32BITUIDS]: Remove conditional code.
24326 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24327 <kernel-features.h>.
24328 [__NR_setresgid] (__setresgid): Do not declare.
24329 [__ASSUME_32BITUIDS]: Make code unconditional.
24330 [!__ASSUME_32BITUIDS]: Remove conditional code.
24331 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24332 <kernel-features.h>.
24333 [__NR_setresuid] (__setresuid): Do not declare.
24334 [__ASSUME_32BITUIDS]: Make code unconditional.
24335 [!__ASSUME_32BITUIDS]: Remove conditional code.
24336 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
24345 <kernel-features.h>.
24346 [__ASSUME_32BITUIDS]: Make code unconditional.
24347 [!__ASSUME_32BITUIDS]: Remove conditional code.
24348 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24349 <kernel-features.h>.
24350 [__ASSUME_32BITUIDS]: Make code unconditional.
24351 [!__ASSUME_32BITUIDS]: Remove conditional code.
24352 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24353 <kernel-features.h>.
24354 [__ASSUME_32BITUIDS]: Make code unconditional.
24355 [!__ASSUME_32BITUIDS]: Remove conditional code.
24356 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24357 <kernel-features.h>.
24358 [__ASSUME_32BITUIDS]: Make code unconditional.
24359 [!__ASSUME_32BITUIDS]: Remove conditional code.
24360 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24361 <kernel-features.h>.
24362 [__ASSUME_32BITUIDS]: Make code unconditional.
24363 [!__ASSUME_32BITUIDS]: Remove conditional code.
24364 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24365 <kernel-features.h>.
24366 [__ASSUME_32BITUIDS]: Make code unconditional.
24367 [!__ASSUME_32BITUIDS]: Remove conditional code.
24368 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24369 <kernel-features.h>.
24370 [__ASSUME_32BITUIDS]: Make code unconditional.
24371 [!__ASSUME_32BITUIDS]: Remove conditional code.
24372 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24373 <kernel-features.h>.
24374 [__ASSUME_32BITUIDS]: Make code unconditional.
24375 [!__ASSUME_32BITUIDS]: Remove conditional code.
24376 * sysdeps/unix/sysv/linux/kernel-features.h
24377 (__ASSUME_SETRESUID_SYSCALL): Remove.
24378 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24379 (__ASSUME_32BITUIDS): Likewise.
24380 (__ASSUME_LDT_WORKS): Likewise.
24381 (__ASSUME_O_DIRECTORY): Likewise.
24382 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24383 architecture but not kernel version.
24384 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24385 (__ASSUME_MMAP2_SYSCALL): Likewise.
24386 (__ASSUME_STAT64_SYSCALL): Likewise.
24387 (__ASSUME_IPC64): Likewise.
24388 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24389 <kernel-features.h>.
24390 [__ASSUME_32BITUIDS]: Make code unconditional.
24391 [!__ASSUME_32BITUIDS]: Remove conditional code.
24392 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24393 <kernel-features.h>.
24394 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24395 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24396 132096]: Remove conditional code.
24397 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24398 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24399 <kernel-features.h>.
24400 [__ASSUME_32BITUIDS]: Make code unconditional.
24401 [!__ASSUME_32BITUIDS]: Remove conditional code.
24402 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24403 <kernel-features.h>.
24404 [__ASSUME_32BITUIDS]: Make code unconditional.
24405 [!__ASSUME_32BITUIDS]: Remove conditional code.
24406 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24407 <kernel-features.h>.
24408 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24409 unconditional.
24410 (__setresgid): Do not declare.
24411 [__ASSUME_32BITUIDS]: Make code unconditional.
24412 [!__ASSUME_32BITUIDS]: Remove conditional code.
24413 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24414 <kernel-features.h>.
24415 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24416 unconditional.
24417 (__setresuid): Do not declare.
24418 [__ASSUME_32BITUIDS]: Make code unconditional.
24419 [!__ASSUME_32BITUIDS]: Remove conditional code.
24420 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
24425 <kernel-features.h>.
24426 [__ASSUME_32BITUIDS]: Make code unconditional.
24427 [!__ASSUME_32BITUIDS]: Remove conditional code.
24428
a386f1cc
RH
244292012-05-25 Richard Henderson <rth@twiddle.net>
24430
24431 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24432 dl_hwcap to ifunc resolver.
24433 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24434 elf_ifunc_invoke.
24435 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24436 dl_hwcap to ifunc resolver.
24437 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24438
b6550497
JM
244392012-05-24 Joseph Myers <joseph@codesourcery.com>
24440
24441 [BZ #14153]
24442 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24443 for |x| <= 2**-26, not 2**-57.
24444 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24445 exception.
24446
b0bc23a1
JL
244472012-05-24 Jeff Law <law@redhat.com>
24448
24449 * stdio-common/Makefile (tests): Add bug25.
24450 * stdio-common/bug25.c: New test.
24451
347c92e9
L
244522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24453
24454 [BZ #13576]
24455 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24456 multiple of MALLOC_ALIGNMENT in size.
24457 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24458
6bcc8b3f
JM
244592012-05-24 Joseph Myers <joseph@codesourcery.com>
24460
24461 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24462 Require >= 256.
24463 (FILENAME_MAX): Use macro-int-constant.
24464 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24465 (_IOFBF): Use macro-int-constant.
24466 (_IOLBF): Likewise.
24467 (_IONBF): Likewise.
24468 (SEEK_CUR): Likewise.
24469 (SEEK_END): Likewise.
24470 (SEEK_SET): Likewise.
24471 (TMP_MAX): Likewise.
24472 (EOF): Use macro-int-constant. Require < 0.
24473 (NULL): Use macro-constant. Require == 0.
24474 (stdin): Require type to be FILE *.
24475 (stdout): Likewise.
24476 (stderr): Likewise.
24477 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24478 macro-int-constant.
24479 (EXIT_SUCCESS): Likewise.
24480 (NULL): Use macro-constant. Require == 0.
24481 (RAND_MAX): Use macro-int-constant.
24482 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24483 [C99-based standards] (strtof): Require function.
24484 [C99-based standards] (strtold): Likewise.
24485 [C99-based standards] (strtoll): Likewise.
24486 [C99-based standards] (strtoull): Likewise.
24487 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24488 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24489 [ISO || ISO99 || ISO11] (math.h): Likewise.
24490 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24491 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24493
d18ea0c5
AS
244942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24495
24496 [BZ #14132]
56d25bb8
AS
24497 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24498 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24499 * intl/dgettext.c (DCGETTEXT): Likewise.
24500 * intl/gettext.c (DCGETTEXT): Likewise.
24501 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24502 * posix/regex_internal.h (gettext): Likewise.
24503 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24504 Remove declaration.
24505 * include/argz.h (__argz_count_internal)
24506 (__argz_stringify_internal): Remove declaration.
24507 (__argz_count, __argz_stringify): Declare hidden proto.
24508 * intl/dcgettext.c: Remove use of INTDEF.
24509 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24510 * string/argz-stringify.c: Likewise.
24511 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24512 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24513 Declare hidden proto.
d18ea0c5
AS
24514 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24515 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24516 Declare hidden proto.
24517 * include/stdio.h (__asprintf_internal): Don't declare.
24518 (__asprintf): Don't define as macro. Declare hidden proto.
24519 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24520 (__fsetlocking): Declare hidden proto.
24521 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24522 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24523 hidden proto.
24524 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24525 (_IO_setlinebuf): Remove use of INTUSE.
24526 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24527 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24528 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24529 Remove declaration.
24530 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24531 (_IO_do_flush): Remove use of INTUSE.
24532 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24533 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24534 (_IO_adjust_column, _IO_least_wmarker)
24535 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24536 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24537 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24538 (_IO_default_doallocate, _IO_wdefault_doallocate)
24539 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24540 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24541 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24542 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24543 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24544 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24545 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24546 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24547 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24548 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24549 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24550 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24551 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24552 proto.
24553 (_IO_flush_all_internal, _IO_adjust_column_internal)
24554 (_IO_default_uflow_internal, _IO_default_finish_internal)
24555 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24556 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24557 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24558 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24559 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24560 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24561 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24562 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24563 (_IO_file_close_internal, _IO_file_close_it_internal)
24564 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24565 (_IO_file_init_internal, _IO_file_attach_internal)
24566 (_IO_file_fopen_internal, _IO_file_read_internal)
24567 (_IO_file_sync_internal, _IO_file_seek_internal)
24568 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24569 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24570 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24571 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24572 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24573 (_IO_list_all_internal, _IO_link_in_internal)
24574 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24575 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24576 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24577 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24578 (_IO_do_write_internal, _IO_padn_internal)
24579 (_IO_getline_info_internal, _IO_getline_internal)
24580 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24581 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24582 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24583 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24584 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24585 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24586 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24587 with libc_hidden_ver, remove use of INTUSE.
24588 * libio/genops.c: Likewise.
24589 * libio/freopen.c: Likewise.
24590 * libio/freopen64.c: Likewise.
24591 * libio/iofclose.c: Likewise.
24592 * libio/iofdopen.c: Likewise.
24593 * libio/iofflush.c: Likewise.
24594 * libio/iofflush_u.c: Likewise.
24595 * libio/iofgets.c: Likewise.
24596 * libio/iofgets_u.c: Likewise.
24597 * libio/iofopen.c: Likewise.
24598 * libio/iofopncook.c: Likewise.
24599 * libio/iofread.c: Likewise.
24600 * libio/iofread_u.c: Likewise.
24601 * libio/ioftell.c: Likewise.
24602 * libio/iofwrite.c: Likewise.
24603 * libio/iogetline.c: Likewise.
24604 * libio/iogets.c: Likewise.
24605 * libio/iogetwline.c: Likewise.
24606 * libio/iopadn.c: Likewise.
24607 * libio/iopopen.c: Likewise.
24608 * libio/ioseekoff.c: Likewise.
24609 * libio/ioseekpos.c: Likewise.
24610 * libio/iosetbuffer.c: Likewise.
24611 * libio/iosetvbuf.c: Likewise.
24612 * libio/ioungetc.c: Likewise.
24613 * libio/ioungetwc.c: Likewise.
24614 * libio/iovdprintf.c: Likewise.
24615 * libio/iovsprintf.c: Likewise.
24616 * libio/iovsscanf.c: Likewise.
24617 * libio/memstream.c: Likewise.
24618 * libio/obprintf.c: Likewise.
24619 * libio/oldfileops.c: Likewise.
24620 * libio/oldiofclose.c: Likewise.
24621 * libio/oldiofdopen.c: Likewise.
24622 * libio/oldiofopen.c: Likewise.
24623 * libio/oldiopopen.c: Likewise.
24624 * libio/oldstdfiles.c: Likewise.
24625 * libio/putc.c: Likewise.
24626 * libio/setbuf.c: Likewise.
24627 * libio/setlinebuf.c: Likewise.
24628 * libio/stdfiles.c: Likewise.
24629 * libio/strops.c: Likewise.
24630 * libio/vasprintf.c: Likewise.
24631 * libio/vscanf.c: Likewise.
24632 * libio/vsnprintf.c: Likewise.
24633 * libio/vswprintf.c: Likewise.
24634 * libio/wfiledoalloc.c: Likewise.
24635 * libio/wfileops.c: Likewise.
24636 * libio/wgenops.c: Likewise.
24637 * libio/wmemstream.c: Likewise.
24638 * libio/wstrops.c: Likewise.
24639 * libio/__fpurge.c: Likewise.
24640 * libio/__fsetlocking.c: Likewise.
24641 * assert/assert.c: Likewise.
24642 * debug/fgets_chk.c: Likewise.
24643 * debug/fgets_u_chk.c: Likewise.
24644 * debug/fread_chk.c: Likewise.
24645 * debug/fread_u_chk.c: Likewise.
24646 * debug/gets_chk.c: Likewise.
24647 * debug/obprintf_chk.c: Likewise.
24648 * debug/vasprintf_chk.c: Likewise.
24649 * debug/vdprintf_chk.c: Likewise.
24650 * debug/vsnprintf_chk.c: Likewise.
24651 * debug/vsprintf_chk.c: Likewise.
24652 * malloc/mtrace.c: Likewise.
24653 * misc/error.c: Likewise.
24654 * misc/syslog.c: Likewise.
24655 * stdio-common/asprintf.c: Likewise.
24656 * stdio-common/fxprintf.c: Likewise.
24657 * stdio-common/getw.c: Likewise.
24658 * stdio-common/isoc99_fscanf.c: Likewise.
24659 * stdio-common/isoc99_scanf.c: Likewise.
24660 * stdio-common/isoc99_vfscanf.c: Likewise.
24661 * stdio-common/isoc99_vscanf.c: Likewise.
24662 * stdio-common/isoc99_vsscanf.c: Likewise.
24663 * stdio-common/printf-prs.c: Likewise.
24664 * stdio-common/printf_fp.c: Likewise.
24665 * stdio-common/printf_fphex.c: Likewise.
24666 * stdio-common/printf_size.c: Likewise.
24667 * stdio-common/putw.c: Likewise.
24668 * stdio-common/scanf.c: Likewise.
24669 * stdio-common/sprintf.c: Likewise.
24670 * stdio-common/tmpfile.c: Likewise.
24671 * stdio-common/vfprintf.c: Likewise.
24672 * stdio-common/vfscanf.c: Likewise.
24673 * stdlib/strfmon_l.c: Likewise.
24674 * sunrpc/openchild.c: Likewise.
24675 * sunrpc/xdr_stdio.c: Likewise.
24676 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24677 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24678
d6c33fda
RM
246792012-05-24 Roland McGrath <roland@hack.frob.com>
24680
c1487492
RM
24681 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24682
24683 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24684 in the third column, to generate for the shared library an IFUNC
24685 that uses _dl_vdso_vsym.
24686 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24687 * Makeconfig (object-suffixes-noshared): New variable.
24688
24689 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24690 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24691 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24692 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24693
d6c33fda
RM
24694 [BZ #14132]
24695 * include/sys/time.h (__gettimeofday): Remove macro.
24696 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24697 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24698 Remove INTDEF.
24699 (__gettimeofday): Add libc_hidden_def.
24700 (gettimeofday): Add libc_hidden_weak.
24701 * sysdeps/mach/gettimeofday.c: Likewise.
24702 * sysdeps/posix/gettimeofday.c: Likewise.
24703 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24704 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24705 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24706 (__gettimeofday_internal): Remove strong_alias.
24707 (__gettimeofday): Add libc_hidden_def.
24708 (gettimeofday): Add libc_hidden_weak.
24709 * sysdeps/unix/syscalls.list (gettimeofday):
24710 Remove __gettimeofday_internal alias.
24711
b5a2bbe6
L
247122012-05-24 Daniel Jacobowitz <drow@false.org>
24713 H.J. Lu <hongjiu.lu@intel.com>
24714
24715 [BZ #12495]
24716 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24717 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24718 (largebin_index_32_big): New.
24719 (largebin_index): Use it for 16-byte alignment.
24720 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24721 correction with front_misalign.
24722
cfba4fda
L
247232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24724
7f907421
L
24725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24727 Likewise.
24728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24729 Likewise.
24730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24731 Likewise.
24732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24733 Likewise.
24734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24735 Likewise.
24736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24737 Likewise.
24738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24739 Likewise.
24740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24741 Likewise.
24742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24743 Likewise.
24744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24745 Likewise.
24746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24747 Likewise.
24748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24749 Likewise.
24750
cfba4fda
L
24751 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24752 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24753
80bad0cc
JM
247542012-05-24 Joseph Myers <joseph@codesourcery.com>
24755
7a25eb06
JM
24756 [BZ #10846]
24757 [BZ #14036]
24758 * math/libm-test.inc (exp_test): Add test from bug 14036.
24759 (pow_test): Add test from bug 10846.
24760
795405f9
JM
24761 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24762 and other flags.
24763 (special_function): Do not include flags in test name.
24764 (parse_args): Likewise.
24765 * sysdeps/i386/fpu/libm-test-ulps: Update.
24766 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24767 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24768 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24770
80bad0cc
JM
24771 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24772 exceptions.
24773 * math/libm-test.inc ("Philosophy"): Update comment about
24774 exception testing.
24775 (UNDERFLOW_EXCEPTION): New macro.
24776 (UNDERFLOW_EXCEPTION_OK): Likewise.
24777 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24778 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24779 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24780 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24781 (INVALID_EXCEPTION_OK): Update value.
24782 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24783 (OVERFLOW_EXCEPTION_OK): Likewise.
24784 (IGNORE_ZERO_INF_SIGN): Likewise.
24785 (test_exceptions): Handle underflow exceptions.
24786 (acos_test): Update for underflow exception expectations.
24787 (cexp_test): Likewise.
24788 (clog_test): Likewise.
24789 (clog10_test): Likewise.
24790 (csqrt_test): Likewise.
24791 (ctan_test): Likewise.
24792 (ctanh_test): Likewise.
24793 (exp_test): Likewise.
24794 (exp10_test): Likewise.
24795 (exp2_test): Likewise.
24796 (expm1_test): Likewise.
24797 (fma_test): Likewise.
24798 (j0_test): Likewise.
24799 (jn_test): Likewise.
24800 (nexttoward_test): Likewise.
24801 (pow_test): Likewise.
24802 (scalbn_test): Likewise.
24803 (scalbln_test): Likewise.
24804 (tan_test): Likewise.
24805 (y1_test): Likewise.
24806 * sysdeps/i386/fpu/libm-test-ulps: Update.
24807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24808
9e0e3d0b
DM
248092012-05-23 David S. Miller <davem@davemloft.net>
24810
24811 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24812 (__libc_sigaction): Remove unused local variables.
24813
ccd0a08f
L
248142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24815
24816 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24817
62bdf9a6
PE
248182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24819
f8591f80
PE
24820 mktime: avoid signed integer overflow
24821 * time/mktime.c (__mktime_internal): Do not mishandle the case
24822 where diff == INT_MIN.
24823
94c7d826
PE
24824 mktime: simplify computation of average
24825 * time/mktime.c (ranged_convert): Use new time_t_avg function
24826 instead of rolling our own (probably-slower) code.
24827
ce73d683
PE
24828 mktime: do not assume signed right shift propagates sign bit
24829 * time/mktime.c (isdst_differ): New static function.
24830 (__mktime_internal): No need to normalize tm_isdst now.
24831 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24832 tm_isdst values.
24833
72a22e59
PE
24834 mktime: merge another wrapv change from gnulib
24835 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24836 from some compilers.
24837
68605433
PE
24838 mktime: remove incorrect attempt at unusual arithmetics
24839 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24840 The code didn't really work on such machines anyway.
24841 (TYPE_MINIMUM): Assume two's complement.
24842 (twos_complement_arithmetic): Verify that long_int and time_t
24843 are two's complement (or unsigned, in the latter case).
24844
03cf7fe3
PE
24845 mktime: check signed shifts on long_int and time_t, too
24846 * time/mktime.c (SHR): Check that shifts work as desired
24847 on the types long_int and time_t too, as SHR is used on
24848 such types.
24849
f04dfbc2
PE
24850 mktime: do not assume 'long' is wide enough
24851 * time/mktime.c (verify): Move decl up.
24852 (long_int): New type.
24853 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24854 to remove assumption in the code that 'long' is wide enough to
24855 store year values. This assumption is not true on x32 and on
24856 some non-glibc platforms.
24857
62bdf9a6
PE
24858 mktime: merge wrapv change from gnulib
24859 * time/mktime.c (WRAPV): New macro.
24860 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24861 (guess_time_tm, __mktime_internal): Do not assume that signed
24862 integer overflow wraps around; modern compilers generate code
24863 where this assumption is no longer valid.
24864
5e292e4f
L
248652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24866
24867 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24868 Replace "jmp L(pseudo_end)" with "ret".
24869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24870 Likewise.
24871
8caf8c87
AJ
248722012-05-23 Andreas Jaeger <aj@suse.de>
24873
24874 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24875 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24876
1a09dc56
AJ
248772012-05-23 Andreas Jaeger <aj@suse.de>
24878 Maximilian Attems <max@stro.at>
24879
24880 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24881 New macros.
24882
1c87aba0
L
248832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24884
24885 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24886 code so that pseudo_end is just ret and the stack pointer is
24887 correct also for static library in error case.
24888
40e45bd5
JM
248892012-05-23 Joseph Myers <joseph@codesourcery.com>
24890
c2670533
JM
24891 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24892 move to syscalls.list.
24893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24897
40e45bd5
JM
24898 * manual/install.texi (Running make install): Do not mention Linux
24899 kernel version for which pt_chown is not needed.
24900 (Linux): Do not mention problems with nscd with 2.0 kernels.
24901 * INSTALL: Regenerated.
24902
be08eda5
AJ
249032012-05-23 Andreas Jaeger <aj@suse.de>
24904
24905 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24906 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24907 macro.
24908 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24909 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24910 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24911 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24912 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24913 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24914 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24915 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24916 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24917 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24918 * sysdeps/unix/sysv/linux/bits/in.h
24919 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24920
a6a056bb
RM
249212012-05-22 Roland McGrath <roland@hack.frob.com>
24922
24923 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24924 (PREPARE_VERSION): Just use assert instead, it will be elided
24925 under [NDEBUG] anyway.
24926
c9009328
L
249272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24928
24929 * sysdeps/unix/sysv/linux/Makefile: Include
24930 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 24931 (sysdep_routines): Remove sysctl.
c9009328
L
24932 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24933 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24934 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24935 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24936 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24937
73338355
AJ
249382012-05-22 Andreas Jaeger <aj@suse.de>
24939
24940 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24941 that pseudo_end is just ret and the stack pointer is correct also
24942 for static library in error case.
24943
d44638b0
PP
249442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24945
24946 [BZ #14122]
24947 * nss/nsswitch.c (defconfig_entries): New variable.
24948 (__nss_database_lookup): Don't leak defconfig entries.
24949 (nss_parse_service_list): Don't leak on error paths.
24950 (free_database_entries): New function.
24951 (free_defconfig): New function.
24952 (free_mem): Move common code to free_database_entries.
24953
31a39bd8
L
249542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24955
da0331a8
L
24956 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24957 Add arch_prctl.
24958 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24959
31a39bd8
L
24960 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24961 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24963 New macro.
24964 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24965 (INTERNAL_SYSCALL_TYPES): Likewise.
24966 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24967 (LOAD_REGS_TYPES_[1-6]): Likewise.
24968 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24969 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24970
45470df3
AZ
249712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24972
24973 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24974 copysignl for GLIBC_2_0.
24975 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24976 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24978 logbl for GLIBC_2_0.
24979 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24980 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24981
98a61bcb
L
249822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24983
a4f6e481
L
24984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24985 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24986
f63d5db6
L
24987 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24988 Use "neg %eax".
24989
98a61bcb
L
24990 * time/mktime.c: Update copyright years.
24991
95770f14
PE
249922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24993
6226efbd
PE
24994 mktime: merge comment-quoting-style change from gnulib
24995 * time/mktime.c: Quote 'like this' in comments.
24996 The GNU coding standards suggest that we no longer quote `like this',
24997 as "`" and "'" are typically rendered asymmetrically nowadays.
24998 The typical gnulib style is to quote 'like this' when quoting
24999 code, and "like this" when quoting English.
25000
b99e4f78
PE
25001 * time/mktime.c (compile-command): Add "-I.".
25002
643e01e6
PE
25003 mktime: merge mktime-internal.h change from gnulib
25004 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25005
2554247d
PE
25006 mktime: merge time_r change from gnulib
25007 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25008
826dd0ab
PE
25009 mktime: merge DEBUG change from gnulib
25010 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25011 case system <time.h> has a #define.
25012
bd83aabe
PE
25013 mktime: merge <sys/types.h> change from gnulib
25014 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25015 since <time.t> is now guaranteed to define time_t.
25016
95770f14
PE
25017 mktime: merge HAVE_CONFIG_H change from gnulib
25018 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25019
5e1a27a9
L
250202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25021
0e44a77e
L
25022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25023 Use "neg %eax".
25024
5e1a27a9
L
25025 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25026 __rlim_t cast.
25027 (struct rusage): Use anonymous union to pad each field to
25028 __syscall_slong_t.
25029
46259bec
DM
250302012-05-21 David S. Miller <davem@davemloft.net>
25031
25032 * Makefules (o-iterator): Remove .s cases.
25033 (compile-command.s): Delete.
25034 (COMPILE.s): Delete.
25035 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25036
59f0c22e
JM
250372012-05-21 Joseph Myers <joseph@codesourcery.com>
25038
25039 * configure.in (libc_cv_predef_stack_protector): Only consider
25040 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25041 * configure: Regenerated.
25042
20c07380
L
250432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25044
bbb3154b
L
25045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25046 New macro. Use R*LP on int and pointer.
25047 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25048 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25049 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25050 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25051
20c07380
L
25052 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25053 [__WORDSIZE_TIME64_COMPAT32] instead of
25054 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25055 (struct utmp): Likewise.
25056 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25057 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25058 Renamed to ...
25059 (__WORDSIZE_TIME64_COMPAT32): This.
25060 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25061 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25062 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25063 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25064 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25065 (__WORDSIZE_TIME64_COMPAT32): New macro.
25066
d8d1017e
AJ
250672012-05-21 Andreas Jaeger <aj@suse.de>
25068
25069 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25070 only if [SHARED]. Add prototype for __wcschr_ia32.
25071
6c7fb145
RM
250722012-05-21 Roland McGrath <roland@hack.frob.com>
25073
25074 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25075 of %rbp unmolested in the jmp_buf while mangling the low bits.
25076 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25077 unmolested high bits of %rbp while demangling the low bits.
25078 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25079
66274218
AJ
250802012-05-21 Andreas Jaeger <aj@suse.de>
25081
07c58f8f
AJ
25082 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25083 * sunrpc/svc_simple.c: Use it for registerrpc.
25084 * sunrpc/xcrypt.c: Use it for passwd2des.
25085
66274218
AJ
25086 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25087
61f65140
L
250882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25089
25090 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25091 Don't define if [__SYSCALL_WORDSIZE != 32].
25092 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25093 New macro.
25094
5fefb436
AJ
250952012-05-21 Bruno Haible <bruno@clisp.org>
25096 Andreas Jaeger <aj@suse.de>
25097
25098 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25099 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25100 inptr and inend for must_buffer_ch.
25101 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25102 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25103 * stdio-common/Makefile (tests): Remove bug15.
25104 (bug15-ENV): Remove macro.
25105 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25106 anymore.
25107
d8e272ab
AJ
251082012-05-19 Andreas Jaeger <aj@suse.de>
25109 Roland McGrath <roland@hack.frob.com>
25110
25111 * manual/contrib.texi: Completely rewritten. It contains now an
25112 alphabetical list of contributors and their contributions.
25113
4a56a162
RH
251142012-05-21 Richard Henderson <rth@twiddle.net>
25115
25116 * misc/getauxval.c (__getauxval): Use unsigned long int.
25117 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25118 (getauxval): Use unsigned long int.
25119
d024d23c
L
251202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25121
25122 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25123
cbc00a03
RM
251242012-05-21 Roland McGrath <roland@hack.frob.com>
25125
25126 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25127 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25128 __alignof__ (long double).
25129
478143fa
AZ
251302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25131
25132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25133
c7683a6d
RH
251342012-05-20 Richard Henderson <rth@twiddle.net>
25135
25136 * misc/getauxval.c: New file.
25137 * misc/sys/auxv.h: New file.
25138 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25139 (routines): Add getauxval.
25140 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25141 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25142 * elf/dl-sysdep.c (_dl_auxv): Remove.
25143 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25144 * elf/dl-support.c (_dl_auxv): New variable.
25145 (_dl_aux_init): Initialize it.
25146 * manual/startup.texi (Auxiliary Vector): New node.
25147 * sysdeps/generic/bits/hwcap.h: New file.
25148 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25149 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25150 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25151 * sysdeps/sparc/sysdep.h: ... here. Include it.
25152 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25153 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25155 Update.
c7683a6d
RH
25156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25164
a6f1845d
AZ
251652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25166
25167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25168
cbcbe830
DM
251692012-05-19 David S. Miller <davem@davemloft.net>
25170
25171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25172
e0b16cc2
JM
251732012-05-19 Joseph Myers <joseph@codesourcery.com>
25174
25175 [BZ #14123]
25176 * math/s_ccosh.c: Include <float.h>
25177 (__ccosh): Avoid internal overflow calculating sinh and cosh
25178 values before multiplying by sin and cos values.
25179 * math/s_ccoshf.c: Likewise.
25180 * math/s_ccoshl.c: Likewise.
25181 * math/s_csin.c: Likewise.
25182 * math/s_csinf.c: Likewise.
25183 * math/s_csinl.c: Likewise.
25184 * math/s_csinh.c: Likewise.
25185 * math/s_csinhf.c: Likewise.
25186 * math/s_csinhl.c: Likewise.
25187 * math/libm-test.inc (ccos_test): Add more tests.
25188 (ccosh_test): Likewise.
25189 (csin_test): Likewise.
25190 (csinh_test): Likewise.
25191 * sysdeps/i386/fpu/libm-test-ulps: Update.
25192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25193
6ad13e08
L
251942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25195
f66f0ce8
L
25196 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25197 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25198
6ad13e08
L
25199 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25200
b1d072a7
JM
252012012-05-19 Joseph Myers <joseph@codesourcery.com>
25202
25203 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25204 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25205 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25206 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25207 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25208 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25209 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25210 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25211 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25212 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25213 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25214 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25215 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25216 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25217 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25218 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25219 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25220 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25221 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25222 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25223 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25224 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25225 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25226 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25227 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25228 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25229 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25230 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25231 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25232 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25233 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25234
9eae47cb
AJ
252352012-05-18 Andreas Jaeger <aj@suse.de>
25236
25237 * csu/.gitignore: Delete.
25238
bb07f69f
L
252392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25240
25241 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25242 (timex): Use __syscall_slong_t.
25243
e6bdb741
AJ
252442012-05-18 Andreas Jaeger <aj@suse.de>
25245 Carlos O'Donell <carlos_odonell@mentor.com>
25246
25247 * manual/install.texi (Configuring and compiling): Update
25248 description about files modified in the source directory.
d6c33fda 25249 * INSTALL: Regenerated.
e6bdb741 25250
1b74487e
L
252512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25252
25253 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25254 value. Use "or" to set return value to -1.
25255 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25256 negate return value.
25257
a88b64b9
TMQMF
252582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25259
25260 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25261 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25262 failure if the compiler has Graphite support disabled.
25263 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25264 Likewise.
25265 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25266 CFLAGS-memmove.c): Likewise.
25267 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25268 Likewise.
25269
3707636e
L
252702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25271
610b8622
L
25272 * sysdeps/x86_64/x32/_itoa.h: New file.
25273
7cd195df
L
25274 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25275 getdents system call only if kernel and user dirents have the
25276 same d_ino and d_off.
25277
94b07d20
L
25278 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25279 LLONG_MAX != LONG_MAX.
25280 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25281 (_fitoa_word): Likewise.
25282
18298070
L
25283 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25284 years.
25285 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25286 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25287 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25288
553c7ea4
L
25289 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25290 include <bits/wordsize.h>. Check __x86_64__ instead of
25291 __WORDSIZE.
25292 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25293 if __x86_64__ is defined. Use anonymous union on fpstate.
25294
3707636e
L
25295 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25296 anonymous union.
25297
b53ef01a
AS
252982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25299
37fb1dc0
AS
25300 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25301 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25302 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25303 Refer to _rtld_local_ro instead of _rtld_global_ro.
25304 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25305 Likewise.
25306 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25307 Likewise.
25308 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25309 Likewise.
25310 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25311 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25312 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25313
b53ef01a
AS
25314 * sysdeps/powerpc/powerpc32/dl-machine.c
25315 (__elf_machine_runtime_setup) [PROF]: Don't reference
25316 _dl_prof_resolve.
25317
7a185db2
AJ
253182012-05-18 Andreas Jaeger <aj@suse.de>
25319
25320 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25321 function only available for GCCs before 3.4 since GCC 3.4
25322 introduced a builtin.
25323 (lrint): Likewise.
25324 (llrintf): Likewise.
25325 (llrint): Likewise.
25326 (fmaxf): Likewise.
25327 (fmax): Likewise.
25328 (fminf): Likewise.
25329 (fmin): Likewise.
25330 (rint): Likewise.
25331 (rintf): Likewise.
25332 (nearbyint): Likewise.
25333 (nearbyintf): Likewise.
25334 (ceil): Likewise.
25335 (ceilf): Likewise.
25336 (floor): Likewise.
25337 (floorf): Likewise.
25338
3e5aef87
L
253392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25340
428bd707
L
25341 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25342 on both fields and cast pointer to __syscall_ulong_t.
25343
3e5aef87
L
25344 * bits/types.h (__fsword_t): New type.
25345 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25346 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25348 (__FSWORD_T_TYPE): Likewise.
25349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25350 (__FSWORD_T_TYPE): Likewise.
25351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25352 (__FSWORD_T_TYPE): Likewise.
25353 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25354 (__FSWORD_T_TYPE): Likewise.
25355 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25356 __SWORD_TYPE with __fsword_t.
25357 (statfs64): Likewise.
25358
1ba7c3dc
DM
253592012-05-17 David S. Miller <davem@davemloft.net>
25360
25361 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25362
59910343
AJ
253632012-05-17 Andreas Jaeger <aj@suse.de>
25364
25365 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25366 warning.
25367
2e4c1e9e
L
253682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25369
25370 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25371
de7f5ce7
AJ
253722012-05-17 Andreas Jaeger <aj@suse.de>
25373
25374 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25375 when it is used.
25376
286abc3d
CM
253772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25378
25379 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25380
477cc68e
L
253812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25382
25383 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25384 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25385
1a0994f5
CD
253862012-05-17 Andreas Jaeger <aj@suse.de>
25387 Carlos O'Donell <carlos_odonell@mentor.com>
25388
25389 [BZ #14059]
25390 * sysdeps/x86_64/multiarch/init-arch.h
25391 (bit_YMM_Usable): Rename to...
25392 (bit_AVX_Usable): ... this.
25393 (bit_FMA4_Usable): New macro.
25394 (bit_XMM_state): New macro.
25395 (bit_YMM_state): New macro.
25396 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25397 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25398 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25399 (CPUID_OSXSAVE): New macro.
25400 (CPUID_AVX): New macro.
25401 (CPUID_FMA4): New macro.
25402 (index_YMM_Usable): Rename to...
25403 (index_AVX_Usable): ... this.
25404 (HAS_AVX): Use HAS_ARCH_FEATURE.
25405 (HAS_FMA4): Likewise.
25406 (HAS_YMM_USABLE): Remove.
25407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25408 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25409 are present.
25410 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25411 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25412 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25413 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25414 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25415
0af797de
CM
254162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25417
25418 * math/libm-test.c: Support platforms without multiple rounding modes.
25419 * math/bug-nextafter.c: Support platforms without FP exceptions.
25420 * math/bug-nexttoward.c: Likewise.
25421 * math/test-fenv.c: Likewise.
25422 * math/test-misc.c: Likewise.
25423 * stdlib/bug-getcontext.c: Likewise.
25424
e39745ff
AJ
254252012-05-17 Andreas Jaeger <aj@suse.de>
25426
25427 * manual/examples/search.c (critter_cmp): Change signature to
25428 avoid warnings.
25429 * manual/string.texi (Collation Functions): Likewise.
25430
48970aba
L
254312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25432
25433 * bits/types.h: Fold copyright years.
25434 * bits/typesizes.h: Likewise.
25435 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25437 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25439 * time/time.h: Likewise.
25440
bedee953
PP
254412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25442
25443 [BZ #208]
25444 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25445 in instead of returning them. Return void.
25446 (__libc_mallinfo): Accumulate over all arenas.
25447 (__malloc_stats): Adjust for change in int_mallinfo interface.
25448
61653dfb
RM
254492012-05-16 Roland McGrath <roland@hack.frob.com>
25450
30b99d79
RM
25451 [BZ #10375]
25452 * configure.in (NM): Add AC_CHECK_TOOL for it.
25453 (libc_extra_cflags): New substituted variable.
25454 Check for -fstack-protector being used implicitly.
25455 * configure: Regenerated.
25456 * config.make.in (config-extra-cflags): New variable,
25457 gets @libc_extra_cflags@.
25458 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25459
61653dfb
RM
25460 [BZ #10375]
25461 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25462 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25463 * configure: Regenerated.
25464 * config.make.in (CPPUNDEFS): New substituted variable.
25465 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25466 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25467 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25468
661768bb
L
254692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25470
25471 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25472 (mq_attr): Use __syscall_slong_t.
25473
d4261567
L
254742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25475
25476 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25477 Check __x86_64__ instead of __WORDSIZE.
25478 (_STAT_VER_LINUX): Likewise.
25479 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25480 __syscall_ulong_t and __syscall_slong_t.
25481 (stat64): Likewise.
25482
cf3ff365
L
254832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25484
25485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25486
76cf3e4d
L
254872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25488
25489 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25490
a637753a
L
254912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25492
25493 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25494 __syscall_ulong_t.
25495
d5e05119
L
25496 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25497 include <bits/wordsize.h>. Check __x86_64__ instead of
25498 __WORDSIZE.
25499 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25500 defined.
25501 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25502
f62ee380
L
25503 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25504 include <bits/wordsize.h>. Check __x86_64__ instead of
25505 __WORDSIZE.
25506 (user_regs_struct): Use "__extension__ unsigned long long"
25507 instead of "unsigned long" if __x86_64__ is defined.
25508 (user): Likewise. Pad after pointer field if __ILP32__ is
25509 defined.
25510
4e124ced
JM
255112012-05-16 Joseph Myers <joseph@codesourcery.com>
25512
6a3951a0
JM
25513 * configure.in (makeinfo): Require version 4.5 or later. Allow
25514 versions 5 to 9.
25515 * configure: Regenerated.
25516 * manual/install.texi (texinfo): Increase version requirement to
25517 4.5 or later.
25518 * INSTALL: Regenerated.
25519
4e124ced
JM
25520 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25521
953ca31a
L
255222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25523
25524 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25525
617aca05
L
25526 * sysdeps/x86_64/x32/ffs.c: New file.
25527
5762f7ae
L
25528 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25529 __syscall_ulong_t.
25530 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25531 defined. Use __syscall_ulong_t.
25532 (shminfo): Use __syscall_ulong_t.
25533 (shm_info): Likewise.
25534
a26b6856
L
25535 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25536 __syscall_ulong_t.
25537
cb2b9ef7
L
25538 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25539 <bits/wordsize.h>.
25540 (msgqnum_t): Use __syscall_ulong_t.
25541 (msglen_t): Likewise.
25542 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25543 __syscall_ulong_t.
25544
34683bb0
L
25545 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25546 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25547
84a68786
L
25548 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25549
48baa5f1
L
25550 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25551 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25552
180be88b
L
25553 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25554 __syscall_slong_t.
25555
5e90c8ad
L
25556 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25557 include <bits/wordsize.h>. Check __x86_64__ instead of
25558 __WORDSIZE.
25559
23dfb58b
L
25560 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25561 "unsigned long long int" if __x86_64__ is defined.
25562 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25563
ce5d54b0
L
25564 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25565 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25566 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25567
13dc9eac
L
25568 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25569 <stdint.h>.
25570 (GET_PC): Cast to uintptr_t first.
25571 (GET_FRAME): Likewise.
25572 (GET_STACK): Likewise.
25573
a7895d15
L
25574 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25575 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25576 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25577 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25578 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25579 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25580 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25581 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25582 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25583 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25584 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25585 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25586 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25587 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25588 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25589 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25590 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25595 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25598 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25599 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25600 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25601 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25602 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25603
656416c9
AS
256042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25605
5bd66283
AS
25606 * Makerules (+depfiles): Also collect depfiles from .oS in
25607 $(extra-objs).
25608 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25609 .oS, $(libnldbl-routines)).
25610
656416c9
AS
25611 * Makerules (native-compile-mkdep-flags): Define.
25612 * sunrpc/Makefile (extra-objs): Add $(addprefix
25613 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25614 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25615 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25616 calling $(make-target-directory).
25617
a46f2169
L
256182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25619
25620 * bits/types.h (__snseconds_t): Removed.
25621 * time/time.h (struct timespec): Replace __snseconds_t with
25622 __syscall_slong_t.
25623 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25624 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25625 Likewise.
25626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25627 (__SNSECONDS_T_TYPE): Likewise.
25628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25629 (__SNSECONDS_T_TYPE): Likewise.
25630 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25631 (__SNSECONDS_T_TYPE): Likewise.
25632
6af6528b
L
256332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25634
25635 * sysdeps/mach/hurd/bits/typesizes.h
25636 (__SYSCALL_SLONG_TYPE): New macro.
25637 (__SYSCALL_ULONG_TYPE): Likewise.
25638
de986b56
L
256392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25640
25641 * bits/types.h (__syscall_slong_t): New type.
25642 (__syscall_ulong_t): Likewise.
25643
25644 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25645 (__SYSCALL_ULONG_TYPE): Likewise.
25646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25647 (__SYSCALL_SLONG_TYPE): Likewise.
25648 (__SYSCALL_ULONG_TYPE): Likewise.
25649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25650 (__SYSCALL_SLONG_TYPE): Likewise.
25651 (__SYSCALL_ULONG_TYPE): Likewise.
25652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25653 (__SYSCALL_SLONG_TYPE): Likewise.
25654 (__SYSCALL_ULONG_TYPE): Likewise.
25655
85736dc7
L
256562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25657
25658 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25659 Add sigaltstack-offsets.sym.
25660 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25661 <sigaltstack-offsets.h>.
25662 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25663 longjmp_msg pointer.
25664 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25665 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25666 signal stack.
25667 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25668
cc03b296
JM
256692012-05-15 Joseph Myers <joseph@codesourcery.com>
25670
a9538892
JM
25671 * elf/stackguard-macros.h: Remove file.
25672 * sysdeps/generic/stackguard-macros.h: New file.
25673 * sysdeps/i386/stackguard-macros.h: Likewise.
25674 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25675 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25676 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25677 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25678 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25679 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25680 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25681 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25682 <elf/stackguard-macros.h>.
25683
cc03b296
JM
25684 [BZ #14109]
25685 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25686 __aligned__ in attribute.
25687 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25688 (gregset_t): Likewise.
25689
93171016
L
256902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25691
25692 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25693 * sysdeps/x86_64/64/Implies-after: Here. New file.
25694 * sysdeps/x86_64/x32/Implies-after: New file.
25695
d86813a0
L
256962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25697
25698 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25699 and access return value for _dl_profile_fixup. Use R10_LP to
25700 load frame size.
25701
2953ec75
L
257022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25703
25704 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25705
3b550e9e
L
257062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25707
25708 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25709 * sysdeps/x86_64/x32/sysdep.h: New file.
25710
eda41706
L
257112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25712
25713 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25714 * sysdeps/x86_64/setjmp.S: Likewise.
25715
9ea01d93
AZ
257162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25717
25718 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25719 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25720 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25721 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25722 remove unused global constant.
25723
02a91938
CM
257242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25725
25726 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25727 include of <not-cancel.h>.
25728
6540185f
RM
257292012-05-15 Roland McGrath <roland@hack.frob.com>
25730
25731 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25732
509072a0
AJ
257332012-05-15 Jeff Law <law@redhat.com>
25734 Andreas Jaeger <aj@suse.de>
25735
25736 [BZ #13594]
25737 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25738 out from...
25739 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25740 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25741 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25742 code changing __hst_map_handle.map.
25743
ba75122d
RM
257442012-05-15 Roland McGrath <roland@hack.frob.com>
25745
25746 * configure.in (sysnames): Look for Implies-before and Implies-after
25747 files.
25748 * configure: Regenerated.
25749
890d8bd8
L
257502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25751
25752 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25753 8-byte data alignment with LP_SIZE alignment.
25754
f6ee6623
L
257552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25756
25757 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25758 into R10_LP.
25759
ea2626f6
L
257602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25761
25762 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25763
085f715e
L
257642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25765
25766 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25767 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25768 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25769 Likewise.
25770 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25771
be8498fc
L
257722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25773
25774 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25775 (stackinfo_sub_sp): Likewise.
25776
70bc83b9
L
257772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25778
25779 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25780 RAX_LP.
25781
9bc0b730
L
257822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25783
25784 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25785 into R*_LP.
25786
6d2850e7
L
257872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25788
25789 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25790 sizes into R*_LP.
25791
3cb84561
L
257922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25793
25794 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25795
54e2ed81
L
257962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25797
25798 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25799 into R11_LP and load __x86_64_shared_cache_size_half into
25800 R8_LP.
25801
8a17f349
L
258022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25803
25804 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25805 R8_LP.
25806
777b1eea
AZ
258072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25808
25809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25810 logb for POWER7.
25811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25812 logbf for POWER7.
25813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25814 logbl for POWER7.
25815 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25816 powerpc32/power7/fpu/s_logb.c via #include.
25817 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25818 powerpc32/power7/fpu/s_logbf.c via #include.
25819 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25820 powerpc32/power7/fpu/s_logbl.c via #include.
25821
d20d4ac2
JM
258222012-05-15 Joseph Myers <joseph@codesourcery.com>
25823
25824 * README.libm: Remove file.
25825
6cdef1ab
L
258262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25827
25828 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25829 count for x32. Use R*_LP and omit operand-size suffix.
25830
0b254d8f
L
258312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25832
25833 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25834 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25835 * sysdeps/x86_64/x32/shlib-versions: New file.
25836
ceb809dc
RM
258372012-05-14 Roland McGrath <roland@hack.frob.com>
25838
25839 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25840 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25841 Use _dl_fatal_printf instead.
25842
37f1abd4
JM
258432012-05-14 Joseph Myers <joseph@codesourcery.com>
25844
25845 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25846 set if not set by the user. Do not allow for being unset.
25847 * sysdeps/unix/sysv/linux/configure: Regenerated.
25848
11de3a33
L
258492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25850
25851 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25852 the `q' suffix from lea and replace .quad with ASM_ADDR.
25853
e02f153a
L
258542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25855
25856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25857 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25858 instead of $17.
25859 (PTR_DEMANGLE): Likewise.
25860
520ae0fd
L
258612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25862
25863 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25864 (LP_OP): Likewise.
25865 (ASM_ADDR): Likewise.
25866 (RAX_LP): Likewise.
25867 (RBP_LP): Likewise.
25868 (RBX_LP): Likewise.
25869 (RCX_LP): Likewise.
25870 (RDI_LP): Likewise.
25871 (RSI_LP): Likewise.
25872 (RSP_LP): Likewise.
25873 (R8_LP): Likewise.
25874 (R9_LP): Likewise.
25875 (R10_LP): Likewise.
25876 (R10_LP): Likewise.
25877 (R11_LP): Likewise.
25878 (R12_LP): Likewise.
25879 (R13_LP): Likewise.
25880 (R14_LP): Likewise.
25881 (R15_LP): Likewise.
25882
b985be81
L
258832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25884
25885 * sysdeps/x86_64/x32/dl-machine.h: New file.
25886
6a4888ff
AJ
258872012-05-14 Andreas Jaeger <aj@suse.de>
25888
25889 * manual/Makefile (subdir): Remove export of subdir.
25890 (all): Remove target.
25891 (.PHONY): Remove all from list.
25892 (mkinstalldirs): Remove.
25893 (.PHONY): Remove installdirs from list.
25894 ($(inst_infodir)/libc.info): Use make-target-directory.
25895 (installdirs): Remove.
25896 (subdir_%): Remove.
25897 (glibc-targets): Remove.
25898 (lib): Remove.
25899 (stubs): Remove.
25900 ($(objpfx)stubs ../po/manual.pot): Remove.
25901 ($(objpfx)stamp%): Remove.
25902 (make-target-directory): Remove.
25903 (subdir_install): Remove.
25904 (routines): Remove.
25905 (aux): Remove.
25906 (sources): Remove.
25907 (objects): Remove.
25908 (headers): Remove.
25909
25910 [BZ #13750]
25911 * manual/.gitignore: Remove, it's not needed anymore.
25912 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25913 all files in it.
25914 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25915 directory.
25916 (texis): Renamed to $(objpfx)texis.
25917 (texis-path): New, contains path to generated files.
25918 (chapters.%): Use texis-path for complete path, add extra argument
25919 libc-texinfo.sh.
25920 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25921 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25922 (summary,texi, stamp-summary): Use complete path of
25923 files. Generate files in build dir.
25924 (dir-add.texi): Build in build dir.
25925 (libm-err.texi,stamp-libm-err): Likewise.
25926 (version.texi, stamp-version): Likewise.
25927 (.%c.texi): Likewise.
25928 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25929 (mostlyclean): Remove target.
25930 (realclean): Remove target.
25931 (generated): Add new variable with contents from mostlyclean and
25932 realclean, remove entries duplicated in common-mostlyclean, add
25933 stamp-libm-err and stamp-version.
25934 (generated-dirs): Add libc directory.
25935 ($(inst_infodir)/libc.info): Install files from build dir.
25936
25937 * manual/install.texi (Configuring and compiling): Adjust since
25938 the info files are not part of the tar ball anymore.
25939
7ac77294
AJ
259402012-05-14 Andreas Jaeger <aj@suse.de>
25941
25942 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25943 variable.
25944
ffb7875d
JM
259452012-05-14 Joseph Myers <joseph@codesourcery.com>
25946
25947 [BZ #13717]
25948 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25949 to 2.2.0 where earlier.
25950 * sysdeps/unix/sysv/linux/configure: Regenerated.
25951 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25952 Remove conditional code.
25953 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25954 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25955 Remove conditional code.
25956 [!__NR_lchown]: Likewise.
25957 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25958 [__NR_lchown]: Likewise.
25959 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25960 comment referencing __ASSUME_LCHOWN_SYSCALL.
25961 * sysdeps/unix/sysv/linux/i386/sigaction.c
25962 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25963 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25964 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25965 Remove conditional code.
25966 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25967 (__protocol_available): Remove #if 0 code.
25968 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25969 conditional code.
25970 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25971 * sysdeps/unix/sysv/linux/kernel-features.h
25972 (__ASSUME_GETCWD_SYSCALL): Don't define.
25973 (__ASSUME_REALTIME_SIGNALS): Likewise.
25974 (__ASSUME_PREAD_SYSCALL): Likewise.
25975 (__ASSUME_PWRITE_SYSCALL): Likewise.
25976 (__ASSUME_POLL_SYSCALL): Likewise.
25977 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25978 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25979 non-SPARC.
25980 (__ASSUME_SIOCGIFNAME): Don't define.
25981 (__ASSUME_MSG_NOSIGNAL): Likewise.
25982 (__ASSUME_SENDFILE): Define unconditionally.
25983 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25984 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25985 conditional code.
25986 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25987 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25988 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25989 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25990 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25991 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25992 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25997 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26006 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26009 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26012 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26017 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26018 Remove conditional code.
26019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26020 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26021 Remove conditional code.
26022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26023 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26024 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26025 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26026 Remove conditional code.
26027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26028 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26029 Remove conditional code.
26030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26031 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26032 Remove conditional code.
26033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26034 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26035 Remove conditional code.
26036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26037 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26038 Remove conditional code.
26039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26040 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26041 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26043 * sysdeps/unix/sysv/linux/sigaction.c
26044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26046 * sysdeps/unix/sysv/linux/sigpending.c
26047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26049 * sysdeps/unix/sysv/linux/sigprocmask.c
26050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26052 * sysdeps/unix/sysv/linux/sigsuspend.c
26053 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26054 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26055 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26056 (__libc_missing_rt_sigs): Remove.
26057 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26058 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26059 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26060 Remove conditional code.
26061 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26062 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26063 return 1.
26064 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26065 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26066 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26067 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26068
1bfb7291
AJ
260692012-05-14 Andreas Jaeger <aj@suse.de>
26070
caae5a81
AJ
26071 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26072 it's not used in glibc.
26073 (__coshm1): Likewise.
26074 (__acosh1p): Likewise.
26075 (__sgn): Likewise.
26076
1bfb7291
AJ
26077 * manual/string.texi (Copying and Concatenation): Add missing
26078 variable in concat example.
26079 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26080
c044d724
L
260812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26082
144c5467 26083 [BZ #14103]
c044d724
L
26084 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26085 __builtin_clzl with __builtin_clzll.
26086
2523c62b
L
260872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26088
26089 [BZ #14104]
26090 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26091 libc_freeres_ptr.
26092
d7bb4c42
LD
260932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26094
26095 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26096 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26097 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26098 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26099
9dc4e1fb
MF
261002012-05-14 Mike Frysinger <vapier@gentoo.org>
26101
26102 * NEWS: Update ia64 info.
26103
c7df0112
AS
261042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26105
26106 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26107 used as bcopy.
26108
dc70356c
TS
261092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26110
26111 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26112 * sysdeps/unix/syscalls.list (dup3): Likewise.
26113 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26114 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26115
9fb1a21f
L
261162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26117
26118 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26119 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26120
4822a2a5
L
261212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26122
26123 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26124 thread pointer.
26125 (TLS_IE): Use mov/add instead of movq/addq to load thread
26126 pointer.
26127 (TLS_GD_PREFIX): New.
26128 (TLS_GD): Use it.
26129
842b81d6
DM
261302012-05-11 David S. Miller <davem@davemloft.net>
26131
26132 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26133 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26134 (_FPU_SETCW): Likewise.
26135
1cf463cd
L
261362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26137
26138 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26139 is 32-byte aligned.
26140
60cc4a18
AS
261412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26142
26143 [BZ #11837]
26144 * iconvdata/gb18030.c: Update tables.
26145 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26146 characters specially.
26147 (BODY for TO_LOOP): Add encoding of missing ranges.
26148
febb44a4
TS
261492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26150
26151 [BZ #13673]
26152 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26153 * sysdeps/mach/hurd/dup3.c: Likewise.
26154 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26155 * sysdeps/powerpc/memmove.c:: Likewise.
26156
0a10fb9e
L
261572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26158
26159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26160 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26161
df8a552f
L
261622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26163
26164 * elf/elf.h (R_X86_64_RELATIVE64): New.
26165 (R_X86_64_NUM): Updated.
26166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26167 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26168 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26169 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26170 tst-quad1pie tst-quad2pie
26171 (modules-names): Add tst-quadmod1 tst-quadmod2.
26172 ($(objpfx)tst-quad1): New dependency.
26173 ($(objpfx)tst-quad2): Likewise.
26174 ($(objpfx)tst-quad1pie): Likewise.
26175 ($(objpfx)tst-quad2pie): Likewise.
26176 * sysdeps/x86_64/tst-quad1.c: New file.
26177 * sysdeps/x86_64/tst-quad1pie.c: New file.
26178 * sysdeps/x86_64/tst-quad2.c: Likewise.
26179 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26180 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26181 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26182 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26183 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26184
f34d6f84
ST
261852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26186
f42d41d1
ST
26187 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26188 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26189 * streams/stropts.h (t_scalar_t): Define type.
26190
3c3571fc
ST
26191 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26192 (_PATH_PRESERVE): Set to "/var/lib".
26193 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26194
61f06bd3
ST
26195 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26196 instead of int.
26197
918d4d71
ST
26198 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26199 if __dir_mkfile succeeded.
26200
f34d6f84
ST
26201 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26202 checking for _hurd_dtablesize. Unlock it right after having
26203 finished _hurd_dtable allocation.
26204
10589b4a
TS
262052012-05-10 Thomas Schwinge <thomas@schwinge.name>
26206
674cdbc7
TS
26207 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26208 * sysdeps/mach/hurd/configure: Regenerated.
26209 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26210 special-casing to...
26211 * sysdeps/gnu/configure.in: ... this new file.
26212 * sysdeps/unix/sysv/linux/configure: Regenerated.
26213 * sysdeps/gnu/configure: New generated file.
26214
8e41b99f
TS
26215 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26216 for Linux: use nsec instead of usec, as well as:
26217 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26218 members of type struct timespec.
26219 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26220 New macros.
26221 (struct stat64): Likewise.
26222 (_STATBUF_ST_NSEC): New macro.
26223 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26224
10589b4a
TS
26225 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26226 __strtoul_internal rather than strtoul.
26227
63643c85
PT
262282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26229
26230 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26231 and reject them.
26232
3faebe6a
ST
262332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26234
26235 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26236 which preserves existing values.
26237 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26238
c6474b07
PT
262392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26240
26241 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26242 TIMEOUT values. Return EINVAL for NFDS values either negative or
26243 greater than FD_SETSIZE.
26244
1043890b
ST
262452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26246
26247 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26248 allocated, call __vm_protect to finish enabling the existing space, and
26249 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26250 allocate the remainder.
26251
37ed8b9b
PT
262522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26253
26254 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26255 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26256
db653660
ST
262572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26258
37ed8b9b
PT
26259 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26260 sysdeps/mach/hurd/readlink.c.
b29d4053 26261
db653660
ST
26262 * posix/tst-sysconf.c (posix_options): Only use
26263 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26264 _POSIX_SYNCHRONIZED_IO when they are defined
26265 * sysdeps/mach/hurd/bits/posix_opt.h:
26266 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26267 (_XOPEN_REALTIME): Undefine macro.
26268 (_XOPEN_REALTIME_THREADS): Undefine macro.
26269 (_XOPEN_SHM): Undefine macro.
26270 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26271 macro to -1.
26272 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26273 macro to -1.
26274 (_POSIX_ASYNC_IO): Undefine macro.
26275 (_POSIX_PRIORITIZED_IO): Undefine macro.
26276 (_POSIX_SPIN_LOCKS): Define macro to -1.
26277
ee16e894
ST
26278 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26279 SA_NODEFER, SA_RESETHAND.
26280 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26281 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26282 F_DUPFD_CLOEXEC.
26283
6103ae3b
TS
262842012-05-10 Thomas Schwinge <thomas@schwinge.name>
26285
26286 * elf/Makefile (pldd-modules): Define unconditionally.
26287
80b4e5f3
TS
262882012-05-10 Thomas Schwinge <thomas@schwinge.name>
26289
26290 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26291
edadcbd6
ST
262922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26293
26294 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26295 Return ENOENT when name is empty.
26296 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26297
80694780
TS
262982012-05-10 Thomas Schwinge <thomas@schwinge.name>
26299
1792c087
TS
26300 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26301
80694780
TS
26302 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26303
6b645f0d
ST
263042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26305
80694780
TS
26306 Fix mlock in all cases except non-readable pages.
26307 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26308 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26309
6b645f0d
ST
26310 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26311 (__mkdir): When path is `/', just fail with EEXIST.
26312 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26313
e468f8a3
TS
263142012-05-10 Thomas Schwinge <thomas@schwinge.name>
26315
26316 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26317 <sys/uio.h> (for writev).
26318 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26319 and <sys/param.h> (for MIN).
26320
a4186cff
PT
263212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26322
26323 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26324 REQUESTED_TIME. Properly set the remaining time and return EINTR
26325 if interrupted.
26326
510bbf14
TS
263272012-05-10 Thomas Schwinge <thomas@schwinge.name>
26328
26329 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26330 Depend on against $(link-rpcuserlibs).
26331
5d5722e8
ST
263322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26333
a4186cff
PT
26334 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26335 (__libc_stack_end): Do not use attribute_relro.
26336 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26337 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26338 to libthread-provided value.
a4186cff
PT
26339 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26340 attribute_relro.
5d5722e8 26341
37233df9
TS
263422012-05-10 Thomas Schwinge <thomas@schwinge.name>
26343
be971a2b
TS
26344 [BZ #3748]
26345 * bits/libc-lock.h (__libc_once_get): New macro.
26346 * sysdeps/mach/bits/libc-lock.h: Likewise.
26347 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26348 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26349 instead of using implementation details.
26350
37233df9
TS
26351 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26352 * libio/freopen.c: Likewise.
26353 * libio/freopen64.c: Likewise.
26354 * misc/syslog.c: Likewise.
26355 * nscd/connections.c: Likewise.
26356 * nscd/netgroupcache.c: Likewise.
26357 * sysdeps/posix/getcwd.c: Likewise.
26358
38de94a5
RM
263592012-05-10 Roland McGrath <roland@hack.frob.com>
26360
26361 * math/w_ilogbf.c: Add #include <limits.h>.
26362
67530489
ST
263632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26364
a4186cff 26365 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26366 path instead of returning without unlocking.
26367
67530489
ST
26368 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26369 immediate-write ioctls.
26370 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26371
5aa3a74a
TS
263722012-05-10 Thomas Schwinge <thomas@schwinge.name>
26373
18bad2ae
TS
26374 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26375 __builtin_frame_address instead of making assumptions about the
26376 location of the return address relative to DATA. Force early load of
26377 the return address.
26378 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26379 __builtin_frame_address.
26380
5aa3a74a
TS
26381 dup3 for GNU Hurd.
26382 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26383 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26384 implement dup3 and do some further code clean-ups.
26385 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26386 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26387
ecd0de9a
ST
263882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26389
cd9fa985
ST
26390 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26391
a4186cff
PT
26392 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26393 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26394 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26395 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26396 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26397 d->port.lock.
802ca5a5 26398
a4186cff
PT
26399 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26400 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26401 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26402
bcf55240
TS
264032012-05-10 Thomas Schwinge <thomas@schwinge.name>
26404
6960eb42
TS
26405 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26406 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26407 definitions.
26408
eb43375f
TS
26409 accept4 for GNU Hurd.
26410 * include/sys/socket.h (__libc_accept4): New prototype.
26411 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26412 to implement __libc_accept4.
26413 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26414 __libc_accept4.
26415 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26416
bcf55240
TS
26417 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26418 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26419 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26420 signal-defines.sym.
26421
6178c55b
ST
264222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26423
a4186cff 26424 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26425
6f080c2f
TS
264262012-05-10 Thomas Schwinge <thomas@schwinge.name>
26427
26428 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26429 assertion on O_CLOEXEC flag.
26430 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26431 * hurd/intern-fd.c: Likewise.
26432 * hurd/port2fd.c: Likewise.
26433
bcfe3a54
ST
264342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26435
26436 [BZ #3906]
26437 * bits/in.h (IPV6_PKTINFO): Define new macro.
26438 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26439
89c9aa49
AZ
264402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26441
26442 [BZ #13954]
26443 [BZ #13955]
26444 [BZ #13956]
26445 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26447 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26448 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26450 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26451 * math/libm-test.inc (logb_test) : Additional logb tests.
26452
021db4be
AJ
264532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26454 Andreas Jaeger <aj@suse.de>
26455
26456 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26457 * configure: Regenerated.
26458 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26459 * config.make.in (link-obsolete-rpc): New substituted variable.
26460 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26461 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26462 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26463 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26464 so that libc.a contains the symbols.
26465 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26466 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26467 * sunrpc/auth_none.c: Likewise.
26468 * sunrpc/auth_unix.c: Likewise.
26469 * sunrpc/authdes_prot.c: Likewise.
26470 * sunrpc/authuxprot.c: Likewise.
26471 * sunrpc/clnt_gen.c: Likewise.
26472 * sunrpc/clnt_perr.c: Likewise.
26473 * sunrpc/clnt_raw.c: Likewise.
26474 * sunrpc/clnt_simp.c: Likewise.
26475 * sunrpc/clnt_tcp.c: Likewise.
26476 * sunrpc/clnt_udp.c: Likewise.
26477 * sunrpc/clnt_unix.c: Likewise.
26478 * sunrpc/des_crypt.c: Likewise.
26479 * sunrpc/des_soft.c: Likewise.
26480 * sunrpc/get_myaddr.c: Likewise.
26481 * sunrpc/key_call.c: Likewise.
26482 * sunrpc/key_prot.c: Likewise.
26483 * sunrpc/netname.c: Likewise.
26484 * sunrpc/pm_getmaps.c: Likewise.
26485 * sunrpc/pm_getport.c: Likewise.
26486 * sunrpc/pmap_clnt.c: Likewise.
26487 * sunrpc/pmap_prot.c: Likewise.
26488 * sunrpc/pmap_prot2.c: Likewise.
26489 * sunrpc/pmap_rmt.c: Likewise.
26490 * sunrpc/publickey.c: Likewise.
26491 * sunrpc/rpc_cmsg.c: Likewise.
26492 * sunrpc/rpc_common.c: Likewise.
26493 * sunrpc/rpc_dtable.c: Likewise.
26494 * sunrpc/rpc_prot.c: Likewise.
26495 * sunrpc/rpc_thread.c: Likewise.
26496 * sunrpc/rtime.c: Likewise.
26497 * sunrpc/svc.c: Likewise.
26498 * sunrpc/svc_auth.c: Likewise.
26499 * sunrpc/svc_raw.c: Likewise.
26500 * sunrpc/svc_run.c: Likewise.
26501 * sunrpc/svc_tcp.c: Likewise.
26502 * sunrpc/svc_udp.c: Likewise.
26503 * sunrpc/svc_unix.c: Likewise.
26504 * sunrpc/svcauth_des.c: Likewise.
26505 * sunrpc/xcrypt.c: Likewise.
26506 * sunrpc/xdr.c: Likewise.
26507 * sunrpc/xdr_array.c: Likewise.
26508 * sunrpc/xdr_float.c: Likewise.
26509 * sunrpc/xdr_intXX_t.c: Likewise.
26510 * sunrpc/xdr_mem.c: Likewise.
26511 * sunrpc/xdr_rec.c: Likewise.
26512 * sunrpc/xdr_ref.c: Likewise.
26513 * sunrpc/xdr_sizeof.c: Likewise.
26514 * sunrpc/xdr_stdio.c: Likewise.
26515
b5c086a2
RM
265162012-05-10 Roland McGrath <roland@hack.frob.com>
26517
26518 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26519 change. Update copyright years.
26520
6d74dd09
JM
265212012-05-10 Joseph Myers <joseph@codesourcery.com>
26522
26523 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26524
28e72501
MK
265252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26526 Joseph Myers <joseph@codesourcery.com>
26527 Paul Pluzhnikov <ppluzhnikov@google.com>
26528
26529 [BZ #14012]
26530 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26531 requiring rpcgen.
26532 [cross-compiling] (extra-libs): Likewise.
26533 [cross-compiling] (extra-libs-others): Likewise.
26534 [cross-compiling] (librpcsvc-routines): Likewise.
26535 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26536 [cross-compiling] (omit-deps): Likewise.
26537 (sunrpc-CPPFLAGS): New variable.
26538 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26539 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26540 (cross-rpcgen-objs): New variable.
26541 (extra-objs): Append $(cross-rpcgen-objs).
26542 ($(cross-rpcgen-objs)): New rule.
26543 ($(objpfx)cross-rpcgen): Likewise.
26544 (rpcgen-cmd): Define to use $(built-program-file). Expand
26545 comment.
26546 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26547 ($(objpfx)x%.stmp): Likewise.
26548 * sunrpc/proto.h [IS_IN_build] (_): Define.
26549 [IS_IN_build] (_libc_intl_domainname): Likewise.
26550
c8c59454
L
265512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26552
26553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26554 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26555 and R_X86_64_TPOFF64.
26556
6f27cd16
JM
265572012-05-10 Joseph Myers <joseph@codesourcery.com>
26558
26559 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26560 sysdeps/unix/sysv/syscalls.list.
26561 (stime): Likewise.
26562 (utime): Likewise.
26563 * sysdeps/unix/sysv/syscalls.list: Remove file.
26564
02467e1c
PE
265652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26566
26567 [BZ #3440]
26568 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26569 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26570 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26571 (__LC_IDENTIFICATION): Make these macros useful in #if
26572 expressions, as required by C99.
26573
da392631
AS
265742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26575
26576 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26577 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26578 after this.
26579
8115f29b
L
265802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26581
26582 * stdlib/longlong.h: Updated from GCC.
26583
bdd74070
AJ
265842012-05-09 Andreas Jaeger <aj@suse.de>
26585
edfe0dbe
AJ
26586 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26587 default is first entry.
26588 (run_mode): Set type.
26589 (main): Remove informal message about syslog.
26590 (options): Fix typo.
26591
bcfe3a54
ST
26592 [BZ #14053]
26593 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26594 to asm.
bcfe3a54
ST
26595 (lrint): Likewise.
26596 (llrintf): Likewise.
26597 (llrint): Likewise.
26598 (rint): Likewise.
26599 (rintf): Likewise.
26600 (nearbyint): Likewise.
26601 (nearbyintf): Likewise.
bdd74070 26602
91d8d69e
AJ
266032012-05-09 Andreas Jaeger <aj@suse.de>
26604 Pedro Alves <palves@redhat.com>
26605
26606 * nscd/nscd.c (run_mode): Use enum.
26607 (main): Cleanup coding style issue.
26608
bb90b80b
AJ
266092012-05-09 Alexandre Oliva <aoliva@redhat.com>
26610 Andreas Jaeger <aj@suse.de>
26611
bcfe3a54
ST
26612 * nscd/nscd.c (go_background): Replaced with...
26613 (run_mode): ... this.
bb90b80b 26614 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26615 (options): Add -F --foreground.
26616 (main): Implement it.
26617 (parse_opt): Parse it.
bb90b80b 26618
1a4b75a1
AJ
266192012-05-09 Andreas Jaeger <aj@suse.de>
26620
26621 [BZ #14083]
26622 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26623 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26624 -Wconversion warning.
26625 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26626 Likewise.
26627
b1cc2472
JM
266282012-05-09 Joseph Myers <joseph@codesourcery.com>
26629
26630 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26631 == 0.
26632 (LC_ALL): Use macro-int-constant.
26633 (LC_COLLATE): Likewise.
26634 (LC_CTYPE): Likewise.
26635 (LC_MESSAGES): Likewise.
26636 (LC_MONETARY): Likewise.
26637 (LC_NUMERIC): Likewise.
26638 (LC_TIME): Likewise.
26639 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26640 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26642 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26643 Specify type.
26644 [C99-based standards] (float_t): Expect type.
26645 [C99-based standards] (double_t): Expect type.
26646 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26647 type.
26648 [C99-based standards] (HUGE_VALL): Likewise.
26649 [C99-based standards] (INFINITY): Likewise.
26650 [C99-based standards] (NAN): Likewise.
26651 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26652 [C99-based standards] (FP_NAN): Likewise.
26653 [C99-based standards] (FP_NORMAL): Likewise.
26654 [C99-based standards] (FP_SUBNORMAL): Likewise.
26655 [C99-based standards] (FP_ZERO): Likewise.
26656 [C99-based standards] (FP_FAST_FMA): Use
26657 optional-macro-int-constant. Specify type. Require == 1.
26658 [C99-based standards] (FP_FAST_FMAF): Likewise.
26659 [C99-based standards] (FP_FAST_FMAL): Likewise.
26660 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26661 [C99-based standards] (FP_ILOGBNAN): Likewise.
26662 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26663 Specify type.
26664 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26665 [C99-based standards] (math_errhandling): Specify type.
26666 [ISO99 || ISO11] (signgam): Do not allow.
26667 [non-C99-based standards] (copysignf): Do not allow.
26668 [non-C99-based standards] (exp2f): Likewise.
26669 [non-C99-based standards] (log2f): Likewise.
26670 [non-C99-based standards] (modff): Allow.
26671 [non-C99-based standards] (erff): Do not allow.
26672 [non-C99-based standards] (erfcf): Likewise.
26673 [non-C99-based standards] (gammaf): Likewise.
26674 [non-C99-based standards] (hypotf): Likewise.
26675 [non-C99-based standards] (j0f): Likewise.
26676 [non-C99-based standards] (j1f): Likewise.
26677 [non-C99-based standards] (jnf): Likewise.
26678 [non-C99-based standards] (lgammaf): Likewise.
26679 [non-C99-based standards] (tgammaf): Likewise.
26680 [non-C99-based standards] (y0f): Likewise.
26681 [non-C99-based standards] (y1f): Likewise.
26682 [non-C99-based standards] (ynf): Likewise.
26683 [non-C99-based standards] (isnanf): Likewise.
26684 [non-C99-based standards] (acoshf): Likewise.
26685 [non-C99-based standards] (asinhf): Likewise.
26686 [non-C99-based standards] (atanhf): Likewise.
26687 [non-C99-based standards] (cbrtf): Likewise.
26688 [non-C99-based standards] (expm1f): Likewise.
26689 [non-C99-based standards] (ilogbf): Likewise.
26690 [non-C99-based standards] (log1pf): Likewise.
26691 [non-C99-based standards] (logbf): Likewise.
26692 [non-C99-based standards] (nextafterf): Likewise.
26693 [non-C99-based standards] (remainderf): Likewise.
26694 [non-C99-based standards] (rintf): Likewise.
26695 [non-C99-based standards] (scalbf): Likewise.
26696 [non-C99-based standards] (copysignl): Likewise.
26697 [non-C99-based standards] (exp2l): Likewise.
26698 [non-C99-based standards] (log2l): Likewise.
26699 [non-C99-based standards] (modfl): Allow.
26700 [non-C99-based standards] (erfl): Do not allow.
26701 [non-C99-based standards] (erfcl): Likewise.
26702 [non-C99-based standards] (gammal): Likewise.
26703 [non-C99-based standards] (hypotl): Likewise.
26704 [non-C99-based standards] (j0l): Likewise.
26705 [non-C99-based standards] (j1l): Likewise.
26706 [non-C99-based standards] (jnl): Likewise.
26707 [non-C99-based standards] (lgammal): Likewise.
26708 [non-C99-based standards] (tgammal): Likewise.
26709 [non-C99-based standards] (y0l): Likewise.
26710 [non-C99-based standards] (y1l): Likewise.
26711 [non-C99-based standards] (ynl): Likewise.
26712 [non-C99-based standards] (isnanl): Likewise.
26713 [non-C99-based standards] (acoshl): Likewise.
26714 [non-C99-based standards] (asinhl): Likewise.
26715 [non-C99-based standards] (atanhl): Likewise.
26716 [non-C99-based standards] (cbrtl): Likewise.
26717 [non-C99-based standards] (expm1l): Likewise.
26718 [non-C99-based standards] (ilogbl): Likewise.
26719 [non-C99-based standards] (log1pl): Likewise.
26720 [non-C99-based standards] (logbl): Likewise.
26721 [non-C99-based standards] (nextafterl): Likewise.
26722 [non-C99-based standards] (remainderl): Likewise.
26723 [non-C99-based standards] (rintl): Likewise.
26724 [non-C99-based standards] (scalbl): Likewise.
26725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26726 [non-C99-based standards] (FP_*): Do not allow.
26727 [C99-based standards] (FP_*): Change to
26728 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26729 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26730 allow.
26731 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26732 (SIG_ERR): Likewise.
26733 [X/Open-based standards] (SIG_HOLD): Likewise.
26734 (SIG_IGN): Likewise.
26735 (SIGABRT): Use macro-int-constant. Specify type. Require
26736 positive value.
26737 (SIGFPE): Likewise.
26738 (SIGILL): Likewise.
26739 (SIGINT): Likewise.
26740 (SIGSEGV): Likewise.
26741 (SIGTER): Likewise.
26742 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26743 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26744 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26745 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26746 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26747 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26748 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26749 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26750 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26751 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26752 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26753 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26754 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26755 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26756 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26757 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26758 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26759 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26760 [X/Open-based standards] (SIGTRAP): Likewise.
26761 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26762 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26763 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26764 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26765 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26766 allow.
26767
b9f1922d
IW
267682012-05-08 Ian Wienand <ianw@vmware.com>
26769
26770 [BZ #14080]
26771 * time/tzset.c (__tzset_parse_tz): Update default rules for
26772 daylight time changes in the Energy Policy Act of 2005.
26773
1db86e88
AJ
267742012-05-09 Andreas Jaeger <aj@suse.de>
26775
26776 [BZ #13983]
26777 * elf/ldconfig.c (parse_conf): Change string to make clear that
26778 ldconfig only issued a warning if ld.so.conf does not exist.
26779
dee4a4e3
DM
267802012-05-08 David S. Miller <davem@davemloft.net>
26781
ee0db190
DM
26782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26783 movxtod instead of popping the value on the stack.
26784
dee4a4e3
DM
26785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26786
6a43ec98
CD
267872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26788
26789 * config.h.in: Add HAVE_ARM_PCS_VFP.
26790
05c2c961
RMG
267912012-05-08 Roland Mc Grath <roland@hack.frob.com>
26792
bcfe3a54
ST
26793 [BZ #13979]
26794 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26795 checking but the checks are disabled for any reason.
05c2c961 26796
4b30f61a
L
267972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26798
26799 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26800 and ELF64_R_TYPE with ELFW(R_TYPE).
26801
eee2bc67
JM
268022012-05-08 Joseph Myers <joseph@codesourcery.com>
26803
7ea5391a
JM
26804 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26805 (ulimit): Likewise.
26806
eee2bc67
JM
26807 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26808 (settimeofday): Likewise.
26809
abb66a67
MF
268102012-05-08 Mike Frysinger <vapier@gentoo.org>
26811
26812 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26813 a struct th_u2 inside the union, and move tu_block/tu_code into
26814 a new th_u3 union of tu_block/tu_code inside of that. Move
26815 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26816 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26817 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26818 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26819 (th_stuff): Change to th_u1.tu_stuff.
26820 (th_data): Define.
26821 (th_msg): Change to th_u1.th_u2.tu_data.
26822
7f18b530
DM
268232012-05-07 David S. Miller <davem@davemloft.net>
26824
05760585
DM
26825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26826
7f18b530
DM
26827 [BZ #14074]
26828 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26829 (SETUP_PIC_REG): Use it.
26830 (SETUP_PIC_REG_LEAF): Use it.
26831
495fd99f
JM
268322012-05-07 Joseph Myers <joseph@codesourcery.com>
26833
26834 [BZ #13885]
26835 [BZ #13923]
26836 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26837 USE_AS_EXPM1L.
26838 (EXPL_FINITE): Likewise.
26839 (FLDLOG): Likewise.
26840 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26841 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26842 e_expl.S.
26843 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26844 USE_AS_EXPM1L.
26845 (EXPL_FINITE): Likewise.
26846 (FLDLOG): Likewise.
26847 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26848 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26849 e_expl.S.
26850 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26851 test of -max_value argument for long double.
26852 * sysdeps/i386/fpu/libm-test-ulps: Update.
26853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26854
6693d694
DM
268552012-05-06 David S. Miller <davem@davemloft.net>
26856
26857 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26858 quad soft-float symbols whose references which are compiler
26859 generated.
26860 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26861
6c23e11c
JM
268622012-05-06 Joseph Myers <joseph@codesourcery.com>
26863
d8b82cad
JM
26864 [BZ #13884]
26865 [BZ #13914]
26866 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26867 USE_AS_EXP10L.
26868 (EXPL_FINITE): Likewise.
26869 (FLDLOG): Likewise.
26870 (c0): Likewise.
26871 (c1): Likewise.
26872 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26873 Adjust comments for base varying.
26874 (__expl_finite): Change alias to EXPL_FINITE.
26875 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26876 e_expl.S.
26877 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26878 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26879 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26880 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26881 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26882 USE_AS_EXP10L.
26883 (EXPL_FINITE): Likewise.
26884 (FLDLOG): Likewise.
26885 (c0): Likewise.
26886 (c1): Likewise.
26887 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26888 Adjust comments for base varying.
26889 (__expl_finite): Change alias to EXPL_FINITE.
26890 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26891 tests for bugs.
26892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26893
6c23e11c
JM
26894 [BZ #14064]
26895 * math/libm-test.inc (check_float_internal): Correct ulp
26896 calculation for subnormal expected results.
26897
29ba805c
AJ
268982012-05-06 Andreas Jaeger <aj@suse.de>
26899
26900 * Makeconfig (+math-flags): New, set to -frounding-math.
26901 (+cflags): Add +math-flags so that all of glibc gets compiled with
26902 it.
26903
26904 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26905
7b17aeda
JM
269062012-05-05 Joseph Myers <joseph@codesourcery.com>
26907
5779f134
JM
26908 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26909 Disable one test.
26910
41498f4d
JM
26911 [BZ #13787]
26912 [BZ #13922]
26913 [BZ #14036]
26914 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26915 (__ieee754_expl): Allow for and saturate large arguments.
26916 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26917 (u_threshold): Likewise.
26918 (__exp): Call __ieee754_exp before checking for overflow and
26919 underflow.
26920 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26921 (u_threshold): Likewise.
26922 (__expf): Call __ieee754_expf before checking for overflow and
26923 underflow.
26924 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26925 (u_threshold): Likewise.
26926 (__expl): Call __ieee754_expl before checking for overflow and
26927 underflow.
26928 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26929 (__ieee754_expl): Allow for and saturate large arguments.
26930 * math/libm-test.inc (exp_test): Add another test. Do not allow
26931 missing overflow exception on overflow.
26932 (expm1_test): Do not allow missing overflow exception on overflow.
26933
6698b8bf
JM
26934 * sysdeps/i386/fpu/e_expl.c: Move to ...
26935 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26936 rather than using inline asm.
26937 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26938 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26939 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26940
7b17aeda
JM
26941 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26942 (nice): Likewise.
26943 (poll): Likewise.
26944 (signal): Likewise.
26945 (time): Likewise.
26946 (times): Likewise.
26947
f7c85819
JM
269482012-05-04 Joseph Myers <joseph@codesourcery.com>
26949
26950 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26951 sysdeps/unix/common/syscalls.list.
26952 (fchmod): Likewise.
26953 (fchown): Likewise.
26954 (ftruncate): Likewise.
26955 (getrusage): Likewise.
26956 (gettimeofday): Likewise.
26957 (setpgid): Likewise.
26958 (setregid): Likewise.
26959 (setreuid): Likewise.
26960 (sigaction): Likewise.
26961 (truncate): Likewise.
26962 (vhangup): Likewise.
26963 * sysdeps/unix/common/syscalls.list: Remove file.
26964 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26965 * sysdeps/unix/sysv/linux/Implies: Likewise.
26966
336270d0
L
269672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26968
26969 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26971 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26972 Moved to ...
26973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26974 Here.
26975 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26976 to ...
26977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26978 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26979 to ...
26980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26981 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26982 to ...
26983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26984 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26985 to ...
26986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26987 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26988 to ...
26989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26990 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26991 to ...
26992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26993 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26994 to ...
26995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26996 Here.
26997 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26998 to ...
26999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27000 Here.
27001 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27002 to ...
27003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27004 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27005 Moved to ...
27006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27007 Here.
27008 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27009 to ...
27010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27011
d128e450
JM
270122012-05-04 Joseph Myers <joseph@codesourcery.com>
27013
fa8ee516
JM
27014 * sysdeps/unix/common/bits/dirent.h: Remove file.
27015 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27016
d128e450
JM
27017 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27018 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27019 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27020 * sysdeps/unix/bsd/isatty.c: Likewise.
27021 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27022 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27023 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27024
ff8faaf0 270252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27026
62881be4 27027 [BZ #13563]
31dc8730
AZ
27028 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27029 long double comparison inaccuracies.
27030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27032
6fef930c
AS
270332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27034
27035 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27036 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27037
8f203e6c
JM
270382012-05-04 Joseph Myers <joseph@codesourcery.com>
27039
27040 [BZ #14049]
27041 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27042 nonzero digits before rounding a hex value.
27043 * stdlib/tst-strtod.c (tests): Add another test.
27044
5197d9c2
AK
270452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27046
27047 * sysdeps/s390/fpu/libm-test-ulps: Update.
27048
f0c1dedf
AJ
270492012-05-03 Andreas Jaeger <aj@suse.de>
27050
27051 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27052 does not get optimized out.
27053 (malloc_opt_barrier): New.
27054
a65ef2ae 270552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27056 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27057
2b942cb7 27058 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27059 intermediate file deletion.
2b942cb7 27060 (generated): Add .symlist files.
a65ef2ae 27061
54b71e02
JM
270622012-05-03 Joseph Myers <joseph@codesourcery.com>
27063
27064 [BZ #13775]
27065 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27066 Redirect under this condition.
27067 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27068 [__USE_GNU] (__dprintf_chk): Not under this condition.
27069 [__USE_GNU] (__vdprintf_chk): Likewise.
27070 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27071 under this condition.
27072 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27073 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27074 [__USE_XOPEN2K8] (vdprintf): Likewise.
27075 [__USE_GNU] (__dprintf_chk): Not under this condition.
27076 [__USE_GNU] (__vdprintf_chk): Likewise.
27077 [__USE_GNU] (dprintf): Likewise.
27078 [__USE_GNU] (vdprintf): Likewise.
27079
d3dfcc41
RM
270802012-05-03 Roland McGrath <roland@hack.frob.com>
27081
27082 * elf/Makefile (common-generated): Set this instead of generated for
27083 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27084 $(all-built-dso)-derived lists.
27085
7ac30cc5
AJ
270862012-05-03 Andreas Jaeger <aj@suse.de>
27087
0c51e550
AJ
27088 * sysdeps/i386/fpu/libm-test-ulps: Update.
27089
7ac30cc5
AJ
27090 * FAQ: Removed.
27091 * FAQ.in: Likewise.
27092 * scripts/gen-FAQ.pl: Likewise.
27093 * manual/install.texi (Installation): Point to online location of
27094 FAQ.
27095 * Makefile (files-for-dist): Remove FAQ.
27096 (FAQ): Remove.
27097
d4c2917f
AM
270982012-05-02 Allan McRae <allan@archlinux.org>
27099
27100 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27101 (LDFLAGS-reldepmod5.so): Likewise.
27102 (LDFLAGS-reldep6mod1.so): Likewise.
27103 (LDFLAGS-reldep6mod4.so): Likewise.
27104 (LDFLAGS-reldep8mod3.so): Likewise.
27105 (LDFLAGS-unload4mod1.so): Likewise.
27106 (LDFLAGS-unload4mod2.so): Likewise.
27107 (LDFLAGS-tst-initorder): Likewise.
27108 (LDFLAGS-tst-initordera2.so): Likewise.
27109 (LDFLAGS-tst-initordera3.so): Likewise.
27110 (LDFLAGS-tst-initordera4.so): Likewise.
27111 (LDFLAGS-tst-initorderb2.so): Likewise.
27112 (LDFLAGS-noload): Likewise.
27113 (LDFLAGS-next): Likewise.
27114 (LDFLAGS-order2mod1.so): Likewise.
27115 (LDFLAGS-order2mod2.so): Likewise.
27116 (LDFLAGS-tst-initorder2): Likewise.
27117 (LDFLAGS-tst-initorder2a.so): Likewise.
27118 (LDFLAGS-tst-initorder2b.so): Likewise.
27119 (LDFLAGS-tst-initorder2c.so): Likewise.
27120 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27121
d77f993f
DM
271222012-05-02 David S. Miller <davem@davemloft.net>
27123
27124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27125
171a70b4
PP
271262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27127
27128 [BZ #14055]
27129 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27130
0be196ad
AJ
271312012-05-02 Andreas Jaeger <aj@suse.de>
27132
27133 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27134 since we manipulate rounding mode.
27135 (CPPFLAGS-test-idouble.c): Likewise.
27136 (CPPFLAGS-test-ifloat.c): Likewise.
27137 (CFLAGS-test-ldouble.c): Likewise.
27138 (CFLAGS-test-double.c): Likewise.
27139 (CFLAGS-test-float.c): Likewise.
27140 (CFLAGS-test-misc.c): Likewise.
27141 (CFLAGS-test-test-fenv.c): Likewise.
27142
4f9d04aa
AZ
271432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27144
2b942cb7
RM
27145 [BZ #2550]
27146 [BZ #2570]
27147 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27148 comparisons to determine direction to adjust input.
4f9d04aa 27149
82a79e7d
RM
271502012-05-01 Roland McGrath <roland@hack.frob.com>
27151
f5a01ca9
RM
27152 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27153 output to the target.
27154
90fe4186
RM
27155 * scripts/localplt.awk: New file.
27156 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27157 (check-localplt-CFLAGS): Variable removed.
27158 ($(all-built-dso:=.jmprel)): New static pattern rule.
27159 (generated): Add those targets.
27160 (localplt-built-dso): New variable.
27161 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27162
27163 * elf/check-localplt.c: File removed.
27164
82397ed6
RM
27165 * scripts/check-execstack.awk: New file.
27166 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27167 (check-execstack-CFLAGS): Variable removed.
27168 ($(objpfx)check-execstack.h): Target removed.
27169 ($(objpfx)execstack-default): New target.
27170 (generated): Add that instead of check-execstack.h.
27171 ($(all-built-dso:=.phdr)): New static pattern rule.
27172 (generated): Add those targets.
27173 * elf/check-execstack.c: File removed.
27174
82a79e7d
RM
27175 * scripts/check-textrel.awk: New file.
27176 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27177 (check-textrel-CFLAGS): Variable removed.
27178 (all-built-dso): Use := to define.o
27179 ($(all-built-dso:=.dyn)): New static pattern rule.
27180 (generated): Add those targets.
27181 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27182 * config.make.in (READELF): New substituted variable.
27183 * elf/check-textrel.c: File removed.
27184
62fde54f 271852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27186
615605c9
JM
27187 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27188 allow.
27189 * conform/data/ctype.h-data [C99-based standards] (isblank):
27190 Expect function.
27191 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27192 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27194 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27195 Specify type. Require positive value.
27196 (EILSEQ): Likewise.
27197 (ERANGE): Likewise.
27198 [ISO || POSIX] (EILSEQ): Do not expect.
27199 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27200 Specify type. Require positive value.
27201 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27202 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27203 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27204 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27205 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27206 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27207 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27208 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27209 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27210 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27211 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27212 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27213 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27214 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27215 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27216 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27217 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27218 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27219 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27220 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27221 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27222 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27223 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27224 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27228 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27229 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27230 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27231 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27233 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27234 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27235 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27236 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27237 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27238 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27239 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27240 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27241 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27242 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27243 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27248 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27249 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27250 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27251 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27252 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27253 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27254 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27256 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27257 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27258 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27259 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27260 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27263 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27266 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27268 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27269 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27270 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27271 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27272 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27273 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27274 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27275 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27276 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27277 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27278 Require >= 2.
27279 (FLT_ROUNDS): Expect as macro, not constant.
27280 (FLT_MANT_DIG): Use macro-int-constant.
27281 (DBL_MANT_DIG): Likewise.
27282 (LDBL_MANT_DIG): Likewise.
27283 (FLT_DIG): Likewise.
27284 (DBL_DIG): Likewise.
27285 (LDBL_DIG): Likewise.
27286 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27287 (DBL_MIN_EXP): Likewise.
27288 (LDBL_MIN_EXP): Likewise.
27289 (FLT_MAX_EXP): Use macro-int-constant.
27290 (DBL_MAX_EXP): Likewise.
27291 (LDBL_MAX_EXP): Likewise.
27292 (FLT_MAX_10_EXP): Likewise.
27293 (DBL_MAX_10_EXP): Likewise.
27294 (LDBL_MAX_10_EXP): Likewise.
27295 (FLT_MAX): Use macro-constant.
27296 (DBL_MAX): Likewise.
27297 (LDBL_MAX): Likewise.
27298 (FLT_EPSILON): Use macro-constant. Give upper bound.
27299 (DBL_EPSILON): Likewise.
27300 (LDBL_EPSILON): Likewise.
27301 (FLT_MIN): Likewise.
27302 (DBL_MIN): Likewise.
27303 (LDBL_MIN): Likewise.
27304 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27305 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27306 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27307 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27308 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27309 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27310 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27311 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27312 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27313 [ISO11] (FLT_TRUE_MIN): Likewise.
27314 [ISO11] (LDBL_TRUE_MIN): Likewise.
27315 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27316 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27317 (SCHAR_MIN): Use macro-int-constant. Specify type.
27318 (SCHAR_MAX): Likewise.
27319 (UCHAR_MAX): Likewise.
27320 (CHAR_MIN): Likewise.
27321 (CHAR_MAX): Likewise.
27322 (MB_LEN_MAX): Use macro-int-constant.
27323 (SHRT_MIN): Use macro-int-constant. Specify type.
27324 (SHRT_MAX): Likewise.
27325 (USHRT_MAX): Likewise.
27326 (INT_MAX): Likewise.
27327 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27328 bound negative.
27329 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27330 bound with "U".
27331 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27332 bound with "L".
27333 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27334 bound negative. Suffix upper bound with "L".
27335 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27336 bound with "UL".
27337 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27338 Specify type.
27339 [C99-based standards] (LLONG_MAX): Likewise.
27340 [C99-based standards] (ULLONG_MAX): Likewise.
27341 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27342 == 0.
27343 [ISO11] (max_align_t): Require type.
27344 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27345
c9140a62
JM
27346 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27347 from $CFLAGS, without defining away __attribute__ calls.
27348 (checknamespace): Use $CFLAGS_namespace.
27349
9af0bf29
JM
27350 * conform/conformtest.pl (@keywords): Only include C99 keywords
27351 for standards based on C99 or C11.
27352
343222a2
JM
27353 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27354 Disable tests.
27355 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27356 UNIX98]: Likewise.
27357
661f8cf0
JM
27358 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27359 usability of symbols in #if.
27360
ee74b9cb
JM
27361 * conform/conformtest.pl: If macro or constant types start
27362 "promoted:", expect the symbol to be of the following type
27363 promoted by the integer promotions.
62fde54f 27364
aafc49b3
JM
27365 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27366 in one place. Also handle "macro-constant".
27367
fefdf574
JM
27368 * conform/conformtest.pl: Only accept expected macro values with
27369 "==". Parse all "macro" lines in one place.
27370 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27371
f2d922fe
JM
27372 * conform/conformtest.pl: Handle braced types on "constant" lines
27373 instead of handling "typed-constant".
27374 * conform/data/signal.h-data: Use "constant" instead of
27375 "typed-constant".
27376
d22956c9
JM
27377 * conform/conformtest.pl: Handle "optional-" at start of lines in
27378 one place rather than duplicating several cases. Handle each
27379 format of "macro" line with initial "optional-".
27380
028e2e38
JM
27381 * conform/conformtest.pl: Only accept expected constant or
27382 optional-constant values with "==". Parse all "constant" lines in
27383 one place. Parse all "optional-constant" lines in one place.
27384 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27385 * conform/data/fmtmsg.h-data: Likewise.
27386 * conform/data/netinet/in.h-data: Likewise.
27387 * conform/data/tar.h-data: Likewise.
27388 * conform/data/limits.h-data: Use "==" form on "constant" and
27389 "optional-constant" lines.
27390
1b8f2850
JM
27391 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27392 Use -std=c99 for XOPEN2K.
27393 (@knownproblems): Remove.
27394 (newtoken): Don't check %isknown.
27395
a05a144b
JM
27396 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27397 Do not expect macro.
27398 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27399 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27400 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27401 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27402 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27403 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27404 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27405 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27406 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27407 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27408 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27409 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27410 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27411 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27412 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27413 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27414 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27415 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27416 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27417 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27418 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27419 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27420 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27421 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27422 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27423 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27424 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27425 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27426 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27427 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27428 [XPG3] (acosh): Likewise.
27429 [XPG3] (asinh): Likewise.
27430 [XPG3] (atanh): Likewise.
27431 [XPG3] (cbrt): Likewise.
27432 [XPG3] (expm1): Likewise.
27433 [XPG3] (ilogb): Likewise.
27434 [XPG3] (log1p): Likewise.
27435 [XPG3] (logb): Likewise.
27436 [XPG3] (nextafter): Likewise.
27437 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27438 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27439 [XPG3] (remainder): Likewise.
27440 [XPG3] (rint): Likewise.
27441 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27442 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27443 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27444 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27445 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27446 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27447 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27448 [UNIX98 || XOPEN2K] (scalb): Expect.
27449 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27450 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27451 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27452 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27453 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27454 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27455 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27456 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27457 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27458 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27459 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27460 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27461 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27462 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27463 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27464 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27465 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27466 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27467 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27468 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27469 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27470 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27471 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27472 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27473 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27474 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27475 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27476 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27477 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27478 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27479 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27480 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27481 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27482 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27483 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27484 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27485 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27486 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27487 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27488 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27489 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27490 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27491 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27492 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27493 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27494 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27495 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27496 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27497 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27498 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27499 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27500 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27501 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27502 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27503 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27504 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27505 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27506 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27507 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27508 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27509 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27510 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27511 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27512 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27513 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27514 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27515 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27516 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27517 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27518 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27519 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27520 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27521 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27522 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27523 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27524 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27525 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27526 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27527 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27528 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27529 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27530 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27531 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27532 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27533 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27534 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27535 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27536 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27537 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27538 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27539 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27540 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27541 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27542 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27543 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27544 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27545 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27546 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27547 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27548 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27549 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27550 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27551 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27552 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27553 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27554 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27555 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27556 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27557 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27558 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27559 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27560 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27561 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27562 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27563 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27564 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27565 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27566 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27567 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27568 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27569 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27570 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27571 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27572 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27573 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27574 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27575 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27576 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27577 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27578 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27579 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27580 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27581 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27582 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27583 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27584 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27585 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27586
73c5ebe3
JM
27587 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27588 _XOPEN_SOURCE_EXTENDED for XPG4.
27589
39c33b6c
JM
27590 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27591
62fde54f
JM
27592 * Makeconfig (localtime): Remove variable.
27593 (inst_localtime-file): Likewise.
27594
0741d64c
AS
275952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27596
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27598 Update.
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27600 Update.
27601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27602 Update.
27603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27604 Update.
27605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27606 Update.
27607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27608 Update.
27609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27610 Update.
27611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27612 Update.
27613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27614 Update.
27615
7cb029ee
JM
276162012-05-01 Joseph Myers <joseph@codesourcery.com>
27617
27618 [BZ #2550]
27619 [BZ #2570]
27620 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27621 comparisons to determine direction to adjust input.
27622 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27623 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27624 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27625 Likewise.
27626 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27627 Likewise.
27628 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27629 Likewise.
27630 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27631 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27632 Likewise.
27633 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27634 Likewise.
27635 * math/libm-test.inc (nexttoward_test): Add more tests.
27636
412bd966
AS
276372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27638
27639 [BZ #14040]
27640 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27641 in version GLIBC_2.1, not GLIBC_2.0.
27642 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27643 Likewise.
27644
9568c0c2
JM
276452012-04-30 Joseph Myers <joseph@codesourcery.com>
27646
adfbc8ac
JM
27647 [BZ #13942]
27648 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27649 (1 - x) * (1 + x).
27650 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27651 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27652 * math/libm-test.inc (acos_test): Add more tests.
27653 (asin_test): Likewise.
27654 * sysdeps/i386/fpu/libm-test-ulps: Update.
27655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27656
5ba3cc69
JM
27657 [BZ #14034]
27658 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27659 of square root.
27660 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27661 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27662 * math/libm-test.inc (acos_test_tonearest): New function.
27663 (acos_test_towardzero): Likewise.
27664 (acos_test_downward): Likewise.
27665 (acos_test_upward): Likewise.
27666 (asin_test_tonearest): Likewise.
27667 (asin_test_towardzero): Likewise.
27668 (asin_test_downward): Likewise.
27669 (asin_test_upward): Likewise.
27670 (main): Call the new functions.
27671 * sysdeps/i386/fpu/libm-test-ulps: Update.
27672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27673
9568c0c2
JM
27674 [BZ #13884]
27675 [BZ #13924]
27676 * math/e_exp10.c: Include <float.h>.
27677 (__ieee754_exp10): Handle underflow here rather than multiplying
27678 large negative argument by M_LN10.
27679 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27680 of __ieee754_expf.
27681 * math/e_exp10l.c: Include <float.h>.
27682 (__ieee754_exp10l): Handle underflow here rather than multiplying
27683 large negative argument by M_LN10l.
27684 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27685 spurious overflow exception on underflow.
27686
5ac3ea17
MP
276872012-04-29 Marek Polacek <polacek@redhat.com>
27688
27689 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27690 (__fortify_function): New macro.
27691 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27692 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27693 __extern_always_inline.
27694 * libio/bits/stdio2.h: Likewise.
27695 * libio/bits/stdio.h: Likewise.
27696 * string/string.h: Likewise.
27697 * string/bits/string3.h: Likewise.
27698 * include/stdio.h: Likewise.
27699 * stdlib/bits/stdlib.h: Likewise.
27700 * stdlib/stdlib.h: Likewise.
27701 * rt/bits/mqueue2.h: Likewise.
27702 * rt/mqueue.h: Likewise.
27703 * posix/bits/unistd.h: Likewise.
27704 * posix/unistd.h: Likewise.
27705 * io/bits/poll2.h: Likewise.
27706 * io/bits/fcntl2.h: Likewise.
27707 * io/fcntl.h: Likewise.
27708 * io/sys/poll.h: Likewise.
27709 * misc/bits/syslog.h: Likewise.
27710 * misc/bits/syslog-ldbl.h: Likewise.
27711 * misc/sys/syslog.h: Likewise.
27712 * socket/bits/socket2.h: Likewise.
27713 * socket/sys/socket.h: Likewise.
27714 * debug/tst-chk1.c: Likewise.
27715 * wcsmbs/bits/wchar2.h: Likewise.
27716 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27717 * wcsmbs/wchar.h: Likewise.
27718
ecf0ebfb
AJ
277192012-04-29 Andreas Jaeger <aj@suse.de>
27720
27721 * Makerules (tests): Remove enable-check-abi protection.
27722 (check-abi-warn): Remove.
27723 (check-abi-%): Remove check-abi-warn usage.
27724
27725 * configure.in: Remove check-abi configure option.
27726 * configure: Regenerated.
27727 * config.make.in (enable-check-abi): Remove.
27728
6d5c57fa
AS
277292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27730
24c5d07e 27731 [BZ #14033]
ded5180a
AS
27732 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27733 double functions to double *_finite functions.
27734
7e0d315d
AS
27735 [BZ #13941]
27736 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27737 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27738 LDBL_MIN_EXP.
27739 * stdio-common/Makefile (tests): Add tst-sprintf3.
27740 * stdio-common/tst-sprintf3.c: New file.
27741
6d5c57fa
AS
27742 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27743 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27744
0749ff8b
JM
277452012-04-28 Joseph Myers <joseph@codesourcery.com>
27746
27747 * conform/conformtest.pl: Remove duplicate typed-constant
27748 handling.
27749
8dbd5d7b
DM
277502012-04-28 David S. Miller <davem@davemloft.net>
27751
27752 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27753 (check-abi-%): Remove AWK script prerequisite and explicit
27754 abilist directory.
27755 (check-abi): Rewrite to just diff the symlist with the abilist.
27756 (config-tls, config-abi-config): Delete, no longer used.
27757 (update-abi-%): Remove AWK script and explicit abilist directory.
27758 (update-abi): Rewrite to simply compare and conditionally copy the
27759 symlist and the sysdep abilist file. Remove update-abi-config
27760 checks.
27761 * abilist/ld.abilist: Remove.
27762 * abilist/libBrokenLocale.abilist: Remove.
27763 * abilist/libanl.abilist: Remove.
27764 * abilist/libcrypt.abilist: Remove.
27765 * abilist/libdl.abilist: Remove.
27766 * abilist/librt.abilist: Remove.
27767 * abilist/libthread_db.abilist: Remove.
27768 * abilist/libutil.abilist: Remove.
27769 * scripts/extract-abilist.awk: Remove.
27770 * scripts/merge-abilist.awk: Remove.
27771 * sysdeps/generic/libcidn.abilist: New file.
27772 * sysdeps/generic/libnss_compat.abilist: New file.
27773 * sysdeps/generic/libnss_db.abilist: New file.
27774 * sysdeps/generic/libnss_dns.abilist: New file.
27775 * sysdeps/generic/libnss_files.abilist: New file.
27776 * sysdeps/generic/libnss_hesiod.abilist: New file.
27777 * sysdeps/generic/libnss_nis.abilist: New file.
27778 * sysdeps/generic/libnss_nisplus.abilist: New file.
27779 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27780 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27781 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27782 file.
27783 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27784 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27785 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27786 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27787 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27788 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27789 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27790 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27791 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27792 file.
27793 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27794 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27795 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27796 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27797 file.
27798 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27799 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27800 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27801 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27802 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27803 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27804 file.
27805 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27806 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27807 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27808 file.
27809 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27811 New file.
27812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27813 New file.
27814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27815 New file.
27816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27817 New file.
27818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27819 New file.
27820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27821 New file.
27822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27823 New file.
27824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27825 New file.
27826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27827 New file.
27828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27829 New file.
27830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27831 New file.
27832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27833 New file.
27834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27835 New file.
27836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27837 file.
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27839 New file.
27840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27841 New file.
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27843 file.
27844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27845 New file.
27846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27847 New file.
27848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27849 file.
27850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27851 New file.
27852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27853 New file.
27854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27855 New file.
27856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27857 New file.
27858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27859 New file.
27860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27861 New file.
27862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27864 file.
27865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27866 New file.
27867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27868 file.
27869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27870 file.
27871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27872 file.
27873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27874 file.
27875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27876 file.
27877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27878 New file.
27879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27880 file.
27881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27882 file.
27883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27884 New file.
27885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27886 file.
27887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27889 file.
27890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27891 New file.
27892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27893 file.
27894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27895 file.
27896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27897 file.
27898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27899 file.
27900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27901 file.
27902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27903 New file.
27904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27905 file.
27906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27907 file.
27908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27909 New file.
27910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27911 file.
27912 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27913 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27914 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27915 file.
27916 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27917 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27918 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27919 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27920 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27921 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27922 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27923 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27924 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27925 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27928 file.
27929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27930 New file.
27931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27932 file.
27933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27934 file.
27935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27936 file.
27937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27938 file.
27939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27940 file.
27941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27942 New file.
27943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27944 New file.
27945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27946 file.
27947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27948 New file.
27949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27950 file.
27951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27953 file.
27954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27955 New file.
27956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27957 file.
27958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27959 file.
27960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27961 file.
27962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27963 file.
27964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27965 file.
27966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27967 New file.
27968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27969 New file.
27970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27971 file.
27972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27973 New file.
27974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27975 file.
27976
41d73a1b
JM
279772012-04-28 Joseph Myers <joseph@codesourcery.com>
27978
27979 * conform/conformtest.pl: Fix typo in handling typed-constant from
27980 allow-header.
27981
28aeeda4
JM
279822012-04-27 Joseph Myers <joseph@codesourcery.com>
27983
adae8f5e
JM
27984 * README: Cut down references to pre-2.6 Linux kernels and
27985 Linuxthreads. Update lists of configurations in libc and ports
27986 and sort alphabetically. Say "or newer" with Linux kernel version
27987 requirements.
27988
28aeeda4
JM
27989 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27990
a462cb63
RA
279912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27992
27993 [BZ #887]
27994 * math/libm-test.inc (logb_test_downward): New test to expose
27995 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27996 rounding mode.
27997
6ad3493e
JM
279982012-04-27 Joseph Myers <joseph@codesourcery.com>
27999
28000 [BZ #14027]
28001 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28002 to be done.
28003 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28004 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28005
2ce4f015
JM
280062012-04-26 Joseph Myers <joseph@codesourcery.com>
28007
5aeb141a
JM
28008 * sysdeps/unix/i386/brk.S: Remove file.
28009 * sysdeps/unix/i386/dl-brk.S: Likewise.
28010 * sysdeps/unix/i386/pipe.S: Likewise.
28011 * sysdeps/unix/i386/sigreturn.S: Likewise.
28012 * sysdeps/unix/i386/syscall.S: Likewise.
28013 * sysdeps/unix/i386/vfork.S: Likewise.
28014 * sysdeps/unix/i386/wait.S: Likewise.
28015
7143acae
JM
28016 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28017 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28018
2ce4f015
JM
28019 * configure.in (arm*-none*): Do not allow without
28020 --enable-hacker-mode.
28021 (netbsd*): Remove case setting base_os.
28022 (386bsd*): Likewise.
28023 (freebsd*): Likewise.
28024 (bsdi*): Likewise.
28025 (osf*): Likewise.
28026 (sunos*): Likewise.
28027 (ultrix*): Likewise.
28028 (newsos*): Likewise.
28029 (dynix*): Likewise.
28030 (*bsd*): Likewise.
28031 (sysv*): Likewise.
28032 (isc*): Likewise.
28033 (esix*): Likewise.
28034 (sco*): Likewise.
28035 (minix*): Likewise.
28036 (irix4*): Likewise.
28037 (irix6*): Likewise.
28038 (solaris[2-9]*): Likewise.
28039 (none): Likewise.
28040 * configure: Regenerated.
28041
0ac229c8
AZ
280422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28043
28044 [BZ #11521]
28045 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28046 overflow or cancellation in calculating denominator.
28047 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28048 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28049 down expression to avoid unexpected rounding in newer GCCs.
28050 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28051
33f244f4
DM
280522012-04-26 David S. Miller <davem@davemloft.net>
28053
28054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28055 long-double compat symbols.
28056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28069
cfa1f3e8
DM
280702012-04-25 David S. Miller <davem@davemloft.net>
28071
28072 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28073 HWCAP_* values only after the memory barriers have been defined.
28074 (atomic_full_barrier): Define.
28075 (atomic_read_barrier): Define.
28076 (atomic_write_barrier): Define.
28077
6e236b92
SP
280782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28079
28080 * shlib-versions: Add libgcc_s version information.
28081 * sysdeps/generic/libgcc_s.h: Remove.
28082 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28083 libgcc_s.h.
28084 * sysdeps/gnu/unwind-resume.c: Likewise.
28085 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28086
aab39a09
DM
280872012-04-25 David S. Miller <davem@davemloft.net>
28088
28089 * sysdeps/unix/sparc/brk.S: Delete.
28090 * sysdeps/unix/sparc/dl-brk.S: Delete.
28091 * sysdeps/unix/sparc/pipe.S: Delete.
28092 * sysdeps/unix/sparc/sysdep.S: Delete.
28093 * sysdeps/unix/sparc/sysdep.h: Delete.
28094 * sysdeps/unix/sparc/vfork.S: Delete.
28095 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28096 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28097 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28098 ret_ERRVAL, r0, r1, MOVE): Define.
28099 (JUMPTARGET): Remove.
28100 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28101 sysdeps/unix/sparc/sysdep.h
28102 (ENTRY, END): Remove.
28103 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28104
a3cc4f48
JM
281052012-04-25 Joseph Myers <joseph@codesourcery.com>
28106
2ed8cda2
JM
28107 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28108 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28109 -DIS_IN_build.
28110
35d76d59
JM
28111 * timezone/README: Update upstream location and email address for
28112 tzcode and tzdata.
28113 * timezone/zdump.c: Update from tzcode 2012b.
28114 * timezone/zic.c: Likewise.
28115
a3cc4f48
JM
28116 * configure.in (libc_cv_as_needed): Remove test.
28117 * configure: Regenerated.
28118 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28119 conditional definition.
28120 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28121 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28122 * config.make.in (have-as-needed): Remove variable.
28123
ceab42c3
SP
281242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28125 Paul Pluzhnikov <ppluzhnikov@google.com>
28126
28127 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28128 strings correctly.
28129
3ce2865f
CLT
281302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28131
28132 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28133 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28134 * sysdeps/sh/strlen.S: Likewise.
28135
f37e0d68
JM
281362012-04-24 Joseph Myers <joseph@codesourcery.com>
28137
ae186e9a
JM
28138 * sysdeps/unix/fork.S: Remove file.
28139 * sysdeps/unix/i386/fork.S: Likewise.
28140 * sysdeps/unix/sparc/fork.S: Likewise.
28141
b96914af
JM
28142 * sysdeps/unix/system.c: Remove file.
28143 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28144
f37e0d68
JM
28145 * sysdeps/unix/getegid.S: Remove file.
28146 * sysdeps/unix/geteuid.S: Likewise.
28147
87ef29ca
RM
281482012-04-24 Roland McGrath <roland@hack.frob.com>
28149
83bcd236
RM
28150 * scripts/check-localplt.awk: New file.
28151 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28152 of diff.
28153 * scripts/data/localplt-generic.data: Add a comment.
28154
87ef29ca
RM
28155 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28156 NODE when __dir_mkfile failed.
28157 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28158 Reported by Ludovic Courtès <ludo@gnu.org>.
28159
e5a6e567
AJ
281602012-04-24 Andreas Jaeger <aj@suse.de>
28161
28162 * Makerules (common-clean): Also remove gen-as-const-headers
28163 files.
28164
c1820385
JM
281652012-04-24 Joseph Myers <joseph@codesourcery.com>
28166
28167 * Makerules (native-compile): Do not change working directory for
28168 build. Use $(OUTPUT_OPTION) in command.
28169 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28170
94e02fc4
AZ
281712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28172
28173 [BZ #13886]
28174 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28175 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28176 * math/libm-test.inc (floor_test): Add more tests.
28177 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28178
3a533ca3
JM
281792012-04-24 Joseph Myers <joseph@codesourcery.com>
28180
940ab4b3
JM
28181 * sysdeps/unix/getdents.c: Remove file.
28182 * sysdeps/unix/sysv/getdents.c: Likewise.
28183 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28184
90e037bd
JM
28185 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28186 sysdeps/unix/mman/syscalls.list.
28187 (mmap): Likewise.
28188 (mprotect): Likewise.
28189 (msync): Likewise.
28190 (munmap): Likewise.
28191 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28192 * sysdeps/unix/mman/syscalls.list: Remove.
28193 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28194
3a533ca3
JM
28195 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28196 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28197 * configure: Regenerated.
28198 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28199 $(libgcc_s_suffix).
28200 * config.make.in (libgcc_s_suffix): Remove variable.
28201
1ad743de
JM
282022012-04-23 Joseph Myers <joseph@codesourcery.com>
28203
4ad451e2
JM
28204 * sysdeps/unix/sysv/gethostname.c: Move to ...
28205 * sysdeps/posix/gethostname.c: ... here.
28206
5e37ce39
JM
28207 * sysdeps/unix/execve.S: Remove file.
28208
1ad743de
JM
28209 * sysdeps/unix/_exit.S: Remove file.
28210
4e681b5b
AJ
282112012-04-23 Andreas Jaeger <aj@suse.de>
28212
28213 [BZ #13739]
28214 * manual/Makefile: Remove make dist support, there's no
28215 need for a stand-alone documentation tar ball.
28216 (TEXI2DVI): Define always, it's not in Makeconfig.
28217 (dist): Removed.
28218 (tar-it): Removed.
28219 (edition): Removed.
28220 (glibc-doc-$(edition).tar): Removed
28221 (%.Z): Removed.
28222 (%.gz): Removed.
28223 (%.uu): Removed.
28224 (ETAGS): Remove, it's in Makeconfig.
28225 (move-if-change): Remove, it's in Makeconfig.
28226
38686a03 282272012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28228
28229 [BZ #13970]
28230 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28231 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28232 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28233 (strtod_l, strtof_l, strtold_l): Remove __wur.
28234 It is not necessarily an error to ignore strtol's return value.
28235 One can reliably look at the stored endptr to decide whether
28236 the number had valid syntax.
28237
7c0616fa
AJ
282382012-04-21 Andreas Jaeger <aj@suse.de>
28239
803cb6b7 28240 [BZ #13739]
7c0616fa
AJ
28241 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28242
b0fe253f
JM
282432012-04-21 Joseph Myers <joseph@codesourcery.com>
28244
28245 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28246 * sysdeps/unix/sysv/Versions: Remove file.
28247
8280f22d
MT
282482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28249
28250 [BZ #13927]
28251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28252
75ce411f 282532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28254
28255 [BZ #7064]
28256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28257 version from __vm86.
28258
097d59fa
JM
282592012-04-20 Joseph Myers <joseph@codesourcery.com>
28260
a90f3bcb
JM
28261 * sysdeps/unix/common/lxstat.c: Remove file.
28262 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28263
edc7ea78
JM
28264 * sysdeps/unix/sysv/Makefile: Remove file.
28265
cb78c221
JM
28266 * sysdeps/unix/sysv/direct.h: Remove file.
28267
efa6a45f
JM
28268 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28269 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28270 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28271 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28272 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28273 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28274 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28275
9c9f2d0c
JM
28276 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28277
4541c83b
JM
28278 * sysdeps/unix/xmknod.c: Remove file.
28279 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28280
f5d153a0
JM
28281 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28282
aa746595
JM
28283 * sysdeps/unix/sysv/i386/time.S: Remove file.
28284
cce5905e
JM
28285 * sysdeps/unix/fxstat.c: Remove file.
28286 * sysdeps/unix/xstat.c: Likewise.
28287 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28288
37fa3841
JM
28289 * sysdeps/unix/sysv/sigaction.c: Remove file.
28290
ff1962a3
JM
28291 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28292 (sysdep_headers): Remove variable.
28293 [termio.h not in sysdep_headers] (generated): Likewise.
28294 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28295 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28296 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28297 * sysdeps/unix/sysv/tcflow.c: Likewise.
28298 * sysdeps/unix/sysv/tcflush.c: Likewise.
28299 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28300 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28301 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28302 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28303 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28304
e7740d31
JM
28305 * sysdeps/unix/siglist.c: Remove file.
28306
ee06f18b
JM
28307 * sysdeps/unix/getppid.S: Remove file.
28308
097d59fa
JM
28309 * sysdeps/unix/mkdir.c: Remove file.
28310 * sysdeps/unix/rmdir.c: Likewise.
28311
ff3d51ec
AS
283122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28313
28314 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28315 ERR_MAX value.
28316 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28317 errlist-compat value.
28318
50f81fd7
DM
283192012-04-18 David S. Miller <davem@davemloft.net>
28320
28321 * sysdeps/generic/memcopy.h (reg_char): Delete.
28322 * debug/strcat_chk.c: Use char, not reg_char.
28323 * debug/strcpy_chk.c: Likewise.
28324 * debug/strncat_chk.c: Likewise.
28325 * debug/strncpy_chk.c: Likewise.
28326 * string/memchr.c: Likewise.
28327 * string/memrchr.c: Likewise.
28328 * string/rawmemchr.c: Likewise.
28329 * string/strcat.c: Likewise.
28330 * string/strchr.c: Likewise.
28331 * string/strchrnul.c: Likewise.
28332 * string/strcmp.c: Likewise.
28333 * string/strcpy.c: Likewise.
28334 * string/strncat.c: Likewise.
28335 * string/strncmp.c: Likewise.
28336 * string/strncpy.c: Likewise.
28337
8ff41c46
WS
283382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28339
28340 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28341 __builtin_memcopy is called when src and dest ranges are known to not
28342 overlap.
28343
6b652f46
WS
283442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28345
28346 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28347 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28348 fwd_align_merge macro call.
28349 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28350 bwd_align_merge macro call.
28351 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28352
b282631e
WS
283532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28354
28355 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28356 bwd_align_merge macros.
28357 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28358 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28359 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28360
95aa737c
DM
283612012-04-18 David S. Miller <davem@davemloft.net>
28362
28363 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28364
7a99a614
AJ
283652012-04-18 Andreas Jaeger <aj@suse.de>
28366
28367 [BZ# 6794]
28368 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28369 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28370 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28371
28372 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28373 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28374 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28375
28376 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28377 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28378 Adjust for changed ldbl-128 files.
28379
28380 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28381 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28382 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28383
e5270c23
DM
283842012-04-17 David S. Miller <davem@davemloft.net>
28385
28386 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28387
fb5e92c9
AS
283882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28389
28390 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28391 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28392 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28393 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28394 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28395 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28396
76da7265
AZ
283972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28398
28399 [BZ #6794]
28400 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28401 * math/libm-test.inc: Add ilogb errno and exception tests.
28402 * math/w_ilogb.c: New file: ilogb wrapper.
28403 * math/w_ilogbf.c: New file: ilogbf wrapper.
28404 * math/w_ilogbl.c: New file: ilogbl wrapper.
28405 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28406 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28407 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28408 exception being thrown with 0.0 as argument.
28409 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28410 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28411 exception being thrown with 0.0 as argument.
28412 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28413 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28414 exception being thrown with 0.0 as argument.
28415 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28416 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28417 exception being thrown with 0.0 as argument.
28418 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28419 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28420 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28421 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28422 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28423 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28424 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28425 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28426 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28427
0396e69d
PB
284282012-04-17 Petr Baudis <pasky@ucw.cz>
28429
28430 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28431 with altivec.
28432
750b5926
MP
284332012-04-16 Marek Polacek <polacek@redhat.com>
28434
28435 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28436
751728a1
MP
284372012-04-16 Marek Polacek <polacek@redhat.com>
28438
28439 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28440 operands of fdivp instruction.
28441
34a27407
L
284422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28443
28444 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28445 * elf/tst-auditmod3b.c: Likewise.
28446 * elf/tst-auditmod4b.c: Likewise.
28447 * elf/tst-auditmod5b.c: Likewise.
28448 * elf/tst-auditmod6b.c: Likewise.
28449 * elf/tst-auditmod6c.c: Likewise.
28450 * elf/tst-auditmod7b.c: Likewise.
28451 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28452 * sysdeps/x86_64/preconfigure.in: Likewise.
28453 * sysdeps/x86_64/preconfigure: Regenerated.
28454
7e73e17d
L
284552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28456
28457 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28458 __ILP32__.
28459
c7a6ab72
AB
284602012-04-13 Antoine Balestrat <merkil33@gmail.com>
28461
28462 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28463 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28464
a9e8e0e0
CL
284652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28466
28467 [BZ #13973]
28468 * locale/iso-639.def: Fix gl language name. Spotted by
28469 Yaron Shahrabani.
28470
ec98af7d
RM
284712012-04-12 Roland McGrath <roland@hack.frob.com>
28472
28473 [BZ #2074]
28474 * libio/libio.h (__io_write_fn): Update comment.
28475
247c3ede
PB
284762012-04-12 Petr Baudis <pasky@ucw.cz>
28477
28478 [BZ #2074]
28479 * stdio.texi (Hook Functions): The user provided writer function
28480 is not allowed to return -1.
28481
55939d6d
DM
284822012-04-11 David S. Miller <davem@davemloft.net>
28483
28484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28485
90020f5a
MF
284862012-04-11 Mike Frysinger <vapier@gentoo.org>
28487
28488 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28489 Add a leading slash to rtkaio.
28490
288f9098
JM
284912012-04-11 Jim Meyering <meyering@redhat.com>
28492
90020f5a
MF
28493 [BZ #11959]
28494 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28495 It is not necessarily an error to ignore fwrite's return
28496 value. One can reliably use ferror to test for errors after
28497 the fact.
288f9098 28498
4be2b570
L
284992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28500
28501 * bits/types.h (__snseconds_t): New type.
28502 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28503
28504 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28505 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28506 (__SNSECONDS_T_TYPE): Likewise.
28507 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28508 (__SNSECONDS_T_TYPE): Likewise.
28509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28510 (__SNSECONDS_T_TYPE): Likewise.
28511
288f9098 285122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28513
28514 [BZ #2636]
28515 * manual/time.texi (Processor Time): Return type of times is
28516 elapsed real time since an arbitrary point in the past.
28517 (CPU Time): Move CLK_TCK from here...
28518 (Processor Time): ...to here. Correct description.
28519 * manual/conf.texi (Constants for Sysconf): Correct description of
28520 _SC_CLK_TCK.
28521
d7dd4413
DM
285222012-04-10 David S. Miller <davem@davemloft.net>
28523
28524 [BZ #13967]
28525 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28526 where the is a gap between DT_REL(A) and DT_JMPREL.
28527
b46068fc
L
285282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28529
28530 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28531 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28532 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28533
73d65cc3
SP
285342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28535
28536 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28537 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28538 (dl_main): Handle --inhibit-cache.
28539 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28540 _dl_inhibit_cache.
28541 * elf/dl-load.c (_dl_map_object): Use it.
28542 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28543
bcc8d661
JM
285442012-04-09 Joseph Myers <joseph@codesourcery.com>
28545
8f9a2fae
JM
28546 [BZ #13872]
28547 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28548 (__ieee754_powl): Saturate large exponents rather than testing for
28549 overflow of y*log2(x).
28550 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28551 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28552 exceptions.
28553
bcc8d661
JM
28554 [BZ #11521]
28555 * math/s_ctan.c: Include <float.h>.
28556 (__ctan): Avoid internal overflow or cancellation in calculating
28557 denominator.
28558 * math/s_ctanf.c: Likewise.
28559 * math/s_ctanl.c: Likewise.
28560 * math/s_ctanh.c: Likewise.
28561 * math/s_ctanhf.c: Likewise.
28562 * math/s_ctanhl.c: Likewise.
28563 * math/libm-test.inc (ctan_test): Add more tests.
28564 (ctanh_test): Likewise.
28565 * sysdeps/i386/fpu/libm-test-ulps: Update.
28566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28567
823fbbb4
AJ
285682012-04-09 Andreas Jaeger <aj@suse.de>
28569
03879793
AJ
28570 [BZ #6894]
28571 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28572 is an optional BSD extension.
28573
823fbbb4
AJ
28574 [BZ #10254]
28575 * manual/stdio.texi (Opening Streams): Document additional fopen
28576 parameters.
28577
8de131cb
RM
285782012-04-09 Roland McGrath <roland@hack.frob.com>
28579
28580 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28581 %eax without telling the compiler.
28582
c0ed9d7d
CD
285832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28584
28585 [BZ # 13963]
28586 * manual/install.texi: Use sourceware.org.
28587
c483f6b4
JM
285882012-04-09 Joseph Myers <joseph@codesourcery.com>
28589
d7dd9453
JM
28590 [BZ #13873]
28591 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28592 (__ieee754_pow): Generate overflow and underflow using huge*huge
28593 and tiny*tiny rather than just returning constant infinity or zero
28594 for large exponents.
28595 * math/libm-test.inc (pow_test): Require overflow exceptions for
28596 applicable cases of large exponents.
28597
c483f6b4
JM
28598 [BZ #706]
28599 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28600 (__ieee754_pow): Use iterative multiplication algorithm only for
28601 integer exponents with absolute value below 1024. Check for odd
28602 integer exponents when using algorithm for real exponents.
28603 * math/libm-test.inc (pow_test): Add more tests.
28604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28605
d2de7579
JM
286062012-04-08 Joseph Myers <joseph@codesourcery.com>
28607
28608 [BZ #13705]
28609 * math/libm-test.inc (exp_test): Do not allow overflow exception
28610 on underflow test.
28611
f77f1232
AJ
286122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28613
28614 [BZ #13705]
28615 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28616 instead of __kernel_standard_f.
28617
3884932b
MF
286182012-04-08 Mike Frysinger <vapier@gentoo.org>
28619
28620 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28621 * sysdeps/x86_64/memset_chk.S: Likewise.
28622
54472e9c
AJ
286232012-04-08 Andreas Jaeger <aj@suse.de>
28624
6ab0fbfc
AJ
28625 [BZ #10153]
28626 * manual/startup.texi (Environment Access): Describe return value
28627 for putenv and setenv.
28628
61efba8c
AJ
28629 [BZ #6895]
28630 * manual/filesys.texi (Directory Entries): Add description for
28631 DT_LNK.
28632
95c3f29a
AJ
28633 [BZ #6890]
28634 * manual/filesys.texi (Directory Entries): Clarify that it's file
28635 system not operating system in the description of DT_UNKNOWN.
28636
54472e9c
AJ
28637 [BZ #6578]
28638 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28639
624254b1
SC
286402012-04-08 Stephen Compall <s11@member.fsf.org>
28641
28642 [BZ #6649]
28643 * manual/llio.texi (Opening and Closing Files): Add cross
28644 reference to explain mode argument.
28645
1e4920e0
MF
286462012-04-07 Mike Frysinger <vapier@gentoo.org>
28647
28648 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28649 * sysdeps/x86_64/memset_chk.S: Likewise.
28650
5ed848f3
DM
286512012-04-07 David S. Miller <davem@davemloft.net>
28652
28653 * elf/elf.h (R_SPARC_WDISP10): Define.
28654 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28655 R_SPARC_SIZE32.
28656 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28657 R_SPARC_SIZE64 and R_SPARC_H34.
28658
96154cd8
CD
286592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28660
28661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28662 conditions and remove no longer applicable assertion.
28663
9904dc47
L
286642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28665
28666 * bits/byteswap.h: Include <features.h>.
28667 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28668 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28669
f8887d0a
L
286702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28671
28672 * bits/byteswap.h (__bswap_16): Removed.
28673 Include <bits/byteswap-16.h> to get __bswap_16.
28674 * sysdeps/i386/bits/byteswap.h: Likewise.
28675 * sysdeps/s390/bits/byteswap.h: Likewise.
28676 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28677 * bits/byteswap-16.h: New file.
28678 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28679 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28680 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28681 * string/Makefile (headers): Add bits/byteswap-16.h.
28682
62470f60
PP
286832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28684
28685 [BZ #13895]
28686 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28687 extra indirection.
28688 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28689 * nss/tst-nss-static.c: New.
28690
4dad7bab
RM
286912012-04-06 Robert Millan <rmh@gnu.org>
28692
28693 [BZ #6486]
28694 * manual/llio.texi (File Position Primitive): lseek
28695 refers to WHENCE when it really means OFFSET.
28696
e9142a17
AJ
286972012-04-06 Andreas Jaeger <aj@suse.de>
28698
2c040eff
AJ
28699 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28700 strncmp declarations.
28701
e9142a17
AJ
28702 * abilist/libc.abilist: Add __poll and __ppoll.
28703
ff9f1c5f
DM
287042012-04-05 David S. Miller <davem@davemloft.net>
28705
dcd2ae90
DM
28706 * scripts/check-local-headers.sh: Accept a host triplet in the
28707 path matched by the exclude regexp.
28708
993eb054
DM
28709 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28710 definition.
28711 * sysdeps/powerpc/powerpc32/dl-machine.h
28712 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28713 * sysdeps/s390/s390-32/dl-machine.h
28714 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28715 * sysdeps/sparc/sparc32/dl-machine.h
28716 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28717 * sysdeps/sparc/sparc64/dl-machine.h
28718 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28719
ff9f1c5f
DM
28720 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28721 lazy binding.
48e2e132 28722 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28723 undefined symbol errors.
28724
48e2e132 28725 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28726 DT_NEEDED entries.
28727
e80d6f94
MM
287282012-04-05 Michael Matz <matz@suse.de>
28729
28730 [BZ #13592]
28731 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28732
349fa79f
AJ
287332012-04-05 Andreas Jaeger <aj@suse.de>
28734
28735 [BZ #13908]
28736 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28737 comment.
28738
f402708f
KK
287392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28740
28741 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28742 which ROUND is no valid rounding mode.
28743
2ecccfc9
KK
287442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28745
28746 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28747 read again.
28748 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28749
8a53f50f
KK
287502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28751
28752 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28753 an exception using FPU order intentionally.
28754
287552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28756
28757 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28758 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28759 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28760 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28761
d653abb7
SJ
287622012-04-05 Simon Josefsson <simon@josefsson.org>
28763
28764 [BZ #12340]
28765 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28766 EINVAL when BUFLEN is too smal.
28767
c3b1bf7d
TS
287682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28769
28770 [BZ #13553]
28771 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28772 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28773
b1aa60f3
AJ
287742012-04-03 Andreas Jaeger <aj@suse.de>
28775
c3b1bf7d 28776 [BZ #13938]
67f60a26
AJ
28777 * manual/setjmp.texi (System V contexts): Fix sentence.
28778
b1aa60f3
AJ
28779 [BZ #13926]
28780 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28781 New macro for this case.
28782 [!__GNUC__] (__bswap_64): New inline function for this case.
28783 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28784 * bits/byteswap.h: Likewise.
28785 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28786 ull, guard with __GLIBC_HAVE_LONG_LONG.
28787
28788 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28789 __GLIBC_HAVE_LONG_LONG.
28790
28791 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28792 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28793
39c59c35
TMQMF
287942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28795
28796 [BZ #13691]
28797 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28798 inptr and inend, rather than using last_ch.
28799
135ffda8
DM
288002012-04-02 David S. Miller <davem@davemloft.net>
28801
28802 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28803 * stdio-common/printf-parse.h (read_int): Change return type to
28804 'int', return -1 on INT_MAX overflow.
28805 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28806 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28807 overflows INT_MAX. Check for overflow of in-format-string precision
28808 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28809 SIZE_MAX not INT_MAX for integer overflow test.
28810 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28811 skip the construct in the format string but do not record anything.
28812 * stdio-common/bug22.c: Adjust to test both width/prevision
28813 INT_MAX overflow as well as total length INT_MAX overflow. Check
28814 explicitly for proper errno values.
28815
228c019e
TS
288162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28817
302cadd3
TS
28818 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28819 CHAR_MAX.
28820 * string/test-strcmp.c [! WIDE]: Likewise.
28821 * time/tst-mktime2.c: Likewise for INT_MAX.
28822 * string/test-string.h: #include <sys/param.h> for MIN.
28823
228c019e
TS
28824 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28825 * sysdeps/i386/init-first.c (init): Likewise.
28826 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28827 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28828 * sysdeps/sh/init-first.c (init): Likewise.
28829
cfa633f5
UD
288302012-04-01 Ulrich Drepper <drepper@gmail.com>
28831
28832 * po/ru.po: Update from translation team.
d1635ef8 28833 * po/vi.po: Likewise.
cfa633f5 28834
6cd0a5ea
SP
288352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28836
28837 * resolv/nss_dns/dns-host.c: Merge copyright years.
28838
4b43400f
LD
288392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28840
28841 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28842 Optimize memcpy with prefetch if
28843 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28844 src, dst pointers have unequal 16 byte alignments.
28845
48c41d04
SP
288462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28847
28848 [BZ #13928]
28849 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28850 from a CNAME entry and return the minimum ttl for the query.
28851 (gaih_getanswer_slice): Likewise.
28852
b8dc394d
JL
288532012-03-30 Jeff Law <law@redhat.com>
28854
28855 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28856 due to long keys.
28857 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28858 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28859
2f5a5ed0
JL
28860 * resolv/nss_dns/dns-host.c: Update copyright year.
28861
1d39e359
UD
288622012-03-30 Ulrich Drepper <drepper@gmail.com>
28863
c030f70c 28864 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 28865 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28866
1d39e359
UD
28867 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28868 comments for sendmmsg.
28869
288702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
28871
28872 [BZ #13691]
28873 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28874 with only 1 character between 0x0041 and 0x01b0.
28875 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28876 * wcsmbs/tst-mbsnrtowcs.c: New file.
28877
20fde227
DM
288782012-03-29 David S. Miller <davem@davemloft.net>
28879
28880 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28881 small copies by hand.
28882
984a4237
JL
288832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28884
28885 [BZ #13761]
28886 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28887 _nss_compat_initgroups_dyn): Fall back to malloc/free
28888 for large group memberships.
28889
18c9d62b
DM
288902012-03-28 David S. Miller <davem@davemloft.net>
28891
88d85d4f
DM
28892 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28893 that branches into memcpy.
28894 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28895 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28896 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28897 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28899 bits.
28900 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28901 implementation too.
28902 * sysdeps/sparc/mempcpy.S: New file.
28903
e5aa83e1
DM
28904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28905 the IFUNC routine in the libc case.
28906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28907
88570753
DM
28908 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28909 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28910 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28911 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28912 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28913 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28914 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28915 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28916
249d7567
DM
28917 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28918 loop to 256 bytes instead of 64 bytes and fix test signedness.
28919
18c9d62b
DM
28920 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28921 * sysdeps/sparc/sparc32/Makefile: rather than here...
28922 * sysdeps/sparc/sparc64/Makefile: and here.
28923
05f3d1f6
UD
289242012-03-28 Ulrich Drepper <drepper@gmail.com>
28925
28926 * malloc/mallocbug.c: Avoid warnings about unused variables.
28927
86ae07a8
JL
289282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28929
28930 [BZ #13760]
28931 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28932 in the right place. Discard and retry query if response is
28933 larger than input buffer size.
28934
41bf21a1
JM
289352012-03-28 Joseph Myers <joseph@codesourcery.com>
28936
d6270972
JM
28937 [BZ #369]
28938 [BZ #2678]
28939 [BZ #3866]
28940 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28941 x for large integer exponent.
28942 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28943 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28944 sign of result as needed afterwards.
28945 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28946 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28947 result for underflowing pow the same as for overflow.
28948 (__kernel_standard_l): Handle powl overflow and underflow here
28949 rather than calling __kernel_standard.
28950 * math/libm-test.inc (pow_test): Add more tests.
28951
414fca03 28952 [BZ #3868]
41bf21a1
JM
28953 [BZ #13879]
28954 [BZ #13910]
28955 [BZ #13911]
28956 [BZ #13912]
28957 [BZ #13913]
28958 [BZ #13915]
28959 [BZ #13916]
28960 [BZ #13917]
28961 [BZ #13918]
28962 [BZ #13919]
28963 [BZ #13920]
28964 [BZ #13921]
28965 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28966 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28967 (__kernel_standard_l): New function.
28968 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28969 __kernel_standard.
28970 * math/w_acosl.c (__acosl): Likewise.
28971 * math/w_asinl.c (__asinl): Likewise.
28972 * math/w_atan2l.c (__atan2l): Likewise.
28973 * math/w_atanhl.c (__atanhl): Likewise.
28974 * math/w_coshl.c (__coshl): Likewise.
28975 * math/w_exp10l.c (__exp10l): Likewise.
28976 * math/w_exp2l.c (__exp2l): Likewise.
28977 * math/w_fmodl.c (__fmodl): Likewise.
28978 * math/w_hypotl.c (__hypotl): Likewise.
28979 * math/w_j0l.c (__j0l, __y0l): Likewise.
28980 * math/w_j1l.c (__j1l, __y1l): Likewise.
28981 * math/w_jnl.c (__jnl, __ynl): Likewise.
28982 * math/w_lgammal.c (__lgammal): Likewise.
28983 * math/w_log10l.c (__log10l): Likewise.
28984 * math/w_log2l.c (__log2l): Likewise.
28985 * math/w_logl.c (__logl): Likewise.
28986 * math/w_powl.c (__powl): Likewise.
28987 * math/w_remainderl.c (__remainderl): Likewise.
28988 * math/w_scalbl.c (sysv_scalbl): Likewise.
28989 * math/w_sinhl.c (__sinhl): Likewise.
28990 * math/w_sqrtl.c (__sqrtl): Likewise.
28991 * math/w_tgammal.c (__tgammal): Likewise.
28992 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28993 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28994 * math/libm-test.inc (acos_test): Add more tests.
28995 (acosh_test): Likewise.
28996 (asin_test): Likewise.
28997 (atanh_test): Likewise.
28998 (exp_test): Likewise.
28999 (exp10_test): Likewise.
29000 (exp2_test): Likewise.
29001 (expm1_test): Likewise.
29002 (lgamma_test): Likewise.
29003 (log_test): Likewise.
29004 (log10_test): Likewise.
29005 (log1p_test): Likewise.
29006 (log2_test): Likewise.
29007 (pow_test): Do not allow some spurious overflow exceptions.
29008 (sqrt_test): Add more tests.
29009 (tgamma_test): Likewise.
29010 (y0_test): Likewise.
29011 (y1_test): Likewise.
29012 (yn_test): Likewise.
29013
dd62fda6
AB
290142012-03-27 Anton Blanchard <anton@samba.org>
29015
29016 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29017 MAP_HUGETLB.
29018 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29019 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29020 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29021
1e3cdfda
AJ
290222012-03-27 David S. Miller <davem@davemloft.net>
29023
b855ab85
DM
29024 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29025
1e3cdfda
AJ
29026 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29027 have-as-vis3 check.
29028
290292012-03-27 Andreas Jaeger <aj@suse.de>
29030
29031 * sysdeps/x86_64/elf/configure.in: Moved to ...
29032 * sysdeps/x86_64/configure.in: ... here.
29033 * sysdeps/x86_64/elf/start.S: Moved to ...
29034 * sysdeps/x86_64/start.S: ... here.
29035 * sysdeps/x86_64/elf/configure: Delete.
29036
29037 * sysdeps/x86_64/configure.in: Merge contents from
29038 sysdeps/i386/configure.in (without i686 check).
29039
29040 * sysdeps/i386/elf/Versions: Merge into ...
29041 * sysdeps/i386/Versions: ... this.
29042 * sysdeps/i386/elf/Versions: Delete file.
29043 * sysdeps/i386/elf/start.S: Moved to ...
29044 * sysdeps/i386/start.S: ...here.
29045 * sysdeps/i386/elf/configure.in: Merge into...
29046 * sysdeps/i386/configure.in: ...here.
29047 * sysdeps/i386/elf/configure.in: Delete file.
29048 * sysdeps/i386/elf/configure: Delete file.
29049
29050 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29051 * debug/backtracesyms.c: ... here.
29052 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29053 * debug/backtracesymsfd.c: ... here.
29054 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29055 * sysdeps/generic/ifunc-sel.h: ... here.
29056
29057 * sysdeps/unix/i386/start.c: Delete file.
29058 * sysdeps/unix/sparc/start.c: Delete file.
29059 * sysdeps/unix/start.c: Delete file.
29060
29061 * sysdeps/sh/elf/configure.in: Moved to ...
29062 * sysdeps/sh/configure.in: ... here.
29063 * sysdeps/sh/elf/start.S: Moved to ...
29064 * sysdeps/sh/start.S: ... here.
29065 * sysdeps/sh/elf/configure: Delete file.
29066
29067 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29068 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29069 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29070 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29071 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29072 * sysdeps/powerpc/powerpc64/start.S: here.
29073 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29074 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29075 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29076 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29077 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29078
29079 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29080 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29081 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29082 * sysdeps/powerpc/powerpc32/start.S: ... here.
29083 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29084 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29085 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29086
29087 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29088 * sysdeps/powerpc/ifunc-sel.h: ... here.
29089 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29090 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29091
29092 * sysdeps/sparc/elf/configure.in: Moved to ...
29093 * sysdeps/sparc/configure.in: ... here.
29094 * sysdeps/sparc/elf/configure: Delete file.
29095 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29096 * sysdeps/sparc/sparc32/start.S: ... here.
29097 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29098 * sysdeps/sparc/sparc64/start.S: ... here.
29099 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29100 * sysdeps/sparc/sparc32/Makefile: ... this.
29101 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29102 * sysdeps/sparc/sparc64/Makefile: ... this.
29103
29104 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29105 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29106 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29107 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29108 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29109 * sysdeps/s390/s390-32/setjmp.S: ... here.
29110 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29111 * sysdeps/s390/s390-32/configure.in: ... here.
29112 * sysdeps/s390/s390-32/elf/configure: Delete file.
29113 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29114 * sysdeps/s390/s390-32/start.S: ... here.
29115
29116 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29117 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29118 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29119 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29120 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29121 * sysdeps/s390/s390-64/setjmp.S: ... here.
29122 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29123 * sysdeps/s390/s390-64/configure.in: ... here
29124 * sysdeps/s390/s390-64/elf/configure: Delete file.
29125 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29126 * sysdeps/s390/s390-64/start.S: ... here.
29127 * sysdeps/s390/s390-64/elf/configure: Delete.
29128
29129 * configure.in: Remove support for elf directories in sysdeps.
29130
29131 * configure: Regenerated.
29132 * sysdeps/i386/configure: Regenerated.
29133 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29134 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29135 * sysdeps/s390/s390-32/configure: Regenerated.
29136 * sysdeps/s390/s390-64/configure: Regenerated.
29137 * sysdeps/sh/configure: Regenerated.
29138 * sysdeps/sparc/configure: Regenerated.
29139 * sysdeps/x86_64/configure: Regenerated.
29140
a3f61311
AS
291412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29142
c876e002
AS
29143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29144
a3f61311
AS
29145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29146 denormal result into account.
29147
ac4c54f0
RM
291482012-03-25 Roland McGrath <roland@hack.frob.com>
29149
29150 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29151 Reported by Allan McRae <allan@archlinux.org>.
29152
6a9b9c02
JL
291532012-03-23 Jeff Law <law@redhat.com>
29154
29155 * nss/getnssent.c (__nss_getent): Fix typo.
29156
4c42a0c1
DM
291572012-03-23 David S. Miller <davem@davemloft.net>
29158
29159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29160
1532c7ac
L
291612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29162
29163 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29164 to pad to uint64_t for each field.
29165 (dl_tls_index): Replace unsigned long with uint64_t.
29166
3ff42526
PP
291672012-03-23 Daniel Jacobowitz <dmj@google.com>
29168 Paul Pluzhnikov <ppluzhnikov@google.com>
29169
29170 [BZ #6528]
29171 * grp/Makefile (otherlibs): Don't set it.
29172 * inet/Makefile (otherlibs): Likewise.
29173 * login/Makefile (otherlibs): Likewise.
29174 * nscd/Makefile (otherlibs): Likewise.
29175 * posix/Makefile (otherlibs): Likewise.
29176 * pwd/Makefile (otherlibs): Likewise.
29177 * rt/Makefile (otherlibs): Likewise.
29178 * sunrpc/Makefile (otherlibs): Likewise.
29179 * nss/Makefile (otherlibs): Likewise.
29180 Add libnss_files to routines and static-only-routines.
29181 ($(objpfx)getent): Remove rule.
29182 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29183 static-only-routines.
29184
7c69cd14
JM
291852012-03-22 Joseph Myers <joseph@codesourcery.com>
29186
29187 [BZ #13892]
29188 * math/s_cexp.c: Include <float.h>.
29189 (__cexp): Handle exp result overflowing not necessarily
29190 overflowing both real and imaginary parts of result.
29191 * math/s_cexpf.c: Likewise.
29192 * math/s_cexpl.c: Likewise.
29193 * math/libm-test.inc (cexp_test): Add more tests.
29194 * sysdeps/i386/fpu/libm-test-ulps: Update.
29195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29196
81b035fe
L
291972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29198
29199 * include/link.h (ELFW): New macro.
29200 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29201 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29202
1da7940c
L
292032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29204
29205 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29206 with uint64_t.
29207
b749dbb9
L
292082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29209
29210 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29211 declaration.
29212 (struct La_x32_retval): Likewise.
29213
2ff87f3f
L
292142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29215
29216 * sysdeps/x86_64/preconfigure.in: New file.
29217 * sysdeps/x86_64/preconfigure: New generated file.
29218
c0df8e69
JM
292192012-03-22 Joseph Myers <joseph@codesourcery.com>
29220
48e44791
JM
29221 [BZ #13824]
29222 * math/e_exp2l.c: Include <float.h>.
29223 (__ieee754_exp2l): Handle overflow and underflow cases
29224 separately. Only pass fractional part of argument to
29225 __ieee754_expl.
29226 * math/libm-test.inc (exp2_test): Add more tests.
29227
c0df8e69
JM
29228 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29229 negating x to take absolute value.
29230 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29231 Likewise.
29232 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29234 Likewise.
29235 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29236 computing low part if x was negated.
29237 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29238
c8e43ba7
L
292392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29240
29241 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29242 la_x32_gnu_pltexit.
29243 (pltexit): Cast int_retval to ptrdiff_t.
29244 * elf/tst-auditmod3b.c: Likewise.
29245 * elf/tst-auditmod4b.c: Likewise.
29246 * elf/tst-auditmod5b.c: Likewise.
29247 * elf/tst-auditmod6b.c: Likewise.
29248 * elf/tst-auditmod6c.c: Likewise.
29249 * elf/tst-auditmod7b.c: Likewise.
29250
29251 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29252 and x32_gnu_pltexit.
29253
29254 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29255 __ELF_NATIVE_CLASS.
29256 (La_x32_regs): New macro.
29257 (La_x32_retval): Likewise.
29258 (la_x32_gnu_pltenter): New function prototype.
29259 (la_x32_gnu_pltexit): Likewise.
29260
7998fa78
AS
292612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29262
dcb33988
AS
29263 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29264 exponent.
29265
233fc563
AS
29266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29267
7998fa78
AS
29268 * configure.in (libc_cv_cc_nofma): Check for option to disable
29269 generation of FMA instructions.
29270 * configure: Regenerate.
29271 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29272 * sysdeps/ieee754/dbl-64/Makefile: New file.
29273 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29274 Remove brandred-fma4.
29275 (CFLAGS-brandred-fma4.c): Remove.
29276 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29277 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29278 define.
29279 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29280 define.
29281
8e95c99a
L
292822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29283
29284 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29285 LLONG_MAX != LONG_MAX.
29286 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29287 (_fitoa_word): Likewise.
29288 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29289 LLONG_MAX != LONG_MAX.
29290 * stdio-common/_itowa.h: Include <_itoa.h>.
29291 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29292 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29293 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29294 only if not defined.
29295 (_ITOA_WORD_TYPE): Likewise.
29296 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29297 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29298
6f4db457
DM
292992012-03-21 David S. Miller <davem@davemloft.net>
29300
29301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29302
7785fe5a
L
293032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29304
29305 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29306 of x86_64 when setting libc_cv_slibdir, libdir and
29307 libc_cv_localedir.
29308 * sysdeps/unix/sysv/linux/configure: Regenerated.
29309
4535cd55
JM
293102012-03-21 Joseph Myers <joseph@codesourcery.com>
29311
29312 * manual/lang.texi (Old Varargs): Remove section.
29313 (How Variadic): Update menu.
29314 (va_start): Do not mention varargs.h.
29315
17228132
TS
293162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29317 Joseph Myers <joseph@codesourcery.com>
29318
29319 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29320 link test.
29321 * configure: Regenerated.
29322
8149f976
TS
293232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29324
05f3d1f6
UD
29325 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29326 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29327 conformtest.pl
8149f976 29328
1a4ac776
JM
293292012-03-21 Joseph Myers <joseph@codesourcery.com>
29330
be22ce65
JM
29331 * NOTES: Remove.
29332 * Makefile (files-for-dist): Remove NOTES.
29333 (NOTES): Remove rule.
29334 * README: Don't refer to NOTES.
29335 * manual/creature.texi: Don't include macros.texi.
29336 * manual/intro.texi (creature.texi): Remove comment referring to
29337 NOTES.
29338
40b601fb
JM
29339 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29340 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29341 * configure: Regenerated.
29342 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29343 LIBC_TRY_CC_OPTION.
29344 (libc_cv_as_i686): Likewise.
29345 (libc_cv_cc_avx): Likewise.
29346 (libc_cv_cc_sse2avx): Likewise.
29347 (libc_cv_cc_fma4): Likewise.
29348 (libc_cv_cc_novzeroupper): Likewise.
29349 * sysdeps/i386/configure: Regenerated.
29350
1a4ac776
JM
29351 [BZ #13883]
29352 * sysdeps/i386/fpu/s_cexp.S: Remove.
29353 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29354 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29355 * math/libm-test.inc (cexp_test): Add more tests.
29356 * sysdeps/i386/fpu/libm-test-ulps: Update.
29357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29358
a458e7fe
AM
293592012-03-21 Allan McRae <allan@archlinux.org>
29360
29361 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29362
0cb7efc5
JM
293632012-03-21 Joseph Myers <joseph@codesourcery.com>
29364
29365 [BZ #13871]
29366 * math/w_exp2.c: Do not include <float.h>.
29367 (o_threshold, u_threshold): Remove.
29368 (__exp2): Calculate result before checking finiteness and calling
29369 __kernel_standard.
29370 * math/w_exp2f.c: Likewise.
29371 * math/w_exp2l.c: Likewise.
29372 * math/libm-test.inc (exp2_test): Require overflow exception for
29373 1e6 input.
2460d3aa
JM
29374
29375 [BZ #3866]
29376 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29377 range of signed 64-bit integers before using fistpll. Remove
29378 checks for whether integers fit in mantissa bits.
29379 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29380 the range of signed 32-bit integers before using fistpl. Remove
29381 checks for whether integers fit in mantissa bits.
29382 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29383 (__ieee754_powl): Test for y outside the range of signed 64-bit
29384 integers before using fistpll. Reduce 64-bit values to 63-bit
29385 ones as needed.
29386 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29387 divide-by-zero is raised for zero to large negative powers.
29388 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29389 (__ieee754_powl): Test for y outside the range of signed 64-bit
29390 integers before using fistpll. Reduce 64-bit values to 63-bit
29391 ones as needed.
29392 * math/libm-test.inc (pow_test): Add more tests.
29393
eb96ffb0
L
293942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29395
29396 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29397 <stdio-common/_itoa.h>.
29398 * debug/segfault.c: Likewise.
29399 * elf/dl-cache.c: Likewise.
29400 * elf/dl-minimal.c: Likewise.
29401 * elf/dl-misc.c: Likewise.
29402 * elf/dl-sysdep.c: Likewise.
29403 * elf/dl-version.c: Likewise.
29404 * elf/rtld.c: Likewise.
29405 * hurd/hurdsock.c: Likewise.
29406 * hurd/lookup-retry.c: Likewise.
29407 * malloc/malloc.c: Likewise.
29408 * malloc/mtrace.c: Likewise.
29409 * nscd/nscd_getgr_r.c: Likewise.
29410 * nscd/nscd_getpw_r.c: Likewise.
29411 * nscd/nscd_getserv_r.c: Likewise.
29412 * posix/getopt_init.c: Likewise.
29413 * posix/wordexp.c: Likewise.
29414 * stdio-common/_itoa.c: Likewise.
29415 * stdio-common/printf_fphex.c: Likewise.
29416 * stdio-common/vfprintf.c: Likewise.
29417 * string/_strerror.c: Likewise.
29418 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29419 * sysdeps/i386/i686/hp-timing.h: Likewise.
29420 * sysdeps/mach/_strerror.c: Likewise.
29421 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29422 * sysdeps/mach/hurd/sethostid.c: Likewise.
29423 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29424 * sysdeps/mach/xpg-strerror.c: Likewise.
29425 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29427 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29428 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29429 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29430 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29431 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29432 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29433 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29434 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29435 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29436 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29437 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29438 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29439 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29440 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29441 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29442 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29443 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29444 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29445 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29446
29447 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29448
29449 * stdio-common/_itoa.h: Moved to ...
29450 * sysdeps/generic/_itoa.h: Here.
29451
29452 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29453
29454 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29455 instead of "_itoa.h" and "_itowa.h".
29456 * stdio-common/vfprintf.: Likewise.
29457
d1af992d
L
294582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29459
29460 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29461 <bits/wordsize.h>.
29462 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29463 (__signbit): Likwise.
29464 (llrintf): Likwise.
29465 (llrint): Likwise.
29466
114883e0
L
294672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29468
29469 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29470 __WORDSIZE != 64.
29471
c135cc1b
JM
294722012-03-20 Joseph Myers <joseph@codesourcery.com>
29473
29474 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29475 OVERFLOW_EXCEPTION_OK.
29476 * math/libm-test.inc ("Philosophy"): Update comment about
29477 exception testing.
29478 (OVERFLOW_EXCEPTION): Define.
29479 (OVERFLOW_EXCEPTION_OK): Likewise.
29480 (INVALID_EXCEPTION_OK): Renumber.
29481 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29482 (IGNORE_ZERO_INF_SIGN): Likewise.
29483 (test_exceptions): Handle FE_OVERFLOW.
29484 (exp10_test): Expect overflow exceptions.
29485 (exp2_test): Likewise.
29486 (expm1_test): Likewise.
29487 (nextafter_test): Likewise.
29488 (pow_test): Likewise.
29489 (scalbn_test): Likewise.
29490 (scalbln_test): Likewise.
29491
95443d88
L
294922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29493
29494 * sysdeps/x86_64/bits/atomic.h
29495 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29496 64bit integer.
29497 (atomic_exchange_acq): Likewise.
29498 (__arch_exchange_and_add_body): Likewise.
29499 (__arch_add_body): Likewise.
29500 (atomic_add_negative): Likewise.
29501 (atomic_add_zero): Likewise.
29502
490df6c4
L
295032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29504
c2722551 29505 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29506 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29507
5e52b189
L
295082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29509
29510 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29511 Check __x86_64__ instead of __WORDSIZE.
29512
a9879d4c
L
295132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29514
29515 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29516
5df98260
DM
295172012-03-19 David S. Miller <davem@davemloft.net>
29518
e1497744
DM
29519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29520
5df98260
DM
29521 * sysdeps/sparc/fpu/fenv_private.h: New file.
29522 * sysdeps/sparc/fpu/math_private.h: Use it.
29523 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29524 Remove.
29525 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29526 (libc_feholdexcept_setroundl): Remove.
29527 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29528 Remove.
29529 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29530 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29531
b4c35121
L
295322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29533
29534 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29535 int64_t instead of long int.
29536 (INSERT_WORDS64): Likwise.
29537
56965fd7
L
295382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29539
29540 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29541 _Unwind_GetCFA return to _Unwind_Ptr first.
29542
83d1aec8
JM
295432012-03-19 Joseph Myers <joseph@codesourcery.com>
29544
1897ad44
JM
29545 [BZ #13629]
29546 * math/s_clog.c: Include <float.h>.
29547 (__clog): Scale large or subnormal inputs.
29548 * math/s_clogf.c: Likewise.
29549 * math/s_clogl.c: Likewise.
29550 * math/s_clog10.c: Include <float.h>.
29551 (M_LOG10_2): Define.
29552 (__clog10): Scale large or subnormal inputs.
29553 * math/s_clog10f.c: Likewise.
29554 * math/s_clog10l.c: Likewise.
29555 * math/libm-test.inc (clog_test): Add more tests.
29556 (clog10_test): Likewise.
29557 * sysdeps/i386/fpu/libm-test-ulps: Update.
29558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29559
7726d6a9
JM
29560 [BZ #11451]
29561 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29562 x and y.
29563 * math/libm-test.inc (atan2_test): Add another test.
29564
83d1aec8
JM
29565 * Makerules (common-objdir-compile): Remove.
29566 * sysdeps/unix/Makefile (config-generated): Do not add
29567 $(unix-generated) to variable.
29568 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29569 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29570 Remove rule.
29571 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29572 Likewise.
29573 [generic bits/local_lim.h] (before-compile): Do not append to
29574 variable.
29575 [generic bits/local_lim.h] (common-generated): Likewise.
29576 [generic sys/param.h] (before-compile): Do not append to variable.
29577 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29578 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29579 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29580 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29581 include.
29582 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29583 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29584 [generic sys/param.h] ($(addprefix
29585 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29586 [generic sys/param.h] (common-generated): Do not append to
29587 variable.
29588 [generic sys/param.h] (sysdep_headers): Likewise.
29589 [generic bits/errno.h] (before-compile): Do not append to
29590 variable.
29591 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29592 rule.
29593 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29594 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29595 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29596 [generic bits/errno.h] (common-generated): Do not append to
29597 variable.
29598 [generic bits/ioctls.h] (before-compile): Do not append to
29599 variable.
29600 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29601 rule.
29602 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29603 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29604 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29605 rule.
29606 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29607 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29608 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29609 [generic bits/ioctls.h] (common-generated): Do not append to
29610 variable.
29611 [generic sys/syscall.h] (syscall.h): Remove variable.
29612 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29613 rule.
29614 [generic sys/syscall.h] (before-compile): Do not append to
29615 variable.
29616 [generic sys/syscall.h] (common-generated): Likewise.
29617 * sysdeps/unix/errnos-tmpl.c: Remove file.
29618 * sysdeps/unix/errnos.awk: Likewise.
29619 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29620 * sysdeps/unix/ioctls.awk: Likewise.
29621 * sysdeps/unix/mk-local_lim.c: Likewise.
29622 * sysdeps/unix/snarf-ioctls: Likewise.
29623
4851a949
RH
296242012-03-19 Richard Henderson <rth@twiddle.net>
29625
bd37f2ee
RH
29626 * sysdeps/i386/fpu/fenv_private.h: New file.
29627 * sysdeps/i386/fpu/math_private.h: Use it.
29628 (math_opt_barrier, math_force_eval): Remove.
29629 (libc_feholdexcept_setround_53bit): Remove.
29630 (libc_feupdateenv_53bit): Remove.
29631 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29632 (math_opt_barrier, math_force_eval): Remove.
29633 (libc_feholdexcept): Remove.
29634 (libc_feholdexcept_setround): Remove.
29635 (libc_fetestexcept, libc_fesetenv): Remove.
29636 (libc_feupdateenv_test): Remove.
29637 (libc_feupdateenv, libc_feholdsetround): Remove.
29638 (libc_feresetround): Remove.
29639
d0adc922
RH
29640 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29641 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29642
0fe0f1f8
RH
29643 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29644 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29645 (libc_feupdateenv_testl): New.
29646 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29647 (libc_feupdateenv_testf): New.
29648 (libc_feupdateenv): Use libc_feupdateenv_test.
29649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29650 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29651
eb92c487
RH
29652 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29653 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29654 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29655 (libc_feresetround_noex): New.
29656 (libc_feresetround_noexf): New.
29657 (libc_feresetround_noexl): New.
29658 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29659 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29660 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29661 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29662 SET_RESTORE_ROUND.
29663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29664 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29665 (__cos): Likewise.
29666 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29667 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29668 SET_RESTORE_ROUND_NOEX.
29669 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29670 SET_RESTORE_ROUND_NOEXF.
29671 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29672 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29673 (libc_feholdsetroundf): New.
29674 (libc_feresetround, libc_feresetroundf): New.
29675
7d2e8012
RH
29676 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29677 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29678 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29679
b4dabbb4
RH
29680 * sysdeps/generic/math_private.h: Include <fenv.h>.
29681 (default_libc_feholdexcept): New.
29682 (default_libc_feholdexcept_setround): New.
29683 (default_libc_fesetenv, default_libc_feupdateenv): New.
29684 (libc_feholdexcept): Only define if undefined.
29685 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29686 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29687 (libc_feholdexcept_setroundl): Likewise.
29688 (libc_feholdexcept_setround_53bit): Likewise.
29689 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29690 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29691 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29692 (libc_feupdateenv_53bit): Likewise.
29693 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29694 (libc_feholdexcept): Convert from macro to inline function.
29695 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29696 (libc_fesetenv, libc_feupdateenv): Likewise.
29697
4851a949
RH
29698 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29699 not previously defined.
29700 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29701 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29702 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29703 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29704 * sysdeps/ieee754/flt-32/math_private.h: New file.
29705 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29706 math_private.h below SET_FLOAT_WORD.
29707 (__isnan, __isinf_ns, __finite): Remove.
29708 (__isnanf, __isinf_nsf, __finitef): Remove.
29709
e79d442e
AS
297102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29711
29712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29713
90b80344
DM
297142012-03-17 David S. Miller <davem@davemloft.net>
29715
29716 [BZ #6471]
29717 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29718 for 2.16.
29719
edc21804
DM
297202012-03-16 David S. Miller <davem@davemloft.net>
29721
77e927af
DM
29722 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29723 warnings.
29724
374976dd
DM
29725 [BZ #6471]
29726 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29727 properly.
29728 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29729 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29730 sysdep_routines when subdir is sysvipc.
29731 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29732 __getshmlba helper.
29733
edc21804
DM
29734 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29735
473c3ef3
L
297362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29737
29738 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29739 [__LP64__].
29740
eb0f39b6
L
297412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29742
29743 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29744 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29745 (__lround): Renamed to ...
29746 (__llround): This. Replace long int with long long int.
29747 Define lround functions as aliases of llround functions.
29748 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29749
6b6cd74b
L
297502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29751
29752 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29753 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29754 adresses to uintptr_t. Replace "long int" and "unsigned long
29755 int" with "greg_t" on va_arg.
29756
f1a77b01
L
297572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29758
29759 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29760 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29761
29762 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29763 Move e_machine check before EI_CLASS check. Handle x32
29764 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29765 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29766 SKIP_EM_IA_64 and include
29767 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29768
29769 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29770 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29771 (add_system_dir): New macro.
29772
29773 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29774 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29775
11b90b9f
JM
297762012-03-16 Joseph Myers <joseph@codesourcery.com>
29777
c36e1d23
JM
29778 [BZ #2551]
29779 [BZ #2552]
29780 [BZ #2553]
29781 [BZ #2554]
29782 [BZ #2562]
29783 [BZ #2563]
29784 [BZ #2565]
29785 [BZ #2566]
29786 [BZ #2576]
29787 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29788 (y0): Likewise.
29789 * math/w_j0f.c (j0f): Likewise.
29790 (y0f): Likewise.
29791 * math/w_j0l.c (__j0l): Likewise.
29792 (__y0l): Likewise.
29793 * math/w_j1.c (j1): Likewise.
29794 (y1): Likewise.
29795 * math/w_j1f.c (j1f): Likewise.
29796 (y1f): Likewise.
29797 * math/w_j1l.c (__j1l): Likewise.
29798 (__y1l): Likewise.
29799 * math/w_jn.c (jn): Likewise.
29800 (yn): Likewise.
29801 * math/w_jnf.c (jnf): Likewise.
29802 (ynf): Likewise.
29803 * math/w_jnl.c (__jnl): Likewise.
29804 (__ynl): Likewise.
29805 * math/libm-test.inc (j0_test): Add more tests.
29806 (j1_test): Likewise.
29807 (jn_test): Likewise. Add trailing semicolon to existing test.
29808 (y0_test): Likewise.
29809 (y1_test): Likewise.
29810 * sysdeps/i386/fpu/libm-test-ulps: Update.
29811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29812
11b90b9f
JM
29813 [BZ #13851]
29814 [BZ #13854]
29815 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29816 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29817 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29818 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29819 (__tanl): Set errno for infinite argument.
29820 * sysdeps/i386/fpu/mptan.c: Remove.
29821 * sysdeps/i386/fpu/s_tan.S: Likewise.
29822 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29823 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29824 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29825 * math/libm-test.inc (tan_test): Add more tests and enable more
29826 tests for double and long double.
29827 * sysdeps/i386/fpu/libm-test-ulps: Update.
29828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29829
6a1bd2a1
JK
298302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29831
29832 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29833 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29834
10a803e0
RM
298352012-03-16 Roland McGrath <roland@hack.frob.com>
29836
29837 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29838 * configure.in: Use it for both main tree and add-ons.
29839 * configure: Regenerated.
29840
f196c7f7
L
298412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29842
29843 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29844
8848d99d
JM
298452012-03-16 Joseph Myers <joseph@codesourcery.com>
29846
96cbe7f4
JM
29847 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29848 in comment.
29849
8848d99d
JM
29850 [BZ #13851]
29851 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29852 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29853 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29854 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29855 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29856 infinite argument.
29857 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29858 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29859 != 0 for prec == 2.
29860 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29861 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29862 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29863 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29864 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29865 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29866 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29867 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29868 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29869 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29870 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29871 * math/libm-test.inc (cos_test): Add more tests and enable more
29872 tests for long double.
29873 (sin_test): Likewise.
29874 (sincos_test): Likewise.
29875 * sysdeps/i386/fpu/libm-test-ulps: Update.
29876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29877
dd7f4703
DM
298782012-03-16 David S. Miller <davem@davemloft.net>
29879
29880 * sysdeps/sparc/fpu/math_private.h: New file.
29881
006f1daa
DM
298822012-03-15 David S. Miller <davem@davemloft.net>
29883
c0c83bc8
DM
29884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29885 file.
e6a62e18 29886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
29887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29888 file.
e6a62e18
DM
29889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29894 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29895 sysdep routines.
29896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29897
88cb87d9
DM
29898 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29899 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29900
006f1daa 29901 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
29902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29903 sparc-ifunc.h
006f1daa 29904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29906 Likewise.
29907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29908 Likewise.
006f1daa
DM
29909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
29912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29913 Likewise.
006f1daa
DM
29914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
29918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29919 Likewise.
29920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29921 Likewise.
006f1daa
DM
29922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29929 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29941 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29946
11e0098e
AS
299472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29948
29949 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29950 scaling.
29951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29952
e85b09d0
AJ
299532012-03-15 Andreas Jaeger <aj@suse.de>
29954
29955 [BZ #13852]
29956 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29957 ieee754/flt-32 implementation for sin, cos and sincos.
29958 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29959 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29960 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29961 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29962 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29963 ieee754/flt-32 implementation for tan.
29964
29965 * math/libm-test.inc (cos_test): Enable some large input tests for
29966 float as well
29967 (sin_test): Likewise.
29968 (sincos_test): Likewise.
29969 (tan_test): Add tests for large input.
29970
29971 * sysdeps/i386/fpu/libm-test-ulps: Update.
29972
81c64153
AJ
299732012-03-15 Andreas Jaeger <aj@suse.de>
29974
29975 [BZ #13658]
29976 * math/libm-test.inc (cos_test): Add more test cases.
29977 (sin_test): Likewise.
29978 (sincos_test): Likewise.
29979
7bbfa5c6
AJ
299802012-03-15 Andreas Jaeger <aj@suse.de>
29981
29982 [BZ #13837]
29983 * math/libm-test.inc (cos_test): Add a test case for large input
29984 value.
29985 (sin_test): Likewise.
29986 (sincos_test): Likewise.
29987
299882012-03-15 Andreas Jaeger <aj@suse.de>,
29989 Joseph Myers <joseph@codesourcery.com>
29990
29991 [BZ #13658]
0671f479 29992 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
29993 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29994 * sysdeps/i386/fpu/branred.c: Likewise.
29995 * sysdeps/i386/fpu/dosincos.c: Likewise.
29996 * sysdeps/i386/fpu/mpa.c: Likewise.
29997 * sysdeps/i386/fpu/s_cos.S: Likewise.
29998 * sysdeps/i386/fpu/s_sin.S: Likewise.
29999 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30000 * sysdeps/i386/fpu/sincos32.c: Likewise.
30001
30002 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30003 Define.
30004 (libc_feupdateenv_53bit): Define.
30005 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30006 Define.
30007 (libc_feupdateenv_53bit): Define.
30008
30009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30010 53 bit (without extend i386 double precision).
30011
30012 * math/libm-test.inc (sincos_test): Add tests for large input.
30013 (sin): Likewise.
30014 (cos): Likewise.
30015
30016 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30017
9cad04ea
AS
300182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30019
30020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30021
f7062b9a
DM
300222012-03-15 David S. Miller <davem@davemloft.net>
30023
30024 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30025 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30026 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30027 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30040 file.
f7062b9a 30041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30043 file.
f7062b9a 30044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30046 file.
f7062b9a 30047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30049 file.
f7062b9a
DM
30050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30051 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30052 fmin/fmax sysdep routines.
30053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30054
7bd951ff
DM
300552012-03-14 David S. Miller <davem@davemloft.net>
30056
559398ab
DM
30057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30085 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30086 routines.
30087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30088 file.
559398ab 30089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30091 file.
559398ab 30092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30094 file.
559398ab 30095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30097 file.
559398ab 30098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30100 file.
559398ab 30101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30103 file.
30104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30105 file.
30106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30107 file.
30108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30109 file.
30110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30111 New file.
30112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30113 file.
30114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30115 file.
559398ab 30116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30118 file.
559398ab 30119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30121 file.
559398ab 30122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30124 file.
559398ab 30125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30127 VIS3 routines.
559398ab
DM
30128
30129 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30130 New file.
30131
5a1c1e32
DM
30132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30133
eae47a36
DM
30134 * sysdeps/sparc/configure.in: New file.
30135 * sysdeps/sparc/configure: Generate.
30136 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30137 * configure: Regenerate.
30138 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30139 * config.make.in (have-as-vis3): New.
30140 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30141 available use -Av9d instead of -Av9a.
30142 * sysdeps/sparc/sparc64/Makefile: Likewise.
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30145 New file.
30146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30147 file.
30148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30149 New file.
30150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30151 file.
eae47a36
DM
30152 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30157
c0c83bc8
DM
30158 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30159 fzeros/fnegs to load 0x80000000 into a float register instead of
30160 using the stack.
7bd951ff
DM
30161 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30162
bd951ccb
JM
301632012-03-14 Joseph Myers <joseph@codesourcery.com>
30164
30165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30166 bits/syscall.h.
30167 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30168 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30169 ($(inst_includedir)/bits/syscall.h): Remove rule.
30170 ($(objpfx)bits/syscall.d): Include instead of
30171 $(objpfx)syscall-list.d.
30172 (generated): Change syscall-list.h and syscall-list.d to
30173 bits/syscall.h and bits/syscall.d.
30174
bb4e6db2
RM
301752012-03-14 Roland McGrath <roland@hack.frob.com>
30176
30177 [BZ #13846]
30178 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30179
aa4a2ae1
JM
301802012-03-14 Joseph Myers <joseph@codesourcery.com>
30181
e456826d
JM
30182 [BZ #13841]
30183 * math/s_csqrt.c: Include <float.h>.
30184 (__csqrt): Scale large or subnormal inputs.
30185 * math/s_csqrtf.c: Likewise.
30186 * math/s_csqrtl.c: Likewise.
30187 * math/libm-test.inc (csqrt_test): Add more tests.
30188 * sysdeps/i386/fpu/libm-test-ulps: Update.
30189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30190
aa4a2ae1
JM
30191 [BZ #13840]
30192 * math/libm-test.inc (hypot_test): Add more tests.
30193
7c10fd35
DM
301942012-03-13 David S. Miller <davem@davemloft.net>
30195
30196 [BZ #13840]
30197 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30198 double-precision for the calculation instead of scaling.
30199
f453b98b
JM
302002012-03-13 Joseph Myers <joseph@codesourcery.com>
30201
30202 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30203 manipulate bits before adding and subtracting TWO52[sx].
30204 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30206 Likewise.
30207 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30208
09a3453f
DM
302092012-03-13 David S. Miller <davem@davemloft.net>
30210
8e59da90
DM
30211 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30212 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30214 rtld-global-offsets.h
30215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30216
2a8ab7f2
DM
30217 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30218 large parameters.
30219
10f62770
DM
30220 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30221
5f0bdb18
DM
30222 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30223 'err' in the ifdef scope in which it is actually used.
30224
09a3453f
DM
30225 * nss/nss_db/db-init.c: Include string.h
30226
b4b2eb5e
DM
302272012-03-12 David S. Miller <davem@davemloft.net>
30228
98bb2f1c
DM
30229 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30230 masking out of the most significant byte of random value used.
30231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30232 Fix coding style in previous change.
30233
b4b2eb5e
DM
30234 * sysdeps/unix/sysv/linux/kernel-features.h
30235 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30236 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30237 expression.
30238 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30239 later.
30240
6e226b09
DM
302412012-03-11 David S. Miller <davem@davemloft.net>
30242
a1bcbd40
DM
30243 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30244 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30245 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30246 for 'resultvar' otherwise things get truncated on 64-bit.
30247
cb9d6174
DM
30248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30249 Fix masking out of the most significant byte of random value used.
30250
6e226b09
DM
30251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30252
058c132d
AS
302532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30254
30255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30256
2d2cd515
DM
302572012-03-09 David S. Miller <davem@davemloft.net>
30258
30259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30260 variables with appropriate CPP guards.
30261 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30262 frame pointer, not the stack pointer. Correct layout comments. Fix test
30263 on resulting framesize and the management of the outregs buffer for pltexit.
30264 Preserve floating point return values across _dl_call_pltexit call.
30265 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30266 framesize and the management of the outregs buffer for pltexit.
30267 Preserve floating point return values across _dl_call_pltexit
30268 call.
30269 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30270 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30271 (print_exit): Fix format string for return register value.
30272
9a07f9d0
JM
302732012-03-10 Joseph Myers <joseph@codesourcery.com>
30274
30275 * sunrpc/Makefile (others): Add rpcgen.
30276 ($(objpfx)rpcgen): Remove special build rule and dependency on
30277 libc.
30278 * sunrpc/rpcgen.c: New file.
30279
547b5e30
PE
302802012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30281
c524201a
PE
30282 [BZ #13673]
30283 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30284 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30285 * sysdeps/i386/crti.S: Likewise.
30286 * sysdeps/i386/crtn.S: Likewise.
30287 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30288 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30289 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30290 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30291 * sysdeps/sh/crti.S: Likewise.
30292 * sysdeps/sh/crtn.S: Likewise.
30293 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30294
7b6235f2
PE
30295 [BZ #13673]
30296 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30297 with URL.
30298 * locale/programs/locfile-kw.gperf: Likewise.
30299 * locale/programs/charmap-kw.h: Regenerated.
30300 * locale/programs/locfile-kw.h: Likewise.
30301
547b5e30
PE
30302 [BZ #13673]
30303 * intl/plural.y: Replace FSF snail mail address with URL.
30304 * intl/plural.c: Regenerated.
30305
5f0a5dae
RH
303062012-03-09 Richard Henderson <rth@twiddle.net>
30307
30308 * include/math_private.h: Remove file.
30309 * math/math_private.h: Move file ...
30310 * sysdeps/generic/math_private.h: ... here.
30311
b8c03620
RH
30312 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30313 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30314 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30315
4e234f5d 30316 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30317 and <math_private.h>.
30318 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30319 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30320 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30321 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30322 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30323 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30324 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30327 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30333 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30335 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30342 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30343 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30347 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30348 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30349 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30350 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30351 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30352 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30353 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30354 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30355 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30356 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30358 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30359 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30360 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30361 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30362 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30363 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30364 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30365 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30366 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30367 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30368 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30370 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30371 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30372 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30373 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30374 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30376 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30377 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30378 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30379 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30381 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30382 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30383 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30384 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30385 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30386 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30387 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30388 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30389 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30390 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30391 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30392 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30397 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30398 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30400 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30402 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30404 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30405 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30406 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30407 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30408 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30409 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30411 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30412 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30413 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30414 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30415 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30416 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30417 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30418 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30419 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30420 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30421 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30422 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30423 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30424 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30425 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30426 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30427 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30428 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30429 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30430 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30431 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30432 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30433 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30434 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30435 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30436 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30437 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30438 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30439 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30440 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30441 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30442 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30443 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30444 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30445 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30446 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30447 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30448 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30449 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30450 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30451 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30452 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30453 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30454 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30455 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30456 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30457 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30458 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30459 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30460 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30461 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30462 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30463 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30464 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30465 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30466 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30467 * sysdeps/ieee754/k_standard.c: Likewise.
30468 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30469 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30470 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30471 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30472 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30473 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30474 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30475 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30476 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30477 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30479 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30480 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30481 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30482 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30483 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30484 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30485 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30486 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30487 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30488 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30489 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30490 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30491 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30492 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30493 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30494 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30496 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30497 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30498 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30499 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30500 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30501 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30502 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30503 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30504 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30505 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30506 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30507 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30508 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30509 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30510 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30511 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30512 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30513 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30514 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30515 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30516 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30517 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30518 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30519 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30520 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30521 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30522 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30523 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30524 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30525 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30526 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30527 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30528 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30529 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30530 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30531 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30534 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30535 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30536 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30537 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30538 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30540 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30541 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30542 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30543 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30544 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30545 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30546 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30547 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30548 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30549 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30550 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30551 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30552 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30553 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30554 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30555 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30556 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30558 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30559 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30560 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30563 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30564 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30565 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30566 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30567 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30569 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30570 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30571 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30572 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30576 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30577 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30578 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30579 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30580 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30581 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30582 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30583 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30584 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30585 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30586 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30587 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30588 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30589 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30590 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30591 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30592 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30593 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30594 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30595 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30596 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30597 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30598 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30599 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30600 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30601 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30602 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30603 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30604 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30605 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30606 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30607 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30608 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30609 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30610 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30611 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30612 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30613 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30614 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30616 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30617 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30618 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30619 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30620 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30624 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30625 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30626 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30627 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30628 * sysdeps/ieee754/s_lib_version.c: Likewise.
30629 * sysdeps/ieee754/s_matherr.c: Likewise.
30630 * sysdeps/ieee754/s_signgam.c: Likewise.
30631 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30632 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30633 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30634 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30635 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30636 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30637 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30638 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30639 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30640 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30641 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30642 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30643 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30644 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30645 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30646 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30647 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30648 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30649 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30650 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30652
1991fa03
JM
306532012-03-09 Joseph Myers <joseph@codesourcery.com>
30654
30655 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30656 * sunrpc/rpc_main.c: Likewise.
30657 * sunrpc/rpc_svcout.c: Likewise.
30658
60d6f5a6
DM
306592012-03-09 David S. Miller <davem@davemloft.net>
30660
30661 * include/math_private.h: New file.
30662
4962050e
JM
306632012-03-09 Joseph Myers <joseph@codesourcery.com>
30664
02a6f887
JM
30665 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30666 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30667 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30668 from <bits/socket_type.h>.
30669 (enum __socket_type): Don't define here.
30670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30672 bits/socket_type.h.
30673
c6e013c1
JM
30674 [BZ #13566]
30675 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30676 checking __USE_GNU.
30677
4962050e
JM
30678 * Makerules ($(inst_includedir)/%.h): New rule.
30679 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30680 (install-others): Remove variable setting.
30681 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30682
38842f45
RH
306832012-03-08 Richard Henderson <rth@twiddle.net>
30684
67bb6da6
RH
30685 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30686 from macro to inline function; merge with the
30687 !__LIBC_INTERNAL_MATH_INLINES version.
30688 (__ieee754_sqrtf): Likewise.
30689
15194b4b
RH
30690 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30691 to inline function.
30692 (__rintf, __floor, __floorf): Likewise.
30693
64e21ede
RH
30694 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30695 macro to inline function.
30696 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30697
38842f45
RH
30698 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30699 not <math/math_private.h>.
30700
c64bf5fe
DM
307012012-03-08 David S. Miller <davem@davemloft.net>
30702
30703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30704 copyright year.
30705 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30706
82d86f28
TS
307072012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30708
30709 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30710 normalization.
30711 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30712 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30713
aea5d727
UD
307142012-03-08 Ulrich Drepper <drepper@gmail.com>
30715
30716 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30717 be defined individually, they must be defined as a block. Define
30718 S for printing a string instead of hidint the different by using a
30719 macro for adding the 'l'.
30720 * stdio-common/tst-fphex-wide.c: Adjust.
30721
70bca0a3
MP
307222012-03-07 Marek Polacek <polacek@redhat.com>
30723
30724 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30725
65b81130
MP
307262012-03-08 Marek Polacek <polacek@redhat.com>
30727
30728 [BZ #13806]
30729 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30730 * stdio-common/tst-fphex.c: Define a few macros to make the
30731 test reusable. Use them.
30732 * stdio-common/tst-fphex-wide.c: New file.
30733
07037eeb
JM
307342012-03-08 Joseph Myers <joseph@codesourcery.com>
30735
a7a93d50
JM
30736 [BZ #6911]
30737 * manual/macros.texi (gnusystems): New macro.
30738 (nongnusystems): Likewise.
30739 (gnulinuxhurdsystems): Likewise.
30740 (gnuhurdsystems): Likewise..
30741 (gnulinuxsystems): Likewise.
30742 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30743 variants of the GNU system, not "GNU system".
30744 * manual/conf.texi: Likewise.
30745 * manual/errno.texi: Likewise. Update example of errno macro
30746 expansion.
30747 * manual/filesys.texi: Likewise.
30748 (getumask): Document as specific to GNU/Hurd.
30749 * manual/install.texi: Likewise. Reword some references to
30750 GNU/Linux.
30751 * manual/intro.texi: Likewise.
30752 * manual/io.texi: Likewise.
30753 (File Name Portability): Detail which constraints are inapplicable
30754 to all GNU systems and which are only inapplicable to GNU/Hurd.
30755 * manual/job.texi: Likewise.
30756 * manual/llio.texi: Likewise.
30757 (O_NOCTTY): Document as present on GNU/Linux.
30758 * manual/maint.texi: Likewise.
30759 * manual/memory.texi: Likewise.
30760 * manual/pattern.texi: Likewise.
30761 * manual/pipe.texi: Likewise.
30762 * manual/process.texi: Likewise.
30763 * manual/resource.texi: Likewise.
30764 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30765 child on GNU/Hurd.
30766 * manual/setjmp.texi: Likewise.
30767 * manual/signal.texi: Likewise.
30768 * manual/startup.texi: Likewise.
30769 * manual/stdio.texi: Likewise.
30770 * manual/terminal.texi: Likewise.
30771 (ONLCR): Document as POSIX.
30772 (OXTABS): Document availability on GNU/Linux as XTABS.
30773 (ONOEOT): Document availability separately from other bits.
30774 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30775 * manual/time.texi: Likewise.
30776 * manual/users.texi: Likewise.
30777 * INSTALL: Regenerated.
30778 * sysdeps/gnu/errlist.c: Regenerated.
30779
07037eeb
JM
30780 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30781 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30782 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30783 puts.
30784 * configure: Regenerated.
30785
d1d3431a
JM
307862012-03-07 Joseph Myers <joseph@codesourcery.com>
30787
af6a1e37
JM
30788 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30789 default includes instead of AC_HEADER_CHECK.
30790 * sysdeps/i386/configure: Regenerated.
30791
d1d3431a
JM
30792 [BZ #10716]
30793 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30794 * math/s_cacoshf.c (__cacoshf): Likewise.
30795 * math/s_cacoshl.c (__cacoshl): Likewise.
30796 * math/s_casinh.c (__casinh): Set signs of result from argument.
30797 * math/s_casinhf.c (__casinhf): Likewise.
30798 * math/s_casinhl.c (__casinhl): Likewise.
30799 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30800 (casinh_test): Add more tests.
30801 * sysdeps/i386/fpu/libm-test-ulps: Update.
30802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30803
482ff4da
UD
308042012-03-07 Ulrich Drepper <drepper@gmail.com>
30805
872fda05
UD
30806 * po/zh_TW.po: Update from translation team.
30807
a4300c7a
UD
30808 * login/Makefile (distribute): Remove variable.
30809 * catgets/Makefile: Likewise.
30810 * mach/Makefile: Likewise.
30811 * malloc/Makefile: Likewise.
30812 * misc/Makefile: Likewise.
30813 * iconv/Makefile: Likewise.
30814 * nscd/Makefile: Likewise.
30815 * hurd/Makefile: Likewise.
30816 * manual/Makefile: Likewise.
30817 * locale/Makefile: Likewise.
30818 * intl/Makefile: Likewise.
30819 * conform/Makefile: Likewise.
30820 * nss/Makefile: Likewise.
30821 * time/Makefile: Likewise.
30822 * soft-fp/Makefile: Likewise.
30823 * dirent/Makefile: Likewise.
30824 * gmon/Makefile: Likewise.
30825 * po/Makefile: Likewise.
30826 * rt/Makefile: Likewise.
30827 * socket/Makefile: Likewise.
30828 * math/Makefile: Likewise.
30829 * signal/Makefile: Likewise.
30830 * debug/Makefile: Likewise.
30831 * elf/Makefile: Likewise.
30832 * timezone/Makefile: Likewise.
30833 * stdlib/Makefile: Likewise.
30834 * iconvdata/Makefile: Likewise.
30835 * sunrpc/Makefile: Likewise.
30836 * io/Makefile: Likewise.
30837 * argp/Makefile: Likewise.
30838 * inet/Makefile: Likewise.
30839 * hesiod/Makefile: Likewise.
30840 * grp/Makefile: Likewise.
30841 * csu/Makefile: Likewise.
30842 * wctype/Makefile: Likewise.
30843 * crypt/Makefile: Likewise.
30844 * libio/Makefile: Likewise.
30845 * string/Makefile: Likewise.
30846 * nis/Makefile: Likewise.
30847 * resolv/Makefile: Likewise.
30848 * stdio-common/Makefile: Likewise.
30849 * wcsmbs/Makefile: Likewise.
30850 * dlfcn/Makefile: Likewise.
30851 * posix/Makefile: Likewise.
30852
3b7c4e74 30853 [BZ #6959]
482ff4da
UD
30854 * timezone/Makefile: Don't install timezone files, just the programs
30855 and scripts.
30856
f72ed77d
UD
308572012-03-06 Ulrich Drepper <drepper@gmail.com>
30858
a000466f
UD
30859 * nss/databases.def: Add missing gshadow entry.
30860
f72ed77d
UD
30861 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30862
a53b7a4e
MP
308632012-03-06 Marek Polacek <polacek@redhat.com>
30864
30865 [BZ #13726]
30866 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30867 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30868 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30869 * stdio-common/tst-long-dbl-fphex.c: New file.
30870
e9258400
DM
308712012-03-06 David S. Miller <davem@davemloft.net>
30872
30873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30874 (set_obp_int): New function.
30875 (get_obp_int): New function.
30876 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
30877 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30878 Avoid unused variable warnings on 'val' and use builtin_expect.
30879 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30880 __builtin_expect.
e9258400
DM
30881 (INLINE_CLONE_SYSCALL): Likewise.
30882
3bd2c723
DM
308832012-03-05 David S. Miller <davem@davemloft.net>
30884
30885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30886
bbb78d03
AS
308872012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30888
884c5db4
AS
30889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30890
bbb78d03
AS
30891 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30892 only for |x| >= 40.
30893 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30894
1c9f702a 308952012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
30896
30897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30898 Replace gettimeofday with __vdso_gettimeofday.
30899
7be16f82
RM
30900 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30901 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30902 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
30903
30904 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30905 time with __vdso_time.
30906
ed58a00f
JM
309072012-03-05 Joseph Myers <joseph@codesourcery.com>
30908
30909 * manual/lang.texi (size_t): Note types to which size_t may be
30910 equivalent with the GNU C Library, but do not describe when
30911 differences between them are significant.
30912
30ee4ced
AJ
309132012-03-05 Andreas Jaeger <aj@suse.de>
30914
30915 * sysdeps/i386/fpu/libm-test-ulps: Update.
30916
b7cd39e8
JM
309172012-03-05 Joseph Myers <joseph@codesourcery.com>
30918
30919 [BZ #3976]
30920 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30921 (__ieee754_pow): Save and restore rounding mode and use
30922 round-to-nearest for main computations.
30923 * math/libm-test.inc (pow_test_tonearest): New function.
30924 (pow_test_towardzero): Likewise.
30925 (pow_test_downward): Likewise.
30926 (pow_test_upward): Likewise.
30927 (main): Call the new functions.
30928 * sysdeps/i386/fpu/libm-test-ulps: Update.
30929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
30930
30931 [BZ #3976]
30932 * math/libm-test.inc (cosh_test_tonearest): New function.
30933 (cosh_test_towardzero): Likewise.
30934 (cosh_test_downward): Likewise.
30935 (cosh_test_upward): Likewise.
30936 (sinh_test_tonearest): Likewise.
30937 (sinh_test_towardzero): Likewise.
30938 (sinh_test_downward): Likewise.
30939 (sinh_test_upward): Likewise.
30940 (main): Call the new functions.
30941 * sysdeps/i386/fpu/libm-test-ulps: Update.
30942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30943
6c6a98c9
TV
309442012-03-05 Tom de Vries <tom@codesourcery.com>
30945
30946 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30947 default stack guard is set in last bytes.
30948 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30949
21bb2d2e 309502012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 30951
21bb2d2e 30952 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 30953
21bb2d2e
AJ
30954 [BZ #13656]
30955 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30956 possibly allocate from heap instead of stack.
30957 * stdio-common/bug-vfprintf-nargs.c: New file.
30958 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 30959
c6922934
AS
309602012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30961
30962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30963
bc957d53
MP
309642012-03-03 Marek Polacek <polacek@redhat.com>
30965
30966 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30967 * math/math_private.h: Likewise.
30968 * stdlib/tst-strtod.c: Likewise.
30969 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30970 * sysdeps/x86_64/bits/atomic.h: Likewise.
30971
6358490d
DM
309722012-03-02 David S. Miller <davem@davemloft.net>
30973
30974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30978 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30979 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30980 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30981 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30982
01ae168d
RM
309832012-03-02 Roland McGrath <roland@hack.frob.com>
30984
d9a17c07
RM
30985 [BZ #13792]
30986 * manual/examples/README: New file, says the example source files
30987 can be used under GPL>=2.
30988 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30989 line containing just "*/".
30990 * manual/examples/add.c: Add copyright header (GPL>=2).
30991 * manual/examples/argp-ex1.c: Likewise.
30992 * manual/examples/argp-ex2.c: Likewise.
30993 * manual/examples/argp-ex3.c: Likewise.
30994 * manual/examples/argp-ex4.c: Likewise.
30995 * manual/examples/atexit.c: Likewise.
30996 * manual/examples/db.c: Likewise.
30997 * manual/examples/dir.c: Likewise.
30998 * manual/examples/dir2.c: Likewise.
30999 * manual/examples/execinfo.c: Likewise.
31000 * manual/examples/filecli.c: Likewise.
31001 * manual/examples/filesrv.c: Likewise.
31002 * manual/examples/fmtmsgexpl.c: Likewise.
31003 * manual/examples/genpass.c: Likewise.
31004 * manual/examples/inetcli.c: Likewise.
31005 * manual/examples/inetsrv.c: Likewise.
31006 * manual/examples/isockad.c: Likewise.
31007 * manual/examples/longopt.c: Likewise.
31008 * manual/examples/memopen.c: Likewise.
31009 * manual/examples/memstrm.c: Likewise.
31010 * manual/examples/mkfsock.c: Likewise.
31011 * manual/examples/mkisock.c: Likewise.
31012 * manual/examples/mygetpass.c: Likewise.
31013 * manual/examples/pipe.c: Likewise.
31014 * manual/examples/popen.c: Likewise.
31015 * manual/examples/rprintf.c: Likewise.
31016 * manual/examples/search.c: Likewise.
31017 * manual/examples/select.c: Likewise.
31018 * manual/examples/setjmp.c: Likewise.
31019 * manual/examples/sigh1.c: Likewise.
31020 * manual/examples/sigusr.c: Likewise.
31021 * manual/examples/stpcpy.c: Likewise.
31022 * manual/examples/strdupa.c: Likewise.
31023 * manual/examples/strftim.c: Likewise.
31024 * manual/examples/strncat.c: Likewise.
31025 * manual/examples/subopt.c: Likewise.
31026 * manual/examples/swapcontext.c: Likewise.
31027 * manual/examples/termios.c: Likewise.
31028 * manual/examples/testopt.c: Likewise.
31029 * manual/examples/testpass.c: Likewise.
31030 * manual/examples/timeval_subtract.c: Likewise.
31031
01ae168d
RM
31032 [BZ #13792]
31033 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31034 function to ...
31035 * manual/timeval_subtract.c.texi: ... here, new file.
31036
49efa33d
DM
310372012-03-02 David S. Miller <davem@davemloft.net>
31038
31039 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31040
28afd92d
JM
310412012-03-02 Joseph Myers <joseph@codesourcery.com>
31042
804360ed
JM
31043 [BZ #3976]
31044 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31045 (__sin): Save and restore rounding mode and use round-to-nearest
31046 for all computations.
31047 (__cos): Save and restore rounding mode and use round-to-nearest
31048 for all computations.
31049 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31050 <fenv.h>.
31051 (tan): Save and restore rounding mode and use round-to-nearest for
31052 all computations.
31053 * math/libm-test.inc (cos_test_tonearest): New function.
31054 (cos_test_towardzero): Likewise.
31055 (cos_test_downward): Likewise.
31056 (cos_test_upward): Likewise.
31057 (sin_test_tonearest): Likewise.
31058 (sin_test_towardzero): Likewise.
31059 (sin_test_downward): Likewise.
31060 (sin_test_upward): Likewise.
31061 (tan_test_tonearest): Likewise.
31062 (tan_test_towardzero): Likewise.
31063 (tan_test_downward): Likewise.
31064 (tan_test_upward): Likewise.
31065 (main): Call the new functions.
31066 * sysdeps/i386/fpu/libm-test-ulps: Update.
31067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31068
a6d06d7b
JM
31069 [BZ #10135]
31070 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31071 small n, then large n, before computing and testing k+n.
31072 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31074 Likewise.
31075 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31076 Likewise.
31077 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31078 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31079 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31080 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31082 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31083 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31084 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31085 * math/libm-test.inc (scalbn_test): Add more tests.
31086 (scalbln_test): Likewise.
31087
07e12bb3
JM
31088 * manual/filesys.texi (mode_t): Describe constraints on size and
31089 signedness, not exact equivalence to a particular type.
31090 (ino_t): Likewise.
31091 (ino64_t): Likewise.
31092 (dev_t): Likewise.
31093 (nlink_t): Likewise.
31094 (blkcnt_t): Likewise.
31095 (blkcnt64_t): Likewise.
31096 * manual/llio.texi (off_t): Likewise.
31097
28afd92d
JM
31098 [BZ #3976]
31099 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31100 (__ieee754_exp): Save and restore rounding mode and use
31101 round-to-nearest for all computations.
31102 * math/libm-test.inc (exp_test_tonearest): New function.
31103 (exp_test_towardzero): Likewise.
31104 (exp_test_downward): Likewise.
31105 (exp_test_upward): Likewise.
31106 (main): Call the new functions.
31107 * sysdeps/i386/fpu/libm-test-ulps: Update.
31108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31109
b1eeb65d
CD
311102012-03-01 Chris Demetriou <cgd@google.com>
31111
31112 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31113 have predictable order.
31114
53362a4b
DM
311152012-03-01 David S. Miller <davem@davemloft.net>
31116
3c969083
DM
31117 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31118
759707de
DM
31119 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31120 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31121 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31122 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31123
dfdb8ff2
DM
31124 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31125 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31126 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31128 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31129 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31130 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31131 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31132 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31133
ead89f96
DM
31134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31135
7f66bd07
DM
31136 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31137 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31138 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31139
53362a4b
DM
31140 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31141 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31142 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31143 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31144 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31145 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31146 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31147 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31148 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31149 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31150 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31151 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31153 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31154 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31156 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31157 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31158 * sysdeps/sparc/elf/configure: Regenerated.
31159
7b1902cb
JM
311602012-03-01 Joseph Myers <joseph@codesourcery.com>
31161
bec039bc
JM
31162 * configure.in (AS, LD): Require binutils 2.20 or later.
31163 * configure: Regenerated.
31164 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31165 as required minimum version.
31166 * INSTALL: Regenerated.
31167
7b1902cb
JM
31168 [BZ #2541]
31169 [BZ #4108]
31170 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31171 before squaring exponent.
31172 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31173 bottom long double and 27 bits of top long double before squaring
31174 exponent.
31175 * math/libm-test.inc (erfc_test): Add more tests.
31176 * sysdeps/i386/fpu/libm-test-ulps: Update.
31177 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31179
f775c276
KT
311802012-03-01 Kai Tietz <ktietz@redhat.com>
31181
31182 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31183 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31184 containing bit-fields.
31185 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31186 * soft-fp/single.h (_FP_UNION_S): Likewise.
31187 * soft-fp/double.h (_FP_UNION_D): Likewise.
31188
5b8a4d4a
JM
311892012-02-29 Joseph Myers <joseph@codesourcery.com>
31190
0bab47b6
JM
31191 [BZ #13786]
31192 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31193 not include ../strcmp.S.
31194 [USE_AS_STRNCASECMP_L]: Likewise.
31195 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31196 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31197 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31198 (__strncasecmp_l_ia32): Define as alias to
31199 __strncasecmp_l_nonascii.
31200
0fcad3e2
JM
31201 [BZ #5794]
31202 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31203 * sysdeps/i386/fpu/libm-test-ulps: Update.
31204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31205
5b8a4d4a
JM
31206 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31208
8fdceb2e
JL
312092012-02-29 Jeff Law <law@redhat.com>
31210
31211 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31212 out of bounds read.
31213
1f393a11
MP
312142012-02-29 Marek Polacek <polacek@redhat.com>
31215
31216 [BZ #13706]
31217 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31218 * elf/Makefile: Add rules to run tst-unused-dep.out.
31219
8847f037
DM
312202012-02-28 David S. Miller <davem@davemloft.net>
31221
31222 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31223 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31224 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31225 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31226 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31227 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31228
169d7f11
JM
312292012-02-29 Joseph Myers <joseph@codesourcery.com>
31230
31231 * math/libm-test.inc (llround_test): Move one test from
31232 lround_test. Use TEST_f_L in moved test.
31233 (lround_test): Move misplaced test to llround_test. Add testcase
31234 from bug 2561.
31235
39adf059
UD
312362012-02-28 Ulrich Drepper <drepper@gmail.com>
31237
31238 * sysdeps/x86_64/fpu/e_expf.S: New file.
31239 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31240
71b5d1c5
SB
312412012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31242
31243 [BZ #13637]
31244 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31245 of remain_len that may cause incomplete multi-byte character and
31246 false match.
31247 * posix/bug-regex33.c: New file.
31248 * posix/Makefile (tests): Add bug-regex33.
31249
1f77f049
JM
312502012-02-28 Joseph Myers <joseph@codesourcery.com>
31251
31252 * manual/macros.texi: New file.
31253 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31254 * manual/libc.texinfo: Include macros.texi.
31255 * manual/creatute.texi: Likewise.
31256 * manual/install.texi: Likewise.
31257 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31258 @glibcadj{} in references to the GNU C Library.
31259 * manual/charset.texi: Likewise.
31260 * manual/conf.texi: Likewise.
31261 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31262 when not using those macros.
31263 * manual/creature.texi: Likewise.
31264 * manual/crypt.texi: Likewise.
31265 * manual/errno.texi: Likewise.
31266 * manual/filesys.texi: Likewise.
31267 * manual/header.texi: Likewise.
31268 * manual/install.texi: Likewise.
31269 * manual/intro.texi: Likewise.
31270 * manual/io.texi: Likewise.
31271 * manual/job.texi: Likewise.
31272 * manual/lang.texi: Likewise.
31273 * manual/libc.texiinfo: Likewise.
31274 * manual/llio.texi: Likewise.
31275 * manual/locale.texi: Likewise.
31276 * manual/maint.texi: Likewise.
31277 * manual/math.texi: Likewise.
31278 * manual/memory.texi: Likewise.
31279 * manual/message.texi: Likewise.
31280 * manual/nss.texi: Likewise.
31281 * manual/pattern.texi: Likewise.
31282 * manual/process.texi: Likewise.
31283 * manual/resource.texi: Likewise.
31284 * manual/search.texi: Likewise.
31285 * manual/setjmp.texi: Likewise.
31286 * manual/signal.texi: Likewise.
31287 * manual/socket.texi: Likewise.
31288 * manual/startup.texi: Likewise.
31289 * manual/stdio.texi: Likewise.
31290 * manual/string.texi: Likewise.
31291 * manual/sysinfo.texi: Likewise.
31292 * manual/syslog.texi: Likewise.
31293 * manual/terminal.texi: Likewise.
31294 * manual/time.texi: Likewise.
31295 * manual/users.texi: Likewise.
31296 * INSTALL: Regenerated.
31297 * NOTES: Regenerated.
d40c5d54 31298 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31299
450bf206
AS
313002012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31301
31302 * include/dirent.h: Include <dirstream.h> before
31303 <dirent/dirent.h>.
31304
741a235b
DM
313052012-02-28 David S. Miller <davem@davemloft.net>
31306
31307 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31308 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31309 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31310 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31311
d6b5aa58
DM
313122012-02-27 David S. Miller <davem@davemloft.net>
31313
1aff59a3
DM
31314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31316 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31317 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31318
d6b5aa58
DM
31319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31320 frame pointer instead of stack pointer relative arg slot.
31321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31322 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31323 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31324
433f48bf
CD
313252012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31326
31327 [BZ #3992]
31328 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31329
d674b76d
DM
313302012-02-27 David S. Miller <davem@davemloft.net>
31331
31332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31336 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31337 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31338 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31339 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31340
0e7727f7
JM
313412012-02-27 Joseph Myers <joseph@codesourcery.com>
31342
31343 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31344 later. Allow versions 5-9.
43be4ca2 31345 * configure: Regenerated.
0e7727f7
JM
31346 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31347 required minimum version and 4.6 as recommended version. Do not
31348 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31349 * INSTALL: Regenerated.
0e7727f7 31350
a78bc654
DM
313512012-02-27 David S. Miller <davem@davemloft.net>
31352
428d5830
DM
31353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31357 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31358 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31359 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31360 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31361
a78bc654
DM
31362 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31363 manipulate bits before adding and subtracting TWO112[sx].
31364 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31365
4579f81c
RM
313662012-02-27 Roland McGrath <roland@hack.frob.com>
31367
36c8acb4
RM
31368 [BZ #13775]
31369 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31370 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31371 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31372 being in POSIX, because they are in 1003.1-2008.
31373
84ad622b
RM
31374 * rt/tst-aio.c: Include <fcntl.h>.
31375 * rt/tst-aio7.c: Likewise.
31376 * rt/tst-aio64.c: Likewise.
31377
4579f81c
RM
31378 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31379
abd923db
JM
313802012-02-27 Joseph Myers <joseph@codesourcery.com>
31381
31382 * manual/install.texi (--with-headers): Describe headers as
31383 interface headers, not private headers.
31384 (Specific advice for GNU/Linux systems): Describe use of headers
31385 from "make headers_install", not private headers from older
31386 kernels.
43be4ca2 31387 * INSTALL: Regenerated.
abd923db
JM
31388 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31389 Change to 2.6.19.
31390 * sysdeps/unix/sysv/linux/configure: Regenerated.
31391
6664049b
JM
31392 * manual/llio.texi (fclean): Remove documentation.
31393
bb8b6697
JM
31394 * manual/Makefile (libc-texi-generated): New variable. Include
31395 version.texi.
31396 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31397 $(libc-texi-generated), not duplicated list of files.
31398 (version.texi, stamp-version): New rules.
31399 (realclean): Remove $(libc-texi-generated), not individual files
31400 from that list. Do not remove dir-add.texinfo.
31401 * manual/libc.texinfo: Comment out uses of edition numbers and
31402 references to printed manual. Remove last-updated dates.
31403 (EDITION): Comment out.
31404 (ISBN): Likewise.
31405 (VERSION, UPDATED): Remove.
31406 (version.texi): Include.
31407
12e5c3b9
AS
314082012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31409
31410 * sysdeps/posix/spawni.c: Include <signal.h>.
31411 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31412 * sysdeps/pthread/aio_fsync.c: Likewise.
31413
4efeffc1 314142012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31415
ba63ba08
UD
31416 * conform/Makefile (tests): Run only when not cross-compiling and
31417 when fast-check is not defined.
31418
d94a4670
UD
31419 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31420 * conform/data/limits.h-data: Fixes for POSIX2008.
31421 * conform/run-conformtest.sh: Run all tests.
31422 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31423 headers.
31424 * include/bits/dlfcn.h: Likewise.
31425 * include/langinfo.h: Likewise.
31426 * include/monetary.h: Likewise.
31427 * include/sys/poll.h: Likewise.
31428
31429 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31430 for __USE_GNU.
31431 * posix/spawn.h: Define __need_sigset_t.
31432 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31433 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31434 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31435 to get sigevent_t only.
31436 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31437 only for __USE_GNU.
31438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31439 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31440 process_vm_writev only for __USE_GNU.
31441 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31442
31443 * conform/Makefile: For now ignore errors from run-conformtest.
31444 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31445 POSIX to avoid namespace pollution. Don't prepend headers.
31446 * conform/data/aio.h-data: Fixes for POSIX testing.
31447 * conform/data/fcntl.h-data: Likewise.
31448 * conform/data/glob.h-data: Likewise.
31449 * conform/data/grp.h-data: Likewise.
31450 * conform/data/pthread.h-data: Likewise.
31451 * conform/data/pwd.h-data: Likewise.
31452 * conform/data/signal.h-data: Likewise.
31453 * conform/data/spawn.h-data: Likewise.
31454 * conform/data/stdio.h-data: Likewise.
31455 * conform/data/stdlib.h-data: Likewise.
31456 * conform/data/stropts.h-data: Likewise.
31457 * conform/data/sys/mman.h-data: Likewise.
31458 * conform/data/sys/stat.h-data: Likewise.
31459 * conform/data/sys/types.h-data: Likewise.
31460 * conform/data/sys/wait.h-data: Likewise.
31461 * conform/data/time.h-data: Likewise.
31462 * conform/data/unistd.h-data: Likewise.
31463 * conform/data/utime.h-data: Likewise.
31464
31465 * io/sys/stat.h: fchmod was always in POSIX.
31466 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31467 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31468 * rt/aio.h: Define __need_timespec before including <time.h>.
31469 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31470 struct. Add forward declaration of pthread_attr_t and use it in
31471 sigevent.
31472 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31473 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31474 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31475 always remove CLK_TCK definition.
31476
c20105c3
AS
314772012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31478
31479 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31480
7a270350
UD
314812012-02-25 Ulrich Drepper <drepper@gmail.com>
31482
31341567
UD
31483 * conform/run-conformtest.sh: New file.
31484 * conform/Makefile: Run run-conformtest for tests.
31485 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31486 support.
31487
31488 * conform/data/uchar.h-data: New file.
31489 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31490 * conform/data/arpa/inet.h-data: Likewise.
31491 * conform/data/assert.h-data: Likewise.
31492 * conform/data/complex.h-data: Likewise.
31493 * conform/data/cpio.h-data: Likewise.
31494 * conform/data/ctype.h-data: Likewise.
31495 * conform/data/dirent.h-data: Likewise.
31496 * conform/data/dlfcn.h-data: Likewise.
31497 * conform/data/errno.h-data: Likewise.
31498 * conform/data/fcntl.h-data: Likewise.
31499 * conform/data/float.h-data: Likewise.
31500 * conform/data/fmtmsg.h-data: Likewise.
31501 * conform/data/fnmatch.h-data: Likewise.
31502 * conform/data/ftw.h-data: Likewise.
31503 * conform/data/glob.h-data: Likewise.
31504 * conform/data/grp.h-data: Likewise.
31505 * conform/data/iconv.h-data: Likewise.
31506 * conform/data/inttypes.h-data: Likewise.
31507 * conform/data/langinfo.h-data: Likewise.
31508 * conform/data/libgen.h-data: Likewise.
31509 * conform/data/limits.h-data: Likewise.
31510 * conform/data/locale.h-data: Likewise.
31511 * conform/data/math.h-data: Likewise.
31512 * conform/data/monetary.h-data: Likewise.
31513 * conform/data/mqueue.h-data: Likewise.
31514 * conform/data/ndbm.h-data: Likewise.
31515 * conform/data/net/if.h-data: Likewise.
31516 * conform/data/netdb.h-data: Likewise.
31517 * conform/data/netinet/in.h-data: Likewise.
31518 * conform/data/nl_types.h-data: Likewise.
31519 * conform/data/poll.h-data: Likewise.
31520 * conform/data/pthread.h-data: Likewise.
31521 * conform/data/pwd.h-data: Likewise.
31522 * conform/data/regex.h-data: Likewise.
31523 * conform/data/sched.h-data: Likewise.
31524 * conform/data/search.h-data: Likewise.
31525 * conform/data/semaphore.h-data: Likewise.
31526 * conform/data/setjmp.h-data: Likewise.
31527 * conform/data/signal.h-data: Likewise.
31528 * conform/data/spawn.h-data: Likewise.
31529 * conform/data/stdarg.h-data: Likewise.
31530 * conform/data/stdio.h-data: Likewise.
31531 * conform/data/stdlib.h-data: Likewise.
31532 * conform/data/string.h-data: Likewise.
31533 * conform/data/strings.h-data: Likewise.
31534 * conform/data/stropts.h-data: Likewise.
31535 * conform/data/sys/ipc.h-data: Likewise.
31536 * conform/data/sys/mman.h-data: Likewise.
31537 * conform/data/sys/msg.h-data: Likewise.
31538 * conform/data/sys/resource.h-data: Likewise.
31539 * conform/data/sys/select.h-data: Likewise.
31540 * conform/data/sys/sem.h-data: Likewise.
31541 * conform/data/sys/shm.h-data: Likewise.
31542 * conform/data/sys/socket.h-data: Likewise.
31543 * conform/data/sys/stat.h-data: Likewise.
31544 * conform/data/sys/statvfs.h-data: Likewise.
31545 * conform/data/sys/time.h-data: Likewise.
31546 * conform/data/sys/timeb.h-data: Likewise.
31547 * conform/data/sys/times.h-data: Likewise.
31548 * conform/data/sys/types.h-data: Likewise.
31549 * conform/data/sys/uio.h-data: Likewise.
31550 * conform/data/sys/un.h-data: Likewise.
31551 * conform/data/sys/utsname.h-data: Likewise.
31552 * conform/data/sys/wait.h-data: Likewise.
31553 * conform/data/syslog.h-data: Likewise.
31554 * conform/data/tar.h-data: Likewise.
31555 * conform/data/termios.h-data: Likewise.
31556 * conform/data/utime.h-data: Likewise.
31557 * conform/data/utmpx.h-data: Likewise.
31558 * conform/data/varargs.h-data: Likewise.
31559 * conform/data/wchar.h-data: Likewise.
31560 * conform/data/wctype.h-data: Likewise.
31561 * conform/data/wordexp.h-data: Likewise.
31562
31563 * include/stropts.h: New file.
31564 * include/uchar.h: New file.
31565 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31566 * include/assert.h: Likewise.
31567 * include/ctype.h: Likewise.
31568 * include/dirent.h: Likewise.
31569 * include/dlfcn.h: Likewise.
31570 * include/fcntl.h: Likewise.
31571 * include/fnmatch.h: Likewise.
31572 * include/glob.h: Likewise.
31573 * include/grp.h: Likewise.
31574 * include/libio.h: Likewise.
31575 * include/locale.h: Likewise.
31576 * include/math.h: Likewise.
31577 * include/net/if.h: Likewise.
31578 * include/netdb.h: Likewise.
31579 * include/netinet/in.h: Likewise.
31580 * include/pthread.h: Likewise.
31581 * include/pwd.h: Likewise.
31582 * include/regex.h: Likewise.
31583 * include/sched.h: Likewise.
31584 * include/search.h: Likewise.
31585 * include/setjmp.h: Likewise.
31586 * include/signal.h: Likewise.
31587 * include/stdio.h: Likewise.
31588 * include/stdlib.h: Likewise.
31589 * include/string.h: Likewise.
31590 * include/sys/cdefs.h: Likewise.
31591 * include/sys/mman.h: Likewise.
31592 * include/sys/msg.h: Likewise.
31593 * include/sys/resource.h: Likewise.
31594 * include/sys/select.h: Likewise.
31595 * include/sys/socket.h: Likewise.
31596 * include/sys/stat.h: Likewise.
31597 * include/sys/statvfs.h: Likewise.
31598 * include/sys/time.h: Likewise.
31599 * include/sys/times.h: Likewise.
31600 * include/sys/uio.h: Likewise.
31601 * include/sys/utsname.h: Likewise.
31602 * include/sys/wait.h: Likewise.
31603 * include/termios.h: Likewise.
31604 * include/time.h: Likewise.
31605 * include/ulimit.h: Likewise.
31606 * include/unistd.h: Likewise.
31607 * include/utime.h: Likewise.
31608 * include/wchar.h: Likewise.
31609 * include/wctype.h: Likewise.
31610 * include/wordexp.h: Likewise.
31611
31612 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31613
7a270350
UD
31614 * time/time.h: TIME_UTC must be a macro.
31615 Make timespec_get available for ISO C11 only as well.
31616
7724defc
UD
316172012-02-24 Ulrich Drepper <drepper@gmail.com>
31618
31619 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31620 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31621
6b1d1d46
JM
316222012-02-24 Joseph Myers <joseph@codesourcery.com>
31623
31624 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31625
0f8bbd69
JM
316262012-02-24 Joseph Myers <joseph@codesourcery.com>
31627
31628 * manual/texinfo.tex: Update to version 2012-01-19.16.
31629
66ab80bc
JM
316302012-02-24 Joseph Myers <joseph@codesourcery.com>
31631
31632 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31633
74981cc5
RM
316342012-02-24 Roland McGrath <roland@hack.frob.com>
31635
ee968201
RM
31636 [BZ #13738]
31637 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31638 * manual/fdl-1.3.texi: New file.
31639 * manual/fdl-1.1.texi: File removed.
31640
74981cc5
RM
31641 [BZ #13738]
31642 * manual/libc.texinfo (FDL_VERSION): New @set.
31643 Use it for mention of FDL in cover text.
31644 (Documentation License): Use it in @include file name.
31645
7bb764bc
JM
316462012-02-22 Joseph Myers <joseph@codesourcery.com>
31647 Roland McGrath <roland@hack.frob.com>
31648
31649 [BZ #5461]
31650 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31651 not LONG_LONG_MAX and LONG_LONG_MIN.
31652 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31653 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31654 name.
31655 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31656
6cbeae47
JM
316572012-02-22 Joseph Myers <joseph@codesourcery.com>
31658
31659 [BZ #2547]
31660 [BZ #11365]
31661 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31662 manipulate bits before adding and subtracting TWO23[sx].
31663 * math/libm-test.inc (nearbyint_test): Add more tests.
31664
fe45ce09
JM
316652012-02-22 Joseph Myers <joseph@codesourcery.com>
31666
31667 [BZ #2548]
31668 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31669 bits before adding and subtracting TWO23[sx].
31670 * math/libm-test.inc (rint_test): Add more tests.
31671 (rint_test_tonearest): Likewise.
31672 (rint_test_towardzero): Likewise.
31673 (rint_test_downward): Likewise.
31674 (rint_test_upward: Likewise.
31675
ff3b3d82
JM
316762012-02-22 Joseph Myers <joseph@codesourcery.com>
31677
31678 [BZ #10110]
31679 * include/stdc-predef.h: New file. Extracted from features.h.
31680 * include/features.h: Include stdc-predef.h.
31681 * Makefile (headers): Add stdc-predef.h.
31682 * CONFORMANCE (Compiler limitations): Update.
31683
ef0aab35
JM
316842012-02-22 Joseph Myers <joseph@codesourcery.com>
31685
31686 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31687
58639409
DM
316882012-02-21 David S. Miller <davem@davemloft.net>
31689
31690 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31691 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31692
c0e70b25
DM
316932012-02-20 David S. Miller <davem@davemloft.net>
31694
31695 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31696 using a normal save/restore sequence, rather than allocating a
31697 dummy stack frame just to store a frame pointer and restore.
31698 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31699
fb06851d
JM
317002012-02-21 Joseph Myers <joseph@codesourcery.com>
31701
31702 * manual/install.texi: Fix stray word in line-wrapped comment.
31703
7a8b71c3
DM
317042012-02-20 David S. Miller <davem@davemloft.net>
31705
d510c123
DM
31706 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31707 both binutils and gcc support GOTDATA.
31708
0722d7c2
DM
31709 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31710 "rd %pc" in the PIC register setup sequences.
31711
3d2b3019
DM
31712 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31713 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31714 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31715 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31716 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31718 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31719 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31721 (SYSCALL_ERROR_HANDLER): Likewise.
31722 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31723 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31724 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31725 (SYSCALL_ERROR_HANDLER): Likewise.
31726
c80098a9
DM
31727 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31728 (HAVE_GCC_GOTDATA): New.
31729 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31730 relocation support in both binutils and gcc.
31731 * sysdeps/sparc/elf/configure: Regenerate.
31732
3a2545a0
DM
31733 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31734 * sysdeps/sparc/sparc32/elf/configure: Delete.
31735 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31736 * sysdeps/sparc/sparc64/elf/configure: Delete.
31737 * sysdeps/sparc/elf/configure.in: New file.
31738 * sysdeps/sparc/elf/configure: Generate.
31739
7a8b71c3
DM
31740 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31741 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31742 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31743 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31744 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31745
f1e86fca
JM
317462012-02-21 Joseph Myers <joseph@codesourcery.com>
31747
31748 * manual/install.texi: Do not mention specific glibc version
31749 numbers.
31750 * manual/libc.texinfo (VERSION, UPDATED): Update.
31751 (@copying): Use @copyright{} and range of years.
31752
0e7dfaef
JM
317532012-02-21 Joseph Myers <joseph@codesourcery.com>
31754
31755 [BZ #13695]
31756 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31757 [crti.S not in sysdirs] (generated): Do not append.
31758 [crti.S not in sysdirs] (omit-deps): Likewise.
31759 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31760 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31761 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31762 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31763 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31764 Likewise.
31765 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31766 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31767 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31768 * csu/defs.awk: Remove file.
31769 * sysdeps/generic/initfini.c: Likewise.
31770 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31771 variable.
31772 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31773 Likewise.
31774
599af3ca
JM
317752012-02-20 Joseph Myers <joseph@codesourcery.com>
31776
31777 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31778 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31779 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31780 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31781 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31782 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31783 <bits/epoll.h>.
31784 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31785 (__EPOLL_PACKED): Define to empty if not defined by
31786 <bits/epoll.h>.
31787 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31789 bits/epoll.h.
31790
0e499750
JM
317912012-02-20 Joseph Myers <joseph@codesourcery.com>
31792
31793 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31794 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31795 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31796 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31797 <bits/timerfd.h>.
31798 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31800 bits/timerfd.h.
31801
5ad91f6e
JM
318022012-02-20 Joseph Myers <joseph@codesourcery.com>
31803
31804 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31805 in C locale.
31806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31807 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31810
06b99b02
AJ
318112012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31812
31813 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31814 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31815
7638c0fd
AS
318162012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31817
31818 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31819 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31820 defined.
31821 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31822 Likewise.
31823 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31824 entry for 2.16.
31825
92221550
AJ
318262012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31827
31828 * math/w_acos.c: Use non-signaling floating-point comparisons.
31829 * math/w_acosf.c: Likewise.
31830 * math/w_acosh.c: Likewise.
31831 * math/w_acoshf.c: Likewise.
31832 * math/w_acoshl.c: Likewise.
31833 * math/w_acosl.c: Likewise.
31834 * math/w_asin.c: Likewise.
31835 * math/w_asinf.c: Likewise.
31836 * math/w_asinl.c: Likewise.
31837 * math/w_atanh.c: Likewise.
31838 * math/w_atanhf.c: Likewise.
31839 * math/w_atanhl.c: Likewise.
31840 * math/w_exp2.c: Likewise.
31841 * math/w_exp2f.c: Likewise.
31842 * math/w_exp2l.c: Likewise.
31843 * math/w_j0.c: Likewise.
31844 * math/w_j0f.c: Likewise.
31845 * math/w_j0l.c: Likewise.
31846 * math/w_j1.c: Likewise.
31847 * math/w_j1f.c: Likewise.
31848 * math/w_j1l.c: Likewise.
31849 * math/w_jn.c: Likewise.
31850 * math/w_jnf.c: Likewise.
31851 * math/w_log.c: Likewise.
31852 * math/w_log10.c: Likewise.
31853 * math/w_log10f.c: Likewise.
31854 * math/w_log10l.c: Likewise.
31855 * math/w_log2.c: Likewise.
31856 * math/w_log2f.c: Likewise.
31857 * math/w_log2l.c: Likewise.
31858 * math/w_logf.c: Likewise.
31859 * math/w_logl.c: Likewise.
31860 * math/w_sqrt.c: Likewise.
31861 * math/w_sqrtf.c: Likewise.
31862 * math/w_sqrtl.c: Likewise.
31863 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31864 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31865 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31866 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31867 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31868
ebaf36eb
JM
318692012-02-19 Joseph Myers <joseph@codesourcery.com>
31870
31871 [BZ #9739]
31872 * manual/string.texi (strnlen): Use correct parameter name in
31873 equivalent expression.
31874
71c254a6
JM
318752012-02-19 Joseph Myers <joseph@codesourcery.com>
31876
31877 [BZ #11174]
31878 * manual/users.texi (seteuid): Consistently use neweuid for
31879 argument name.
31880
16d2c631
JM
318812012-02-19 Joseph Myers <joseph@codesourcery.com>
31882
31883 [BZ #13704]
31884 * manual/nss.texi (Services in the NSS configuration): Correct
31885 list of services in example configuration file.
31886
cd837b09
NB
318872012-02-19 Nick Bowler <nbowler@draconx.ca>
31888
31889 [BZ #11322]
31890 * manual/arith.texi: Remove statements about negative zero
31891 behaving identically to zero.
31892
02c4bbad
JM
318932012-02-18 Joseph Myers <joseph@codesourcery.com>
31894
31895 [BZ #5993]
31896 * manual/install.texi: Do not document upgrading from libc5.
31897
366842e7
JM
318982012-02-18 Joseph Myers <joseph@codesourcery.com>
31899
31900 [BZ #4596]
31901 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31902
dd54084d
DM
319032012-02-18 David S. Miller <davem@davemloft.net>
31904
31905 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31906 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31907 %o7 across the call.
31908 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31909 instead.
31910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31911 SETUP_PIC_REG_LEAF.
31912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31913 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31914 * sysdeps/sparc/crtn.S: Likewise.
31915
2bcc53a3
UD
319162012-02-17 Ulrich Drepper <drepper@gmail.com>
31917
31918 * aout/Makefile: Remove.
31919
09c093b5
RK
319202012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31921
31922 [BZ #13058]
31923 * manual/examples/argp-ex1.c (main): Format definition in GNU
31924 style.
31925 * manual/examples/argp-ex2.c (main): Likewise.
31926 * manual/examples/argp-ex3.c (main): Likewise.
31927 * manual/examples/argp-ex4.c (main): Likewise.
31928 * manual/examples/longopt.c (main): Use new-style prototype
31929 definition.
31930 * manual/examples/strncat.c (main): Specify return type and use
31931 (void) for arguments.
31932 * manual/examples/subopt.c (main): Use char **argv argument.
31933
2ee633a2
JM
319342012-02-17 Joseph Myers <joseph@codesourcery.com>
31935
31936 [BZ #5077]
31937 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31938 rounding modes.
31939
0520adde
FB
319402012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31941
31942 [BZ #6907]
31943 * manual/string.texi (strchr): Change when strchrnul is
31944 recommended.
31945
3f4081cd
DGM
319462012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31947
31948 [BZ #174]
31949 * manual/locale.texi (setlocale): Document LOCPATH.
31950
d1b10e78
JM
319512012-02-17 Joseph Myers <joseph@codesourcery.com>
31952
31953 [BZ #10210]
31954 * manual/process.texi (execle): Move @dots{} before last argument.
31955
79c6869c
PB
319562012-02-17 Paul Bolle <pebolle@tiscali.nl>
31957
31958 [BZ #12047]
31959 * manual/charset.texi (Generic Charset Conversion): Fix typo
31960 (LC_TYPE -> LC_CTYPE).
31961
cc6e48bc
NB
319622012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31963
31964 [BZ #5805]
31965 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31966 (scalbnf): Likewise.
31967 (scalbnl): Likewise.
31968 (scalbln): Likewise.
31969 (scalblnf): Likewise.
31970 (scalblnl): Likewise.
31971 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31972 (vwarnx): Likewise.
31973 (verr): Likewise.
31974 (verrx): Likewise.
31975 * manual/filesys.texi (telldir): Use braces around return type.
31976 * manual/llio.texi (mmap): Add space after comma.
31977 (mmap64): Likewise.
31978 * manual/math.texi (jn): Use @var{} on parameter names.
31979 (jnf): Likewise.
31980 (jnl): Likewise.
31981 (yn): Likewise.
31982 (ynf): Likewise.
31983 (ynl): Likewise.
31984 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31985 line.
31986 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31987 "...".
31988 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31989 (sched_get_priority_max): Likewise.
31990 * manual/signal.texi (sigvec): Add space after comma.
31991 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31992 names.
31993 (if_indextoname): Likewise.
31994 (if_freenameindex): Likewise.
31995 (sendto): Use ',' instead of '.' in prototype.
31996 * manual/startup.texi (syscall): Use @dots{} instead of literal
31997 "...".
31998 * manual/stdio.texi (__fpending): Separate initial words of
31999 paragraph from @deftypefun line.
32000 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32001 "...".
32002 (vsyslog): Use @var{} on parameter names.
32003 * manual/terminal.texi (stty): Use @var{} on parameter names.
32004 * manual/users.texi (getutmp): Use @var{} on parameter names.
32005 (getutmpx): Likewise.
32006
5b23062f
JM
320072012-02-17 Joseph Myers <joseph@codesourcery.com>
32008
32009 [BZ #6884]
32010 * manual/stdio.texi (fopen): Fix typos in description of
32011 ",ccs=STRING".
32012
8dee4833
AJ
320132012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32014
32015 [BZ #4026]
32016 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32017 get clock_id definition.
32018
9078ce93
TS
320192012-02-17 Thomas Schwinge <thomas@schwinge.name>
32020
32021 [BZ #4822]
32022 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32023 (madvise): Cast every argument to void on its own.
32024
3835c55f
JM
320252012-02-17 Joseph Myers <joseph@codesourcery.com>
32026
32027 [BZ #9902]
32028 * manual/startup.texi (Exit Status): Fix typo.
32029
35c47e37
JM
320302012-02-17 Joseph Myers <joseph@codesourcery.com>
32031
32032 [BZ #10140]
32033 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32034 * manual/examples/argp-ex2.c: Likewise.
32035 * manual/examples/argp-ex3.c: Likewise.
32036
e3b69ca7
RH
320372012-02-16 Richard Henderson <rth@redhat.com>
32038
32039 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32040 * sysdeps/s390/s390-32/initfini.c: Remove.
32041 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32042 * sysdeps/s390/s390-64/initfini.c: Remove.
32043
df83af67
KK
320442012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32045
32046 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32047 compiler output for sysdeps/generic/initfini.c.
32048 * sysdeps/sh/elf/initfini.c: Remove file.
32049
f63f3380
DM
320502012-02-16 David S. Miller <davem@davemloft.net>
32051
fb59b3a4
DM
32052 [BZ #11494]
32053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32054
f63f3380
DM
32055 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32056 * sysdeps/sparc/crti.S: New file.
32057 * sysdeps/sparc/crtn.S: New file.
32058 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32059 * sysdeps/sparc/sparc64/Makefile: Likewise.
32060
df6a4a4a
MF
320612012-02-15 Mike Frysinger <vapier@gentoo.org>
32062
6dd8f3dc 32063 [BZ #3335]
df6a4a4a
MF
32064 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32065
1cac7236
RM
320662012-02-15 Roland McGrath <roland@hack.frob.com>
32067
d2c736f8
RM
32068 [BZ #4822]
32069 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32070
1cac7236
RM
32071 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32072 (write, read, close): Likewise.
32073 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32074
8e475601
JM
320752012-02-15 Joseph Myers <joseph@codesourcery.com>
32076
32077 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32078 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32079 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32080 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32081 <bits/signalfd.h>.
32082 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32084 bits/signalfd.h.
32085
ed656b40
MP
320862012-02-14 Marek Polacek <polacek@redhat.com>
32087
32088 * sysdeps/x86_64/crti.S: New file.
32089 * sysdeps/x86_64/crtn.S: New file.
32090 * sysdeps/x86_64/elf/initfini.c: Remove file.
32091
2a979d3a
JM
320922012-02-13 Joseph Myers <joseph@codesourcery.com>
32093
32094 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32095 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32096 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32097 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32098 <bits/inotify.h>.
32099 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32101 bits/inotify.h.
32102
2a418ac3
JM
321032012-02-13 Joseph Myers <joseph@codesourcery.com>
32104
32105 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32106 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32107 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32108 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32109 <bits/eventfd.h>.
32110 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32112 bits/eventfd.h.
32113
fb779be7
TS
321142012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32115
e19e83c5
RM
32116 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32117 __feraiseexcept instead of feraiseexcept.
7c35ffed 32118
fb779be7
TS
32119 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32120 nanosleep invocations.
32121 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32122 strings, and add error checking for a nanosleep invocations.
32123
59ba27a6
PE
321242012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32125
32126 Replace FSF snail mail address with URLs, as per GNU coding standards.
32127 Most of the snail mail addresses were wrong anyway, and omitting
32128 them makes the source code easier to maintain. Almost all of the
32129 changes are to license notices and to locale LC_IDENTIFICATION
32130 addresses, except for this one:
32131 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32132 not its snail mail address.
32133
57b957eb
RH
321342012-02-09 Richard Henderson <rth@twiddle.net>
32135
af850b1c
RH
32136 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32137 of kernel-features.h.
32138
57b957eb
RH
32139 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32140
6b73181a
MP
321412012-02-08 Marek Polacek <polacek@redhat.com>
32142
32143 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32144 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32145 * sysdeps/gnu/_G_config.h: Likewise.
32146 * sysdeps/generic/_G_config.h: Likewise.
32147
26ecc33a
AS
321482012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32149
6c6dbc63
AS
32150 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32151 tests.
32152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32153
e216c012
AS
32154 * sysdeps/powerpc/powerpc32/crti.S: New file.
32155 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32156 * sysdeps/powerpc/powerpc64/crti.S: New file.
32157 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32158
26ecc33a
AS
32159 * Makeconfig (have-initfini): Don't set.
32160 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32161 * configure.in (nopic_initfini): Don't substitute.
32162 * config.h.in (HAVE_INITFINI): Don't #undef.
32163 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32164 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32165
3add8e13
JM
321662012-02-08 Joseph Myers <joseph@codesourcery.com>
32167
32168 Support crti.S and crtn.S provided directly by architectures.
32169 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32170 [crti.S in sysdirs] (omit-deps): Likewise.
32171 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32172 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32173 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32174 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32175 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32176 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32177 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32178 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32179 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32180 compiler output for sysdeps/generic/initfini.c.
32181 * sysdeps/i386/elf/Makefile: Remove file.
32182 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32183
a22f12b4
MP
321842012-02-07 Marek Polacek <polacek@redhat.com>
32185
32186 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32187 * sysdeps/gnu/_G_config.h: Likewise.
32188 * sysdeps/mach/hurd/_G_config.h: Likewise.
32189
148cf100
MP
321902012-02-07 Marek Polacek <polacek@redhat.com>
32191
32192 * math/Makefile (tests): Add tst-CMPLX2.
32193 * math/tst-CMPLX2.c: New file.
32194
cfdc0dd7
AS
321952012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32196
84ba42c4
AS
32197 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32198
cfdc0dd7
AS
32199 * math/libm-test.inc (jn_test): Add missing L suffix.
32200
622c86f4
MP
322012012-02-06 Marek Polacek <polacek@redhat.com>
32202
32203 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32204 * sysdeps/i386/fpu/e_powf.S: Likewise.
32205 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32206 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32207 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32208 * sysdeps/i386/fpu/e_pow.S: Likewise.
32209 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32210 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32211 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32212 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32213 * sysdeps/i386/fpu/e_log2.S: Likewise.
32214 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32215 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32216 * sysdeps/i386/fpu/e_powl.S: Likewise.
32217 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32218 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32219 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32220 * sysdeps/i386/fpu/e_logl.S: Likewise.
32221 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32222 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32223 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32224 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32225 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32226 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32227 * sysdeps/i386/fpu/e_log.S: Likewise.
32228 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32229 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32230 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32231 * sysdeps/i386/fpu/e_logf.S: Likewise.
32232 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32233 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32234 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32235 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32236 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32237 * sysdeps/i386/fpu/e_log10.S: Likewise.
32238 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32239 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32240 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32241 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32242 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32243 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32244 * sysdeps/i386/asm-syntax.h: Likewise.
32245 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32246 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32247 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32248 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32249 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32250 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32251 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32252 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32253 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32254 * sysdeps/powerpc/sysdep.h: Likewise.
32255 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32256 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32257
d4a54ac6
JM
322582012-02-06 Joseph Myers <joseph@codesourcery.com>
32259
32260 [BZ #411]
32261 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32262
314054ea
JM
322632012-02-06 Joseph Myers <joseph@codesourcery.com>
32264
32265 * sysdeps/i386/sysdep.h: Include <features.h>.
32266 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32267 version.
32268
d8e0ca50
JM
322692012-02-05 Joseph Myers <joseph@codesourcery.com>
32270
32271 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32272 Define.
32273 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32274 LOAD_PIC_REG_STR.
32275
b1da7dd9
JM
322762012-02-03 Joseph Myers <joseph@codesourcery.com>
32277
32278 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32279 (SETUP_PIC_REG): Use GET_PC_THUNK.
32280 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32281 macro.
32282
9a1d9254
JM
322832012-02-03 Joseph Myers <joseph@codesourcery.com>
32284
32285 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32286 for non-PIC compilation.
32287 (SETUP_PIC_REG): Add .p2align directive.
32288 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32289 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32290 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32291 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32292 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32293 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32294 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32295 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32296 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32297 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32298 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32299 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32300 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32301 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32302 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32303 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32304 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32306 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32309 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32310 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32311 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32312 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32314 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32315 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32316 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32317 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32325 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32326 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32327 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32328 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32329
65dc3b75
JM
323302012-02-03 Joseph Myers <joseph@codesourcery.com>
32331
32332 * math/tst-CMPLX.c: Include <stdio.h>.
32333
d55bf177
JM
323342012-01-31 Joseph Myers <joseph@codesourcery.com>
32335
32336 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32337 float.
32338 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32339 * sysdeps/sparc/bits/mathdef.h: Likewise.
32340
69db4f8f
MP
323412012-01-31 Marek Polacek <polacek@redhat.com>
32342
32343 * libio/libio.h: Don't define _PARAMS.
32344 * locale/programs/config.h: Don't define PARAMS.
32345 * stdlib/strtol_l.c: Likewise.
32346 (__strtol_l): Remove PARAMS from the prototype.
32347
41b81892
UD
323482012-01-31 Ulrich Drepper <drepper@gmail.com>
32349
3b49edc0
UD
32350 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32351 names. Just use the correct names. Remove unnecessary wrapper
32352 functions.
32353 * malloc/arena.c: Likewise.
32354 * malloc/hooks.c: Likewise.
32355
41b81892
UD
32356 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32357 ARENA_TEST says not to. Simplify test for creation of a new arena.
32358 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32359
27a25b6e
UD
323602012-01-30 Ulrich Drepper <drepper@gmail.com>
32361
32362 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32363 into tail calls.
32364 (update_get_addr): New function.
32365 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32366 GET_ADDR_MODULE parameter.
32367
c8a89e7d
JM
323682012-01-30 Joseph Myers <joseph@codesourcery.com>
32369
32370 * crypt/cert.c: Remove __STDC__ conditionals.
32371 * crypt/crypt-entry.c: Likewise.
32372 * crypt/crypt_util.c: Likewise.
32373 * libio/filedoalloc.c: Likewise.
32374 * libio/fileops.c: Likewise.
32375 * libio/genops.c: Likewise.
32376 * libio/iofclose.c: Likewise.
32377 * libio/iofdopen.c: Likewise.
32378 * libio/iofopen.c: Likewise.
32379 * libio/iofopen64.c: Likewise.
32380 * libio/iogetdelim.c: Likewise.
32381 * libio/iopopen.c: Likewise.
32382 * libio/obprintf.c: Likewise.
32383 * libio/oldfileops.c: Likewise.
32384 * libio/oldiofclose.c: Likewise.
32385 * libio/oldiofdopen.c: Likewise.
32386 * libio/oldiofopen.c: Likewise.
32387 * libio/oldiopopen.c: Likewise.
32388 * libio/wfiledoalloc.c: Likewise.
32389 * libio/wgenops.c: Likewise.
32390 * locale/programs/xmalloc.c: Likewise.
32391 * misc/syslog.c: Likewise.
32392 * stdio-common/xbug.c: Likewise.
32393 * string/memchr.c: Likewise.
32394 * string/memcmp.c: Likewise.
32395 * string/memrchr.c: Likewise.
32396 * string/rawmemchr.c: Likewise.
32397 * sysdeps/posix/getcwd.c: Likewise.
32398 * time/strftime_l.c: Likewise.
32399
3b100462
JM
324002012-01-30 Joseph Myers <joseph@codesourcery.com>
32401
32402 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32403 * config.make.in (config-cflags-sse2avx): Define.
32404 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32405 Fix typo.
32406
607998af
CM
324072012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32408
32409 * scripts/config.guess: Update from upstream config git repository.
32410 * scripts/config.sub: Likewise.
32411
3601428f
CM
324122012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32413
3ac8b282
CM
32414 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32415 (EM_NUM): Update.
32416 (R_TILEPRO_*, R_TILEGX_*): New macros.
32417
e034841e
CM
32418 * scripts/firstversions.awk: Fix bug in version range handling.
32419
540d7568
CM
32420 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32421
3601428f
CM
32422 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32423
463de862
CM
32424 * include/sys/epoll.h: New file.
32425 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32426 libc_hidden_def.
32427
73139a76
UD
324282012-01-28 Ulrich Drepper <drepper@gmail.com>
32429
96bc5b45
UD
32430 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32431 Avoid unnecessary __WORDSIZE == 64 test.
32432 (fmaxf): Use VEX format if possible.
32433 (fmax): Likewise.
32434 (fminf): Likewise.
32435 (fmin): Likewise.
32436
56f6f6a2
UD
32437 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32438 * math/math_private.h: Remove libc_fegetround* and
32439 libc_fesetround*.
32440 * sysdeps/i386/configure.in: Check for -msse2avx.
32441 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32442 also if SSE2AVX is defined.
32443 Remove libc_fegetround* and libc_fesetround*.
32444 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32445 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32446 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32447 of HAS_YMM_USABLE.
32448 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32449 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32450 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32451 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32453
73139a76
UD
32454 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32455
d73f93a4
AZ
324562012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32457
32458 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32459 size is not set.
32460 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32461
6ee65ed6
UD
324622012-01-27 Ulrich Drepper <drepper@gmail.com>
32463
32464 [BZ #13618]
32465 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32466 relocation.
32467 * Makeconfig (libm): Define.
32468 * elf/Makefile: Add rules to build and run tst-relsort1.
32469 * elf/tst-relsort1.c: New file.
32470 * elf/tst-relsort1mod1.c: New file.
32471 * elf/tst-relsort1mod2.c: New file.
32472
8db21882
JM
324732012-01-27 Joseph Myers <joseph@codesourcery.com>
32474
32475 * math/s_ldexp.c: Remove __STDC__ conditionals.
32476 * math/s_ldexpf.c: Likewise.
32477 * math/s_ldexpl.c: Likewise.
32478 * math/s_nextafter.c: Likewise.
32479 * math/s_nexttowardf.c: Likewise.
32480 * math/s_significand.c: Likewise.
32481 * math/s_significandf.c: Likewise.
32482 * math/s_significandl.c: Likewise.
32483 * math/w_jnl.c: Likewise.
32484 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32485 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32486 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32487 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32488 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32489 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32490 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32494 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32495 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32503 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32504 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32505 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32506 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32507 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32508 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32509 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32510 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32511 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32512 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32513 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32514 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32515 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32516 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32517 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32518 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32519 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32520 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32521 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32522 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32523 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32524 * sysdeps/ieee754/k_standard.c: Likewise.
32525 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32526 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32527 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32528 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32529 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32530 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32532 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32534 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32535 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32536 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32537 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32538 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32539 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32542 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32543 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32544 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32554 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32558 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32559 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32560 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32561 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32562 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32569 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32574 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32575 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32576 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32577 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32579 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32580 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32581 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32582 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32583 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32584 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32585 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32586 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32587 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32589 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32590 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32591 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32592 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32593 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32594 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32595 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32596 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32597 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32599 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32600 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32604 * sysdeps/ieee754/s_matherr.c: Likewise.
32605 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32606 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32609
965a54a4
JM
326102012-01-26 Joseph Myers <joseph@codesourcery.com>
32611
32612 * crypt/md5.h: Remove __STDC__ conditionals.
32613 * libio/libioP.h: Likewise.
32614 * locale/programs/config.h: Likewise.
32615 * sysdeps/generic/sysdep.h: Likewise.
32616 * sysdeps/i386/asm-syntax.h: Likewise.
32617 * sysdeps/s390/asm-syntax.h: Likewise.
32618 * sysdeps/unix/sysdep.h: Likewise.
32619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32621
7071ad79
JM
326222012-01-26 Joseph Myers <joseph@codesourcery.com>
32623
32624 * libio/libio.h: Remove __STDC__ conditionals.
32625 * malloc/obstack.h: Likewise.
32626 * math/complex.h: Likewise.
32627 * math/math.h: Likewise.
32628 * sysdeps/generic/_G_config.h: Likewise.
32629 * sysdeps/gnu/_G_config.h: Likewise.
32630 * sysdeps/mach/hurd/_G_config.h: Likewise.
32631 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32632 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32633 * sysdeps/sparc/bits/mathdef.h: Likewise.
32634
afc5ed09
UD
326352012-01-26 Ulrich Drepper <drepper@gmail.com>
32636
32637 [BZ #13583]
32638 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32639 Clean up HAS_* macros.
afc5ed09 32640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32641 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32642 possible.
32643 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32644 HAS_AVX.
32645 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32646 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32647 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32648 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32649 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32650
bdb6de1d
JM
326512012-01-25 Joseph Myers <joseph@codesourcery.com>
32652
32653 * elf/tst-unique3.cc (gets): Remove declaration.
32654 * elf/tst-unique3lib.cc (gets): Likewise.
32655 * elf/tst-unique3lib2.cc (gets): Likewise.
32656 * elf/tst-unique4.cc (gets): Likewise.
32657
b15549e6
UD
326582012-01-24 Ulrich Drepper <drepper@gmail.com>
32659
32660 * include/stdio.h: Add C++ protection. Add gets declarations and
32661 definitions.
32662 * debug/tst-chk1.c: Don't declare gets here.
32663 * stdio-common/tst-gets.c: Likewise.
32664
a037381f
JM
326652012-01-24 Joseph Myers <joseph@codesourcery.com>
32666
32667 * posix/glob: Remove directory.
32668
f1d4aa75
JM
326692012-01-24 Joseph Myers <joseph@codesourcery.com>
32670
32671 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32672
81c0c964
PT
326732012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32674
32675 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32676 of the non-standard EPFNOSUPPORT.
32677
0ea698ae
ST
326782011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32679
32680 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32681 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32682 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32683
d220b117
UD
326842012-01-21 Ulrich Drepper <drepper@gmail.com>
32685
32686 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32687
3e1aa84e
UD
326882012-01-20 Ulrich Drepper <drepper@gmail.com>
32689
32690 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32691 transient errors.
32692 * nscd/grpcache.c (cache_addgr): Likewise.
32693 * nscd/hstcache.c (cache_addhst): Likewise.
32694 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32695 * nscd/pwdcache.c (cache_addpw): Likewise.
32696 * nscd/servicescache.c (cache_addserv): Likewise.
32697
400aa020
UD
326982012-01-16 Ulrich Drepper <drepper@gmail.com>
32699
d77e7869
UD
32700 * malloc/malloc.c: Various cleanups.
32701 * malloc/hooks.c: Likewise.
32702
400aa020
UD
32703 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32704 * stdlib/bug-fmtmsg1.c: New file.
32705
32706 * stdlib/fmtmsg.c (init): Add missing unlock.
32707 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32708
e0a309cf
MP
327092012-01-12 Marek Polacek <polacek@redhat.com>
32710
32711 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32712 and _GNU_SOURCE.
32713
929d11c7
WS
327142012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32715
32716 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32717 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32718 macro to ensure uniqueness of label name.
32719 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32720 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32721
41d0e869
UD
327222012-01-11 Ulrich Drepper <drepper@gmail.com>
32723
0cc5ed3b
UD
32724 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32725
41d0e869
UD
32726 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32727 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32728 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32730
a47a831a
UD
327312012-01-10 Ulrich Drepper <drepper@gmail.com>
32732
daa891c0
UD
32733 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32734
32735 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32736 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32737 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32738
e58ef0f2
UD
32739 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32740
a47a831a 32741 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32742 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32743 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32744 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32745
32746 * math/bits/math-finite.h: Add ldexp support.
32747
a0bfc9c7
MP
327482012-01-10 Marek Polacek <polacek@redhat.com>
32749
32750 * locale/programs/localedef.h (show_archive_content): Add noreturn
32751 attribute.
32752
d6e97a1d
UD
327532012-01-09 Ulrich Drepper <drepper@gmail.com>
32754
32755 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32756
d5835c26
UD
327572012-01-08 Ulrich Drepper <drepper@gmail.com>
32758
e5f484c6
UD
32759 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32760
d5835c26
UD
32761 * io/Makefile (headers): Add bits/poll2.h.
32762
d1f741e9
WS
327632011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32764
32765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32766 typo #include statement.
32767
ec09c1c4
UD
327682012-01-08 Ulrich Drepper <drepper@gmail.com>
32769
32770 * include/sys/cdefs.h: Define __attribute_alloc_size.
32771 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32772 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32773 * elf/pldd.c: Likewise.
32774 * iconv/iconv_charmap.c: Likewise.
32775 * iconv/iconvconfig.c: Likewise.
32776 * iconv/strtab.c: Likewise.
32777 * locale/programs/locale.c: Likewise.
32778 * locale/programs/localedef.h: Likewise.
32779 * locale/programs/simple-hash.c: Likewise.
32780 * nscd/nscd.h: Likewise.
32781 * nss/makedb.c: Likewise.
32782 * sysdeps/generic/ldconfig.h: Likewise.
32783 * locale/programs/localedef.c: Remove xmalloc prototype.
32784 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32785
20b38e03
PP
327862012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32787
32788 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32789 appropriate.
32790
a0da5fe1
UD
327912012-01-08 Ulrich Drepper <drepper@gmail.com>
32792
1d5a644a 32793 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32794 * math/tst-CMPLX.c: New file.
1d5a644a 32795
8784a6db
UD
32796 * math/complex.h (CMPLXL): Fix typo.
32797
d9a216c0
UD
32798 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32799 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32800 GLIBC_2.16.
32801 * debug/tst-chk1.c: Add poll and ppoll tests.
32802 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32803 * include/sys/poll.h: Add hidden proto for ppoll.
32804 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32805 * sysdeps/mach/hurd/ppoll.c: Likewise.
32806 * io/ppoll.c: Likewise.
32807 * debug/poll_chk.c: New file.
32808 * debug/ppoll_chk.c: New file.
32809 * include/bits/poll2.h: New file.
32810 * io/bits/poll2.h: New file.
32811
ac097f5c
UD
32812 [BZ #1350]
32813 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32814
2119dcfa
UD
32815 * configure.in: static is always set to yes. Remove.
32816 * config.make.in: Don't set build-static.
32817 * Makeconfig: Remove use of build-static.
32818 * dlfcn/Makefile: Likewise.
32819 * elf/Makefile: Likewise.
32820 * math/Makefile: Likewise.
32821 * misc/Makefile: Likewise.
32822 * nptl/Makefile: Likewise.
32823 * sysdeps/mach/hurd/Makefile: Likewise.
32824
121766a9
UD
32825 * configure.in: PWD_P is not used anymore.
32826 * config.make.in: Remove PWD_P entry.
32827
51a1d39c 32828 * configure.in: Remove last remnants of RANLIB.
8720d066 32829 No need to check for signed size_t anymore.
215f4bdc
UD
32830 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32831 and IA-64.
3857022a 32832 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
32833 * aclocal.m4: Likewise.
32834
d3ed7225
UD
32835 * wcsmbs/mbrtoc16.c: Implement using towc function.
32836 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32837 * wcsmbs/wcsmbsload.c: Likewise.
32838 * iconv/gconv_simple.c: Likewise.
32839 * iconv/gconv_int.h: Likewise.
32840 * iconv/gconv_builtin.h: Likewise.
32841 * iconv/iconv_prog.c: Remove CHAR16 handling.
32842
32843 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32844
32845 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32846
a0da5fe1
UD
32847 * configure.in: Remove --with-elf and --enable-bounded options.
32848 Dont set base_machine for ia64. More non-ELF conditions removed.
32849 Remove testing and setting of leading underscore information.
32850 * config.make.in (build-bounded): Set to no.
32851 * config.h.in: Remove NO_UNDERSCORES entry.
32852 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32853 them.
32854 * csu/start.c: Remove !NO_UNDERSCORE code.
32855 * locale/localeinfo.h: Likewise.
32856 * sysdeps/generic/machine-gmon.h: Likewise.
32857 * sysdeps/generic/sysdep.h: Likewise.
32858 * sysdeps/i386/sysdep.h: Likewise.
32859 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32860 * sysdeps/mach/sysdep.h: Likewise.
32861 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32863 * sysdeps/sh/sysdep.h: Likewise.
32864 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32865 * sysdeps/unix/i386/sysdep.S: Likewise.
32866 * sysdeps/unix/sparc/start.c: Likewise.
32867 * sysdeps/unix/sparc/sysdep.S: Likewise.
32868 * sysdeps/unix/sparc/sysdep.h: Likewise.
32869 * sysdeps/unix/start.c: Likewise.
32870 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32871 * sysdeps/x86_64/sysdep.h: Likewise.
32872
df78418a
UD
328732012-01-07 Ulrich Drepper <drepper@gmail.com>
32874
a784e502
UD
32875 [BZ #13553]
32876 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32877 for non-gcc.
32878 * argp/argp-fmtstream.h: Use const instead __const.
32879 * argp/argp.h: Likewise.
32880 * assert/assert.h: Likewise.
32881 * bits/fenv.h: Likewise.
32882 * bits/sched.h: Likewise.
32883 * bits/sigset.h: Likewise.
32884 * bits/sigthread.h: Likewise.
32885 * catgets/nl_types.h: Likewise.
32886 * conform/data/pthread.h-data: Likewise.
32887 * crypt/crypt-private.h: Likewise.
32888 * crypt/crypt.h: Likewise.
32889 * crypt/crypt_util.c: Likewise.
32890 * ctype/ctype.h: Likewise.
32891 * debug/execinfo.h: Likewise.
32892 * debug/mbsnrtowcs_chk.c: Likewise.
32893 * debug/mbsrtowcs_chk.c: Likewise.
32894 * debug/wcsnrtombs_chk.c: Likewise.
32895 * debug/wcsrtombs_chk.c: Likewise.
32896 * debug/wcstombs_chk.c: Likewise.
32897 * dirent/dirent.h: Likewise.
32898 * dlfcn/dlfcn.h: Likewise.
32899 * elf/neededtest4.c: Likewise.
32900 * grp/grp.h: Likewise.
32901 * gshadow/gshadow.h: Likewise.
32902 * iconv/gconv.h: Likewise.
32903 * iconv/gconv_int.h: Likewise.
32904 * iconv/gconv_simple.c: Likewise.
32905 * iconv/iconv.h: Likewise.
32906 * iconv/loop.c: Likewise.
32907 * iconv/skeleton.c: Likewise.
32908 * include/aio.h: Likewise.
32909 * include/aliases.h: Likewise.
32910 * include/argz.h: Likewise.
32911 * include/arpa/inet.h: Likewise.
32912 * include/assert.h: Likewise.
32913 * include/dirent.h: Likewise.
32914 * include/dlfcn.h: Likewise.
32915 * include/execinfo.h: Likewise.
32916 * include/fcntl.h: Likewise.
32917 * include/fenv.h: Likewise.
32918 * include/glob.h: Likewise.
32919 * include/grp.h: Likewise.
32920 * include/libintl.h: Likewise.
32921 * include/mntent.h: Likewise.
32922 * include/netdb.h: Likewise.
32923 * include/pwd.h: Likewise.
32924 * include/rpc/netdb.h: Likewise.
32925 * include/sched.h: Likewise.
32926 * include/search.h: Likewise.
32927 * include/shadow.h: Likewise.
32928 * include/signal.h: Likewise.
32929 * include/stdio.h: Likewise.
32930 * include/stdlib.h: Likewise.
32931 * include/string.h: Likewise.
32932 * include/sys/socket.h: Likewise.
32933 * include/sys/stat.h: Likewise.
32934 * include/sys/statfs.h: Likewise.
32935 * include/sys/statvfs.h: Likewise.
32936 * include/sys/syslog.h: Likewise.
32937 * include/sys/time.h: Likewise.
32938 * include/sys/uio.h: Likewise.
32939 * include/time.h: Likewise.
32940 * include/unistd.h: Likewise.
32941 * include/utmp.h: Likewise.
32942 * include/wchar.h: Likewise.
32943 * include/wctype.h: Likewise.
32944 * inet/aliases.h: Likewise.
32945 * inet/arpa/inet.h: Likewise.
32946 * inet/netinet/ether.h: Likewise.
32947 * inet/netinet/in.h: Likewise.
32948 * intl/libintl.h: Likewise.
32949 * io/bits/fcntl2.h: Likewise.
32950 * io/fcntl.h: Likewise.
32951 * io/ftw.h: Likewise.
32952 * io/sys/poll.h: Likewise.
32953 * io/sys/stat.h: Likewise.
32954 * io/sys/statfs.h: Likewise.
32955 * io/sys/statvfs.h: Likewise.
32956 * io/utime.h: Likewise.
32957 * libio/bits/stdio.h: Likewise.
32958 * libio/bits/stdio2.h: Likewise.
32959 * libio/libio.h: Likewise.
32960 * libio/libioP.h: Likewise.
32961 * libio/stdio.h: Likewise.
32962 * locale/lc-ctype.c: Likewise.
32963 * locale/locale.h: Likewise.
32964 * login/utmp.h: Likewise.
32965 * malloc/arena.c: Likewise.
32966 * malloc/malloc.c: Likewise.
32967 * malloc/malloc.h: Likewise.
32968 * malloc/mcheck.c: Likewise.
32969 * malloc/mtrace.c: Likewise.
32970 * math/bits/mathcalls.h: Likewise.
32971 * math/fenv.h: Likewise.
32972 * math/math_private.h: Likewise.
32973 * misc/bits/error.h: Likewise.
32974 * misc/bits/syslog.h: Likewise.
32975 * misc/err.h: Likewise.
32976 * misc/error.h: Likewise.
32977 * misc/fstab.h: Likewise.
32978 * misc/mntent.h: Likewise.
32979 * misc/regexp.h: Likewise.
32980 * misc/search.h: Likewise.
32981 * misc/sgtty.h: Likewise.
32982 * misc/sys/mman.h: Likewise.
32983 * misc/sys/syslog.h: Likewise.
32984 * misc/sys/uio.h: Likewise.
32985 * misc/sys/xattr.h: Likewise.
32986 * misc/ttyent.h: Likewise.
32987 * nis/rpcsvc/ypclnt.h: Likewise.
32988 * nss/nss.h: Likewise.
32989 * posix/bits/unistd.h: Likewise.
32990 * posix/fnmatch.h: Likewise.
32991 * posix/glob.h: Likewise.
32992 * posix/sched.h: Likewise.
32993 * posix/spawn.h: Likewise.
32994 * posix/sys/wait.h: Likewise.
32995 * posix/unistd.h: Likewise.
32996 * posix/wordexp.h: Likewise.
32997 * pwd/pwd.h: Likewise.
32998 * resolv/netdb.h: Likewise.
32999 * resource/sys/resource.h: Likewise.
33000 * rt/aio.h: Likewise.
33001 * rt/bits/mqueue2.h: Likewise.
33002 * rt/mqueue.h: Likewise.
33003 * shadow/shadow.h: Likewise.
33004 * signal/signal.h: Likewise.
33005 * socket/send.c: Likewise.
33006 * socket/sendto.c: Likewise.
33007 * socket/sys/socket.h: Likewise.
33008 * stdio-common/printf.h: Likewise.
33009 * stdlib/bits/stdlib.h: Likewise.
33010 * stdlib/fmtmsg.h: Likewise.
33011 * stdlib/monetary.h: Likewise.
33012 * stdlib/stdlib.h: Likewise.
33013 * stdlib/ucontext.h: Likewise.
33014 * streams/stropts.h: Likewise.
33015 * string/argz.h: Likewise.
33016 * string/bits/string2.h: Likewise.
33017 * string/string.h: Likewise.
33018 * string/strings.h: Likewise.
33019 * sunrpc/rpc/auth.h: Likewise.
33020 * sunrpc/rpc/auth_des.h: Likewise.
33021 * sunrpc/rpc/clnt.h: Likewise.
33022 * sunrpc/rpc/netdb.h: Likewise.
33023 * sunrpc/rpc/pmap_clnt.h: Likewise.
33024 * sunrpc/rpc/xdr.h: Likewise.
33025 * sysdeps/generic/inttypes.h: Likewise.
33026 * sysdeps/generic/net/if.h: Likewise.
33027 * sysdeps/generic/sys/swap.h: Likewise.
33028 * sysdeps/gnu/net/if.h: Likewise.
33029 * sysdeps/gnu/utmpx.h: Likewise.
33030 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33031 * sysdeps/i386/i486/bits/string.h: Likewise.
33032 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33033 * sysdeps/s390/bits/string.h: Likewise.
33034 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33035 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33036 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33037 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33038 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33039 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33040 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33041 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33042 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33043 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33044 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33045 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33046 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33047 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33048 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33049 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33050 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33052 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33054 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33055 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33056 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33057 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33058 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33059 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33060 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33061 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33062 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33063 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33064 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33065 * sysvipc/sys/ipc.h: Likewise.
33066 * sysvipc/sys/msg.h: Likewise.
33067 * sysvipc/sys/sem.h: Likewise.
33068 * sysvipc/sys/shm.h: Likewise.
33069 * termios/termios.h: Likewise.
33070 * time/sys/time.h: Likewise.
33071 * time/time.h: Likewise.
33072 * wcsmbs/bits/wchar2.h: Likewise.
33073 * wcsmbs/uchar.h: Likewise.
33074 * wcsmbs/wchar.h: Likewise.
33075 * wctype/wctype.h: Likewise.
33076
0269750c
UD
33077 [BZ #13551]
33078 * Makeconfig: Remove all but ELF support including AIX support.
33079 * Makerules: Likewise.
33080 * config.h.in: Likewise.
33081 * config.make.in: Likewise.
33082 * configure: Likewise.
33083 * configure.in: Likewise.
33084 * csu/Makefile: Likewise.
33085 * csu/version.c: Likewise.
33086 * debug/Makefile: Likewise.
33087 * dlfcn/Makefile: Likewise.
33088 * elf/Makefile: Likewise.
33089 * extra-lib.mk: Likewise.
33090 * iconv/Makefile: Likewise.
33091 * include/libc-symbols.h: Likewise.
33092 * include/shlib-compat.h: Likewise.
33093 * resolv/Makefile: Likewise.
33094 * resolv/res_libc.c: Likewise.
33095 * rt/Makefile: Likewise.
33096 * sysdeps/i386/asm-syntax.h: Likewise.
33097 * sysdeps/i386/sysdep.h: Likewise.
33098 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33099 * sysdeps/mach/sysdep.h: Likewise.
33100 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33101 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33102 * sysdeps/s390/asm-syntax.h: Likewise.
33103 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33104 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33105 * sysdeps/sh/sysdep.h: Likewise.
33106 * sysdeps/unix/sparc/sysdep.h: Likewise.
33107 * sysdeps/wordsize-32/divdi3.c: Likewise.
33108 * sysdeps/x86_64/sysdep.h: Likewise.
33109
00bbd29b
UD
33110 * argp/Versions: Remove _argp_unlock_xxx.
33111
33112 [BZ #13559]
33113 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33114 * abilist/libBrokenLocale.abilist: Likewise.
33115 * abilist/libanl.abilist: Likewise.
33116 * abilist/libc.abilist: Likewise.
33117 * abilist/libcrypt.abilist: Likewise.
33118 * abilist/libdl.abilist: Likewise.
33119 * abilist/libm.abilist: Likewise.
33120 * abilist/libnsl.abilist: Likewise.
33121 * abilist/libpthread.abilist: Likewise.
33122 * abilist/libresolv.abilist: Likewise.
33123 * abilist/librt.abilist: Likewise.
33124 * abilist/libthread_db.abilist: Likewise.
33125 * abilist/libutil.abilist: Likewise.
33126 * abilist/libnss_db.abilist: New file.
33127
33128 * scripts/abilist.awk: Add support for indirect functions.
33129
a2693a0e
UD
33130 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33131
3f05895f
UD
33132 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33133
ecb6fb48
UD
33134 * shlib-versions: Remove entries for ports architectures.
33135
664f8cb9
UD
33136 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33137 files in ports.
33138 * elf/stackguard-macros.h: Remove support for IA-64.
33139 * elf/tst-auditmod1.c: Likewise.
33140 * sysdeps/generic/ldsodefs.h: Likewise.
33141
7ae81d88
UD
33142 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33143 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33144 configure files.
33145
bdeba135
UD
33146 [BZ #13552]
33147 * configure.in: Remove --enable-omitfp support.
33148 * FAQ.in: Adjust.
33149 * config.make.in: Likewise.
33150 * Makeconfig: Likewise.
33151 * manual/install.texi: Likewise.
33152
d75a0a62
UD
33153 In case anyone cares, the IA-64 architecture could move to ports.
33154 * sysdeps/ia64/*: Removed.
33155 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33156 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33157
dcc9756b
UD
33158 [BZ #13555]
33159 * configure.in: Remove entries for unsupported architectures.
33160
d3761ebc 33161 [BZ #13533]
9954432e
UD
33162 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33163 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33164 routines.
33165 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33166 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33167 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33168 fall back to using wcrtomb.
33169 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33170 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33171 renaming.
33172 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33173 * wcsmbs/tst-c16c32-1.c: New file.
33174
33175 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33176 local variable.
33177
c3a87236
UD
33178 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33179
28926a1b
UD
33180 * elf/tst-unique3.cc: Add explicit declaration of gets.
33181 * elf/tst-unique3lib.cc: Likewise.
33182 * elf/tst-unique3lib2.cc: Likewise.
33183 * elf/tst-unique4.cc: Likewise.
33184
df78418a
UD
33185 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33186
8ecd6b2a
JM
331872012-01-06 Joseph Myers <joseph@codesourcery.com>
33188
33189 [BZ #13566]
33190 * assert/assert.h (static_assert): Don't define for C++.
33191 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33192 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33193
9f115170
UD
331942012-01-03 Ulrich Drepper <drepper@gmail.com>
33195
5e0d0300
UD
33196 * iconv/loop.c (single loop): Fix assertion in storing of
33197 remaining bytes.
33198
9f115170
UD
33199 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33200
81fb02b0
UD
332012012-01-01 Ulrich Drepper <drepper@gmail.com>
33202
33203 * posix/getconf.c: Update copyright year.
33204 * nss/getent.c: Likewise.
a316c1f6 33205 * nss/makedb.c: Likewise.
81fb02b0
UD
33206 * iconv/iconvconfig.c: Likewise.
33207 * iconv/iconv_prog.c: Likewise.
33208 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33209 * elf/pldd.c: Likewise.
33210 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33211 * catgets/gencat.c: Likewise.
33212 * csu/version.c: Likewise.
33213 * elf/ldd.bash.in: Likewise.
33214 * elf/sprof.c (print_version): Likewise.
33215 * locale/programs/locale.c: Likewise.
33216 * locale/programs/localedef.c: Likewise.
a316c1f6 33217 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33218 * nscd/nscd.c (print_version): Likewise.
33219 * debug/xtrace.sh: Likewise.
33220 * malloc/memusage.sh: Likewise.
33221 * malloc/mtrace.pl: Likewise.
33222 * debug/catchsegv.sh: Likewise.
33223
2ba92745
JJ
332242011-12-30 Jakub Jelinek <jakub@redhat.com>
33225
33226 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33227 pure attribute.
33228
dadebdae
UD
332292011-12-24 Ulrich Drepper <drepper@gmail.com>
33230
d3761ebc 33231 [BZ #13533]
db6af3eb
UD
33232 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33233 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33234 transformations.
33235 * iconv/gconv_int.h: Likewise.
33236 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33237 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33238 from libc for GLIBC_2.16.
33239 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33240 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33241 * wcsmbs/uchar.h: Really define mbstate_t.
33242 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33243 * wcsmbs/c16rtomb.c: New file.
33244 * wcsmbs/mbrtoc16.c: New file.
33245 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33246 for C/POSIX locale.
33247 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33248 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33249
dadebdae
UD
33250 * wcsmbs/wchar.h: Add missing __restrict.
33251
67371b56
UD
332522011-12-23 Ulrich Drepper <drepper@gmail.com>
33253
74033a25
UD
33254 [BZ #13532]
33255 * time/Makefile (routines): Add timespec_get.
33256 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33257 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33258 timespec for ISO C11.
33259 * time/timespec_get.c: New file.
33260 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33261 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33262
380d7e87
UD
33263 [BZ #13531]
33264 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33265 * stdlib/stdlib.h: Declare aligned_alloc.
33266 * Versions.def: Add GLIBC_2.16 for libc.
33267 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33268
4e9e7a35
UD
33269 [BZ 13527]
33270 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33271 ISO C11.
33272
380d7e87 33273 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33274 code.
33275
03a71829
UD
33276 [BZ #13528]
33277 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33278
839e283e
UD
33279 [BZ #13529]
33280 * assert/assert.h (static_assert): Define.
33281
ce5294e2 33282 * version.h: Update for 2.16 development version.
90fa7312 33283
8d44e150 33284 [BZ #13526]
d7809905
UD
33285 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33286 _ISOC11_SOURCE.
33287
c0da14cd
UD
33288 * version.h (RELEASE): Bump for 2.15 release.
33289 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33290
530a3249
MP
33291 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33292 Patch by Marek Polacek <mpolacek@redhat.com>.
33293
67371b56
UD
33294 * bits/byteswap.h: Protect long long constants with __extension__.
33295 * sysdeps/i386/bits/byteswap.h: Likewise.
33296 * sysdeps/ia64/bits/byteswap.h: Likewise.
33297 * sysdeps/s390/bits/byteswap.h: Likewise.
33298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33299
15db4de1
LD
333002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33301
33302 [BZ #13540]
bbe315ea
LD
33303 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33304 destination buffer.
15db4de1
LD
33305 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33306
2b2596b1
MP
333072011-12-23 Marek Polacek <polacek@redhat.com>
33308
33309 * elf/dl-addr.c (determine_info): Add inline keyword.
33310 * elf/tst-auditmod4b.c (check_avx): Likewise.
33311 * elf/tst-auditmod6b.c (check_avx): Likewise.
33312 * elf/tst-auditmod6c.c (check_avx): Likewise.
33313 * elf/tst-auditmod7b.c (check_avx): Likewise.
33314
70c6c246
UD
333152011-12-23 Ulrich Drepper <drepper@gmail.com>
33316
33317 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33318 !__SSE_MATH__.
33319
c044cf14
LD
333202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33321
15db4de1 33322 [BZ #13540]
c044cf14
LD
33323 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33324 processing for last bytes.
33325
6b13d9d9
BH
333262011-08-06 Bruno Haible <bruno@clisp.org>
33327
d455f537
BH
33328 [BZ #13061]
33329 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33330 U+0385, not to U+1FEE.
33331
6b13d9d9
BH
33332 [BZ #13062]
33333 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33334 entry for U+00A5 U+0301.
33335
db910efd
UD
333362011-12-22 Ulrich Drepper <drepper@gmail.com>
33337
27deeafc
UD
33338 [BZ #13166]
33339 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33340 buffer for the output is too small.
33341
aed9d171
UD
33342 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33343 optimization.
33344
db910efd
UD
33345 [BZ #13185]
33346 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33347 SSE flags if possible.
33348
2bd779ae
LD
333492011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33350
e7f9dac3 33351 [BZ #13540]
2bd779ae
LD
33352 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33353 processing for last bytes.
33354
154bfc16
JM
333552011-12-22 Joseph Myers <joseph@codesourcery.com>
33356
33357 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33358 (syscall-list-default-options, syscall-list-default-condition)
33359 (syscall-list-includes): Define.
33360 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33361 list of ABIs and options and #if conditions for each ABI. Do not
33362 handle common syscalls between ABIs specially.
33363 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33364 Remove.
33365 (syscall-list-variants, syscall-list-32bit-options)
33366 (syscall-list-32bit-condition, syscall-list-64bit-options)
33367 (syscall-list-64bit-condition): Define.
33368 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33369 (syscall-list-variants, syscall-list-32bit-options)
33370 (syscall-list-32bit-condition, syscall-list-64bit-options)
33371 (syscall-list-64bit-condition): Define.
33372 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33373 Remove.
33374 (syscall-list-variants, syscall-list-32bit-options)
33375 (syscall-list-32bit-condition, syscall-list-64bit-options)
33376 (syscall-list-64bit-condition): Define.
33377 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33378 Remove.
33379 (syscall-list-variants, syscall-list-32bit-options)
33380 (syscall-list-32bit-condition, syscall-list-64bit-options)
33381 (syscall-list-64bit-condition): Define.
33382
21eaf3a5
UD
333832011-12-22 Ulrich Drepper <drepper@gmail.com>
33384
16c6f992
UD
33385 * locale/iso-639.def: Add brx entry.
33386
41043168
UD
33387 [BZ #13328]
33388 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33389 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33390
21eaf3a5
UD
33391 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33392 __feraiseexcept_renamed.
33393
e3a851a2
UD
333942011-12-21 Ulrich Drepper <drepper@gmail.com>
33395
4920765e
UD
33396 [BZ #13538]
33397 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33398 EPOLLET with unsigned values.
33399 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33400 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33401
e3a851a2
UD
33402 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33403 to large cancellation.
33404 * math/s_cacoshf.c: Likewise.
33405 * math/s_cacoshl.c: Likewise.
33406
b27e24b8
RK
334072011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33408
33409 [BZ #13305]
aebefeee 33410 [BZ #12786]
b27e24b8
RK
33411 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33412 * math/s_cacoshf.c: Likewise.
33413 * math/s_cacoshl.c: Likewise.
33414
ee190f67
UD
334152011-12-21 Ulrich Drepper <drepper@gmail.com>
33416
33417 [BZ #13439]
33418 * iconv/gconv.h: Define __GCONV_SWAP.
33419 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33420 * iconvdata/utf-16.c: Likewise.
33421 * iconvdata/utf-32.c: Likewise.
33422
707f25df
AS
334232011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33424
33425 [BZ #13524]
33426 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33427 numerator after shifting it by one limb.
33428
d2daaa1e
RÁE
334292011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33430
33431 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33432 under [__USE_EXTERN_INLINES].
33433
a4647e72
UD
334342011-12-17 Ulrich Drepper <drepper@gmail.com>
33435
33436 [BZ #13446]
33437 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33438
f0b264f1
AZ
334392011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33440
33441 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33442 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33443 optimized code.
33444 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33445 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33446 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33447 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33448 for strncasecmp/strncasecmp_l compilation.
33449 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33450 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33451
8ef4f244
MP
334522011-12-08 Marek Polacek <mpolacek@redhat.com>
33453
33454 [BZ #13484]
33455 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33456 of __asm__.
33457
97ac2654
UD
334582011-12-17 Ulrich Drepper <drepper@gmail.com>
33459
33460 [BZ #13506]
33461 * time/tzfile.c (__tzfile_read): Check values from file header.
33462
91d2a845
WS
334632011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33464
33465 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33466 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33467 * powerpc/powerpc32/dl-start.S: Likewise.
33468 * powerpc/powerpc32/elf/start.S: Likewise.
33469 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33470 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33471 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33472 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33473 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33474 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33475 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33476 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33477 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33478 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33479 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33480 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33481 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33482 * powerpc/powerpc32/memset.S: Likewise.
33483 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33484 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33485 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33486 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33487 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33488 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33489 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33490 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33491 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33492 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33493 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33494 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33495 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33496
a1267ba1
AZ
334972011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33498
33499 * math/libm-test.inc: Added more nearbyint tests.
33500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33501 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33502 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33503 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33504
ad8ac1bd
RL
335052011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33506
33507 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33508 FD_CLOEXEC.
33509
1d3e4b61
UD
335102011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33511
33512 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33513 Add wcscpy-ssse3 wcscpy-c.
33514 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33515 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33516 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33517 * sysdeps/x86_64/wcschr.S: New file.
33518 * sysdeps/x86_64/wcsrchr.S: New file.
33519 * string/test-strcmp.c: Remove checking of wcscmp function for
33520 wrong alignments.
33521 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33522 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33523 wcsrchr-sse2 wcsrchr-c.
33524 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33525 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33526 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33527 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33528 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33529 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33530 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33531 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33532 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33533 * wcsmbc/wcschr.c (WCSCHR): New macro.
33534
5b330a2d
UD
335352011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33536
33537 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33538 * wcsmbs/test-wcsrchr.c: New file.
33539 * string/test-strrchr.c: Add wcsrchr support.
33540 (WIDE): New macro.
33541 * wcsmbs/test-wcscpy.c: New file.
33542 * string/test-strcpy.c: Add wcscpy support.
33543 (WIDE): New macro.
26428b7c 33544
f039c043
UD
335452011-12-10 Ulrich Drepper <drepper@gmail.com>
33546
33547 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33548 the inner loop.
33549
850fb039
AS
335502011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33551
33552 [BZ #13472]
33553 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33554
4efbd5cb
UD
335552011-12-04 Ulrich Drepper <drepper@gmail.com>
33556
52ff5dd0 33557 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33558 Minor optimizations.
52ff5dd0 33559
4efbd5cb
UD
33560 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33561 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33562 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33563
8a426e12
UD
335642011-12-03 Ulrich Drepper <drepper@gmail.com>
33565
aff2453d
UD
33566 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33567 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33568 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33569 for gcc to avoid warnings.
33570 * inet/Makefile (tests): Add tst-checks.
33571 * inet/tst-checks.c: New file.
33572
33573 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33574 warning.
33575
33576 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33577 __wmemcmp_sse2.
33578
33579 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33580 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33581
8a426e12
UD
33582 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33583
9bea3473
UD
335842011-12-02 Ulrich Drepper <drepper@gmail.com>
33585
3a965496
UD
33586 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33587 problem.
33588
9bea3473
UD
33589 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33590
f101631b
UD
335912011-11-29 Joseph Myers <joseph@codesourcery.com>
33592
33593 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33594 conditional on GCC version.
33595 (__arch_compare_and_exchange_val_8_acq)
33596 (__arch_compare_and_exchange_val_16_acq)
33597 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33598 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33599 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33600
a98275aa
UD
336012011-12-02 Joseph Myers <joseph@codesourcery.com>
33602
33603 * sysdeps/sh/backtrace.c: New file.
33604
d4cc29a2
AS
336052011-12-02 Andreas Schwab <schwab@redhat.com>
33606
33607 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33608 parenthesis.
33609
6257af2d
AS
336102011-12-01 Andreas Schwab <schwab@redhat.com>
33611
33612 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33613 falling back to utime.
33614
b5f44c1a
AS
336152011-11-30 Andreas Schwab <schwab@redhat.com>
33616
33617 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33618 expectations for float.
33619
f3a6cc0a
AS
336202011-11-29 Andreas Schwab <schwab@redhat.com>
33621
33622 * locale/weight.h (findidx): Add parameter len.
33623 * locale/weightwc.h (findidx): Likewise.
33624 * posix/fnmatch_loop.c (FCT): Adjust caller.
33625 * posix/regcomp.c (build_equiv_class): Likewise.
33626 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33627 * posix/regexec.c (check_node_accept_bytes): Likewise.
33628 * string/strcoll_l.c (STRCOLL): Likewise.
33629 * string/strxfrm_l.c (STRXFRM): Likewise.
33630
9d65ea3a
UD
336312011-11-17 Ulrich Drepper <drepper@gmail.com>
33632
33633 * Makefile.in: Remove CVSOPT handling.
33634 * configure.in: Remove use of AC_REVISION.
33635 * iconvdata/Makefile (distribute): No need to filter out CVS.
33636 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33637 handling.
33638
5583a086
AS
336392011-11-16 Andreas Schwab <schwab@redhat.com>
33640
33641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33642 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33643 [USE_AS_STRNCASECMP_L]: Likewise.
33644 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33645 NO_TLS_DIRECT_SEG_REFS.
33646 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33647 Fix argument offsets for non-PIC.
33648 [USE_AS_STRNCASECMP_L]: Likewise.
33649 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33650 NO_TLS_DIRECT_SEG_REFS.
33651
d62a8200
UD
336522011-11-15 Ulrich Drepper <drepper@gmail.com>
33653
9d65ea3a 33654 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33655 O_CLOEXEC.
33656 * locale/loadlocale.c (_nl_load_locale): Likewise.
33657
09f93bd3
AS
336582011-11-15 Andreas Schwab <schwab@redhat.com>
33659
446514f9
AS
33660 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33661 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33662 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33663 (SYSCALL_GETTIME): Set errno on error.
33664
09f93bd3
AS
33665 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33666 count references to noai6ai_cached.
33667
312be3f9
UD
336682011-11-15 Ulrich Drepper <drepper@gmail.com>
33669
33670 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33671
33672 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33673 FD_CLOEXEC for /proc/self/maps.
33674
33675 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33676 FD_CLOEXEC for /proc/meminfo.
33677
33678 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33679 gai.conf.
33680
33681 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33682 FD_CLOEXEC for given file.
33683
33684 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33685
33686 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33687 FD_CLOEXEC for /etc/hosts.
33688 (_gethtent): Likewise.
33689
33690 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33691
33692 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33693 cancellation and set FD_CLOEXEC for /etc/netgroup.
33694
33695 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33696 reading /etc/publickey.
33697
33698 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33699 allow cancellation when reading /etc/group.
33700
33701 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33702 cancellation.
33703 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33704
33705 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33706 when using data file.
33707
33708 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33709
33710 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33711 (write_nis_obj): Use "c" and "e" in fopen.
33712
33713 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33714
33715 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33716
33717 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33718
33719 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33720
33721 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33722 locale.alias.
33723
33724 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33725
33726 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33727
33728 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33729
33730 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33731 file parsing and set FD_CLOEXEC.
33732
82af0fa8
UD
337332011-11-14 Ulrich Drepper <drepper@gmail.com>
33734
33735 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33736
a5fb313c
AS
337372011-11-14 Andreas Schwab <schwab@redhat.com>
33738
33739 * malloc/arena.c (arena_get2): Don't call reused_arena when
33740 _int_new_arena failed.
33741
6abf3465
UD
337422011-11-14 Ulrich Drepper <drepper@gmail.com>
33743
33744 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33745 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33746 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33747 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33748 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33749 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33750 to compile strcasecmp and strncasecmp.
33751 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33752 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33753
33754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33755
76e3966e
UD
337562011-11-13 Ulrich Drepper <drepper@gmail.com>
33757
33758 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33759 locale-defines.sym to gen-as-const-headers.
33760 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33761 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33763 to compile strcasecmp and strncasecmp.
33764 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33765 strcasecmp_l and strncasecmp_l.
33766 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33767 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33768 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33769 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33770 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33771 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33772 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33773 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33774 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33775 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33776 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33777
ab26144e
UD
337782011-11-12 Ulrich Drepper <drepper@gmail.com>
33779
7edb22ef
UD
33780 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33781 result of SYSDEP_GETTIME_CPU to retval.
33782 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33783 parameter list to macro. Remove trailing semicolon. Adjust users.
33784
9694fc44
UD
33785 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33786 variable.
33787
8ad89ef8
UD
33788 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33789 mantissa words.
33790 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33791
0c822ef9
UD
33792 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33793 from unused variable.
33794
874e0564
UD
33795 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33796 DWARF definitions.
33797 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33798 for assembling.
33799
3a2edc79
UD
33800 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33801 over namespaces.
33802
f3c2577f
UD
33803 * sunrpc/rpc_prot.c (rejected): Fix case value.
33804
294ce126
UD
33805 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33806 unsigned long long int to avoid warnings in shift.
33807
5e2b63c6
UD
33808 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33809 of use of trans.
33810 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33811 variable tmp.
33812
e7f4b08e
UD
33813 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33814 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33815 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33816
ab26144e
UD
33817 * nis/nis_table.c (nis_list): Use variable of correct type for
33818 result of __follow_path call.
33819
8a6d5255
AZ
338202011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33821
33822 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33823 of math functions ceil, trunc, floor, round, and sqrt, when
33824 avaliable on the platform.
33825 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33826 name clash.
33827 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33828 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33829 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33830
aaddc98c
MP
338312011-10-30 Marek Polacek <mpolacek@redhat.com>
33832
33833 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33834 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33835
95b7042b
RM
338362011-11-11 Roland McGrath <roland@hack.frob.com>
33837
33838 * include/unistd.h: Fix __readlink return type.
33839 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33840
57769839
UD
338412011-11-11 Ulrich Drepper <drepper@gmail.com>
33842
33843 * stdlib/ucontext.h: Undo last change for makecontext.
33844
edc5984d
AS
338452011-11-11 Andreas Schwab <schwab@redhat.com>
33846
98591e58
AS
33847 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33848
edc5984d
AS
33849 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33850 * setjmp/setjmp.h: Mark functions as non-leaf.
33851 * setjmp/bits/setjmp2.h: Likewise.
33852 * stdlib/ucontext.h: Likewise.
33853
77cdc054
AS
338542011-11-10 Andreas Schwab <schwab@redhat.com>
33855
33856 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33857 (reused_arena): Don't check arena limit.
33858 (arena_get2): Atomically check arena limit.
33859
fe72eebd
UD
338602011-11-08 Ulrich Drepper <drepper@gmail.com>
33861
5f078c32
UD
33862 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33863 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33864
fe72eebd
UD
33865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33866 instructions.
33867
ae1bc2fa
AS
338682011-11-07 Andreas Schwab <schwab@redhat.com>
33869
7583a88d
AS
33870 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33871 handler when locking.
33872
ae1bc2fa
AS
33873 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33874 Fix size of allocated buffer.
33875
10fb0bfa
AS
338762011-11-04 Andreas Schwab <schwab@redhat.com>
33877
998832a4
AS
33878 [BZ #10103]
33879 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33880 declarations for long double functions.
33881 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33882
10fb0bfa
AS
33883 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33884
3d7ba52b
AS
338852011-11-03 Andreas Schwab <schwab@redhat.com>
33886
a9ae54a1
AS
33887 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33888 installed.
33889
3d7ba52b
AS
33890 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33891 is disabled.
33892
bc8db248
ST
338932011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33894
33895 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33896
45b96dd6
AS
338972011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33898
647776f6
AS
33899 * include/alloca.h (stackinfo_alloca_round): Define.
33900 (extend_alloca): Use it.
33901 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33902 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33903 here.
33904
d91a8b93
AS
33905 * scripts/check-local-headers.sh: Ignore libaudit.h.
33906
45b96dd6
AS
33907 * nscd/Makefile (extra-objs): Make recursively expanded.
33908
432d41ce
UD
339092011-11-01 Ulrich Drepper <drepper@gmail.com>
33910
34372fc6
UD
33911 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33912 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33913
fadb59f8
UD
33914 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33915 * posix/tst-rfc3484-2.c: Likewise.
33916 * posix/tst-rfc3484-3.c: Likewise.
33917
78239589
UD
33918 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33919 process_vm_writev.
33920 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33921 process_vm_writev.
33922 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33923 process_vm_writev from libc using GLIBC_2.15 version.
33924
432d41ce
UD
33925 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33926
02f9c6cf
PP
339272011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33928
33929 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33930 stack usage.
33931
3a2c0242
UD
339322011-10-31 Ulrich Drepper <drepper@gmail.com>
33933
f4ec4833
UD
33934 [BZ #13367]
33935 * nss/getent.c (initgroups_keys): Show error message in case no group
33936 names are given.
33937
3a2c0242
UD
33938 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33939 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33940 __bump_nl_timestamp.
33941 * nscd/connections (nscd_init): When host database is served open
33942 netlink socket and request notification about configuration changes.
33943 (main_loop_poll): Track netlink file descriptor and bump timestamp
33944 in case data becomes available.
33945 (main_loop_epoll): Likewise.
33946 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33947 (database_pers_head): Add extra_data fileds.
33948 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33949 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33950 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33951 Adjust caller.
33952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33953 in6ai data, call __free_in6ai.
33954 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33955 Add -DHAVE_NETLINK.
33956 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33957 interface information. Reuse previous data if netlink timestamp
33958 is not changed.
33959 (__bump_nl_timestamp): New function.
33960 (__free_in6ai): New function.
33961
636064eb
UD
339622011-10-30 Ulrich Drepper <drepper@gmail.com>
33963
33964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33965 close_not_cancel_no_status here.
33966 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33967
9beb2334
UD
339682011-10-29 Ulrich Drepper <drepper@gmail.com>
33969
6ef76f3b
UD
33970 [BZ #13276]
33971 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33972 return value.
33973
0ffc4f3e 33974 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
33975 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33976 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33977
cb95113e
UD
339782011-07-03 Andreas Jaeger <aj@suse.de>
33979
33980 [BZ #10709]
33981 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33982 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33983 * math/libm-test.inc (sin_test): Add test case.
33984
a1b560ff
UD
339852011-10-29 Ulrich Drepper <drepper@gmail.com>
33986
c9aaface
UD
33987 [BZ #13337]
33988 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33989 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33990
d272e7f1
UD
33991 * elf/chroot_canon.c (chroot_canon): Cleanups.
33992
1bc33071
UD
33993 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33994
1760874d
TJ
33995 [BZ #13335]
33996 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33997 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33998
51d91b18
UD
33999 * string/test-strchr.c: Make usable for strchrnul testing.
34000 * string/test-strchrnul.c: New file.
34001 * string/Makefile (strop-tests): Add strchrnul.
34002
a1b560ff 34003 * po/it.po: Update from translation team.
b611fb81 34004 * po/es.po: Likewise.
a1b560ff 34005
a5b81e1f
UD
340062011-10-28 Ulrich Drepper <drepper@gmail.com>
34007
fd52bc6d
UD
34008 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34009 the three constants needed as parameters. Drop the others.
34010 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34011 __m128i_strloadu_tolower.
52e4b9eb
UD
34012 Create and initialize variable zero and use it in all the places
34013 where _mm_setzero_si128 was used.
fd52bc6d 34014
a5b81e1f
UD
34015 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34016 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34017 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34018 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34019 anymore.
34020 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34021 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34022 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34023 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34024 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34025 __mpranred, __mptan.
34026 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34027 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34028 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34029 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34030 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34031 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34033 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34034 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34035
b4343346
AS
340362011-10-28 Andreas Schwab <schwab@redhat.com>
34037
0c92d8a8
AS
34038 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34039 redefine if SHARED.
34040 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34041
b4343346
AS
34042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34043 wide char related routines to wcsmbs subdir.
34044
3871f58f
AS
340452011-10-27 Andreas Schwab <schwab@redhat.com>
34046
34047 [BZ #13344]
34048 * misc/sys/cdefs.h (__THROWNL): Define.
34049 * posix/unistd.h: Use __THREADNL instead of __THREAD
34050 for memory synchronization functions.
34051
94d44d9f
RM
340522011-10-26 Roland McGrath <roland@hack.frob.com>
34053
21b64b15 34054 [BZ #13349]
94d44d9f
RM
34055 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34056 doesn't exist.
34057 * manual/stdio.texi (Obstack Streams): Node removed.
34058
f6ce9294
AS
340592011-10-26 Andreas Schwab <schwab@redhat.com>
34060
80479147
AS
34061 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34062 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34063 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34064
f6ce9294
AS
34065 * math/math_private.h (math_force_eval): Allow non-addressable
34066 arguments.
34067 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34068
618280a1
UD
340692011-10-25 Ulrich Drepper <drepper@gmail.com>
34070
e0016b11
UD
34071 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34072 file is not needed.
34073
34074 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34076 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34077 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34078 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34079 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34080 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34081 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34082 Add AVX variants.
34083 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34084 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34085 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34086 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34087 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34088 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34089 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34090 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34091 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34092 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34093 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34094 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34095 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34096 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34097 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34098 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34099 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34100 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34101 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34102
34103 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34104 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34105
618280a1
UD
34106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34107 place. Use VEX encoding when compiling for AVX.
34108
37822576
AS
341092011-10-25 Andreas Schwab <schwab@redhat.com>
34110
1f1e1947
AS
34111 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34112 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34113
37822576
AS
34114 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34115
31ea014d
UD
341162011-10-25 Ulrich Drepper <drepper@gmail.com>
34117
d7826aa1 34118 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34119 useless if() expression.
d7826aa1
UD
34120 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34121 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34122 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34123 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34124 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34125 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34126 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34127 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34128 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34130 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34131 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34132 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34133 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34134 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34135 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34136 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34138 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34139
31ea014d
UD
34140 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34141
16437fec
AS
341422011-10-25 Andreas Schwab <schwab@redhat.com>
34143
34144 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34145 condition.
34146 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34147
31d3cc00
UD
341482011-10-25 Ulrich Drepper <drepper@gmail.com>
34149
34150 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34151 .text section. Avoid duplicate constants.
34152 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34153 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34154 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34156 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34158 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34160 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34161 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34162 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34163 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34164 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34165 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34166 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34167 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34168 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34169 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34170 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34171 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34172 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34173 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34174 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34175 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34176 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34177 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34178 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34179 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34180 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34181 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34182 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34183 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34184 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34185 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34186 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34187 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34188 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34190 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34191 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34192 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34193 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34194 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34195 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34196 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34197
58985aa9
UD
341982011-10-24 Ulrich Drepper <drepper@gmail.com>
34199
202c9deb
UD
34200 * sysdeps/x86_64/dla.h: Move to ...
34201 * sysdeps/x86_64/fpu/dla.h: ...here.
34202 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34203 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34204
af968f62
UD
34205 * config.make.in: Add have-mfma4 entry.
34206 * configure.in: Substitute libc_cv_cc_fma4.
34207 * math/Makefile (dbl-only-routines): Add sincostab.
34208 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34209 Use __sincostab not sincos.
34210 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34211 name is a macro.
34212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34216 using __copysign.
34217 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34218 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34219 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34220 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34221 and __inv.
34222 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34223 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34224 __copysign.
34225 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34226 define aliases when function name is a macro.
34227 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34228 sysdeps/ieee754/dbl-64/sincos.tbl.
34229 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34230 fma4-enabled routines.
34231 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34232 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34233 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34234 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34235 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34236 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34237 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34238 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34239 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34240 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34241 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34242 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34243 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34244 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34245 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34246 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34247 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34248 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34249 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34250 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34251 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34252 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34253 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34254 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34256 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34257 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34258 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34259 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34260 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34261
58985aa9
UD
34262 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34263 rename.
34264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34269 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34270 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34272
a201fbcf
AS
342732011-10-24 Andreas Schwab <schwab@redhat.com>
34274
34275 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34276
fc2ee42a
LD
342772011-10-23 Ulrich Drepper <drepper@gmail.com>
34278
bb3129bd
UD
34279 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34280
0275fff8
UD
34281 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34282 prediction.
34283 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34284
2fa2ae85
UD
34285 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34286 Remove unused variable magic_bits.
34287 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34288
fc2ee42a
LD
34289 * string/strnlen.c: Define and use STRNLEN macro.
34290 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34291 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34293 * wcsmbs/wcslen.c: Define and use WCSLEN.
34294 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34295 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34296 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34297 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34298 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34299 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34300 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34301
ce7dd29f
LD
343022011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34303
34304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34305 strnlen-sse2-no-bsf.
34306 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34307 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34308 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34309 Add strnlen support.
34310 (USE_AS_STRNLEN): New macro.
34311 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34312 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34313 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34314 * sysdeps/x86_64/wcslen.S: New file.
34315
979c70a3
MZ
343162011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34317
34318 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34319 XMM-moves are used for copying on small sizes.
34320
2d09f82f
LD
343212011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34322
34323 * wcsmbs/Makefile (strop-tests): Add wcschr.
34324 * wcsmbs/test-wcschr.c: New file.
34325 * string/test-strchr.c: Update.
34326 Add wcschr support.
34327 (WIDE): New macro.
34328
619fccca
LD
343292011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34330
2d09f82f 34331 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34332 * wcsmbs/test-wcslen.c: New file.
34333 * string/test-strlen.c: Update.
34334 Add wcslen support.
34335 (WIDE): New macro.
34336
09f699ea
UD
343372011-10-23 Ulrich Drepper <drepper@gmail.com>
34338
34339 * po/it.po: Update from translation team.
34340
95584d3b
LD
343412011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34342
34343 * sysdeps/x86_64/wcscmp.S: Update.
34344 Fix wrong comparison semantics.
34345 wcscmp shall use signed comparison not unsigned.
34346 Don't use substraction to avoid overflow bug.
34347 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34348 * wcsmbc/wcscmp.c: Likewise.
34349 * string/test-strcmp.c: Likewise.
34350 Add new tests to check cases with negative values.
34351
c8b3296b
UD
343522011-10-23 Ulrich Drepper <drepper@gmail.com>
34353
34354 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34355 * sysdeps/x86_64/dla.h: ...here. New file.
34356 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34363 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34364 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34365
246ad57a
AS
343662011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34367
34368 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34369 __ynl_finite aliases.
34370
a1a87169
UD
343712011-10-22 Ulrich Drepper <drepper@gmail.com>
34372
0d355eb7
UD
34373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34374
a1a87169
UD
34375 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34376 define DLA_FMA.
34377 [DLA_FMA] (EMULV): Use DLA_FMA.
34378 [DLA_FMA] (MUL12): Use EMULV.
34379 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34380 that are not needed.
34381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34388
ee2aafe0
AS
343892011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34390
34391 * math/s_nan.c: Undef __nan.
34392 * math/s_nanf.c: Undef __nanf.
34393 * math/s_nanl.c: Undef __nanl.
34394 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34395 "math_private.h".
34396
bc62c2fb
UD
343972011-10-22 Ulrich Drepper <drepper@gmail.com>
34398
77425c63
UD
34399 * math/s_catan.c: Add branch predictions.
34400 * math/s_catanf.c: Likewise.
34401 * math/s_catanh.c: Likewise.
34402 * math/s_catanhf.c: Likewise.
34403 * math/s_catanhl.c: Likewise.
34404 * math/s_catanl.c: Likewise.
34405 * math/s_cexp.c: Likewise.
34406 * math/s_cexpf.c: Likewise.
34407 * math/s_cexpl.c: Likewise.
34408 * math/s_clog.c: Likewise.
34409 * math/s_clog10.c: Likewise.
34410 * math/s_clog10f.c: Likewise.
34411 * math/s_clog10l.c: Likewise.
34412 * math/s_clogf.c: Likewise.
34413 * math/s_clogl.c: Likewise.
34414 * math/s_csqrt.c: Likewise.
34415 * math/s_csqrtf.c: Likewise.
34416 * math/s_csqrtl.c: Likewise.
34417 * math/s_ctanf.c: Likewise.
34418 * math/s_ctanh.c: Likewise.
34419 * math/s_ctanhf.c: Likewise.
34420 * math/s_ctanhl.c: Likewise.
34421 * math/s_ctanl.c: Likewise.
34422
bc62c2fb
UD
34423 * math/math_private.h: Define __nan, __nanf, __nanl.
34424 * math/s_cacosh.c: Include <math_private.h>.
34425 * math/s_cacoshl.c: Likewise.
34426 * math/s_casinh.c: Likewise.
34427 * math/s_casinhf.c: Likewise.
34428 * math/s_casinhl.c: Likewise.
34429 * math/s_ccos.c: Rely entire on ccosh.
34430 * math/s_ccosf.c: Rely entire on ccoshf.
34431 * math/s_ccosl.c: Rely entirely on ccoshl.
34432 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34433 Remove tests for FE_INVALID.
34434 * math/s_ccoshf.c: Likewise.
34435 * math/s_ccoshl.c: Likewise.
34436 * math/s_csin.c: Likewise.
34437 * math/s_csinf.c: Likewise.
34438 * math/s_csinh.c Likewise.
34439 * math/s_csinhf.c: Likewise.
34440 * math/s_csinhl.c: Likewise.
34441 * math/s_csinl.c: Likewise.
34442 * math/s_ctan.c: Likewise.
34443 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34444 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34445 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34446
8ec250a4
UD
344472011-10-21 Ulrich Drepper <drepper@gmail.com>
34448
c196fed8
UD
34449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34450 compilation problems.
34451
8ec250a4
UD
34452 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34453 __builtin_expect.
34454
8d4f46c6
UD
344552011-10-20 Ulrich Drepper <drepper@gmail.com>
34456
ed72b654
UD
34457 * sysdeps/i386/configure.in: Test for -mfma4 option.
34458 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34459 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34460 COMMON_CPUID_INDEX_80000001.
34461 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34462 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34463 use it if FMA3 is not supported.
34464 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34465
8d4f46c6
UD
34466 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34467 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34468
d45c60c2
AS
344692011-10-20 Andreas Schwab <schwab@redhat.com>
34470
34471 [BZ #12892]
34472 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34473 it would create a cycle with a link time dependency.
34474
d9a4d2ab
UD
344752011-10-19 Ulrich Drepper <drepper@gmail.com>
34476
855d1560
UD
34477 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34478 instruction.
34479 * string/Makefile (strop-tests): Add rawmemchr.
34480 * string/test-rawmemchr.c: New file.
34481
d9a4d2ab
UD
34482 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34483 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34484 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34485 when compiling str{,n}casecmp and when AVX is available. Hook up
34486 new optimized code in initializers.
34487
8f3b1ffe
AS
344882011-10-19 Andreas Schwab <schwab@redhat.com>
34489
34490 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34491 __feraiseexcept instead of feraiseexcept.
34492
d38f1dba
UD
344932011-10-18 Ulrich Drepper <drepper@gmail.com>
34494
d9a8d0ab
UD
34495 * math/math_private.h: Define defaults for libc_fetestexcept and
34496 libc_feupdateenv.
34497 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34498 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34499 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34500 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34501 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34502 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34503 libc_fetestexcept and libc_feupdateenv.
34504
4855e3dd
UD
34505 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34506 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34507 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34508 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34509 libc_feholdexcept_setround.
34510
581d30e3
UD
34511 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34512 Add s_nearbyint-c and s_nearbyintf-c.
34513 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34514 nearbyintf inlines.
34515 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34516 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34517 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34518 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34519
d38f1dba
UD
34520 * math/math_private.h: Define defaults for libc_fegetround,
34521 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34522 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34523 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34524 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34525 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34526 standard functions.
34527 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34528 Remove comments and hacks for old compiler versions.
34529 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34530 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34531 libc_feholdexceptl.
34532
caa6c9d8
AS
345332011-10-18 Andreas Schwab <schwab@redhat.com>
34534
34535 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34536 (__feraiseexcept_renamed): Add __NTH.
34537 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34538 namespace violations.
34539
97c066e6
UD
345402011-10-17 Ulrich Drepper <drepper@gmail.com>
34541
99ce7b04
UD
34542 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34543
1004d182
UD
34544 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34545
228a984d
UD
34546 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34547 recently added interfaces.
34548 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34549
c8553a6a
UD
34550 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34551 about macro parameter expansion.
34552
ed22dcf6
UD
34553 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34554 __NO_MATH_INLINES is defined. Cleanups.
34555
34556 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34557 and __floorf is target has SSE4.1.
34558 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34559 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34560 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34561 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34562
b171c137
UD
34563 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34564 name.
34565 (floorf): Likewise.
34566
97c066e6
UD
34567 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34568
629f62ef
AS
345692011-10-17 Andreas Schwab <schwab@redhat.com>
34570
49a43d80
AS
34571 * misc/sys/cdefs.h: Fix last change.
34572
629f62ef
AS
34573 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34574 database lookup.
34575
e453f6cd
UD
345762011-10-16 Ulrich Drepper <drepper@gmail.com>
34577
aa78043a
UD
34578 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34579
ad0f5cad
UD
34580 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34582 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34584 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34585 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34586 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34587 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34588 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34589 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34590 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34591 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34592 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34593 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34594 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34595 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34596 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34597 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34598 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34599 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34600 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34601 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34602
34603 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34604 ceil, ceilf, floor, floorf.
34605
34606 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34607 Perform IRELATIVE relocations last.
34608
e453f6cd
UD
34609 * elf/do-rel.h: Add another parameter nrelative, replacing the
34610 local variable with the same name. Change name of the function
34611 to end in Rel or Rela (uppercase).
34612 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34613 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34614 elf_dynamic_do_##reloc function.
34615
fd5bdc09
UD
346162011-10-15 Ulrich Drepper <drepper@gmail.com>
34617
79b195b5
UD
34618 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34619 is sufficient, at least on modern CPUs.
34620
d4a28569
UD
34621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34622
b61099b5
UD
34623 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34624 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34625
bcf01e6d
UD
34626 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34627 __expl_finite.
34628 * math/bits/math-finite.h: Add entries for exp.
34629 * math/e_expl.c: Add __*_finite alias.
34630 * sysdeps/i386/fpu/e_exp.S: Likewise.
34631 * sysdeps/i386/fpu/e_expf.S: Likewise.
34632 * sysdeps/i386/fpu/e_expl.c: Likewise.
34633 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34634 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34635 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34636 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34637 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34638 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34639 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34640
ba1a0d59
UD
34641 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34642 is sufficient, at least on modern CPUs.
34643
fd5bdc09
UD
34644 * ctype/ctype-info.c (__ctype_init): Define.
34645 * include/ctype.h (__ctype_init): Declare.
34646 (__ctype_b_loc): The variable is always initialized.
34647 (__ctype_toupper_loc): Likewise.
34648 (__ctype_tolower_loc): Likewise.
34649 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34650 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34651
7872cfb0
AS
346522011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34653
b468825a
AS
34654 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34655
7872cfb0
AS
34656 * configure.in: Also look in $cxxmachine/include for C++ system
34657 headers.
34658
be13f7bf
LD
346592011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34660
34661 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34662 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34663 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34664 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34665 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34666 (USE_AS_WMEMCMP): New macro.
34667 Fixing indents.
34668 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34669 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34670 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34671 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34673 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34674 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34675 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34676 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34677 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34678 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34679 (USE_AS_WMEMCMP): New macro.
34680 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34681 * sysdeps/string/test-memcmp.c: Update.
34682 Fix simple_wmemcmp.
34683 Add new tests.
34684 * wcsmbs/wmemcmp.c: Update.
34685 (WMEMCMP): New macro.
34686 Fix overflow bug.
34687
556a2007
AJ
346882011-10-12 Andreas Jaeger <aj@suse.de>
34689
34690 [BZ #13268]
34691 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34692
538faaa7
UD
346932011-10-15 Ulrich Drepper <drepper@gmail.com>
34694
ab6737ff
UD
34695 * libio/iofwide.c (do_length): Avoid warning.
34696
538faaa7
UD
34697 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34698
396a21b1
UD
346992011-10-14 Ulrich Drepper <drepper@gmail.com>
34700
cdf2901f
UD
34701 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34702
38ad40ce
UD
34703 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34704 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34705 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34706 * sysdeps/i386/i686/fpu/e_log.S: New file.
34707 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34708 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34709
396a21b1
UD
34710 * ctype/ctype.h: Add support for inlined isXXX functions when
34711 compiling C++ code.
34712
6b1f68c9
AS
347132011-10-14 Andreas Schwab <schwab@redhat.com>
34714
349290c0
AS
34715 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34716
6b1f68c9
AS
34717 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34718
f2282d42
RM
347192011-10-13 Roland McGrath <roland@hack.frob.com>
34720
34721 [BZ #13291]
34722 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34723
5298ffa8
AS
347242011-10-13 Andreas Schwab <schwab@redhat.com>
34725
714fad23
AS
34726 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34727 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34728 feraiseexcept.
34729
81dcc7fb
AS
34730 * sysdeps/x86_64/memrchr.S: Check for zero size.
34731
5298ffa8
AS
34732 * string/stratcliff.c: Add memrchr tests.
34733
951fbcec
LD
347342011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34735
34736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34737 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34738 rawmemchr-sse2 rawmemchr-sse2-bsf.
34739 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34740 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34741 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34742 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34743 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34744 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34745 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34746 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34747 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34748 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34749 * string/memrchr.c (MEMRCHR): New macro.
34750
0ac5ae23
UD
347512011-10-12 Ulrich Drepper <drepper@gmail.com>
34752
34753 Add integration with gcc's -ffinite-math-only and optimize wrapper
34754 functions in libm.
34755 * Versions.def: Define GLIBC_2.15 version for libm.
34756 * math/Makefile (headers): Add bits/math-finite.h.
34757 * math/bits/math-finite.h: New file.
34758 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34759 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34760 * math/e_acoshl.c: Add __*_finite alias.
34761 * math/e_acosl.c: Likewise.
34762 * math/e_asinl.c: Likewise.
34763 * math/e_atan2l.c: Likewise.
34764 * math/e_atanhl.c: Likewise.
34765 * math/e_coshl.c: Likewise.
34766 * math/e_exp10.c: Likewise.
34767 * math/e_exp10f.c: Likewise.
34768 * math/e_exp10l.c: Likewise.
34769 * math/e_exp2l.c: Likewise.
34770 * math/e_fmodl.c: Likewise.
34771 * math/e_gammal_r.c: Likewise.
34772 * math/e_hypotl.c: Likewise.
34773 * math/e_j0l.c: Likewise.
34774 * math/e_j1l.c: Likewise.
34775 * math/e_jnl.c: Likewise.
34776 * math/e_lgammal_r.c: Likewise.
34777 * math/e_log10l.c: Likewise.
34778 * math/e_log2l.c: Likewise.
34779 * math/e_logl.c: Likewise.
34780 * math/e_powl.c: Likewise.
34781 * math/e_sinhl.c: Likewise.
34782 * math/e_sqrtl.c: Likewise.
34783 * math/e_scalb.c: Completely rewritten and optimized.
34784 * math/e_scalbf.c: Likewise.
34785 * math/e_scalbl.c: Likewise.
34786 * math/w_acos.c: Likewise.
34787 * math/w_acosf.c: Likewise.
34788 * math/w_acosl.c: Likewise.
34789 * math/w_acosh.c: Likewise.
34790 * math/w_acoshf.c: Likewise.
34791 * math/w_acoshl.c: Likewise.
34792 * math/w_asin.c: Likewise.
34793 * math/w_asinf.c: Likewise.
34794 * math/w_asinl.c: Likewise.
34795 * math/w_atan2.c: Likewise.
34796 * math/w_atan2f.c: Likewise.
34797 * math/w_atan2l.c: Likewise.
34798 * math/w_atanh.c: Likewise.
34799 * math/w_atanhf.c: Likewise.
34800 * math/w_atanhl.c: Likewise.
34801 * math/w_exp10.c: Likewise.
34802 * math/w_exp10f.c: Likewise.
34803 * math/w_exp10l.c: Likewise.
34804 * math/w_fmod.c: Likewise.
34805 * math/w_fmodf.c: Likewise.
34806 * math/w_fmodl.c: Likewise.
34807 * math/w_j0.c: Likewise.
34808 * math/w_j0f.c: Likewise.
34809 * math/w_j0l.c: Likewise.
34810 * math/w_j1.c: Likewise.
34811 * math/w_j1f.c: Likewise.
34812 * math/w_j1l.c: Likewise.
34813 * math/w_jn.c: Likewise.
34814 * math/w_jnf.c: Likewise.
34815 * math/w_log.c: Likewise.
34816 * math/w_logf.c: Likewise.
34817 * math/w_logl.c: Likewise.
34818 * math/w_log10.c: Likewise.
34819 * math/w_log10f.c: Likewise.
34820 * math/w_log10l.c: Likewise.
34821 * math/w_log2.c: Likewise.
34822 * math/w_log2f.c: Likewise.
34823 * math/w_log2l.c: Likewise.
34824 * math/w_pow.c: Likewise.
34825 * math/w_powf.c: Likewise.
34826 * math/w_powl.c: Likewise.
34827 * math/w_remainder.c: Likewise.
34828 * math/w_remainderf.c: Likewise.
34829 * math/w_remainderl.c: Likewise.
34830 * math/w_scalb.c: Likewise.
34831 * math/w_scalbf.c: Likewise.
34832 * math/w_scalbl.c: Likewise.
34833 * math/w_sqrt.c: Likewise.
34834 * math/w_sqrtf.c: Likewise.
34835 * math/w_sqrtl.c: Likewise.
34836 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34837 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34838 used.
34839 * math/math_private.h: Declare __kernel_standard_f.
34840 * math/w_cosh.c: Remove cruft and optimize a bit.
34841 * math/w_coshf.c: Likewise.
34842 * math/w_coshl.c: Likewise.
34843 * math/w_exp2.c: Likewise.
34844 * math/w_exp2f.c: Likewise.
34845 * math/w_exp2l.c: Likewise.
34846 * math/w_hypot.c: Likewise.
34847 * math/w_hypotf.c: Likewise.
34848 * math/w_hypotl.c: Likewise.
34849 * math/w_lgamma.c: Likewise.
34850 * math/w_lgamma_r.c: Likewise.
34851 * math/w_lgammaf.c: Likewise.
34852 * math/w_lgammaf_r.c: Likewise.
34853 * math/w_lgammal.c: Likewise.
34854 * math/w_lgammal_r.c: Likewise.
34855 * math/w_sinh.c: Likewise.
34856 * math/w_sinhf.c: Likewise.
34857 * math/w_sinhl.c: Likewise.
34858 * math/w_tgamma.c: Likewise.
34859 * math/w_tgammaf.c: Likewise.
34860 * math/w_tgammal.c: Likewise.
34861 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34863 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34864 Minor optimizations. Pretty printing. Remove cruft.
34865 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34866 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34867 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34868 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34869 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34870 * sysdeps/i386/fpu/e_asin.S: Likewise.
34871 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34872 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34873 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34874 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34875 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34876 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34877 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34878 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34879 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34880 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34881 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34882 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34883 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34884 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34885 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34886 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34887 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34888 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34889 * sysdeps/i386/fpu/e_log.S: Likewise.
34890 * sysdeps/i386/fpu/e_log10.S: Likewise.
34891 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34892 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34893 * sysdeps/i386/fpu/e_log2.S: Likewise.
34894 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34895 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34896 * sysdeps/i386/fpu/e_logf.S: Likewise.
34897 * sysdeps/i386/fpu/e_logl.S: Likewise.
34898 * sysdeps/i386/fpu/e_pow.S: Likewise.
34899 * sysdeps/i386/fpu/e_powf.S: Likewise.
34900 * sysdeps/i386/fpu/e_powl.S: Likewise.
34901 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34902 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34903 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34904 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34905 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34906 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34907 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34908 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34909 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34913 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34921 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34927 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34928 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34930 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34931 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34932 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34933 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34934 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34935 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34936 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34937 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34938 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34939 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34940 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34941 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34942 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34943 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34944 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34945 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34946 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34947 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34948 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34949 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34950 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34951 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34952 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34953 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34954 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34955 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34956 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34957 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34958 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34959 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34960 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34961 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34962 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34963 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34964 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34965 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34966 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34967 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34968 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34969 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34970 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34972 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34973 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34974 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34975 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34978 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34979 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34980 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34981 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34984 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34986 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34987 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34988 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34989 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34990 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34991 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34992 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34993 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34994 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34995 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34996 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34997 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34998 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34999 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35000 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35001 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35002 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35003 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35004 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35005 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35006 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35007 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35008 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35009 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35010 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35011 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35012 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35013 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35014 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35015 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35016 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35017 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35018 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35019 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35020 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35021 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35022 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35023 (__isnanf): Likewise.
35024 (__isinf_ns): Likewise.
35025 (__isinf_nsf): Likewise.
35026 (__finite): Likewise.
35027 (__finitef): Likewise.
35028 (__ieee754_sqrt): Define as macro.
35029 (__ieee754_sqrtf): Define as macro.
35030 (__ieee754_sqrtl): Define as macro.
35031 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35032 inlined copy.
35033 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35034 __FINITE_MATH_ONLY__ consistent.
35035 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35036
12cc2fcd
AS
350372011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35038
a843a204
AS
35039 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35040 of rawmemchr.
35041
12cc2fcd
AS
35042 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35043
c853acd5
UD
350442011-10-09 Ulrich Drepper <drepper@gmail.com>
35045
35046 * po/ja.po: Update from translation team.
35047
c658d255
RM
350482011-10-08 Roland McGrath <roland@hack.frob.com>
35049
110946e4
RM
35050 * locale/programs/locarchive.c (prepare_address_space): New function.
35051 (create_archive, enlarge_archive, open_archive): Use it.
35052
50604220
RM
35053 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35054 inside [SHARED], where it is used.
35055
c658d255
RM
35056 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35057
35058 * nss/getent.c (netgroup_keys): Remove unused variable.
35059 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35060
6a621eb7
UD
350612011-10-08 Ulrich Drepper <drepper@gmail.com>
35062
7edb55ce
UD
35063 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35064 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35065 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35066 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35067 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35068 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35069 * math/Makefile (libm-calls): Add s_isinf_ns.
35070 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35071 * math/multc3.c: Likewise.
35072 * math/s_casin.c: Likewise.
35073 * math/s_casinf.c: Likewise.
35074 * math/s_casinl.c: Likewise.
35075 * math/s_ccos.c: Likewise.
35076 * math/s_ccosf.c: Likewise.
35077 * math/s_ccosl.c: Likewise.
35078 * math/s_ctan.c: Likewise.
35079 * math/s_ctanf.c: Likewise.
35080 * math/s_ctanh.c: Likewise.
35081 * math/s_ctanhf.c: Likewise.
35082 * math/s_ctanhl.c: Likewise.
35083 * math/s_ctanl.c: Likewise.
35084 * math/w_fmod.c: Likewise.
35085 * math/w_fmodf.c: Likewise.
35086 * math/w_fmodl.c: Likewise.
35087 * math/w_remainder.c: Likewise.
35088 * math/w_remainderf.c: Likewise.
35089 * math/w_remainderl.c: Likewise.
35090 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35091 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35092 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35093 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35094 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35095 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35096 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35097 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35098
187da0ae
UD
35099 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35100 of the number.
35101 * stdio-common/printf_fphex.c: Likewise.
35102 * stdio-common/printf_size.c: Likewise.
35103
9277c064
UD
35104 * math/e_exp10.c: Include math_private.h using <...> not "...".
35105 * math/e_exp10f.c: Likewise.
35106 * math/e_exp10l.c: Likewise.
35107 * math/e_exp2l.c: Likewise.
35108 * math/e_j0l.c: Likewise.
35109 * math/e_j1l.c: Likewise.
35110 * math/e_jnl.c: Likewise.
35111 * math/e_lgammal_r.c: Likewise.
35112 * math/e_rem_pio2l.c: Likewise.
35113 * math/e_scalb.c: Likewise.
35114 * math/e_scalbf.c: Likewise.
35115 * math/e_scalbl.c: Likewise.
35116 * math/k_cosl.c: Likewise.
35117 * math/k_sinl.c: Likewise.
35118 * math/k_tanl.c: Likewise.
35119 * math/s_cacoshf.c: Likewise.
35120 * math/s_catan.c: Likewise.
35121 * math/s_catanf.c: Likewise.
35122 * math/s_catanh.c: Likewise.
35123 * math/s_catanhf.c: Likewise.
35124 * math/s_catanhl.c: Likewise.
35125 * math/s_catanl.c: Likewise.
35126 * math/s_ccosh.c: Likewise.
35127 * math/s_ccoshf.c: Likewise.
35128 * math/s_ccoshl.c: Likewise.
35129 * math/s_cexp.c: Likewise.
35130 * math/s_cexpf.c: Likewise.
35131 * math/s_cexpl.c: Likewise.
35132 * math/s_clog.c: Likewise.
35133 * math/s_clog10.c: Likewise.
35134 * math/s_clog10f.c: Likewise.
35135 * math/s_clog10l.c: Likewise.
35136 * math/s_clogf.c: Likewise.
35137 * math/s_clogl.c: Likewise.
35138 * math/s_csin.c: Likewise.
35139 * math/s_csinf.c: Likewise.
35140 * math/s_csinh.c: Likewise.
35141 * math/s_csinhf.c: Likewise.
35142 * math/s_csinhl.c: Likewise.
35143 * math/s_csinl.c: Likewise.
35144 * math/s_csqrt.c: Likewise.
35145 * math/s_csqrtf.c: Likewise.
35146 * math/s_csqrtl.c: Likewise.
35147 * math/s_ctan.c: Likewise.
35148 * math/s_ctanf.c: Likewise.
35149 * math/s_ctanh.c: Likewise.
35150 * math/s_ctanhf.c: Likewise.
35151 * math/s_ctanhl.c: Likewise.
35152 * math/s_ctanl.c: Likewise.
35153 * math/s_ldexp.c: Likewise.
35154 * math/s_ldexpf.c: Likewise.
35155 * math/s_ldexpl.c: Likewise.
35156 * math/s_significand.c: Likewise.
35157 * math/s_significandf.c: Likewise.
35158 * math/s_significandl.c: Likewise.
35159 * math/w_acos.c: Likewise.
35160 * math/w_acosf.c: Likewise.
35161 * math/w_acosh.c: Likewise.
35162 * math/w_acoshf.c: Likewise.
35163 * math/w_acoshl.c: Likewise.
35164 * math/w_acosl.c: Likewise.
35165 * math/w_asin.c: Likewise.
35166 * math/w_asinf.c: Likewise.
35167 * math/w_asinl.c: Likewise.
35168 * math/w_atan2.c: Likewise.
35169 * math/w_atan2f.c: Likewise.
35170 * math/w_atan2l.c: Likewise.
35171 * math/w_atanh.c: Likewise.
35172 * math/w_atanhf.c: Likewise.
35173 * math/w_atanhl.c: Likewise.
35174 * math/w_cosh.c: Likewise.
35175 * math/w_coshf.c: Likewise.
35176 * math/w_coshl.c: Likewise.
35177 * math/w_dremf.c: Likewise.
35178 * math/w_exp10.c: Likewise.
35179 * math/w_exp10f.c: Likewise.
35180 * math/w_exp10l.c: Likewise.
35181 * math/w_exp2.c: Likewise.
35182 * math/w_exp2f.c: Likewise.
35183 * math/w_fmod.c: Likewise.
35184 * math/w_fmodf.c: Likewise.
35185 * math/w_fmodl.c: Likewise.
35186 * math/w_hypot.c: Likewise.
35187 * math/w_hypotf.c: Likewise.
35188 * math/w_hypotl.c: Likewise.
35189 * math/w_j0.c: Likewise.
35190 * math/w_j0f.c: Likewise.
35191 * math/w_j0l.c: Likewise.
35192 * math/w_j1.c: Likewise.
35193 * math/w_j1f.c: Likewise.
35194 * math/w_j1l.c: Likewise.
35195 * math/w_jn.c: Likewise.
35196 * math/w_jnf.c: Likewise.
35197 * math/w_jnl.c: Likewise.
35198 * math/w_lgamma.c: Likewise.
35199 * math/w_lgamma_r.c: Likewise.
35200 * math/w_lgammaf.c: Likewise.
35201 * math/w_lgammaf_r.c: Likewise.
35202 * math/w_lgammal.c: Likewise.
35203 * math/w_lgammal_r.c: Likewise.
35204 * math/w_log.c: Likewise.
35205 * math/w_log10.c: Likewise.
35206 * math/w_log10f.c: Likewise.
35207 * math/w_log10l.c: Likewise.
35208 * math/w_log2.c: Likewise.
35209 * math/w_log2f.c: Likewise.
35210 * math/w_log2l.c: Likewise.
35211 * math/w_logf.c: Likewise.
35212 * math/w_logl.c: Likewise.
35213 * math/w_pow.c: Likewise.
35214 * math/w_powf.c: Likewise.
35215 * math/w_powl.c: Likewise.
35216 * math/w_remainder.c: Likewise.
35217 * math/w_remainderf.c: Likewise.
35218 * math/w_remainderl.c: Likewise.
35219 * math/w_scalb.c: Likewise.
35220 * math/w_scalbf.c: Likewise.
35221 * math/w_scalbl.c: Likewise.
35222 * math/w_sinh.c: Likewise.
35223 * math/w_sinhf.c: Likewise.
35224 * math/w_sinhl.c: Likewise.
35225 * math/w_sqrt.c: Likewise.
35226 * math/w_sqrtf.c: Likewise.
35227 * math/w_sqrtl.c: Likewise.
35228 * math/w_tgamma.c: Likewise.
35229 * math/w_tgammaf.c: Likewise.
35230 * math/w_tgammal.c: Likewise.
35231
6a621eb7
UD
35232 * po/ja.po: Update from translation team.
35233
bf582445
AJ
352342011-09-29 Andreas Jaeger <aj@suse.de>
35235
f9efbf3a
AJ
35236 [BZ #13179]
35237 * sunrpc/netname.c (netname2host): Fix logic.
35238
bf582445
AJ
35239 [BZ #6779]
35240 [BZ #6783]
35241 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35242 correctly.
35243 * math/w_remainder.c (__remainder): Likewise.
35244 * math/w_remainderf.c (__remainderf): Likewise.
35245 * math/libm-test.inc (remainder_test): Add test cases.
35246
48693bea
AK
352472011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35248
35249 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35250 sdiv_qrnnd.
35251
42622229
LD
352522011-10-07 Ulrich Drepper <drepper@gmail.com>
35253
35254 * string/test-memcmp.c: Avoid unncessary #defines.
35255 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35256
093ecf92
LD
352572011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35258
35259 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35260 Use new sse2 version for core i3 - i7 as it's faster
35261 than sse42 version.
35262 (bit_Prefer_PMINUB_for_stringop): New.
35263 * sysdeps/x86_64/rawmemchr.S: Update.
35264 Replace with faster SSE2 version.
35265 * sysdeps/x86_64/memrchr.S: New file.
35266 * sysdeps/x86_64/memchr.S: Update.
35267 Replace with faster SSE2 version.
35268
fde56e5c
MP
352692011-09-12 Marek Polacek <mpolacek@redhat.com>
35270
35271 * elf/dl-load.c (lose): Add cast to avoid warning.
35272
21fd49a9
UD
352732011-10-07 Ulrich Drepper <drepper@gmail.com>
35274
5a06e643
UD
35275 * po/ca.po: Update from translation team.
35276
684ae515
UD
35277 * inet/getnetgrent_r.c: Hook up nscd.
35278 * nscd/Makefile (routines): Add nscd_netgroup.
35279 (nscd-modules): Add netgroupcache.
35280 (CFLAGS-netgroupcache.c): Define.
35281 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35282 (cache_search): Add const to second parameter.
35283 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35284 INNETGR.
35285 (dbs): Add netgrdb entry.
35286 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35287 (verify_persistent_db): Handle netgrdb.
35288 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35289 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35290 GETFDNETGR.
35291 (netgroup_response_header): Define.
35292 (innetgroup_response_header): Define.
35293 (datahead): Add netgroup_response_header and innetgroup_response_header
35294 elements.
35295 * nscd/nscd.conf: Add entries for netgroup cache.
35296 * nscd/nscd.h (dbtype): Add netgrdb.
35297 (_PATH_NSCD_NETGROUP_DB): Define.
35298 (netgroup_iov_disabled): Declare.
35299 (xmalloc, xcalloc, xrealloc): Move declarations here.
35300 (cache_search): Adjust prototype.
35301 Add netgroup-related prototypes.
35302 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35303 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35304 (__nscd_innetgr): Declare.
35305 * nscd/selinux.c (perms): Use access_vector_t as element type and
35306 add netgroup-related initializers.
35307 * nscd/netgroupcache.c: New file.
35308 * nscd/nscd_netgroup.c: New file.
35309 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35310 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35311 For four parameters use innetgr.
35312 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35313 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35314 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35315 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35316
21fd49a9
UD
35317 * nscd/connections.c (register_traced_file): Don't register file
35318 for disabled databases.
35319
054c0457
UD
353202011-10-06 Ulrich Drepper <drepper@gmail.com>
35321
32b63198
UD
35322 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35323
054c0457
UD
35324 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35325 from tree and freeing node.
35326
64031225
JO
353272011-09-25 Jiri Olsa <jolsa@redhat.com>
35328
35329 * nss/nsswitch.c (__nss_database_lookup): Handle
35330 nss_parse_service_list out of memory case.
35331
0490345c
JO
353322011-09-15 Jiri Olsa <jolsa@redhat.com>
35333
35334 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35335 out of memory case.
35336
3a62d00d
AS
353372011-10-04 Andreas Schwab <schwab@redhat.com>
35338
35339 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35340 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35341 pass it down.
35342 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35343 elf_machine_rela, elf_machine_lazy_rel.
35344 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35345 (ELF_DYNAMIC_DO_REL): Likewise.
35346 (ELF_DYNAMIC_DO_RELA): Likewise.
35347 (ELF_DYNAMIC_RELOCATE): Likewise.
35348 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35349 to ELF_DYNAMIC_DO_REL.
35350 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35351 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35352 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35353 elf_machine_rela.
35354 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35355 skip_ifunc, don't call ifunc function if non-zero.
35356 (elf_machine_rela): Likewise.
35357 (elf_machine_lazy_rel): Likewise.
35358 (elf_machine_lazy_rela): Likewise.
35359 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35360 (elf_machine_lazy_rel): Likewise.
35361 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35362 Likewise.
35363 (elf_machine_lazy_rel): Likewise.
35364 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35365 Likewise.
35366 (elf_machine_lazy_rel): Likewise.
35367 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35368 (elf_machine_lazy_rel): Likewise.
35369 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35370 (elf_machine_lazy_rel): Likewise.
35371 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35372 (elf_machine_lazy_rel): Likewise.
35373 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35374 (elf_machine_lazy_rel): Likewise.
35375 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35376 (elf_machine_lazy_rel): Likewise.
35377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35378 (elf_machine_lazy_rel): Likewise.
35379
68577918
UD
353802011-09-28 Ulrich Drepper <drepper@gmail.com>
35381
35382 * nss/nss_files/files-init.c (_nss_files_init): Use static
35383 initialization for all the *_traced_file variables.
35384
68822d74
AS
353852011-09-28 Andreas Schwab <schwab@redhat.com>
35386
35387 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35388
2056100b
RM
353892011-09-27 Roland McGrath <roland@hack.frob.com>
35390
35391 [BZ #13226]
35392 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35393
32c76b63
AS
353942011-09-27 Andreas Schwab <schwab@redhat.com>
35395
35396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35397 Reread the line before reparsing it.
35398
bf972c9d
AS
353992011-09-26 Andreas Schwab <schwab@redhat.com>
35400
35401 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35402
e057a1b5
JM
354032011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35404 Maxim Kuvyrkov <maxim@codesourcery.com>
35405 Joseph Myers <joseph@codesourcery.com>
35406
35407 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35408 if needed for __stack_chk_guard.
35409
bc7e1c36
RM
354102011-09-19 Roland McGrath <roland@hack.frob.com>
35411
ecb1482f
RM
35412 * sysdeps/posix/spawni.c (script_execute): Always define it.
35413 It will be optimized away if unused.
35414 (maybe_script_execute): New function.
35415 (__spawni): Call it.
35416
bc7e1c36
RM
35417 * Makerules: Don't include tls.make.
35418 (config-tls): Always set to thread.
35419 * tls.make.c: File removed.
35420
1c3b002b
MF
354212011-09-19 Mike Frysinger <vapier@gentoo.org>
35422
35423 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35424 * config.make.in (CPPFLAGS-config): New substituted variable.
35425
2840865d
UD
354262011-09-15 Ulrich Drepper <drepper@gmail.com>
35427
88738eb6
UD
35428 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35429
cbf645a6 35430 [BZ #13192]
2840865d
UD
35431 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35432 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35433
b402e91a
RM
354342011-09-15 Roland McGrath <roland@hack.frob.com>
35435
35436 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35437 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35439 (CALL_FAIL): Likewise.
35440 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35441 (CALL_FAIL): Macro removed.
35442 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35443
4c1a1f71
UD
354442011-09-15 Ulrich Drepper <drepper@gmail.com>
35445
35446 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35447 for __FINITE_MATH_ONLY__ == 1.
35448
edc121be
AS
354492011-09-15 Andreas Schwab <schwab@redhat.com>
35450
35451 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35452 __ieee754_sqrt instead of sqrt.
35453 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35454 __ieee754_sqrtf instead of sqrtf.
35455 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35456 __floorf instead of floorf.
35457 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35458 __floorf, __truncf instead of floorf, truncf.
35459
cd205654
UD
354602011-09-14 Ulrich Drepper <drepper@gmail.com>
35461
ee4d0315
UD
35462 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35463
cd205654
UD
35464 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35465 __extern_always_inline.
35466 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35467 32-bit.
35468
48b67d71
AS
354692011-09-14 Andreas Schwab <schwab@redhat.com>
35470
35471 * elf/rtld.c (dl_main): Also relocate in dependency order when
35472 doing symbol dependency testing.
35473
1ae12c75
AS
354742011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35475
35476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35477 Always define `refsym'.
35478
995a80df
AS
354792011-09-13 Andreas Schwab <schwab@redhat.com>
35480
e529793b
AS
35481 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35482 (__FD_ELT): Renamed from __FDELT.
35483 * misc/bits/select2.h (__FD_ELT): Likewise.
35484 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35485 __FD_MASK instead of __FDELT, __FDMASK.
35486 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35487 Likewise.
35488 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35489 Likewise.
35490
52d4fef8
AS
35491 * elf/Makefile (gen-ldd): Fix pattern.
35492
995a80df
AS
35493 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35494 (init_tls): Likewise.
35495
8682f8b0
UD
354962011-09-12 Ulrich Drepper <drepper@gmail.com>
35497
35498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35499
de82006d
AS
355002011-09-12 Andreas Schwab <schwab@redhat.com>
35501
a7c8e6a1
AS
35502 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35503 `struct cmsghdr *' instead of `void *'.
35504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35505 Likewise.
35506
0f31fe77
AS
355072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35508
35509 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35510 if non-absolute.
35511 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35512 ldd_rewrite_script.
0f31fe77 35513
32b4c839
UD
355142011-09-11 Ulrich Drepper <drepper@gmail.com>
35515
83cd1420
UD
35516 * configure.in: Remove --with-tls option.
35517 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35518 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35519 out in case it is missing.
35520 * sysdeps/ia64/elf/configure.in: Likewise.
35521 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35522 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35523 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35524 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35525 * sysdeps/sh/elf/configure.in: Likewise.
35526 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35527 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35528 * sysdeps/x86_64/elf/configure.in: Likewise.
35529 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35530 * sysdeps/mach/hurd/tls.h: Likewise.
35531
633f745d
UD
35532 [BZ #13067]
35533 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35534
f318beb8
UD
35535 [BZ #13090]
35536 * configure.in: Fix use of AC_INIT.
35537
32b4c839
UD
35538 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35539
3ce1f295
UD
355402011-09-10 Ulrich Drepper <drepper@gmail.com>
35541
bb016596
UD
35542 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35543 __set_errno.
8e58439c
UD
35544 * malloc/hooks.c: Likewise.
35545
aebae053 35546 [BZ #11929]
02d46fc4
UD
35547 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35548 variables statically.
35549 (narenas): Initialize.
35550 (list_lock): Initialize.
bb016596
UD
35551 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35552 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35553 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35554 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35555 Add initializers to main_arena and mp_.
35556 (malloc_state): Remove pagesize member. Change all users to use
35557 GLRO(dl_pagesize).
35558
35559 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35560 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35561 is always initialized.
35562
22a89187
UD
35563 * malloc/malloc.c: Removed unused configurations and dead code.
35564 * malloc/arena.c: Likewise.
35565 * malloc/hooks.c: Likewise.
02d46fc4 35566 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35567
d063d164
UD
35568 * include/tls.h: Removed. USE___THREAD must always be defined.
35569 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35570 * elf/dl-libc.c: Likewise.
35571 * elf/dl-tsd.c: Likewise.
35572 * include/errno.h: Likewise.
35573 * include/netdb.h: Likewise.
35574 * include/resolv.h: Likewise.
35575 * inet/herrno-loc.c: Likewise.
35576 * inet/herrno.c: Likewise.
35577 * malloc/arena.c: Likewise.
35578 * malloc/hooks.c: Likewise.
35579 * malloc/malloc.c: Likewise.
35580 * resolv/res-state.c: Likewise.
35581 * resolv/res_libc.c: Likewise.
35582 * sysdeps/i386/dl-machine.h: Likewise.
35583 * sysdeps/ia64/dl-machine.h: Likewise.
35584 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35585 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35586 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35587 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35588 * sysdeps/sh/dl-machine.h: Likewise.
35589 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35590 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35591 * sysdeps/unix/i386/sysdep.S: Likewise.
35592 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35593 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35597 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35598 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35599 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35602 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35603 * sysdeps/x86_64/dl-machine.h: Likewise.
35604 * tls.make.c: Likewise.
35605
3ce1f295
UD
35606 * configure.in: Remove --with-__thread option. Make tests for
35607 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35608 tls_model attribute fail if no support is available. Remove
35609 USE_IN_LIBIO.
35610 * Makeconfig: Adjust for dropped configure option. All features are
35611 now mandatory.
35612 * Makerules: Likewise.
35613 * Versions.def: Likewise.
35614 * argp/argp-fmtstream.c: Likewise.
35615 * argp/argp-fmtstream.h: Likewise.
35616 * argp/argp-help.c: Likewise.
35617 * assert/assert.c: Likewise.
35618 * config.h.in: Likewise.
35619 * config.make.in: Likewise.
35620 * configure: Likewise.
35621 * configure.in: Likewise.
35622 * csu/Versions: Likewise.
35623 * csu/init.c: Likewise.
35624 * elf/tst-audit2.c: Likewise.
35625 * elf/tst-tls10.c: Likewise.
35626 * elf/tst-tls10.h: Likewise.
35627 * elf/tst-tls11.c: Likewise.
35628 * elf/tst-tls12.c: Likewise.
35629 * elf/tst-tls14.c: Likewise.
35630 * elf/tst-tlsmod11.c: Likewise.
35631 * elf/tst-tlsmod12.c: Likewise.
35632 * elf/tst-tlsmod13.c: Likewise.
35633 * elf/tst-tlsmod13a.c: Likewise.
35634 * elf/tst-tlsmod14a.c: Likewise.
35635 * elf/tst-tlsmod15b.c: Likewise.
35636 * elf/tst-tlsmod16a.c: Likewise.
35637 * elf/tst-tlsmod16b.c: Likewise.
35638 * elf/tst-tlsmod7.c: Likewise.
35639 * elf/tst-tlsmod8.c: Likewise.
35640 * elf/tst-tlsmod9.c: Likewise.
35641 * gmon/gmon.c: Likewise.
35642 * grp/fgetgrent_r.c: Likewise.
35643 * grp/putgrent.c: Likewise.
35644 * hurd/fopenport.c: Likewise.
35645 * include/libc-symbols.h: Likewise.
35646 * include/tls.h: Likewise.
35647 * intl/gettextP.h: Likewise.
35648 * intl/loadinfo.h: Likewise.
35649 * locale/global-locale.c: Likewise.
35650 * locale/localeinfo.h: Likewise.
35651 * mach/devstream.c: Likewise.
35652 * malloc/arena.c: Likewise.
35653 * malloc/set-freeres.c: Likewise.
35654 * misc/err.c: Likewise.
35655 * misc/getttyent.c: Likewise.
35656 * misc/mntent_r.c: Likewise.
35657 * posix/getopt.c: Likewise.
35658 * posix/wordexp.c: Likewise.
35659 * pwd/fgetpwent_r.c: Likewise.
35660 * resolv/Versions: Likewise.
35661 * resolv/res_hconf.c: Likewise.
35662 * shadow/fgetspent_r.c: Likewise.
35663 * shadow/putspent.c: Likewise.
35664 * stdio-common/printf_fphex.c: Likewise.
35665 * stdio-common/tmpfile.c: Likewise.
35666 * stdlib/abort.c: Likewise.
35667 * stdlib/fmtmsg.c: Likewise.
35668 * sunrpc/auth_unix.c: Likewise.
35669 * sunrpc/clnt_perr.c: Likewise.
35670 * sunrpc/clnt_tcp.c: Likewise.
35671 * sunrpc/clnt_udp.c: Likewise.
35672 * sunrpc/clnt_unix.c: Likewise.
35673 * sunrpc/openchild.c: Likewise.
35674 * sunrpc/svc_simple.c: Likewise.
35675 * sunrpc/svc_tcp.c: Likewise.
35676 * sunrpc/svc_udp.c: Likewise.
35677 * sunrpc/svc_unix.c: Likewise.
35678 * sunrpc/xdr.c: Likewise.
35679 * sunrpc/xdr_array.c: Likewise.
35680 * sunrpc/xdr_rec.c: Likewise.
35681 * sunrpc/xdr_ref.c: Likewise.
35682 * sunrpc/xdr_stdio.c: Likewise.
35683
1248c1c4
PB
356842011-09-09 Ulrich Drepper <drepper@gmail.com>
35685
35686 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35687
356882011-07-03 Andreas Jaeger <aj@suse.de>
35689
35690 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35691 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35692 regenerate with gen-libm-tests.pl.
35693
356942010-05-12 Petr Baudis <pasky@suse.cz>
35695
35696 [BZ #11589]
35697 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35698 around j0() zero points by switching to j1().
35699 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35703
f22e1074
UD
357042011-09-09 Ulrich Drepper <drepper@gmail.com>
35705
f19009c1
UD
35706 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35707 instead of 0.
35708 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35709 instead of 0.
f19009c1
UD
35710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35711 Patch in part by Pavel Roskin <proski@gnu.org>.
35712
3f8cc204
UD
35713 [BZ #13138]
35714 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35715 realloc.
35716 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35717 Free memory block if necessary.
35718
f22e1074
UD
35719 [BZ #12847]
35720 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35721 be NULL. Don't lock in this case.
35722
0a2349f9
RM
357232011-09-09 Roland McGrath <roland@hack.frob.com>
35724
35725 * elf/elf.h (ELFOSABI_GNU): New macro.
35726 (ELFOSABI_LINUX): Define to that.
35727
f3cdd467
DZ
357282011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35729
35730 * string/strncat.c (strncat): Undef the symbol in case it has been
35731 defined in bits/string.h.
35732
74718d13
UD
357332011-09-09 Ulrich Drepper <drepper@gmail.com>
35734
633e9e0f
UD
35735 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35736
0a2349f9 35737 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35738 link map.
35739
f9924780
AJ
357402011-08-17 Andreas Jaeger <aj@suse.de>
35741
35742 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35743
7f5517aa
PP
357442011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35745 Ian Lance Taylor <iant@google.com>
35746
35747 * math/libm-test.inc (lround_test): New testcase.
35748 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35749
762011fe
UD
357502011-09-08 Ulrich Drepper <drepper@gmail.com>
35751
92963737
UD
35752 * Makefile: Remove support for automatic cvs check-ins.
35753 * Makerules: Likewise.
35754 * config.make.in: Likewise.
35755 * configure.in: Likewise.
35756 * intl/Makefile: Likewise.
35757 * locale/Makefile: Likewise.
35758 * po/Makefile: Likewise.
35759 * posix/Makefile: Likewise.
35760 * sysdeps/gnu/Makefile: Likewise.
35761 * sysdeps/mach/hurd/Makefile: Likewise.
35762 * sysdeps/sparc/sparc32/Makefile: Likewise.
35763
b0727fd8
JS
35764 [BZ #13118]
35765 * posix/Makefile (bug-regex32-ENV): Define.
35766 Patch by John Stanley <jpsinthemix@verizon.net>.
35767
a0f33f99
UD
35768 * misc/Makefile (headers): Add bits/select2.h.
35769 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35770 * misc/bits/select2.h: New file.
35771 * include/bits/select2.h: New file.
35772 * debug/Makefile (routines): Add fdelt_chk.
35773 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35774 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35775 FD_ISSET.
35776 * debug/fdelt_chk.c: New file.
35777
762011fe
UD
35778 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35779 * wcsmbs/test-wmemcmp.c: Likewise.
35780 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35781 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35782
357832011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35784
35785 * string/Makefile (strop-tests): Add memcmp.
35786 * string/test-wmemcmp.c: New file.
35787 * string/test-memcmp.c: Add wmemcmp support.
35788
7f513ec8
RM
357892011-09-08 Roland McGrath <roland@hack.frob.com>
35790
0442afb4
RM
35791 [BZ #13153]
35792 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35793 2011-07-19 change.
35794
7f513ec8
RM
35795 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35796 garbage value in a __mach_port_mod_refs call in the cases of the
35797 task-self and thread-self ports.
35798
a12b2239
ST
357992011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35800
35801 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35802
610f9ab4
AS
358032011-09-08 Andreas Schwab <schwab@redhat.com>
35804
7f513ec8 35805 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35806
48882a1a
LD
358072011-09-07 Ulrich Drepper <drepper@gmail.com>
35808
b49865be
UD
35809 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35810
fdc86bc9
UD
35811 * elf/dl-libc.c (dlerror_run): Pass back error code from
35812 dl_catch_error.
35813
c966526a
UD
35814 [BZ #13123]
35815 * elf/dl-load.c (lose): Free l_origin if it is valid.
35816
48882a1a
LD
35817 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35818 names.
35819 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35820 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35823 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35824 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35825
77a2a8b4
AZ
358262011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35827
35828 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35829 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35830 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35831 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35832 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35833 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35834 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35835 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35836 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35837 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35838
24f579d8
AM
358392011-08-15 Alan Modra <amodra@gmail.com>
35840
35841 [BZ #13092]
35842 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35843 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35844 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35845 ppc_mcount to static-only-routines.
35846 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35847 __mcount_internal.
35848 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35849 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35850
3d4837df
UD
358512011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35852
35853 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35854 for finite and infinity parameters.
35855
22700377
WS
358562011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35857
35858 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35859 and add nop instructions for throughput optimization.
35860 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35861
5025581e
WS
358622011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35863
35864 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35865 aligned copy for power7 with vector-scalar instructions.
35866 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35867
08a300c9
L
358682011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35869
35870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35871 AVX check.
35872
59178ef9
AS
358732011-09-07 Andreas Schwab <schwab@redhat.com>
35874
35875 [BZ #13144]
35876 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35877 last change.
35878
e38ba7ab
UD
358792011-09-07 Ulrich Drepper <drepper@gmail.com>
35880
35881 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35882 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35883 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35884 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35885 clock_gettime.
35886
d53a73ac
UD
358872011-09-06 Ulrich Drepper <drepper@gmail.com>
35888
fc8bffcc
UD
35889 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35890 Forgot to demangle the pointer.
35891
ceaa0c5d
UD
35892 * sysdeps/i386/sysdep.h: Define atom_text_section.
35893 * sysdeps/x86_64/sysdep.h: Likewise.
35894 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35895 section with atom_text_section.
35896 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35898 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35899 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35900 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35901
a77d3c17
UD
35902 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35903 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35904 already be defined. Change to take two parameters and don't assign
35905 result to variable. Adjust all users.
35906 Define INTERNAL_GETTIME if not already defined.
35907 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35908 call.
35909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35910 HAVE_CLOCK_GETTIME_VSYSCALL.
35911 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35912
d53a73ac
UD
35913 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35914 gettimeofday vsyscall, just use time.
35915
a8f84144
AS
359162011-09-06 Andreas Schwab <schwab@redhat.com>
35917
35918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35919 <errno.h>.
35920
ef606249
UD
359212011-09-06 Ulrich Drepper <drepper@gmail.com>
35922
35923 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35924 syscall on x86-64.
35925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35926 syscall.
35927 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35928 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35929 syscall if possible.
35930
6585cb60
UD
359312011-09-05 Ulrich Drepper <drepper@gmail.com>
35932
35933 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35934 e_ident. Don't pass to find_mapsXX.
35935 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35936
a5f524e4
LD
359372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35938
35939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35940 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35941 * sysdeps/x86_64/multiarch/strchr.S: Update.
35942 Check bit_slow_BSF bit.
35943 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35944 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35945 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35946
554881ef
UD
359472011-09-05 Ulrich Drepper <drepper@gmail.com>
35948
d96de963
UD
35949 [BZ #13134]
35950 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35951 before glibc 2.15.
35952 (tryshell): Define.
35953 (__spawni): Change last parameter to be flag. Test
35954 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35955 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35956 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35957 * posix/spawni.c: Likewise.
35958 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35959 * posix/spawnp.c: Likewise. Change normal version to use
35960 SPAWN_XFLAGS_USE_PATH.
35961 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35962 SPAWN_XFLAGS_TRY_SHELL.
35963
d48e5868
UD
35964 [BZ #13150]
35965 * posix/glob.h: Remove gcc 1.x support.
35966
554881ef
UD
35967 [BZ #13068]
35968 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35969
693fb948
LD
359702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35971
35972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35973 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35974 strrchr-sse2-bsf
35975 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35976 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35977 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35978 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35979 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35980 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35981
1b48c537
UD
359822011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35983
49d42c37
UD
35984 * sysdeps/x86_64/wcscmp.S: New file.
35985
1b48c537
UD
35986 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35987 wcscmp-c wcscmp-sse2
35988 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35989 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35990 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35991 * wcsmbs/wcscmp.c: Allow renaming.
35992
15c95c5d
DM
359932011-09-05 David S. Miller <davem@davemloft.net>
35994
35995 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35996 stack slot, rather than the struct return pointer slot.
35997 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35998 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36000 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36001
2f0ad8f3
UD
360022011-09-05 Ulrich Drepper <drepper@gmail.com>
36003
d88ae418
UD
36004 * po/ja.po: Update from translation team.
36005
2f0ad8f3
UD
36006 [BZ #13144]
36007 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36008 kernel in 64-bit binaries.
36009
5f4318d1
DM
360102011-09-01 David S. Miller <davem@davemloft.net>
36011
36012 * elf/elf.h (HWCAP_SPARC_*): Move to..
36013 * sysdeps/sparc/sysdep.h: this new file and add new values.
36014 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36015 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36016 _DL_HWCAP_COUNT to 24.
36017 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36018 entries.
36019 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36020 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36021 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36023 instead of magic constants.
36024 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36025
3ba57516
DM
360262011-08-31 David S. Miller <davem@davemloft.net>
36027
36028 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36030 Reimplement to do errno handling inline.
36031 (SYSCALL_ERROR_HANDLER): New macro.
36032 (__SYSCALL_STRING): Do not do errno handling in asm.
36033 (__CLONE_SYSCALL_STRING): Delete.
36034 (__INTERNAL_SYSCALL_STRING): Delete.
36035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36036 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36037 (PSEUDO): Reimplement to do errno handling inline.
36038 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36039 (SYSCALL_ERROR_HANDLER): New macro.
36040 (__SYSCALL_STRING): Do not do errno handling in asm.
36041 (__CLONE_SYSCALL_STRING): Delete.
36042 (__INTERNAL_SYSCALL_STRING): Delete.
36043 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36044 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36045 i386.
36046 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36047 (inline_syscall*): Add 'err' argument.
36048 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36049 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36050 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36051 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36052
36053 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36055
2bc17433
AS
360562011-08-30 Andreas Schwab <schwab@redhat.com>
36057
36058 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36059
fbeb5f4d
JO
360602011-08-29 Jiri Olsa <jolsa@redhat.com>
36061
36062 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36063 directive.
36064
ad69cc26
DM
360652011-08-24 David S. Miller <davem@davemloft.net>
36066
36067 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36068
39dd69df
AS
360692011-08-24 Andreas Schwab <schwab@redhat.com>
36070
36071 * elf/Makefile: Add rules to build and run unload8 test.
36072 * elf/unload8.c: New file.
36073 * elf/unload8mod1.c: New file.
36074 * elf/unload8mod1x.c: New file.
36075 * elf/unload8mod2.c: New file.
36076 * elf/unload8mod3.c: New file.
36077
36078 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36079 it wasn't used.
36080
2c0b250a
DM
360812011-08-23 David S. Miller <davem@davemloft.net>
36082
36083 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36084 subtract stack bias.
36085 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36086 %sp not %fp in calculations.
36087 (_JMPBUF_UNWINDS_ADJ): Likewise.
36088
22044b48
DM
36089 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36090 (aio_suspend): Call it to force an exception region around the
36091 AIO_MISC_WAIT() invocation.
36092
2cae4995
AS
360932011-08-23 Andreas Schwab <schwab@redhat.com>
36094
36095 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36096 backslash.
36097
873a772e
AJ
360982011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36099
36100 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36101 protection macro.
36102 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36103 and <dl-machine.h>.
36104 (Elf64_FuncDesc): Remove.
36105
25ad0df1
DM
361062011-08-22 David S. Miller <davem@davemloft.net>
36107
36108 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36109 sigaltstack check, add missing cfi directives.
36110 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36111 missing cfi directives, and sigaltstack handling.
36112
e888bcbe
AS
361132011-08-16 Andreas Schwab <schwab@redhat.com>
36114
36115 [BZ #11724]
36116 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36117 object is seen twice.
36118 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36119
36120 * elf/Makefile (distribute): Add tst-initorder2.c.
36121 (tests): Add tst-initorder2.
36122 (modules-names): Add tst-initorder2a tst-initorder2b
36123 tst-initorder2c tst-initorder2d. Add rules to build them.
36124 ($(objpfx)tst-initorder2.out): New rule.
36125 * elf/tst-initorder2.c: New file.
36126 * elf/tst-initorder2.exp: New file.
36127
87162f46
AS
361282011-08-22 Andreas Schwab <schwab@redhat.com>
36129
70538b7f
AS
36130 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36131
f55ffe58
AS
36132 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36133 dependencies back to end of function.
36134
87162f46
AS
36135 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36136 $(elfobjdir)/ld.so.
36137
91b392a4
UD
361382011-08-21 Ulrich Drepper <drepper@gmail.com>
36139
36140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36141 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36143 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36144 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36145 of __vdso_gettimeofday.
36146 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36147 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36148 attribute_hidden.
36149 (_libc_vdso_platform_setup): Remove initialization of
36150 __vdso_gettimeofday and __vdso_time.
36151
5c43483f
UD
361522011-08-20 Ulrich Drepper <drepper@gmail.com>
36153
775a77e7
UD
36154 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36155 and fgetc_unlocked.
36156 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36157 getc_unlocked.
89f447ed 36158
49c74ba9
UD
36159 * elf/dl-open.c (add_to_global): Report additions to the global scope
36160 for LD_DEBUG=scopes.
36161 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36162 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36163
5c43483f
UD
36164 [BZ #13114]
36165 * stdio-common/Makefile (tests): Add bug24.
36166 * stdio-common/bug24.c: New file.
36167
a101b025
AJ
361682011-08-19 Andreas Jaeger <aj@suse.de>
36169
36170 [BZ #13114]
36171 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36172 non-existant file when using close-on-exec mode.
36173
c88f1766
UD
361742011-08-20 Ulrich Drepper <drepper@gmail.com>
36175
0276a718
UD
36176 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36177 the very first instruction.
36178
c88f1766
UD
36179 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36180 the CFI state in the end.
36181 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36182 inclusion of dl-trampoline.h.
36183 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36184
51ccffa0
AS
361852011-08-19 Andreas Schwab <schwab@redhat.com>
36186
94d7165f
AS
36187 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36188 expectations for long double.
36189
51ccffa0
AS
36190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36191 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36192
fd708658 361932011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36194
36195 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36196 artificual limit depends upon the system page size.
36197
44f0a71e
UD
361982011-08-17 Ulrich Drepper <drepper@gmail.com>
36199
36200 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36201 * resolv/Makefile: Define CFLAGS-libresolv.
36202
8de79a24
AS
362032011-08-17 Andreas Schwab <schwab@redhat.com>
36204
36205 * nss/makedb.c (compute_tables): Make variables used in nested
36206 function static.
36207
27724598
UD
362082011-08-17 Ulrich Drepper <drepper@gmail.com>
36209
c5305d88
UD
36210 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36211 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36212 if buffer was too small.
36213
27724598
UD
36214 * elf/pldd.c (main): Attach to all threads in the process.
36215 Rewrite /proc handling to use *at functions.
36216
076fe015
UD
362172011-08-16 Ulrich Drepper <drepper@gmail.com>
36218
174baab3
UD
36219 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36220 specifies first scope to show.
36221 (dl_open_worker): Update callers. Move printing scope of new
36222 object to before the relocation.
44f0a71e 36223 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36224 * sysdeps/generic/ldsodefs.h: Update declaration.
36225
076fe015
UD
36226 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36227 string for the scope number.
36228
a60df2c3
UD
362292011-08-14 Ulrich Drepper <drepper@gmail.com>
36230
36231 * nscd/servicescache.c (cache_addserv): Make sure written is always
36232 initialized.
36233
5e4287d1
RM
362342011-08-14 Roland McGrath <roland@hack.frob.com>
36235
85ae0589
RM
36236 * sysdeps/i386/i486/bits/atomic.h
36237 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36238 statement expression, so as to suppress "set but not used" warning.
36239 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36240
69f63097
RM
36241 * string/strncat.c (STRNCAT): Use prototype definition.
36242
675456ef
RM
36243 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36244 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36245 -Iprograms here.
36246 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36247 (localedef-modules): Add localedef.
36248 (locale-modules): Add locale.
36249
5e4287d1
RM
36250 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36251 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36252 to avoid a warning.
36253
9c96ff23
DM
362542011-08-14 David S. Miller <davem@davemloft.net>
36255
36256 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36257 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36258
f9ddf089
UD
362592011-08-13 Ulrich Drepper <drepper@gmail.com>
36260
44f0a71e 36261 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36262 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36263 * elf/rtld.c (dl_main): Set l_name of vDSO.
36264 Call _dl_show_scope when DL_DEBUG_SCOPES.
36265 (process_dl_debug): Recognize scopes flag and also set it for all.
36266 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36267 Declare _dl_show_scope.
36268
1dc27704
UD
36269 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36270 (do_dlopen): Pass caller_dlopen to dl_open.
36271 (__libc_dlopen_mode): Initialize caller_dlopen.
36272
f9ddf089
UD
36273 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36274 of libc. Make tolower call locale-independent. Optimize a bit by
36275 using isdigit instead of isalnum.
36276 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36277
9ac533d3
UD
362782011-08-12 Ulrich Drepper <drepper@gmail.com>
36279
36280 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36281 was a dependency or dynamically loaded.
36282
89edf2e9
UD
362832011-08-11 Ulrich Drepper <drepper@gmail.com>
36284
8e999d29
UD
36285 * intl/l10nflist.c: Allow architecture-specific pop function.
36286 * sysdeps/x86_64/l10nflist.c: New file.
36287
89edf2e9
UD
36288 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36289 classification.
36290
14d96785
AS
362912011-08-10 Andreas Schwab <schwab@redhat.com>
36292
36293 * include/dirent.h: Add libc_hidden_proto for scandirat and
36294 scandirat64. Don't declare __scandirat64.
36295 * dirent/scandirat.c: Add libc_hidden_def.
36296 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36297 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36298
6761ac04
DM
362992011-08-10 David S. Miller <davem@davemloft.net>
36300
36301 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36302 enum.
36303 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36304 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36305 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36306
c55fbd1e
UD
363072011-08-09 Ulrich Drepper <drepper@gmail.com>
36308
36309 * Versions.def [libc]: Add GLIBC_2.15.
36310 * dirent/Makefile (routines): Add scandirat and scandirat64.
36311 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36312 GLIBC_2.15.
36313 * dirent/dirent.h: Declare scandirat and scandirat64.
36314 * dirent/scandirat.c: New file.
36315 * dirent/scandirat64.c: New file.
36316 * sysdeps/wordsize-64/scandirat.c: New file.
36317 * sysdeps/wordsize-64/scandirat64.c: New file.
36318 * dirent/opendir.c: Define opendirat.
36319 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36320 using scandirat.
36321 * dirent/scandir64.c: Adjust for scandir.c change.
36322 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36323 __scandirat64, and __scandir_cancel_handler.
36324 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36325 additional parameter and use openat instead of open (outside of ld.so).
36326 Add new __opendir as wrapper around __opendirat.
36327 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36328 here without requiring old scandirat implementation.
36329
879165f2
UD
363302011-08-08 Ulrich Drepper <drepper@gmail.com>
36331
36332 * dirent/scandir.c (cancel_handler): Renamed to
36333 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36334 defined. Adjust users.
36335 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36336 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36337
cb7e923b
UD
363382011-08-04 Ulrich Drepper <drepper@gmail.com>
36339
16292edd
UD
36340 * string/test-string.h (IMPL): Use __STRING to expand name and then
36341 stringify it.
36342
cb7e923b
UD
36343 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36344 of cleanups.
36345
cff82933
LD
363462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36347
36348 * string/Makefile: Update.
36349 (strop-tests): Append strncat.
36350 * string/test-wcscmp.c: New file.
36351 New comprehensive test for wcscmp.
36352 * string/test-strcmp.c: Update.
36353 (WIDE): New define.
36354
9be9bfcc
AS
363552011-07-22 Andreas Schwab <schwab@redhat.com>
36356
36357 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36358 line.
36359
2e96f1c7
AS
363602011-07-26 Andreas Schwab <schwab@redhat.com>
36361
36362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36363 encoding to ACE if AI_IDN.
36364
85188888
JJ
363652011-08-01 Jakub Jelinek <jakub@redhat.com>
36366
36367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36368 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36369
5fa16e9b
LD
363702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36371
36372 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36373 Fix overflow bug in strncat.
36374 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36375
36376 * string/test-strncat.c: Update.
36377 Add new tests for checking overflow bugs.
36378
363792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36380
36381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36382 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36383 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36384 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36386 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36387 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36388 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36389 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36390
36391 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36392 (USE_AS_STRCAT): Define.
36393 Add strcat and strncat support.
36394 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36395
8c1a459f
AS
363962011-07-25 Andreas Schwab <schwab@redhat.com>
36397
36398 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36399 __n bigger than INT_MAX+1.
36400 (__strncmp_g): Likewise.
36401
bba33c28
UD
364022011-07-23 Ulrich Drepper <drepper@gmail.com>
36403
798be72d
UD
36404 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36405 * libio/stido.h: Likewise.
36406
8accd4dc
UD
36407 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36408 (AF_NFC): Define.
36409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36410 (AF_NFC): Define.
36411
cbff0d96
UD
36412 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36413 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36414 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36415 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36416 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36417
9191c04a
UD
36418 [BZ #13021]
36419 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36420 installed.
36421
bba33c28
UD
36422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36423 typo.
36424 (_dl_x86_64_save_sse): Likewise.
36425
90f139dd
UD
364262011-07-22 Ulrich Drepper <drepper@gmail.com>
36427
1aae088a
UD
36428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36429 OSXSAVE.
36430 (_dl_x86_64_save_sse): Likewise.
36431
8e2045f5
UD
36432 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36433
90f139dd
UD
36434 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36435
1d002f25
AS
364362011-07-21 Andreas Schwab <schwab@redhat.com>
36437
36438 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36439 change.
36440 (_dl_x86_64_save_sse): Use correct AVX check.
36441
21137f89
UD
364422011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36443
36444 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36445 bug in strncpy/strncat.
36446 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36447
a65c0b7a
UD
364482011-07-21 Ulrich Drepper <drepper@gmail.com>
36449
36450 * string/tester.c (test_strcat): Add tests for different alignments
36451 of source and destination.
36452 (test_strncat): Likewise.
36453
6986b98a
UD
364542011-07-20 Ulrich Drepper <drepper@gmail.com>
36455
90bb2039
UD
36456 [BZ #12852]
36457 * posix/glob.c (glob): Check passed in values before using them in
36458 expressions to avoid some overflows.
36459 (glob_in_dir): Likewise.
36460
5644ef54
UD
36461 [BZ #13007]
36462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36463 check for AVX enablement so that we don't crash with old kernels and
36464 new hardware.
36465 * elf/tst-audit4.c: Add same checks here.
36466 * elf/tst-audit6.c: Likewise.
36467
36468 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36469
bfc9dc9b
AS
364702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36471
36472 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36473
702e64bb
UD
364742011-07-20 Ulrich Drepper <drepper@gmail.com>
36475
36476 * po/cs.po: Update from translation team.
36477 * po/bg.po: Likewise.
36478
295e904f
MP
364792011-07-12 Marek Polacek <mpolacek@redhat.com>
36480
36481 * misc/sys/cdefs.h: Add support for const attribute.
36482 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36483 to gnu_dev_{major,minor,makedev} functions.
36484
3ff94596
MP
364852011-07-20 Marek Polacek <mpolacek@redhat.com>
36486
36487 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36488
28b59fca
AS
364892011-07-20 Andreas Schwab <schwab@redhat.com>
36490
36491 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36492 strlen results.
36493
19df733e
AK
364942011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36495
36496 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36497 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36498 register in order to avoid conflicts with the soft frame pointer
36499 being held in r11 when necessary.
36500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36501 (INTERNAL_VSYSCALL_NCS): Likewise.
36502
c8835729
MP
365032011-07-14 Marek Polacek <mpolacek@redhat.com>
36504
36505 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36506 * elf/dl-fini.c (_dl_fini): Adjust caller.
36507 * elf/dl-close.c (_dl_close_worker): Likewise.
36508 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36509
b902330c
MP
365102011-07-15 Marek Polacek <mpolacek@redhat.com>
36511
8991e135
MP
36512 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36513 "aux_cache->nlibs < 0".
36514
b902330c
MP
36515 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36516 in the reload-count case.
36517
99710781
LD
365182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36519
36520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36521 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36522 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36523 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36524 * sysdeps/x86_64/multiarch/strcat.S: New file.
36525 * sysdeps/x86_64/multiarch/strncat.S: New file.
36526 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36527 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36528 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36529 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36530 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36531 (USE_AS_STRCAT): Define.
36532 Add strcat and strncat support.
36533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36534 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36535 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36536 * string/strncat.c: Update.
36537 (USE_AS_STRNCAT): Define.
36538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36539 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36540 and i7.
36541 * sysdeps/x86_64/multiarch/init-arch.h
36542 (bit_Prefer_PMINUB_for_stringop): New.
36543 (index_Prefer_PMINUB_for_stringop): Likewise.
36544 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36545 bit_Prefer_PMINUB_for_stringop.
36546
7dc6bd90
UD
365472011-07-19 Ulrich Drepper <drepper@gmail.com>
36548
36549 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36550 buffer64.
36551 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36552 of casting of buffer.
36553 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36554 buffer32 and buffer64.
36555 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36556 writes instead of casting of buffer.
36557 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36558 buffer32.
36559 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36560 casting of buffer.
36561
e0e72284
AS
365622011-07-19 Andreas Schwab <schwab@redhat.com>
36563
36564 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36565
feb1eb0b
UD
365662011-07-19 Ulrich Drepper <drepper@gmail.com>
36567
36568 * nscd/nscd.c (termination_handler): Don't do anything for a database
36569 if it has not yet been initialized.
36570
298711ff
UD
365712011-07-18 Ulrich Drepper <drepper@gmail.com>
36572
36573 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36574
365752011-07-15 Marek Polacek <mpolacek@redhat.com>
36576
36577 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36578
f9d68389
UD
365792011-07-18 Ulrich Drepper <drepper@gmail.com>
36580
36581 * po/nl.po: Update from translation team.
36582 * po/sv.po: Likewise.
36583
db290cf5
RM
365842011-07-16 Roland McGrath <roland@hack.frob.com>
36585
36586 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36587 now disallowed by GCC.
5c550700 36588
fd5e21c7
RM
36589 * configure.in (use-default-link): Default to yes if a test -shared
36590 link meets our qualifications.
36591 * configure: Regenerated.
36592
5c550700
RM
36593 * config.make.in (output-format): New variable.
36594 * configure.in: Check for ld --print-output-format support.
36595 * configure: Regenerated.
36596 * Makerules ($(common-objpfx)format.lds)
36597 [$(output-format) != unknown]: Just use $(output-format),
36598 instead of the linker-script munging.
36599
9fa2c032
RM
366002011-07-14 Roland McGrath <roland@hack.frob.com>
36601
a6928d51
RM
36602 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36603 of $(common-objpfx)shlib.lds.
36604 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36605
661607b3
RM
36606 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36607 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36608
9fa2c032
RM
36609 * configure.in (-z relro check): Adjust test code to add a large
36610 writable data section after it.
36611 * configure: Regenerated.
36612
defe9061
RM
366132011-07-11 Roland McGrath <roland@hack.frob.com>
36614
36615 * configure.in (-z relro check): Fix test code to make the variable
36616 truly const.
36617 * configure: Regenerated.
36618
319b9ad4
UD
366192011-07-11 Ulrich Drepper <drepper@gmail.com>
36620
36621 * nscd/nscd.h (struct traced_file): Define.
36622 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36623 elements. Add traced_files.
36624 (inotify_fd): Declare.
36625 (register_traced_file): Declare.
36626 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36627 (inotify_fd): Export.
36628 (resolv_conf_descr): Remove.
36629 (nscd_init): Move inotify descriptor creation to main.
36630 Don't register files for notification here.
36631 (register_traced_file): New function.
36632 (invalidate_cache): Don't use reset_res to determine whether to call
36633 res_init, go through the list of registered files.
36634 (main_loop_poll): The inotify descriptors are now stored in the
36635 structures for the traced files.
36636 (main_loop_epoll): Likewise
36637 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36638 to __nss_disable_nscd.
36639 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36640 for a database anymore. Check the records for all the registered
36641 files instead.
36642 * nss/Makefile (libnss_files-routines): Add files-init.
36643 (libnss_db-routines): Add db-init.
36644 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36645 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36646 * nss/nss_db/db-init.c: New file.
36647 * nss/nss_files/files-init.c: New file.
36648 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36649 __nss_lookup_function.
36650 (__nss_lookup_function): Call nss_load_library.
36651 (nss_load_all_libraries): New function.
36652 (__nss_disable_nscd): Take parameter with callback function for files
36653 to register. Set is_nscd. Load all the DSOs for the NSS modules
36654 used for the cached services.
36655 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36656 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36657 options for features to all the files in nscd.
36658
36659 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36660
23bee3e8
RM
366612011-07-10 Roland McGrath <roland@hack.frob.com>
36662
36663 * csu/elf-init.c (__libc_csu_init): Comment typo.
36664
46a5b7f0
UD
366652011-07-09 Ulrich Drepper <drepper@gmail.com>
36666
36667 * po/pl.po: Update from translation team.
36668 * po/ja.po: Likewise.
36669 * po/ru.po: Likewise.
36670 * po/ko.po: Likewise.
36671 * po/fr.po: Likewise.
36672
d30cf5bb
RM
366732011-07-09 Roland McGrath <roland@hack.frob.com>
36674
113ddea4
RM
36675 * configure.in (.ctors/.dtors header and trailer check):
36676 Use an empirical test on a built program.
36677 * configure: Regenerated.
36678
574920b4
RM
36679 * configure.in (-z relro check): Use an empirical test on a built DSO.
36680 Detect, but do not require, on ia64.
36681 * configure: Regenerated.
36682
d30cf5bb
RM
36683 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36684 Update tests that use readelf to use $READELF instead.
36685 * configure: Regenerated.
36686
8538fdb3
UD
366872011-07-08 Ulrich Drepper <drepper@gmail.com>
36688
36689 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36690 if the result is not used.
36691
04d08991
AJ
366922011-07-05 Andreas Jaeger <aj@suse.de>
36693
36694 [BZ#9696]
36695 * stdlib/tst-strtod.c: Add testcase.
36696
de283087
AD
366972011-07-07 Ulrich Drepper <drepper@gmail.com>
36698
4e5f31c8 36699 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36700 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36701 The latter has a higher limit. Take additional parameter to pass to
36702 the new function.
36703 (__pathconf): Pass file to __statfs_link_max.
36704 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36705 __statfs_link_max.
36706 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36707 __statfs_link_max.
36708
de283087
AD
36709 [BZ #12868]
36710 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36712 Handle Lustre.
36713 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36714 (__statfs_filesize_max): Likewise.
36715 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36716
c75fa153
AJ
367172011-07-05 Andreas Jaeger <aj@suse.de>
36718
36719 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36720
1a544854
UD
367212011-07-06 Marek Polacek <mpolacek@redhat.com>
36722
36723 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36724 `status' variable.
36725 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36726 Likewise.
36727
6f0eec67
UD
367282011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36729
36730 * Makefile (strop-tests): Add strncat.
36731 * string/test-strncat.c: New file.
36732
aae30307
UD
367332011-06-30 Marek Polacek <mpolacek@redhat.com>
36734
36735 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36736
c0cfb5eb
UD
367372011-06-21 Andreas Jaeger <aj@suse.de>
36738
36739 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36740 Copy rule from iconvdata/Makefile.
36741
01636b21
UD
367422011-07-06 Ulrich Drepper <drepper@gmail.com>
36743
36744 [BZ #12922]
36745 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36746 but no long options are defined, just return 'W'.
36747
9895c8bc
UD
367482011-06-22 Marek Polacek <mpolacek@redhat.com>
36749
36750 [BZ #9696]
36751 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36752
5d4cf042
UD
367532011-07-06 Ulrich Drepper <drepper@gmail.com>
36754
36755 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36756 netgroups to read.
960e5535 36757 (innetgr): Likewise.
5d4cf042 36758
751eb97e
RM
367592011-07-05 Roland McGrath <roland@hack.frob.com>
36760
36761 * config.make.in (install_root): Default to $(DESTDIR).
36762
f15f1e45
UD
367632011-07-05 Ulrich Drepper <drepper@gmail.com>
36764
36765 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36766
4e34ac6a
RM
367672011-07-02 Roland McGrath <roland@hack.frob.com>
36768
5e9b6af4
RM
36769 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36770
84f9ea0f
RM
36771 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36772 containing directory rather than embedding absolute directory names.
36773
ea5ee9f7
RM
36774 * scripts/check-local-headers.sh: Rewritten using awk.
36775 Match by word, not by line. Print error messages for matches.
36776 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36777
1b74661a
RM
36778 * Makerules [shlib-lds-flags empty]:
36779 ($(common-objpfx)libc_pic.opts): New target.
36780 ($(common-objpfx)libc_pic.os.clean): New target.
36781 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36782
36783 * config.make.in (OBJCOPY): New variable.
36784 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36785 * configure: Regenerated.
36786
f781ef40
RM
36787 * config.make.in (use-default-link): New variable.
36788 * configure.in (use_default_link): Grok --with-default-link to set it.
36789 * configure: Regenerated.
36790 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36791 (shlib-lds, shlib-lds-flags): Define to empty.
36792
2d4fa81e
RM
36793 * Makerules (shlib-lds): New variable.
36794 (shlib-lds-flags): New variable.
36795 (build-shlib, build-moduile, build-module-asneeded): Use it.
36796 ($(common-objpfx)libc.so): Use $(shlib-lds).
36797 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36798 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36799
31fffa6b
RM
36800 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36801 DT_FLAGS/DT_FLAGS_1 with zero flags.
36802
4e34ac6a
RM
36803 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36804 linker script munging.
36805
fcfc776b
UD
368062011-07-02 Ulrich Drepper <drepper@gmail.com>
36807
36808 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36809 as 128-bit value.
36810 * crypt/sha512.c (sha512_process_block): Perform total addition using
36811 128-bit if possible.
36812 (__sha512_finish_ctx): Likewise.
36813 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36814 as 64-bit value.
36815 * crypt/sha256.c (SWAP64): Define.
36816 (sha256_process_block): Perform total addition using 64-bit if
36817 possible.
36818 (__sha256_finish_ctx): Likewise.
36819
99231d9a
UD
368202011-07-01 Ulrich Drepper <drepper@gmail.com>
36821
36822 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36823 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36824 * nscd/hstcache.c (cache_addhst): Likewise.
36825 * nscd/grpcache.c (cache_addgr): Likewise.
36826 * nscd/aicache.c (addhstaiX): Likewise
36827 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36828
445b4a53
TK
368292011-07-01 Thorsten Kukuk <kukuk@suse.de>
36830
36831 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36832 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36833 * nscd/hstcache.c (cache_addhst): Likewise.
36834 * nscd/grpcache.c (cache_addgr): Likewise.
36835 * nscd/aicache.c (addhstaiX): Likewise
36836
6d4d8e8e
AS
368372011-07-01 Andreas Schwab <schwab@redhat.com>
36838
36839 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36840 domain only when needed.
36841
89f654c5
AS
368422011-06-30 Andreas Schwab <schwab@redhat.com>
36843
36844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36845 is always restored.
36846
cf3b23ff
UD
368472011-06-29 Ulrich Drepper <drepper@gmail.com>
36848
36849 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36850 are re-adding the entry.
36851 * nscd/servicescache.c (cache_addserv): Likewise.
36852
751626f9
AJ
368532011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36854
36855 * sysdeps/generic/dl-irel.h: fix protection against multiple
36856 inclusions.
36857 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36858
9113ea1f
UD
368592011-06-28 Ulrich Drepper <drepper@gmail.com>
36860
5c0b8d90
UD
36861 [BZ #12935]
36862 * malloc/memusage.sh: Fix quoting in message.
36863 * debug/xtrace.sh: Likewise.
36864
9113ea1f
UD
36865 * configure.in: Remove support for --experimental-malloc option, make
36866 it the default.
36867 * config.make.in: Likewise.
36868 * malloc/Makefile: Likewise.
36869
a4172181
AS
368702011-06-27 Andreas Schwab <schwab@redhat.com>
36871
36872 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36873 two-byte characters.
36874
78a7eee7
RM
368752011-06-27 Roland McGrath <roland@hack.frob.com>
36876
62bede13
RM
36877 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36878 AC_CACHE_CHECK invocation.
36879 * configure: Regenerated.
36880
78a7eee7
RM
36881 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36882
5ce33a62
UD
368832011-06-27 Ulrich Drepper <drepper@gmail.com>
36884
034807a9
UD
36885 [BZ #12350]
36886 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36887 bit from old_res_options.
36888
4902da17
UD
36889 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36890
5ce33a62
UD
36891 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36892 value type for setfct.
36893
c2344f56
L
368942011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36895
36896 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36897 __gettimeofday instead of gettimeofday.
36898
68468076
UD
368992011-06-26 Ulrich Drepper <drepper@gmail.com>
36900
36901 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36902
acb0d739
L
369032011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36904
36905 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36906
36907 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36908 info.
36909
8912479f
L
369102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36911
36912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36913 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36914 strcpy-sse2-unaligned strncpy-sse2-unaligned
36915 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36916 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36917 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36918 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36919 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36920 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36921 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36922 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36923 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36924 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36925 (STRCPY): Support SSE2 and SSSE3 versions.
36926
d5495a11
UD
369272011-06-24 Ulrich Drepper <drepper@gmail.com>
36928
36929 [BZ #12874]
36930 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36931 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36932 kernels which artificially limit size of requests.
36933
0b1cbaae
L
369342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36935
36936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36937 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36938 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36939 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36940 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36941 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36942 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36943 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36944 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36946 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36947 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36948 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36949 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36950 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36952 Enable unaligned load optimization for Intel Core i3, i5 and i7
36953 processors.
36954 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36955 Define.
36956 (index_Fast_Unaligned_Load): Define.
36957 (HAS_FAST_UNALIGNED_LOAD): Define.
36958
07f494a0
MP
369592011-06-23 Marek Polacek <mpolacek@redhat.com>
36960
36961 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36962
fa3fc0fe
UD
369632011-06-22 Ulrich Drepper <drepper@gmail.com>
36964
36965 [BZ #12907]
36966 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36967 until it is clear that the information is realy needed.
36968 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36969
e12df166
AS
369702011-06-22 Andreas Schwab <schwab@redhat.com>
36971
36972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36973
852eb34d
UD
369742011-06-22 Ulrich Drepper <drepper@gmail.com>
36975
84e2a551
UD
36976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36977 /sys/devices/system/cpu/online if it is usable.
36978
852eb34d
UD
36979 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36980 reading the information from the /proc filesystem to once a second.
36981
6e502e19
UD
369822011-06-21 Andreas Jaeger <aj@suse.de>
36983
36984 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36985 NULL after inclusion of kernel headers.
36986
75d39ff2
UD
369872011-06-21 Ulrich Drepper <drepper@gmail.com>
36988
51f9aa6a
UD
36989 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36990 calls to internal_setent.
36991
c0244a9d
UD
36992 [BZ #12885]
36993 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36994 addresses using gethostbyname4_r ignore IPv4 addresses.
36995
c5e3c2ae
UD
36996 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36997 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36998
75d39ff2
UD
36999 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37000
42675c6f
DM
370012011-06-20 David S. Miller <davem@davemloft.net>
37002
37003 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37004 inclusions.
37005 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37006
37007 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37008 (elf_irel): Use it.
37009 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37010 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37011 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37012 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37013 * sysdeps/x86_64/dl-irel.h: Likewise.
37014
37015 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37016 * elf/dl-sym.c: Likewise.
37017
57912a71
UD
370182011-06-15 Ulrich Drepper <drepper@gmail.com>
37019
37020 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37021 need to dereference resplen2.
37022
ee22793d
AS
370232011-06-14 Andreas Schwab <schwab@redhat.com>
37024
37025 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37026
a9e836b0
UD
370272011-06-15 Ulrich Drepper <drepper@gmail.com>
37028
77fb9117
UD
37029 * Makeconfig: Define vardbdir and inst_vardbdir.
37030 * nss/Makefile: Add rules to install db-Makefile.
37031
40c1b22c
UD
37032 * nss/nss_db/db-XXX.c: Cleanup.
37033
9f2da732
UD
37034 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37035 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37036 GLIBC_PRIVATE.
37037 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37038 * nss/makedb.c: Implement -g option to specify that value strings
37039 are generated and should not be added to table iterated over for
37040 get*ent calls.
37041 * nss/nss_db/db-initgroups.c: New file.
37042
82e9a1f7
UD
37043 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37044 interface.
37045
c41af17e
UD
37046 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37047 (internal_getgrouplist): Adjust to name change.
37048 Update use_initgroups_entry if this is not the first call.
37049 * nss/databases.def: Add initgroups entry.
37050
a9e836b0
UD
37051 * nss/makedb.c (compute_tables): Check result of multiple hash table
37052 sizes to minimize maximum chain length.
37053
2666d441
UD
370542011-06-14 Ulrich Drepper <drepper@gmail.com>
37055
37056 * Versions.def: Add entry for libnss_db.
37057 * shlib-versions: Likewise.
37058 * nss/Makefile: Add rules to build libnss_db.
37059 * nss/Versions: Add libnss_db information. Organize libnss_files
37060 entries better.
37061 * nss/db-Makefile: Add gshadow support. Change rules for the new
37062 makedb progra. Some minor improvements to generate smaller files.
37063 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37064 here from...
37065 * nss/makedb.c: ...here.
37066 Improve database format to be smaller and require less memory at
37067 runtime.
37068 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37069 db anymore.
37070 * nss/nss_db/db-netgrp.c: Likewise.
37071 * nss/nss_db/db-open.c: Likewise.
37072 * nss/nss_files/flies-XXX.x: Adjust comments.
37073 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37074 * nss/nss_files/files-grp.c: Likewise.
37075 * nss/nss_files/files-hosts.c: Likewise.
37076 * nss/nss_files/files-network.c: Likewise.
37077 * nss/nss_files/files-proto.c: Likewise.
37078 * nss/nss_files/files-pwd.c: Likewise.
37079 * nss/nss_files/files-rpc.c: Likewise.
37080 * nss/nss_files/files-service.c: Likewise.
37081 * nss/nss_files/files-sgrp.c: Likewise.
37082 * nss/nss_files/files-spwd.c: Likewise.
37083 * nss/nss_db/db-alias.c: Removed.
37084 * nss/nss_db/dummy-db.h: Removed.
37085
9ee76b5a
UD
370862011-06-02 Ulrich Drepper <drepper@gmail.com>
37087
37088 * nss/makedb.c: Rewritten to not use database library.
37089 * nss/Makefile: Update to build new makedb program.
37090
c71ca1f8
AJ
370912011-06-14 Andreas Jaeger <aj@suse.de>
37092
37093 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37094 memset declaration.
37095
3154bfb8
UD
370962011-06-10 Andreas Schwab <schwab@redhat.com>
37097
37098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37099 tmpbuf.
37100
b350afab
RM
371012011-06-10 Roland McGrath <roland@hack.frob.com>
37102
decd4e50
RM
37103 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37104 * elf/Makefile ($(objpfx)ld.so): Likewise.
37105
5615eaf2
RM
37106 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37107 Don't list ld.so twice in dependencies.
37108
37109 * posix/bug-regex31.c: Include <stdlib.h>.
37110
37111 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37112
37113 * nis/nss_compat/compat-spwd.c
37114 (getspent_next_nss_netgr): Remove unused variable.
37115 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37116
37117 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37118 nonmembers" output to use the right array.
37119
37120 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37121
37122 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37123
37124 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37125 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37126 * catgets/gencat.c (read_input_file): Likewise.
37127 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37128
37129 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37130 variable definition inside #if's controlling its use.
37131
37132 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37133
37134 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37135
37136 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37137
37138 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37139 unreachable code.
37140
37141 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37142
b68e08db
RM
37143 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37144 * configure: Regenerated.
37145
b350afab
RM
37146 * Makerules: Revert last change.
37147 * elf/Makefile: Likewise.
37148
28368601
RM
371492011-06-09 Roland McGrath <roland@hack.frob.com>
37150
37151 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37152 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37153 (reloc-link): Likewise.
37154
11988f8f
UD
371552011-06-09 Ulrich Drepper <drepper@gmail.com>
37156
37157 * elf/Makefile: Add rules to build pldd.
37158 * elf/pldd.c: New file.
37159 * elf/pldd-xx.c: New file.
37160
e80fab37
UD
371612011-06-07 Ulrich Drepper <drepper@gmail.com>
37162
37163 * version.h: Update for 2.15 development version.
37164
9b849836
DM
371652011-06-07 David S. Miller <davem@davemloft.net>
37166
37167 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37168 ifuncs.
37169 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37170 elf_machine_lazy_rel): Likewise.
37171 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37173 elf_machine_lazy_rel): Likewise.
37174 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37175 dl_hwcap via passed in argument.
37176 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37177 Likewise.
37178
5a31b283
AK
371792011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37180
37181 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37182
069e52f8
RM
371832011-06-06 Roland McGrath <roland@hack.frob.com>
37184
37185 [BZ #12849]
37186 * manual/fdl-1.1.texi: New file, verbatim from:
37187 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37188 * manual/lgpl-2.1.texi: New file, verbatim from:
37189 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37190 * manual/Makefile (licenses): New variable, list those new file names.
37191 (texis): Use it.
37192 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37193
37194 * manual/fdl.texi: File removed.
37195 * manual/lesser.texi: File removed.
37196 * manual/libc.texinfo (Copying, Documentation License):
37197 Use new @include file names, put @appendix directive before @include.
37198
f16846a5
JJ
371992011-06-04 Jakub Jelinek <jakub@redhat.com>
37200
37201 [BZ #12841]
37202 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37203 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37204 (mq_open): Add __NTH.
37205
3d29045b
L
372062011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37207
37208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37209 Assume Intel Core i3/i5/i7 processor if AVX is available.
37210
8c297311
UD
372112011-05-31 Ulrich Drepper <drepper@gmail.com>
37212
37213 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37214 typo.
37215
c8fc0c91
UD
372162011-05-31 Andreas Schwab <schwab@redhat.com>
37217
37218 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37219 memory. Use alloca_account. Fix memory leak when retrying.
37220
5b27a807
UD
372212011-05-31 Ulrich Drepper <drepper@gmail.com>
37222
356f8bc6
UD
37223 * version.h (RELEASE): Bump for 2.14 release.
37224 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37225
5b27a807
UD
37226 * config.make.in (RANLIB): Remove entry.
37227
01f16ab0
UD
372282011-05-30 Ulrich Drepper <drepper@gmail.com>
37229
41fce8bd
UD
37230 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37231 (libc.pot): Work around missing support for .ksh extension in xgettext.
37232
4769ae77
UD
37233 [BZ #12684]
37234 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37235 if both request failed.
37236 (send_dg): In case of server errors clear resplen or *resplen2.
37237
6b1e7d19
UD
37238 [BZ #12454]
37239 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37240 when there are multiple maps.
37241 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37242 (_dl_fini): Remove test here.
37243
01f16ab0
UD
37244 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37245
b1ebd700
UD
372462011-05-29 Ulrich Drepper <drepper@gmail.com>
37247
7ae22829
UD
37248 [BZ #12350]
37249 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37250 bit from old_res_options.
37251 (gaih_inet): Likewise.
37252
553149f6 37253 [BZ #11099]
18a84741 37254 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37255 as signed.
37256
652ffab1
UD
37257 * resolv/res_init.c (res_setoptions): Make the code more compact.
37258
16985fd0
UD
37259 [BZ #11558]
37260 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37261 set RES_USEVC.
37262
0464f746
UD
37263 [BZ #11634]
37264 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37265
7d17596c
UD
37266 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37267
cf6bbbd7
UD
37268 [BZ #11781]
37269 * malloc/malloc.h: Declare malloc hook variables as volatile.
37270
13f1ab36
UD
37271 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37272 in last patch.
37273
b1ebd700
UD
37274 [BZ #11799]
37275 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37276 raise in the comment.
80e2212d
UD
37277 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37278 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37279 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37280
ce67228d
UD
372812011-05-28 Ulrich Drepper <drepper@gmail.com>
37282
8887a920
UD
37283 [BZ #12811]
37284 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37285 grow the buffers more if it already has to be sufficient.
37286 (build_wcs_upper_buffer): Likewise.
37287 * posix/regexec.c (check_matching): Likewise.
37288 (clean_state_log_if_needed): Likewise.
37289 (extend_buffers): Don't enlarge buffers beyond size of the input
37290 buffer.
37291 Patches mostly by Emil Wojak <emil@wojak.eu>.
37292 * posix/bug-regex32.c: New file.
37293 * posix/Makefile (tests): Add bug-regex32.
37294
4f031072
UD
37295 * locale/findlocale.c (_nl_find_locale): Return right away if
37296 _nl_explode_name failed.
37297 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37298
d0478f0c
UD
37299 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37300
de81b246
UD
37301 * debug/xtrace.sh: Unify messages.
37302 * malloc/memusage.sh: Likewise.
37303
c738465a
UD
37304 [BZ #12813]
37305 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37306 time symbol from vDSO. Substitute with vsyscall if not available.
37307 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37308 __vdso_time.
37309
f1f929d7
UD
37310 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37311 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37312 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37313 Add sendmmsg and internal_sendmmsg.
37314 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37315 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37316 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37317
ce67228d
UD
37318 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37319 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37320 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37321
e57420c6
UD
373222011-05-27 Ulrich Drepper <drepper@gmail.com>
37323
a8509ca5
UD
37324 [BZ #12813]
37325 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37326 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37327 available.
37328 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37329 __vdso_getcpu.
37330
e57420c6
UD
37331 [BZ #12814]
37332 * iconvdata/Makefile (tests): Add bug-iconv9.
37333 * iconvdata/bug-iconv9.c: New file.
37334
4d07db15
AS
373352011-05-27 Andreas Schwab <schwab@redhat.com>
37336
37337 [BZ #12814]
37338 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37339
ea486f69
JJ
373402011-05-25 Jakub Jelinek <jakub@redhat.com>
37341
37342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37343 (struct user_regs_struct): Change intcs field back to cs.
37344
6f038433
UD
373452011-05-25 Ulrich Drepper <drepper@gmail.com>
37346
37347 * po/ja.po: Update from translation team.
37348
67f86a25
UD
373492011-05-23 Ulrich Drepper <drepper@gmail.com>
37350
37351 [BZ #12795]
37352 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37353 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37354
def7fbd6
AS
373552011-05-20 Andreas Schwab <schwab@redhat.com>
37356
37357 * stdlib/longlong.h: Update from GCC.
37358
f50ef8f1
AS
373592011-05-23 Andreas Schwab <schwab@redhat.com>
37360
37361 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37362 parameter name.
37363 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37364 Add parameter name.
37365 (__sysconf): Pass it down.
37366
de7ce8f1
UD
373672011-05-22 Ulrich Drepper <drepper@gmail.com>
37368
f2962a71
UD
37369 [BZ #12671]
37370 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37371 some situations.
37372 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37373 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37374 add in in __libc_use_alloca calls. Adjust callers.
37375 (glob): Use malloc in some situations.
37376
de7ce8f1
UD
37377 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37378 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37379 pltexit.
37380
aec84f53
UD
373812011-05-21 Ulrich Drepper <drepper@gmail.com>
37382
05bb4a68
UD
37383 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37384 and CLOCK_BOOTTIME_ALARM.
37385
7ea72f99
UD
37386 [BZ #12782]
37387 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37388 is returned.
37389
7e4afad5
UD
37390 * string/_strerror.c (__strerror_r): Print negative errors as signed
37391 numbers.
37392
8e211fec
UD
37393 [BZ #12777]
37394 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37395 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37396 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37397
f7d82dc9
UD
37398 * configure.in: Fix typo in redirection and correct removal of test
37399 files in two cases.
37400
cc9e536d
UD
37401 [BZ #12788]
37402 * locale/setlocale.c (new_composite_name): Fix test to check for
37403 identical name of all categories.
37404
aec84f53
UD
37405 [BZ #12792]
37406 * libio/filedoalloc.c (local_isatty): New function.
37407 (_IO_file_doallocate): Use local_isatty.
37408 * stdio-common/perror.c (perror): In case a new stream is used
37409 forward the stream error.
37410 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37411 error flag.
37412
78e64fdc
RT
374132011-05-20 Ulrich Drepper <drepper@gmail.com>
37414
34a9094f
UD
37415 [BZ #11869]
37416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37417 alloca.
37418 * include/alloca.h (extend_alloca_account): Define.
37419
78e64fdc
RT
37420 [BZ #11857]
37421 * posix/regex.h: Fix comments with documentation of user-accessible
37422 fields after compilation and describe correct free'ing of pattern
37423 after re_compile_pattern.
37424 Patch by Reuben Thomas <rrt@sc3d.org>.
37425
457bddfc
RA
374262011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37427
37428 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37429 and -mno-altivec to prevent the compiler from using Altivec and/or
37430 VSX instructions when the corresponding registers are not available.
37431
a4527b51
AS
374322011-05-19 Andreas Schwab <schwab@redhat.com>
37433
37434 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37435
ed690b2f
UD
374362011-05-19 Ulrich Drepper <drepper@gmail.com>
37437
37438 * libio/freopen.c (freopen): Use __dup2, not dup2.
37439 * libio/freopen64.c (freopen64): Likewise.
37440
8db73634
L
374412011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37442
37443 [BZ #12775]
37444 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37445 * math/Makefile (tests): Add test-powl.
37446 (CFLAGS-test-powl.c): Define.
37447 * math/test-powl.c: New file.
37448
0a197a9d
L
374492011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37450
37451 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37452
ee30c380
UD
374532011-05-17 Ulrich Drepper <drepper@gmail.com>
37454
37455 [BZ #11837]
37456 * iconvdata/gb18030.c: Update to GB18020-2005.
37457
6ce75379
UD
374582011-05-16 Ulrich Drepper <drepper@gmail.com>
37459
a4b89fd8
AR
37460 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37461 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37462 Patch by Aharon Robbins <arnold@skeeve.com>.
37463
ea389b12
UD
37464 [BZ #11892]
37465 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37466 on the stack.
37467
68a3f91f
UD
37468 [BZ #11895]
37469 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37470 through underflows.
37471
15cc7dd1
UD
37472 [BZ #12766]
37473 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37474 point to strings before performing equality test for error_one_per_line
37475 mode.
37476
f3799213
UD
37477 [BZ #11697]
37478 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37479
d79a9c94
UD
37480 [BZ #11820]
37481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37482 (struct user_fpregs_struct): Avoid __uint*_t types.
37483
56e5eb46
UD
37484 [BZ #6420]
37485 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37486 symbol info. Use it instead of calling _dl_addr locally.
37487 (lock_and_info): New function.
37488 (tr_freehook): Call lock_and_info and pass symbol info as additional
37489 parameter to tr_where.
37490 (tr_mallochook): Likewise.
37491 (tr_reallochook): Likewise.
37492 (tr_memalignhook): Likewise.
37493
6ce75379
UD
37494 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37495 used and couldn't be at all thread-safe.
37496
f8a3b5bf
UD
374972011-05-15 Ulrich Drepper <drepper@gmail.com>
37498
94b7cc37
UD
37499 * libio/freopen.c (freopen): Don't close old file descriptor
37500 before the new one is opened. Instead dup the new file descriptor
37501 to the old one after the new stream is created.
37502 * libio/freopen64.c (freopen64): Likewise.
37503 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37504 * libio/fileops.c (_IO_new_file_close_it): Handle new
37505 _IO_FLAGS2_NOCLOSE flag.
37506 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37507 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37508 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37509 _IO_FLAGS2_NOCLOSE flag.
37510 * include/unistd.h: Add hidden_proto for dup3.
37511 Define __have_dup3.
37512 * io/dup3.c: Define hidden symbol.
37513 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37514
bd25564e
UD
37515 [BZ #7101]
37516 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37517 when an incomplete long option is used.
37518 * posix/tst-getopt_long1.c: New file.
37519 * posix/Makefile (tests): Add tst-getopt_long1.
37520
c84cfef4
UD
37521 [BZ #10138]
37522 * scripts/config.guess: Update from autoconf-2.68.
37523 * scripts/config.sub: Likewise.
37524
3b85df27
UD
37525 [BZ #10157]
37526 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37527 tests into ...
37528 (has_cpuclock): ...this. New function.
37529 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37530 macro here based on has_cpuclock code.
37531
15a856b1
UD
37532 [BZ #10149]
37533 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37534 First byte (not low byte) is now always NUL.
37535 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37536
05f399e6
UD
37537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37538 Use non-cancelable interfaces.
37539
10a52685 37540 [BZ #9809]
94ecc67d
UD
37541 * locale/iso-639.def: Add entry for Sorani.
37542
f8a3b5bf
UD
37543 [BZ #11901]
37544 * include/stdlib.h: Move include protection to the right place.
37545 Define abort_msg_s. Declare __abort_msg with it.
37546 * stdlib/abort.c (__abort_msg): Adjust type.
37547 * assert/assert.c (__assert_fail_base): New function. Majority
37548 of code from __assert_fail. Allocate memory for __abort_msg with
37549 mmap.
37550 (__assert_fail): Now call __assert_fail_base.
37551 * assert/assert-perr.c: Remove bulk of implementation. Use
37552 __assert_fail_base.
37553 * include/assert.hL Declare __assert_fail_base.
37554 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37555 mmap.
37556 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37557
1af4e298
UD
375582011-05-14 Ulrich Drepper <drepper@gmail.com>
37559
f8a3b5bf 37560 [BZ #11952]
d26dfc60
MG
37561 [BZ #12453]
37562 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37563 until all modules are registered in the DTV.
37564 * elf/Makefile: Add rules to build and run tst-tls19.
37565 * elf/tst-tls19.c: New file.
37566 * elf/tst-tls19mod1.c: New file.
37567 * elf/tst-tls19mod2.c: New file.
37568 * elf/tst-tls19mod3.c: New file.
37569 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37570
2fc54d6f
UD
37571 [BZ #12083]
37572 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37573 correctly.
37574
98d76b46
UD
37575 [BZ #12601]
37576 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37577 two-byte sequence errors.
37578 * iconvdata/Makefile (tests): Add bug-iconv8.
37579 * iconvdata/bug-iconv8.c: New file.
37580
da3c19ef
UD
37581 [BZ #12626]
37582 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37583 buf2 definition.
37584
ca408c15
UD
37585 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37586
d6f67f7d
UD
37587 [BZ #12432]
37588 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37589 (dummy_getcfa): New function.
37590 (init): Get _Unwind_GetCFA address, use dummy if not found.
37591 (backtrace_helper): In recursion check, also check whether CFA changes.
37592 (__backtrace): Completely initialize arg.
37593
1af4e298 37594 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37595 storing incomplete byte sequence in state object. Avoid testing for
37596 guaranteed too small input if we know there is enough data available.
1af4e298 37597
da62f81b
AS
375982011-05-11 Andreas Schwab <schwab@redhat.com>
37599
37600 * Makeconfig (+link-pie): Indent.
37601 * Rules (binaries-pie): Define if $(have-fpie) and
37602 $(build-shared).
37603 (binaries-shared): Also filter out $(binaries-pie).
37604 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37605 * nscd/Makefile (others-pie): Add nscd.
37606 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37607 ($(objpfx)nscd): Remove command override.
37608 * login/Makefile (others-pie): Add pt_chown.
37609 ($(objpfx)pt_chown): Remove command override.
37610 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37611 remove command overrides.
37612
fcabc0f8
UD
376132011-05-13 Ulrich Drepper <drepper@gmail.com>
37614
20030ae6
UD
37615 * libio/tst_putwc.c: Fix error messages.
37616
fcabc0f8
UD
37617 [BZ #12724]
37618 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37619 currently writing and seek to current position when not.
37620 * libio/Makefile (tests): Add bug-fclose1.
37621 * libio/bug-fclose1.c: New file.
37622
320a5dc0
PB
376232011-05-12 Ulrich Drepper <drepper@gmail.com>
37624
37625 [BZ #12511]
37626 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37627 don't set DF_1_NODELETE here.
37628 (do_lookup_x): When entering new entry test for copy relocation
37629 and if necessary set DF_1_NODELETE flag.
37630 * elf/tst-unique4.cc: New file.
37631 * elf/tst-unique4.h: New file.
37632 * elf/tst-unique4lib.cc: New file.
37633 * elf/Makefile: Add rules to build and run tst-unique4.
37634 Patch by Piotr Bury <pbury@goahead.com>.
37635
22836f52
UD
376362011-05-11 Ulrich Drepper <drepper@gmail.com>
37637
f574184a
UD
37638 [BZ #12052]
37639 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37640
e1fb097f
UD
37641 [BZ #12625]
37642 * misc/mntent_r.c (addmntent): Flush the stream after the output
37643
22836f52
UD
37644 [BZ #12393]
37645 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37646 (is_trusted_path_normalize): Skip initial colon. Append slash
37647 to empty buffer. Duplicate is_trusted_path code but allow
37648 constructed patch to be prefix.
37649 (is_dst): Allow $ORIGIN followed by /.
37650 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37651 Correct testing of result of is_trusted_path_normalize
37652 (decompose_rpath): Fix warning.
37653
7b3b0b2a
UD
376542011-05-10 Ulrich Drepper <drepper@gmail.com>
37655
37656 [BZ #11257]
37657 * grp/initgroups.c (internal_getgrouplist): When we found the service
37658 list through the initgroups entry in nsswitch.conf do not always
37659 continue on a successful lookup. Don't always use the
eac80ce2 37660 __nss_group_database value if it is set.
7b3b0b2a
UD
37661 * nss/nsswitch.conf (initgroups): Change action for successful db
37662 lookup to continue for compatibility.
37663
2a81eaa5
UD
376642011-05-09 Ulrich Drepper <drepper@gmail.com>
37665
be97a69e
UD
37666 [BZ #11532]
37667 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37668 and CP774 modules.
37669 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37670 and CP774 modules.
37671 * iconvdata/tst-tables.sh: Likewise.
37672 * iconvdata/cp770.c: New file.
37673 * iconvdata/cp771.c: New file.
37674 * iconvdata/cp772.c: New file.
37675 * iconvdata/cp773.c: New file.
37676 * iconvdata/cp774.c: New file.
37677 * iconvdata/testdata/CP770: New file.
37678 * iconvdata/testdata/CP770..UTF8: New file.
37679 * iconvdata/testdata/CP771: New file.
37680 * iconvdata/testdata/CP771..UTF8: New file.
37681 * iconvdata/testdata/CP772: New file.
37682 * iconvdata/testdata/CP772..UTF8: New file.
37683 * iconvdata/testdata/CP773: New file.
37684 * iconvdata/testdata/CP773..UTF8: New file.
37685 * iconvdata/testdata/CP774: New file.
37686 * iconvdata/testdata/CP774..UTF8: New file.
37687
37688 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37689 END CHARMAP line.
37690 * iconvdata/gen-8bit-gap.sh: Likewise.
37691 * iconvdata/gen-8bit.sh: Likewise.
37692
c1e9e399
UD
37693 * locale/iso-639.def: Add ary entry.
37694
24c55fb3 37695 [BZ #11258]
96b4b1b0
UD
37696 * locale/C-translit.h.in: Add U20A1 transliteration.
37697
bdc2f971
KB
37698 [BZ #12178]
37699 * locale/iso-639.def: Add wae entry.
37700 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37701
2952b117
UD
37702 [BZ #12545]
37703 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37704 for n.
37705
2a81eaa5
UD
37706 [BZ #12711]
37707 * locale/C-translit.h.in: Add entry for U20B9.
37708 Patch by pravin.d.s@gmail.com.
37709
28377d1b
UD
377102011-05-08 Ulrich Drepper <drepper@gmail.com>
37711
7fb90fb8
UD
37712 [BZ #12713]
37713 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37714 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37715 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37716 in rtld. Use *stat64.
7fb90fb8 37717 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37718 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37719 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37720 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37721 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37722 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37723 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37724 __fstatat64 macros.
7fb90fb8
UD
37725 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37726 * dirent/rewinddir.c: Add libc_hidden_def.
37727 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37728 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37729
28377d1b
UD
37730 * include/dirent.h (__alloc_dir): Add flags parameter.
37731 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37732 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37733 __alloc_dir.
37734 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37735 from fdopendir if O_CLOEXEC is already set.
37736
66bdbaa4
AM
377372011-03-15 Alan Modra <amodra@gmail.com>
37738
37739 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37740 l_tls_firstbyte_offset non-zero. Save padding offset in
37741 l_tls_firstbyte_offset for later use.
37742 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37743 freeing static tls block.
37744
95721191
JN
377452011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37746
37747 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37748 where #ifdef was intended. The intent is to prevent ARG_MAX from
37749 being defined by the kernel headers.
37750
f87dfb1f
UD
377512011-05-07 Ulrich Drepper <drepper@gmail.com>
37752
37753 [BZ #12734]
37754 * resolv/resolv.h: Define RES_NOTLDQUERY.
37755 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37756 no-tld-query and set RES_NOTLDQUERY.
37757 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37758 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37759 modern BIND to search name as TLD unless forbidden.
37760
47c3cd7a
UD
377612011-05-07 Petr Baudis <pasky@suse.cz>
37762 Ulrich Drepper <drepper@gmail.com>
37763
37764 [BZ #12393]
37765 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37766 (is_trusted_path): ...to here.
c1e9ea35 37767 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37768 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37769 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37770
8a35c912
PP
377712011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37772
37773 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37774 __BEGIN/__END_DECLS.
37775
acd41f47
UD
377762011-05-06 Ulrich Drepper <drepper@gmail.com>
37777
37778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37779 NSS_STATUS_NOTFOUND if no record was found.
37780
597df647
AS
377812011-05-05 Andreas Schwab <schwab@redhat.com>
37782
37783 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37784 (headers-not-in-tirpc): Remove rpc/netdb.h
37785 * resolv/netdb.h: Revert last change.
37786
b9af1301
PP
377872011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37788
37789 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37790 circular dependency between libgcc.a and libc.a.
37791
4e34d5f5
AS
377922011-05-05 Andreas Schwab <schwab@redhat.com>
37793
37794 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37795 * nis/Makefile: Don't install rpcsvc/*.
37796 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37797 instead of <rpc/types.h>.
37798 (MAXHOSTNAMELEN): Define.
37799
00ee369c
AS
378002011-05-03 Andreas Schwab <schwab@redhat.com>
37801
37802 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37803
0b592a30
MB
378042011-04-28 Maciej Babinski <mbabinski@google.com>
37805
37806 [BZ #12714]
37807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37808 gethostbyname4_r when IPv6 results are possible.
37809
6e04cbbe
UD
378102011-05-02 Ulrich Drepper <drepper@gmail.com>
37811
37812 [BZ #12723]
37813 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37814 _PC_PIPE_BUF handling.
37815
e4ecafe0
BH
378162011-04-30 Bruno Haible <bruno@clisp.org>
37817
37818 [BZ #12717]
37819 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37820 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37821 to 'int'.
37822 * inet/getnameinfo.c (getnameinfo): Likewise.
37823
125ee683
UD
378242011-04-29 Ulrich Drepper <drepper@gmail.com>
37825
37826 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37827 to groups setting in database lookup.
37828 * nss/nsswitch.conf: Add initgroups entry.
37829
b722481a
EB
378302011-04-22 Ulrich Drepper <drepper@gmail.com>
37831
37832 [BZ #12685]
37833 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37834 mode string.
37835 Patch by Eric Blake <eblake@redhat.com>.
37836
4df46dbd
L
378372011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37838
37839 * sunrpc/Makefile (need-export-routines): Add svc_run.
37840 (routines): Remove svc_run.
37841 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37842 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37843 * sunrpc/svc_run.c (svc_run): Likewise.
37844 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37845
e84142d2
UD
378462011-04-21 Ulrich Drepper <drepper@gmail.com>
37847
37848 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37849 problem in reallocation in last patch.
37850
877175d8
UD
378512011-04-20 Ulrich Drepper <drepper@gmail.com>
37852
37853 * sunrpc/Makefile: Move inclusion of Rules.
37854
ab8eed78
UD
378552011-04-19 Ulrich Drepper <drepper@gmail.com>
37856
37857 * nss/nss_files/files-initgroups.c: New file.
37858 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37859 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37860 _nss_files_initgroups_dyn.
37861
e3d8f584
RS
378622011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37863
37864 * elf/elf.h (R_ARM_IRELATIVE): Define.
37865
af190f45
UD
378662011-04-19 Ulrich Drepper <drepper@gmail.com>
37867
37868 * po/ru.po: Update from translation team.
37869
53cf59ef
UD
378702011-04-17 Ulrich Drepper <drepper@gmail.com>
37871
37872 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37873 dependencies.
37874
4c559bcd
MF
378752011-02-06 Mike Frysinger <vapier@gentoo.org>
37876
37877 [BZ #12653]
37878 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37879 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37880 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37883
4420675c
AS
378842011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37885
37886 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37887 differing bytes.
37888 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37889 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37890 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37891
75ea32ab
UD
378922011-04-17 Ulrich Drepper <drepper@gmail.com>
37893
37894 [BZ #12420]
37895 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37896 storing it.
37897 * stdlib/bug-getcontext.c: New file.
37898 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37899
27390476
AK
379002011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37901
37902 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37903 instructions into .machine "z9-109".
37904 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37905 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37906
10442705
AK
379072011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37908
37909 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37910 between environment variables and auxiliary vector.
37911
7b57bfe5
UD
379122011-04-16 Ulrich Drepper <drepper@gmail.com>
37913
37914 * Makefile: Add rules to build linkobj/libc.so.
37915 * include/libc-symbols.h: Define libc_hidden_nolink.
37916 * include/rpc/auth.h: Mark functions which are to be hidden.
37917 * include/rpc/auth_des.h: Likewise.
37918 * include/rpc/auth_unix.h: Likewise.
37919 * include/rpc/clnt.h: Likewise.
37920 * include/rpc/des_crypt.h: Likewise.
37921 * include/rpc/key_prot.h: Likewise.
37922 * include/rpc/pmap_clnt.h: Likewise.
37923 * include/rpc/pmap_prot.h: Likewise.
37924 * include/rpc/pmap_rmt.h: Likewise.
37925 * include/rpc/rpc_msg.h: Likewise.
37926 * include/rpc/svc.h: Likewise.
37927 * include/rpc/svc_auth.h: Likewise.
37928 * include/rpc/xdr.h: Likewise.
37929 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37930 * nss/Makefile: Likewise.
37931 * sunrpc/Makefile: Don't install headers. Build library with normal
37932 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37933 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37934 for the compat linking library. Remove use of INTDEF/INTUSE.
37935 * sunrpc/auth_none.c: Likewise.
37936 * sunrpc/auth_unix.c: Likewise.
37937 * sunrpc/authdes_prot.c: Likewise.
37938 * sunrpc/authuxprot.c: Likewise.
37939 * sunrpc/clnt_gen.c: Likewise.
37940 * sunrpc/clnt_perr.c: Likewise.
37941 * sunrpc/clnt_raw.c: Likewise.
37942 * sunrpc/clnt_simp.c: Likewise.
37943 * sunrpc/clnt_tcp.c: Likewise.
37944 * sunrpc/clnt_udp.c: Likewise.
37945 * sunrpc/clnt_unix.c: Likewise.
37946 * sunrpc/des_crypt.c: Likewise.
37947 * sunrpc/des_soft.c: Likewise.
37948 * sunrpc/get_myaddr.c: Likewise.
37949 * sunrpc/key_call.c: Likewise.
37950 * sunrpc/key_prot.c: Likewise.
37951 * sunrpc/netname.c: Likewise.
37952 * sunrpc/pm_getmaps.c: Likewise.
37953 * sunrpc/pm_getport.c: Likewise.
37954 * sunrpc/pmap_clnt.c: Likewise.
37955 * sunrpc/pmap_prot.c: Likewise.
37956 * sunrpc/pmap_prot2.c: Likewise.
37957 * sunrpc/pmap_rmt.c: Likewise.
37958 * sunrpc/publickey.c: Likewise.
37959 * sunrpc/rpc_cmsg.c: Likewise.
37960 * sunrpc/rpc_common.c: Likewise.
37961 * sunrpc/rpc_dtable.c: Likewise.
37962 * sunrpc/rpc_prot.c: Likewise.
37963 * sunrpc/rpc_thread.c: Likewise.
37964 * sunrpc/rtime.c: Likewise.
37965 * sunrpc/svc.c: Likewise.
37966 * sunrpc/svc_auth.c: Likewise.
37967 * sunrpc/svc_authux.c: Likewise.
37968 * sunrpc/svc_raw.c: Likewise.
37969 * sunrpc/svc_run.c: Likewise.
37970 * sunrpc/svc_simple.c: Likewise.
37971 * sunrpc/svc_tcp.c: Likewise.
37972 * sunrpc/svc_udp.c: Likewise.
37973 * sunrpc/svc_unix.c: Likewise.
37974 * sunrpc/svcauth_des.c: Likewise.
37975 * sunrpc/xcrypt.c: Likewise.
37976 * sunrpc/xdr.c: Likewise.
37977 * sunrpc/xdr_array.c: Likewise.
37978 * sunrpc/xdr_float.c: Likewise.
37979 * sunrpc/xdr_intXX_t.c: Likewise.
37980 * sunrpc/xdr_mem.c: Likewise.
37981 * sunrpc/xdr_rec.c: Likewise.
37982 * sunrpc/xdr_ref.c: Likewise.
37983 * sunrpc/xdr_sizeof.c: Likewise.
37984 * sunrpc/xdr_stdio.c: Likewise.
37985
e6c61494
UD
379862011-04-10 Ulrich Drepper <drepper@gmail.com>
37987
37988 [BZ #12650]
37989 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37990 * sysdeps/ia64/dl-tls.h: Likewise.
37991 * sysdeps/powerpc/dl-tls.h: Likewise.
37992 * sysdeps/s390/dl-tls.h: Likewise.
37993 * sysdeps/sh/dl-tls.h: Likewise.
37994 * sysdeps/sparc/dl-tls.h: Likewise.
37995 * sysdeps/x86_64/dl-tls.h: Likewise.
37996 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37997
34fe483e
AS
379982011-03-14 Andreas Schwab <schwab@redhat.com>
37999
38000 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38001 rpath element also skip the following colon.
38002 (expand_dynamic_string_token): Add is_path parameter and pass
38003 down to DL_DST_REQUIRED and _dl_dst_substitute.
38004 (decompose_rpath): Call expand_dynamic_string_token with
38005 non-zero is_path. Ignore empty rpaths.
38006 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38007 with zero is_path.
38008
f12a32e6
AS
380092011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38010
38011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38012 Make cancelable.
38013
38a7d692
UD
380142011-04-09 Ulrich Drepper <drepper@gmail.com>
38015
38016 [BZ #12655]
38017 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38018 Patch by Filipe David Manana <fdmanana@apache.org>.
38019
e451d22b
AS
380202011-04-07 Andreas Schwab <schwab@redhat.com>
38021
38022 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38023 Maintain aligned stack.
38024 (CHECK_RSP): Remove unused macro.
38025
dedc7c7b
UD
380262011-04-03 Ulrich Drepper <drepper@gmail.com>
38027
38028 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38029 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38030
94521213
UD
380312011-04-02 Ulrich Drepper <drepper@gmail.com>
38032
38033 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38034
8cb700c0 38035 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38036
0354e355
L
380372011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38038
38039 [BZ #12518]
38040 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38041 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38042 * sysdeps/x86_64/memmove.c: New file.
38043 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38044 (memcpy): Renamed to ...
38045 (__new_memcpy): This.
38046 (memcpy): Provide GLIBC_2_14 memcpy.
38047 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38048 (memcpy): Provide GLIBC_2_2_5 memcpy.
38049
8593482f
UD
380502011-04-01 Ulrich Drepper <drepper@gmail.com>
38051
38052 [BZ #12631]
38053 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38054
81a5726b
AS
380552011-03-30 Andreas Schwab <schwab@redhat.com>
38056
38057 * misc/syncfs.c: New file.
38058 * misc/Makefile (routines): Add syncfs.
38059 * posix/unistd.h: Declare syncfs.
38060 * sysdeps/unix/syscalls.list: Add syncfs.
38061
00e5419f
AS
380622011-04-01 Andreas Schwab <schwab@redhat.com>
38063
38064 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38065 open_by_handle_at.
38066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38067 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38068 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38069 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38071 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38073
748876bf
UD
380742011-04-01 Ulrich Drepper <drepper@gmail.com>
38075
658e451d
UD
38076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38077 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38078 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38079 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38080 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38081 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38083
748876bf
UD
38084 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38085 sync_file_range.c with -fexceptions.
38086 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38087 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38088 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38089 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38090 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38091 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38092 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38093 sync_file_range as cancellation point
38094 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38095 now a wrapper around __call_sync_file_range with cancellation handling.
38096 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38097 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38098 function name to __call_sync_file_range.
38099 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38100 Add call_sync_file_range.
748876bf 38101
6e63d5e1
AS
381022011-04-01 Andreas Schwab <schwab@redhat.com>
38103
38104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38105 bits/timex.h.
6e63d5e1 38106
46998f74
UD
381072011-04-01 Ulrich Drepper <drepper@gmail.com>
38108
4c1423ed
UD
38109 * iconv/iconv.h: Fix typo in comment.
38110 * io/fcntl.h: Likewise.
38111 * libio/stdio.h: Likewise.
38112 * posix/spawn.h: Likewise.
38113 * posix/unistd.h: Likewise.
38114 * stdlib/stdlib.h: Likewise.
38115 * time/time.h: Likewise.
38116 * wcsmbs/wchar.h: Likewise.
38117
158648c0
UD
38118 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38119 open_by_handle): Add.
38120 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38121 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38122 Augment a few comments.
38123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38125 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38127 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38128 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38129 open_by_handle.
38130
46998f74
UD
38131 * io/fcntl.h (AT_EMPTY_PATH): Define.
38132
83fe108b
UD
381332011-03-30 Ulrich Drepper <drepper@gmail.com>
38134
38135 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38136 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38137 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38138 to...
38139 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38140 * Versions.def: Add GLIBC_2.14.
38141 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38142 Export.
83fe108b 38143
bb242059
UD
381442011-03-22 Ulrich Drepper <drepper@gmail.com>
38145
38146 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38147 round counter.
38148 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38149
c97a1282
L
381502011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38151
38152 [BZ #12597]
38153 * string/test-strncmp.c (do_page_test): New function.
38154 (check2): Likewise.
38155 (test_main): Call check2.
38156 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38157
2a115601
UD
381582011-03-20 Ulrich Drepper <drepper@gmail.com>
38159
38160 [BZ #12587]
38161 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38162 Handle cache information in CPU leaf 4.
38163 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38164
8126d904
UD
381652011-03-18 Ulrich Drepper <drepper@gmail.com>
38166
042c49c6 38167 [BZ #12583]
8126d904
UD
38168 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38169 character representation.
38170 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38171
ccfe366e
RA
381722011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38173
38174 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38175 END(__isnan) to END(__isnanf) to match function entry point/label
38176 EALIGN(__isnanf,...).
38177
c6e13027
JJ
381782011-03-10 Jakub Jelinek <jakub@redhat.com>
38179
38180 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38181
33f85a3f
UD
381822011-03-10 Ulrich Drepper <drepper@gmail.com>
38183
028478fa
UD
38184 [BZ #12510]
38185 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38186 copy from the symbol referenced in the relocation to initialize the
38187 used variable.
38188 Patch by Piotr Bury <pbury@goahead.com>.
38189 * elf/Makefile: Add rules to build and tst-unique3.
38190 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38191 * elf/tst-unique3.cc: New file.
38192 * elf/tst-unique3.h: New file.
38193 * elf/tst-unique3lib.cc: New file.
38194 * elf/tst-unique3lib2.cc: New file.
38195
33f85a3f
UD
38196 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38197
03592fc7
MF
381982011-03-10 Mike Frysinger <vapier@gentoo.org>
38199
38200 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38201 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38202 to _start.
03592fc7 38203
6a5ee102
UD
382042011-03-06 Ulrich Drepper <drepper@gmail.com>
38205
38206 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38207 to-be-loaded object along a path to loader is ld.so.
38208
7e4ba49c
HJ
382092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38210 Ulrich Drepper <drepper@gmail.com>
38211
38212 * sysdeps/x86_64/memset.S: After aligning destination, code
38213 branches to different locations depending on the value of
38214 misalignment, when multiarch is enabled. Fix this.
38215
382162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38217
38218 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38219 Set _x86_64_preferred_memory_instruction for AMD processsors.
38220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38221 Set bit_Prefer_SSE_for_memop for AMD processors.
38222
13a804de
UD
382232011-03-04 Ulrich Drepper <drepper@gmail.com>
38224
38225 * libio/fmemopen.c (fmemopen): Optimize a bit.
38226
9d25c392
AS
382272011-03-03 Andreas Schwab <schwab@redhat.com>
38228
38229 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38230
a5543c6a
RM
382312011-03-03 Roland McGrath <roland@redhat.com>
38232
38233 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38234
012d35f7
DM
382352011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38236
7e4ba49c 38237 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38238 __bzero_ultra1 instead of __memset_ultra1.
38239
4bff6e01
AS
382402011-02-23 Andreas Schwab <schwab@redhat.com>
38241 Ulrich Drepper <drepper@gmail.com>
38242
38243 [BZ #12509]
38244 * include/link.h (struct link_map): Add l_orig_initfini.
38245 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38246 returning unsuccessfully.
38247 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38248 close of a file loaded at startup, restore the original l_initfini
38249 list.
38250 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38251 list, store the pointer.
38252 * elf/Makefile ($(objpfx)noload-mem): New rule.
38253 (noload-ENV): Define.
38254 (tests): Add $(objpfx)noload-mem.
38255 * elf/noload.c: Include <memcheck.h>.
38256 (main): Call mtrace. Close all opened handles.
38257
f2092faf
AS
382582011-02-17 Andreas Schwab <schwab@redhat.com>
38259
38260 [BZ #12454]
38261 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38262 dependencies are missing.
38263
6c8a2e88
ST
382642011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38265
f2092faf 38266 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38267 Hurd needs munmap.
38268 * sysdeps/mach/hurd/ifreq.h: New file.
38269
84a42118
PB
382702011-01-27 Petr Baudis <pasky@suse.cz>
38271 Ulrich Drepper <drepper@gmail.com>
38272
071f805e 38273 [BZ 12445]#
84a42118
PB
38274 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38275 to extend_alloca().
38276 * stdio-common/bug23.c: New file.
38277 * stdio-common/Makefile (tests): Add bug23.
38278
e23fe25b
AS
382792010-09-28 Andreas Schwab <schwab@redhat.com>
38280 Ulrich Drepper <drepper@gmail.com>
38281
38282 [BZ #12489]
38283 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38284 before performing relro protection. At old place add assertion
38285 to make sure nothing changed.
38286
d3f02e10
NS
382872011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38288 Glauber de Oliveira Costa <glommer@gmail.com>
38289
38290 * elf/elf.h: Add new ARM TLS relocs.
38291
d55fd7a5
RA
382922011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38293
38294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38295 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38296 cast from r3.
38297 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38298 'tests' variable.
38299 * sysdeps/wordsize-64/tst-writev.c: New file.
38300
2206397e
RA
383012011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38302
38303 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38304 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38305 insns in _dl_start to prevent a TOC reference before relocs are
38306 resolved.
38307
e9433893
UD
383082011-02-15 Ulrich Drepper <drepper@gmail.com>
38309
38310 [BZ #12469]
38311 * Makeconfig: Remove RANLIB definition.
38312 * Makerules: Don't use RANLIB.
38313 * aclocal.m4: Remove ranlib test.
38314 * configure.in: No need to check for ranlib.
38315 * elf/rtld-Rules: Don't use RANLIB.
38316
f75286c6
ST
383172011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38318
8e31c82d
ST
38319 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38320 protection macro.
38321 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38322 inclusion protection macro.
38323
f75286c6
ST
38324 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38325 SIGRTMIN and SIGRTMAX and print information in that case only when
38326 SIGRTMIN is defined.
38327
c1d0e639
JJ
383282011-02-11 Jakub Jelinek <jakub@redhat.com>
38329
38330 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38331 arginfo fn returning -1.
38332
38333 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38334 and thousands string is zero terminated.
38335
edf9294e
AS
383362011-02-03 Andreas Schwab <schwab@redhat.com>
38337
38338 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38339 sysdeps/unix/sysv/linux/bits/socket.h.
38340
2b7e92df
ST
383412011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38342
edf9294e
AS
38343 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38344 (__CPU_COUNT): Remove old macros.
38345 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38346 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38347 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38348 (__sched_cpualloc, __sched_cpufree): Add declarations.
38349
a4c7ea7b
UD
383502011-02-05 Ulrich Drepper <drepper@gmail.com>
38351
38352 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38353 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38354 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38355 (readdhstai): Return value of addhstaiX call.
38356 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38357 (addgrbyX): Return value returned by cache_addgr.
38358 (readdgrbyname): Return value returned by addgrbyX.
38359 (readdgrbygid): Likewise.
38360 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38361 (addpwbyX): Return value returned by cache_addpw.
38362 (readdpwbyname): Return value returned by addhstbyX.
38363 (readdpwbyuid): Likewise.
38364 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38365 (addservbyX): Return value returned by cache_addserv.
38366 (readdservbyname): Return value returned by addservbyX:
38367 (readdservbyport): Likewise.
38368 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38369 (addhstbyX): Return value returned by cache_addhst.
38370 (readdhstbyname): Return value returned by addhstbyX.
38371 (readdhstbyaddr): Likewise.
38372 (readdhstbynamev6): Likewise.
38373 (readdhstbyaddrv6): Likewise.
38374 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38375 (readdinitgroups): Return value returned by addinitgroupsX.
38376 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38377 (prune_cache): Keep track of timeout value of re-added entries.
38378 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38379 * nscd/nscd.h: Adjust prototypes of readd* functions.
38380
a0bf67cc
RM
383812011-02-04 Roland McGrath <roland@redhat.com>
38382
38383 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38384 (nis_stats): Likewise.
38385 * nis/nis_modify.c (nis_modify): Likewise.
38386 * nis/nis_remove.c (nis_remove): Likewise.
38387 * nis/nis_add.c (nis_add): Likewise.
38388
38389 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38390
38391 * posix/fnmatch_loop.c: Add some consts.
38392
38393 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38394
435b95eb
L
383952011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38396
38397 [BZ #12460]
38398 * config.make.in (config-cflags-novzeroupper): Define.
38399 * configure.in: Substitute libc_cv_cc_novzeroupper.
38400 * elf/Makefile (AVX-CFLAGS): Define.
38401 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38402 (CFLAGS-tst-auditmod4a.c): Likewise.
38403 (CFLAGS-tst-auditmod4b.c): Likewise.
38404 (CFLAGS-tst-auditmod6b.c): Likewise.
38405 (CFLAGS-tst-auditmod6c.c): Likewise.
38406 (CFLAGS-tst-auditmod7b.c): Likewise.
38407 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38408
8517b15e
UD
384092011-02-02 Ulrich Drepper <drepper@gmail.com>
38410
38411 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38412 function to the callback.
38413 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38414
10a656fe
AS
384152011-02-02 Andreas Schwab <schwab@redhat.com>
38416
38417 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38418 of errno.
38419
968dad0a
UD
384202011-01-19 Ulrich Drepper <drepper@gmail.com>
38421
9f94d2ea 38422 [BZ #11724]
968dad0a
UD
38423 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38424 of constructors.
38425 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38426 of destructors.
38427 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38428
38429 [BZ #11724]
38430 * elf/Makefile: Add rules to build and run new test.
38431 * elf/tst-initorder.c: New file.
38432 * elf/tst-initorder.exp: New file.
38433 * elf/tst-initordera1.c: New file.
38434 * elf/tst-initordera2.c: New file.
38435 * elf/tst-initordera3.c: New file.
38436 * elf/tst-initordera4.c: New file.
38437 * elf/tst-initorderb1.c: New file.
38438 * elf/tst-initorderb2.c: New file.
38439 * elf/tst-order-a1.c: New file.
38440 * elf/tst-order-a2.c: New file.
38441 * elf/tst-order-a3.c: New file.
38442 * elf/tst-order-a4.c: New file.
38443 * elf/tst-order-b1.c: New file.
38444 * elf/tst-order-b2.c: New file.
38445 * elf/tst-order-main.c: New file.
38446 New test case by George Gensure <werkt0@gmail.com>.
38447
86e92359
UD
384482010-10-01 Andreas Schwab <schwab@redhat.com>
38449
38450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38451 decoding ACE if AI_CANONIDN.
38452
5d5732b0
UD
384532011-01-18 Ulrich Drepper <drepper@gmail.com>
38454
38455 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38456
a77e8cbc
UD
384572011-01-17 Ulrich Drepper <drepper@gmail.com>
38458
6392473f
UD
38459 * version.h (RELEASE): Bump for 2.13 release.
38460 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38461
620a0529
UD
38462 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38463
18ba70a5
UD
38464 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38465 MADV_NOHUGEPAGE.
32465c3e
UD
38466 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38467 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38468 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38469 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38470 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38471 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38472
c0dafcf1
UD
38473 * posix/getconf.c: Update copyright year.
38474 * catgets/gencat.c: Likewise.
38475 * csu/version.c: Likewise.
38476 * debug/catchsegv.sh: Likewise.
38477 * debug/xtrace.sh: Likewise.
38478 * elf/ldconfig.c: Likewise.
38479 * elf/ldd.bash.in: Likewise.
38480 * elf/sprof.c (print_version): Likewise.
38481 * iconv/iconv_prog.c: Likewise.
38482 * iconv/iconvconfig.c: Likewise.
38483 * locale/programs/locale.c: Likewise.
38484 * locale/programs/localedef.c: Likewise.
38485 * malloc/memusage.sh: Likewise.
38486 * malloc/mtrace.pl: Likewise.
38487 * nscd/nscd.c (print_version): Likewise.
38488 * nss/getent.c: Likewise.
38489
a77e8cbc
UD
38490 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38491 PF_CAIF, and PF_ALG.
38492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38493
77e8bddf
AS
384942011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38495
1f20b93a
AS
38496 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38497 (modules-names): Use them.
38498 (ifunc-test-modules, ifunc-pie-tests): Define.
38499 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38500 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38501 (test-extras): Likewise.
38502 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38503 $(compile-command.c).
38504 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38505 (all-built-dso): Define.
38506 (check-textrel.out, check-execstack.out): Depend on it.
38507
77e8bddf
AS
38508 * configure.in: Don't override --enable-multi-arch.
38509
bc425b33
UD
385102011-01-15 Ulrich Drepper <drepper@gmail.com>
38511
38512 [BZ #6812]
38513 * nscd/hstcache.c (tryagain): Define.
38514 (cache_addhst): Return tryagain not notfound for temporary errors.
38515 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38516 failed.
38517
794c3ad3
UD
385182011-01-14 Ulrich Drepper <drepper@gmail.com>
38519
70181fdd
UD
38520 [BZ #10563]
38521 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38522 to make the syscall.
38523 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38524
794c3ad3
UD
38525 [BZ #12378]
38526 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38527 and fall back to matching as normal character if the string ends before
38528 the matching ']' is found. This is what POSIX requires.
38529 * posix/testfnm.c: Adjust test result.
38530 * posix/globtest.sh: Adjust test result. Add new test.
38531 * posix/tst-fnmatch.input: Likewise.
38532 * posix/tst-fnmatch2.c: Add new test.
38533
68dc9497
AS
385342010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38535
38536 * elf/Makefile (check-execstack): Revert last change. Depend on
38537 check-execstack.h.
38538 (check-execstack.h): New target.
38539 (generated): Add check-execstack.h.
38540 * elf/check-execstack.c: Include "check-execstack.h".
38541 (main): Revert last change.
38542 (handle_file): Return zero if GNU_STACK is absent and
38543 DEFAULT_STACK_PERMS doesn't include PF_X.
38544
451f001b
UD
385452011-01-13 Ulrich Drepper <drepper@gmail.com>
38546
cfa28e56
UD
38547 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38548 in child fails because the descriptor is already closed.
8cf8ce17
UD
38549 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38550 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38551 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38552
1086d70d
UD
38553 [BZ #12397]
38554 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38555 syscall.
38556
451f001b
UD
38557 [BZ #10484]
38558 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38559 temporary buffer used to handle multi lookups locally.
a85b5cb4 38560 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38561
08769175
UD
385622011-01-12 Ulrich Drepper <drepper@gmail.com>
38563
38564 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38565 loader is ld.so.
38566
5e49c52e
UD
385672011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38568
38569 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38570 alignment for SSE2.
38571
60522a5f
UD
385722011-01-12 Ulrich Drepper <drepper@gmail.com>
38573
38574 [BZ #12394]
38575 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38576 characters. When rounding increased number of integer digits recompute
38577 number of groups.
38578 * stdio-common/tst-grouping.c: New file.
38579 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38580
f257bbd7
UD
385812011-01-09 Ulrich Drepper <drepper@gmail.com>
38582
38583 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38584 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38585
38586 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38587 void.
38588 * bits/select.h: Likewise.
38589
fa9c15cb
UD
385902011-01-08 Ulrich Drepper <drepper@gmail.com>
38591
38592 * po/ja.po: Update from translation team.
38593
16c2895f
DM
385942011-01-04 David S. Miller <davem@sunset.davemloft.net>
38595
38596 [BZ #11155]
38597 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38598 implementation just like for lxstat, fxstatat, et al.
38599
2543fef2
JM
386002010-12-27 Jim Meyering <meyering@redhat.com>
38601
38602 [BZ #12348]
38603 * posix/regexec.c (build_trtable): Return failure indication upon
38604 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38605
98727dbe
UD
386062010-12-25 Ulrich Drepper <drepper@gmail.com>
38607
5bd6dc5c
UD
38608 [BZ #12201]
38609 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38610 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38611 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38612 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38613
97983464
UD
38614 [BZ #12207]
38615 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38616
98727dbe
UD
38617 [BZ #12204]
38618 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38619 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38620
4a531bb0
L
386212010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38622
38623 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38624 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38625 script has SORT_BY_INIT_PRIORITY.
38626 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38627 NO_CTORS_DTORS_SECTIONS is defined.
38628 * elf/soinit.c: Likewise.
38629 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38630 NO_CTORS_DTORS_SECTIONS is defined.
38631 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38632 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38633 * sysdeps/sh/init-first.c: Likewise.
38634 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38635
07eb4b71
UD
386362010-12-24 Ulrich Drepper <drepper@gmail.com>
38637
38638 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38639 always use the slow path.
38640
30950a5f
RA
386412010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38642
38643 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38644 similar rule which adds the sysdep directories to the header search in
38645 order to pick up the correct platform stackinfo.h.
38646 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38647 perform test if it is, otherwise return successfully without testing.
38648 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38649 DEFAULT_STACK_PERMS define in stackinfo.h.
38650 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38651 defined in stackinfo.h.
38652 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38653 DEFAULT_STACK_PERMS defined in stackinfo.h.
38654 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38655 * sysdeps/ia64/stackinfo.h: Likewise.
38656 * sysdeps/s390/stackinfo.h: Likewise.
38657 * sysdeps/sh/stackinfo.h: Likewise.
38658 * sysdeps/sparc/stackinfo.h: Likewise.
38659 * sysdeps/x86_64/stackinfo.h: Likewise.
38660 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38661 PF_X for powerpc64. Retain PF_X for powerpc32.
38662
db753e2c
UD
386632010-12-19 Ulrich Drepper <drepper@gmail.com>
38664
14b697f7
UD
38665 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38666 accurately.
db753e2c
UD
38667 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38668 GETDENTS_64BIT_ALIGNED.
38669
28300719
UD
386702010-12-14 Ulrich Drepper <dreper@gmail.com>
38671
14b697f7 38672 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38673
4f197237
AS
386742010-12-10 Andreas Schwab <schwab@redhat.com>
38675
dbb0472f
AS
38676 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38677 _GNU_SOURCE.
38678
4f197237
AS
38679 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38680 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38681 Remove __restrict.
38682 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38683 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38684
fb88ac72
UD
386852010-12-09 Ulrich Drepper <drepper@gmail.com>
38686
38687 [BZ #11655]
38688 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38689 are initialized.
38690
42acbb92
JJ
386912010-12-09 Jakub Jelinek <jakub@redhat.com>
38692
38693 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38694
c038d98d
UD
386952010-12-03 Ulrich Drepper <drepper@gmail.com>
38696
38697 * po/it.po: Update from translation team.
38698
3a4a2499
L
386992010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38700
38701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38702 unused codes.
38703
1e24cf6e
UD
387042010-11-30 Ulrich Drepper <drepper@gmail.com>
38705
38706 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38707
a7690819
AS
387082010-11-24 Andreas Schwab <schwab@redhat.com>
38709
38710 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38711 specially.
38712 (gaih_getanswer_slice): Likewise.
38713
3bf8d1b1
JJ
387142010-10-20 Jakub Jelinek <jakub@redhat.com>
38715
38716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38717
6db52fbb
PB
387182010-05-31 Petr Baudis <pasky@suse.cz>
38719
38720 [BZ #11149]
38721 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38722 silently even in the chroot mode.
38723
eaca7569
UD
387242010-11-22 Ulrich Drepper <drepper@gmail.com>
38725
38726 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38727 last patch a bit. Pretty printing
38728
3056dcdb
UD
387292010-05-31 Petr Baudis <pasky@suse.cz>
38730
38731 [BZ #10085]
38732 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38733 initialization of skip_initgroups_dyn.
38734
cf7c9078
UD
387352010-11-19 Ulrich Drepper <drepper@gmail.com>
38736
38737 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38738 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38739
a1fb5e3e
UD
387402010-11-16 Ulrich Drepper <drepper@gmail.com>
38741
38742 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38743
3540d66b
AS
387442010-11-11 Andreas Schwab <schwab@redhat.com>
38745
38746 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38747 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38748 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38749 ($(objpfx)tst-fnmatch-mem): New rule.
38750 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38751 * posix/tst-fnmatch.c (main): Call mtrace.
38752
13b69574
L
387532010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38754
38755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38756 Support Intel processor model 6 and model 0x2c.
38757
da93d214
LM
387582010-11-10 Luis Machado <luisgpm@br.ibm.com>
38759
38760 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38761 signed comparison.
38762
8ca52c6e
L
387632010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38764
38765 [BZ #12205]
38766 * string/test-strncasecmp.c (check_result): New function.
38767 (do_one_test): Use it.
38768 (check1): New function.
38769 (test_main): Use it.
38770 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38771 Support strcasecmp and strncasecmp.
38772
69da074d
UD
387732010-11-08 Ulrich Drepper <drepper@gmail.com>
38774
38775 [BZ #12194]
38776 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38777 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38778
ff02d528
L
387792010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38780
38781 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38782 IFUNC support.
38783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38784 memset-x86-64.
38785 * sysdeps/x86_64/multiarch/bzero.S: New file.
38786 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38787 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38788 * sysdeps/x86_64/multiarch/memset.S: New file.
38789 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38791 Set bit_Prefer_SSE_for_memop for Intel processors.
38792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38793 Define.
38794 (index_Prefer_SSE_for_memop): Define.
38795 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38796
344d0b54
LM
387972010-11-04 Luis Machado <luisgpm@br.ibm.com>
38798
38799 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38800 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38801
c0dde15b
UD
388022010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38803
38804 [BZ #12191]
38805 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38806 (__x86_64_raw_data_cache_size_half): Likewise.
38807 (__x86_64_raw_shared_cache_size): Likewise.
38808 (__x86_64_raw_shared_cache_size_half): Likewise.
38809
38810 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38811 (__x86_64_raw_data_cache_size_half): Likewise.
38812 (__x86_64_raw_shared_cache_size): Likewise.
38813 (__x86_64_raw_shared_cache_size_half): Likewise.
38814 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38815 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38816 and __x86_64_raw_shared_cache_size_half. Round
38817 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38818 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38819 to multiple of 256 bytes.
38820
0e516e0e
MS
388212010-11-03 Ulrich Drepper <drepper@gmail.com>
38822
38823 [BZ #12167]
38824 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38825 of inacessible symlinks. Verify result of symlink before returning it.
38826 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38827 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38828
0e012e87
ER
388292010-10-28 Erich Ritz <erichritz@gmail.com>
38830
38831 * math/math.h (isinf): Fix typo in comment.
38832
de0ff7bc
UD
388332010-11-01 Ulrich Drepper <drepper@gmail.com>
38834
38835 * po/da.po: Update from translation team.
38836
fa41c84d
UD
388372010-10-26 Ulrich Drepper <drepper@gmail.com>
38838
38839 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38840 is added to the list.
38841
f0967738
AK
388422010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38843 Ulrich Drepper <drepper@gmail.com>
38844
38845 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38846 the global list here. Move code to...
38847 (_dl_add_to_namespace_list): ...here. New function.
38848 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38849 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38850 * elf/dl-load.c (lose): Don't remove the element from the list.
38851 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38852 (_dl_map_object): Likewise.
38853
388542010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
38855
38856 [BZ #12159]
38857 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38858 into all bytes of SSE register.
38859 Patch by Richard Li <richardpku@gmail.com>.
38860
f0967738 388612010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
38862
38863 [BZ #12140]
38864 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38865 perturbing.
38866
d0b9e94f
MB
388672010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38868
38869 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38870 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38871 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38872 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38874 submachine.
38875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38876
8e9f92e9
AS
388772010-10-22 Andreas Schwab <schwab@redhat.com>
38878
38879 * include/dlfcn.h (__RTLD_SECURE): Define.
38880 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38881 mode & __RTLD_SECURE instead.
38882 (open_path): Rename preloaded parameter to secure.
38883 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38884 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38885 * elf/dl-deps.c (openaux): Likewise.
38886 * elf/rtld.c (struct map_args): Remove is_preloaded.
38887 (map_doit): Don't use it.
38888 (dl_main): Likewise.
38889 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38890 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38891
bc96fbda
AS
388922010-09-09 Andreas Schwab <schwab@redhat.com>
38893
38894 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38895 (sysd-rules-targets): Remove duplicates.
38896 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38897 rtld-%.$o dependency.
38898
22cd1c9b
AS
388992010-10-18 Andreas Schwab <schwab@redhat.com>
38900
38901 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38902 _dl_map_object do it.
38903
18edac48
UD
389042010-10-19 Ulrich Drepper <drepper@gmail.com>
38905
38906 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38907 fast fma builtins, define the macros in the C99 standard.
38908 (FP_FAST_FMAF): Likewise.
38909 (FP_FAST_FMAL): Likewise.
38910 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38911
38912 * bits/mathdef.h: Update copyright year.
38913 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38914
d2050124
MM
389152010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38916
38917 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38918 builtins, define the macros in the C99 standard.
38919 (FP_FAST_FMAF): Likewise.
38920 (FP_FAST_FMAL): Likewise.
38921 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38922 multiply/add.
38923 (FP_FAST_FMAF): Likewise.
38924
475facd1
JJ
389252010-10-15 Jakub Jelinek <jakub@redhat.com>
38926
38927 [BZ #3268]
38928 * math/libm-test.inc (fma_test): Some new testcases.
38929 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38930 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38931 y and infinite z. Do multiplication by C already in long double.
38932 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38934 y and infinite z. Do bitwise or of inexact bit into u.d.
38935 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38936 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38937 * sysdeps/i386/fpu/s_fma.S: Removed.
38938 * sysdeps/i386/fpu/s_fmal.S: Removed.
38939
7c08a05c
JJ
389402010-10-16 Jakub Jelinek <jakub@redhat.com>
38941
38942 [BZ #3268]
38943 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38945 computation is not scheduled after fetestexcept. Fix value
38946 of minimum denormal long double.
38947
f3f7372d
JJ
389482010-10-14 Jakub Jelinek <jakub@redhat.com>
38949
38950 [BZ #3268]
38951 * math/libm-test.inc (fma_test): Add some more tests.
38952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38953 correctly.
38954
14d43591
AS
389552010-10-15 Andreas Schwab <schwab@redhat.com>
38956
38957 * scripts/data/localplt-s390-linux-gnu.data: New file.
38958 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38959
5e908464
JJ
389602010-10-13 Jakub Jelinek <jakub@redhat.com>
38961
38962 [BZ #3268]
38963 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38964 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38965 instead of dbl-64.
38966 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38967 inlines.
38968 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38970 if one of x and y is very large and the other is subnormal.
38971 * sysdeps/s390/fpu/s_fmaf.c: New file.
38972 * sysdeps/s390/fpu/s_fma.c: New file.
38973 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38974 * sysdeps/powerpc/fpu/s_fma.S: New file.
38975 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38976 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38977 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38978
389792010-10-12 Jakub Jelinek <jakub@redhat.com>
38980
38981 [BZ #3268]
38982 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38983 fma tests.
38984 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38985 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38986 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38987 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38988 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38989 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38991
b833d51f
UD
389922010-10-12 Ulrich Drepper <drepper@redhat.com>
38993
38994 [BZ #12078]
38995 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38996 * posix/bug-regex31.input: Add test case.
38997
1751705d
UD
389982010-10-11 Ulrich Drepper <drepper@gmail.com>
38999
e9b9cbf5
UD
39000 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39001 * posix/bug-regex31.input: New file.
39002
39003 [BZ #12078]
39004 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39005 (parse_sub_exp): Fix last change, use postorder.
39006
ef06edbe
UD
39007 * posix/bug-regex31.c: New file.
39008 * posix/Makefile: Add rules to build and run bug-regex31.
39009
a129c80d
UD
39010 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39011
39012 [BZ #12078]
39013 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39014
b76b818e
UD
39015 [BZ #12108]
39016 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39017 to have entries in sys_siglist.
39018
1751705d
UD
39019 [BZ #12093]
39020 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39021 be NULL.
39022
9ff8d36f
JJ
390232010-10-07 Jakub Jelinek <jakub@redhat.com>
39024
39025 [BZ #3268]
39026 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39027 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39028 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39029 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39030 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39031 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39032 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39033 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39034 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39035 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39036 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39037 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39038 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39039 * math/ftestexcept.c (fetestexcept): Likewise.
39040 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39041 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39042 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39043 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39044 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39045 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39046 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39047
af325969
UD
390482010-10-11 Ulrich Drepper <drepper@gmail.com>
39049
c579b202 39050 [BZ #12107]
af325969
UD
39051 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39052 newline.
39053
67a67b95
UD
390542010-10-06 Ulrich Drepper <drepper@gmail.com>
39055
39056 * string/bug-strstr1.c: New file.
39057 * string/Makefile: Add rules to build and run bug-strstr1.
39058
5fb308bc
EB
390592010-10-05 Eric Blake <eblake@redhat.com>
39060
39061 [BZ #12092]
39062 * string/str-two-way.h (two_way_long_needle): Always clear memory
39063 when skipping input due to the shift table.
39064
45db99c7
UD
390652010-10-03 Ulrich Drepper <drepper@gmail.com>
39066
3b111893
UD
39067 [BZ #12005]
39068 * malloc/mcheck.c: Handle large requests.
39069
45db99c7
UD
39070 [BZ #12077]
39071 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39072 for strncmp and strncasecmp.
39073 * string/stratcliff.c: Add tests for strcmp and strncmp.
39074 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39075
cf7a1eb8
NI
390762010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39077
39078 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39079 __set_fpscr.
39080
6484ba5e
AJ
390812010-09-30 Andreas Jaeger <aj@suse.de>
39082
39083 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39084 (CGROUP_SUPER_MAGIC): Define.
39085 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39086 Handle btrfs and cgroup file systems.
39087 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39088 Likewise.
39089
91c42559
LM
390902010-09-27 Luis Machado <luisgpm@br.ibm.com>
39091
39092 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39093 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39094
87a97932
AK
390952010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39096
39097 [BZ #12067]
39098 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39099 trying to locate the ELF header.
39100
c21cc9bc
AS
391012010-09-27 Andreas Schwab <schwab@redhat.com>
39102
39103 [BZ #11611]
39104 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39105 Mask out sign-bit copies when constructing f_fsid.
39106
315970f6
PB
391072010-09-24 Petr Baudis <pasky@suse.cz>
39108
39109 * debug/stack_chk_fail_local.c: Add missing licence exception.
39110 * debug/warning-nop.c: Likewise.
39111
1ac7a2c7
JM
391122010-09-15 Joseph Myers <joseph@codesourcery.com>
39113
39114 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39115 implementing getdents64 using getdents syscall, set d_type if
39116 __ASSUME_GETDENTS32_D_TYPE.
39117
56801c50
AS
391182010-09-16 Andreas Schwab <schwab@redhat.com>
39119
39120 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39121 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39122
dda51327
UD
391232010-09-21 Ulrich Drepper <drepper@redhat.com>
39124
39125 [BZ #12037]
39126 * posix/unistd.h: Undo change of feature selection for ftruncate from
39127 2010-01-11.
39128
8ffcee4a
UD
391292010-09-20 Ulrich Drepper <drepper@redhat.com>
39130
a545ecd9 39131 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39132 detection.
39133
e24f0a8b
AS
391342010-09-20 Andreas Schwab <schwab@redhat.com>
39135
39136 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39137 fanotify_mark.
39138 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39139
7291c56f
AS
391402010-09-14 Andreas Schwab <schwab@redhat.com>
39141
39142 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39143 variables after CHECK_SP call.
39144 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39145
bc5fb037
AS
391462010-09-13 Andreas Schwab <schwab@redhat.com>
39147 Ulrich Drepper <drepper@redhat.com>
39148
39149 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39150 re-relocationg ld.so.
39151 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39152 _dl_init_paths call.
39153 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39154 here anymore.
39155
e66e7419
UD
391562010-09-14 Ulrich Drepper <drepper@redhat.com>
39157
39158 * resolv/res_init.c (__res_vinit): Count the default server we added.
39159
c044aa75
CLT
391602010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39161 Ulrich Drepper <drepper@redhat.com>
39162
39163 [BZ #11968]
39164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39165 (____longjmp_chk): Use %ebx for saving value across system call.
39166 Add unwind info.
39167
32cf4069
AS
391682010-09-06 Andreas Schwab <schwab@redhat.com>
39169
39170 * manual/Makefile: Don't mix pattern rules with normal rules.
39171
817328ee
AS
391722010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39173
39174 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39175 operation.
39176 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39177 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39178 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39179 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39181 Likewise.
39182
29fddf61
UD
391832010-09-04 Ulrich Drepper <drepper@redhat.com>
39184
39185 [BZ #11979]
39186 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39187 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39188
0959ffc9
UD
391892010-09-02 Ulrich Drepper <drepper@redhat.com>
39190
39191 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39192 * sysdeps/x86_64/addmul_1.S: Likewise.
39193 * sysdeps/x86_64/lshift.S: Likewise.
39194 * sysdeps/x86_64/mul_1.S: Likewise.
39195 * sysdeps/x86_64/rshift.S: Likewise.
39196 * sysdeps/x86_64/sub_n.S: Likewise.
39197 * sysdeps/x86_64/submul_1.S: Likewise.
39198
ece29840
ST
391992010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39200
0959ffc9
UD
39201 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39202 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39203 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39204 * bits/sched.h [__need_schedparam]
ece29840 39205 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39206 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39207 (__defined_schedparam): Define to 1.
ece29840
ST
39208 (__sched_param): New structure, identical to sched_param.
39209 (__need_schedparam): Undefine.
39210
e53a31fe
MF
392112010-08-31 Mike Frysinger <vapier@gentoo.org>
39212
fdc0c10d
MF
39213 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39214 (epoll_create1): Declare.
39215
e53a31fe
MF
39216 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39217
a726d796
AS
392182010-08-31 Andreas Schwab <schwab@redhat.com>
39219
39220 [BZ #7066]
39221 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39222 shifting retval into place.
39223
2f3e3dc7
UD
392242010-09-01 Ulrich Drepper <drepper@redhat.com>
39225
f2933da9
UD
39226 * nis/rpcsvc/nis.h: Update copyright notice.
39227 * nis/rpcsvc/nis.x: Likewise.
39228 * nis/rpcsvc/nis_callback.h: Likewise.
39229 * nis/rpcsvc/nis_callback.x: Likewise.
39230 * nis/rpcsvc/nis_object.x: Likewise.
39231 * nis/rpcsvc/nis_tags.h: Likewise.
39232 * nis/rpcsvc/yp.h: Likewise.
39233 * nis/rpcsvc/yp.x: Likewise.
39234 * nis/rpcsvc/ypupd.h: Likewise.
39235 * nis/yp_xdr.c: Likewise.
39236 * nis/ypupdate_xdr.c: Likewise.
39237
2f3e3dc7
UD
39238 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39239 mainly the body of pmap_getport. Add parameters to specify timeouts.
39240 (pmap_getport): Use __libc_rpc_getport.
39241 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39242 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39243 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39244
f3dcc2f9
AS
392452010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39246
39247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39248 fanotify_mark.
39249
6d34eb5b
RM
392502010-08-27 Roland McGrath <roland@redhat.com>
39251
39252 * sysdeps/i386/i686/multiarch/Makefile
39253 (CFLAGS-varshift.c): New variable.
39254
9ea3de11
UD
392552010-08-27 Ulrich Drepper <drepper@redhat.com>
39256
c96d23fc
UD
39257 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39258 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39259
9ea3de11
UD
39260 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39261
39262 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39263
623aac7f
L
392642010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39265
39266 * sysdeps/x86_64/strlen.S: Unroll the loop.
39267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39268 strlen-sse2 strlen-sse2-bsf.
39269 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39270 __strlen_no_bsf if bit_Slow_BSF is set.
39271 (__strlen_sse42): Removed.
39272 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39273 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39274
8b2b7715
RM
392752010-08-25 Roland McGrath <roland@redhat.com>
39276
39277 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39278 * sysdeps/x86_64/multiarch/varshift.c: New file.
39279 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39280 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39281 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39282 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39283
e73015f2
L
392842010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39285
39286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39287 strlen-sse2 strlen-sse2-bsf.
39288 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39289 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39290 (__strlen_sse2): Removed.
39291 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39294 bit_Slow_BSF for Atom.
39295 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39296 (index_Slow_BSF): Define.
39297 (HAS_SLOW_BSF): Define.
39298
df24a73e
UD
392992010-08-25 Ulrich Drepper <drepper@redhat.com>
39300
39301 [BZ #10851]
39302 * resolv/res_init.c (__res_vinit): When no server address at all
39303 is given default to loopback.
39304
f2ac4868
RM
393052010-08-24 Roland McGrath <roland@redhat.com>
39306
09055553
RM
39307 * configure.in: Remove config-name.h generation.
39308 * configure: Regenerated.
39309 * config-name.in: File removed.
39310 * scripts/config-uname.sh: New file.
39311 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39312 ($(objdir)config-name.h): New target.
39313
f2ac4868
RM
39314 * sunrpc/rpc_parse.h: Avoid nested comment.
39315
73f27d5e
RH
393162010-08-24 Richard Henderson <rth@redhat.com>
39317 Ulrich Drepper <drepper@redhat.com>
39318 H.J. Lu <hongjiu.lu@intel.com>
39319
39320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39322 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39323 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39324 _mm_alignr_epi8 with _mm_loadu_si128.
39325 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39326 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39327 (__m128i_shift_right): Removed.
39328 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39329 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39330 * sysdeps/x86_64/multiarch/varshift.h: New file.
39331 * sysdeps/x86_64/multiarch/varshift.S: New file.
39332
84b9230c
MF
393332010-08-21 Mike Frysinger <vapier@gentoo.org>
39334
39335 * configure.in: Move assembler checks to before sysdep dir checking.
39336
9bbd0ddc
PB
393372010-08-20 Petr Baudis <pasky@suse.cz>
39338
39339 * LICENSES: Sync the sunrpc license.
39340
9da4bb31
UD
393412010-08-19 Ulrich Drepper <drepper@redhat.com>
39342
a7ab6ec8
UD
39343 * sunrpc/auth_des.c: Update copyright notice once again.
39344 * sunrpc/auth_none.c: Likewise.
39345 * sunrpc/auth_unix.c: Likewise.
39346 * sunrpc/authdes_prot.c: Likewise.
39347 * sunrpc/authuxprot.c: Likewise.
39348 * sunrpc/bindrsvprt.c: Likewise.
39349 * sunrpc/clnt_gen.c: Likewise.
39350 * sunrpc/clnt_perr.c: Likewise.
39351 * sunrpc/clnt_raw.c: Likewise.
39352 * sunrpc/clnt_simp.c: Likewise.
39353 * sunrpc/clnt_tcp.c: Likewise.
39354 * sunrpc/clnt_udp.c: Likewise.
39355 * sunrpc/clnt_unix.c: Likewise.
39356 * sunrpc/des_crypt.c: Likewise.
39357 * sunrpc/des_soft.c: Likewise.
39358 * sunrpc/get_myaddr.c: Likewise.
39359 * sunrpc/getrpcport.c: Likewise.
39360 * sunrpc/key_call.c: Likewise.
39361 * sunrpc/key_prot.c: Likewise.
39362 * sunrpc/openchild.c: Likewise.
39363 * sunrpc/pm_getmaps.c: Likewise.
39364 * sunrpc/pm_getport.c: Likewise.
39365 * sunrpc/pmap_clnt.c: Likewise.
39366 * sunrpc/pmap_prot.c: Likewise.
39367 * sunrpc/pmap_prot2.c: Likewise.
39368 * sunrpc/pmap_rmt.c: Likewise.
39369 * sunrpc/rpc/auth.h: Likewise.
39370 * sunrpc/rpc/auth_unix.h: Likewise.
39371 * sunrpc/rpc/clnt.h: Likewise.
39372 * sunrpc/rpc/des_crypt.h: Likewise.
39373 * sunrpc/rpc/key_prot.h: Likewise.
39374 * sunrpc/rpc/netdb.h: Likewise.
39375 * sunrpc/rpc/pmap_clnt.h: Likewise.
39376 * sunrpc/rpc/pmap_prot.h: Likewise.
39377 * sunrpc/rpc/pmap_rmt.h: Likewise.
39378 * sunrpc/rpc/rpc.h: Likewise.
39379 * sunrpc/rpc/rpc_des.h: Likewise.
39380 * sunrpc/rpc/rpc_msg.h: Likewise.
39381 * sunrpc/rpc/svc.h: Likewise.
39382 * sunrpc/rpc/svc_auth.h: Likewise.
39383 * sunrpc/rpc/types.h: Likewise.
39384 * sunrpc/rpc/xdr.h: Likewise.
39385 * sunrpc/rpc_clntout.c: Likewise.
39386 * sunrpc/rpc_cmsg.c: Likewise.
39387 * sunrpc/rpc_common.c: Likewise.
39388 * sunrpc/rpc_cout.c: Likewise.
39389 * sunrpc/rpc_dtable.c: Likewise.
39390 * sunrpc/rpc_hout.c: Likewise.
39391 * sunrpc/rpc_main.c: Likewise.
39392 * sunrpc/rpc_parse.c: Likewise.
39393 * sunrpc/rpc_parse.h: Likewise.
39394 * sunrpc/rpc_prot.c: Likewise.
39395 * sunrpc/rpc_sample.c: Likewise.
39396 * sunrpc/rpc_scan.c: Likewise.
39397 * sunrpc/rpc_scan.h: Likewise.
39398 * sunrpc/rpc_svcout.c: Likewise.
39399 * sunrpc/rpc_tblout.c: Likewise.
39400 * sunrpc/rpc_util.c: Likewise.
39401 * sunrpc/rpc_util.h: Likewise.
39402 * sunrpc/rpcinfo.c: Likewise.
39403 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39404 * sunrpc/rpcsvc/key_prot.x: Likewise.
39405 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39406 * sunrpc/rpcsvc/mount.x: Likewise.
39407 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39408 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39409 * sunrpc/rpcsvc/rex.x: Likewise.
39410 * sunrpc/rpcsvc/rstat.x: Likewise.
39411 * sunrpc/rpcsvc/rusers.x: Likewise.
39412 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39413 * sunrpc/rpcsvc/spray.x: Likewise.
39414 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39415 * sunrpc/rtime.c: Likewise.
39416 * sunrpc/svc.c: Likewise.
39417 * sunrpc/svc_auth.c: Likewise.
39418 * sunrpc/svc_authux.c: Likewise.
39419 * sunrpc/svc_raw.c: Likewise.
39420 * sunrpc/svc_run.c: Likewise.
39421 * sunrpc/svc_simple.c: Likewise.
39422 * sunrpc/svc_tcp.c: Likewise.
39423 * sunrpc/svc_udp.c: Likewise.
39424 * sunrpc/svc_unix.c: Likewise.
39425 * sunrpc/svcauth_des.c: Likewise.
39426 * sunrpc/xcrypt.c: Likewise.
39427 * sunrpc/xdr.c: Likewise.
39428 * sunrpc/xdr_array.c: Likewise.
39429 * sunrpc/xdr_float.c: Likewise.
39430 * sunrpc/xdr_mem.c: Likewise.
39431 * sunrpc/xdr_rec.c: Likewise.
39432 * sunrpc/xdr_ref.c: Likewise.
39433 * sunrpc/xdr_sizeof.c: Likewise.
39434 * sunrpc/xdr_stdio.c: Likewise.
39435
9da4bb31
UD
39436 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39437 handling.
39438
bdaa77bc
AS
394392010-08-19 Andreas Schwab <schwab@redhat.com>
39440
39441 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39442
fe2f79db
LM
394432010-08-19 Luis Machado <luisgpm@br.ibm.com>
39444
39445 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39446 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39447 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39448 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39449 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39450 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39451 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39452 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39454 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39455 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39456 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39457 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39458 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39459
b9b42ee0
AB
394602010-07-26 Anton Blanchard <anton@samba.org>
39461
39462 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39463 * malloc/arena.c (heap_trim): Likewise.
39464
1c06ba31
UD
394652010-08-16 Ulrich Drepper <drepper@redhat.com>
39466
39467 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39468 here. Not...
39469 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39470 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39471
f8392f40
L
394722010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39473
39474 * sysdeps/i386/elf/Makefile: New file.
39475
3162f12e
AS
394762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39477
39478 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39479 from fanotify_init.
39480 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39481 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39482
28c90b2c
UD
394832010-08-15 Ulrich Drepper <drepper@redhat.com>
39484
39485 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39486 of strncasecmp_l.
1feccb6c 39487 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39488
ca6bb004
UD
394892010-08-14 Ulrich Drepper <drepper@redhat.com>
39490
e9f82e0d
UD
39491 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39492 strncase_l-nonascii.
39493 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39494 Add strncase_l-ssse3.
39495 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39496 * sysdeps/x86_64/strcmp.S: Likewise.
39497 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39498 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39499 * sysdeps/x86_64/strncase.S: New file.
39500 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39501 * sysdeps/x86_64/strncase_l.S: New file.
39502 * string/Makefile (strop-tests): Add strncasecmp.
39503 * string/test-strncasecmp.c: New file.
39504
39505 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39506 warning.
39507
ca6bb004
UD
39508 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39509 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39510
052fa7b3
AS
395112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39512
39513 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39514
962dba78
UD
395152010-08-12 Ulrich Drepper <drepper@redhat.com>
39516
39517 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39518 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39519 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39520
bebff237
AM
395212010-05-01 Alan Modra <amodra@gmail.com>
39522
39523 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39524 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39525 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39526 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39527 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39528 tidying. Don't tail-call __sigjmp_save for static lib.
39529 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39530 save location.
39531 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39532 (CALL_MCOUNT): Add eh info, and nop after bl.
39533 (TAIL_CALL_SYSCALL_ERROR): New macro.
39534 (PSEUDO_RET): Use it.
39535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39536 Correct save location of integer regs and cr.
39537 (_dl_profile_resolve): Correct cr save location. Delete nops
39538 after bl when SHARED. Reduce cfi size a little by better
39539 placement of cfi directives.
39540 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39541 make a stack frame. Instead use parm save area as a temp.
39542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39543 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39545 Don't make a stack frame for parent, use parm save area.
39546 Increase child stack frame to 112 bytes. Don't save unused reg,
39547 and adjust reg usage. Set up cfi on error recovery and
39548 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39550 (__makecontext): Add dummy nop after jump to exit.
39551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39552 Use correct parm save area and cr save, reduce stack frame.
39553 Correct cfi for possible PSEUDO_RET frame setup.
39554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39555 Branch to local label emitted by PSEUDO_RET rather than
39556 __syscall_error.
39557
02637374
AS
395582010-08-12 Andreas Schwab <schwab@redhat.com>
39559
39560 [BZ #11904]
39561 * locale/programs/locale.c (print_assignment): New function.
39562 (show_locale_vars): Use it.
39563
c3e2f19b
UD
395642010-08-11 Ulrich Drepper <drepper@redhat.com>
39565
3cdaa6ad
UD
39566 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39567 field.
39568 (struct statfs64): Likewise.
39569 (_STATFS_F_FLAGS): Define.
39570 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39571 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39572 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39573 (ST_VALID): Define locally.
39574 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39575 __statvfs_getflags, use the provided value.
39576 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39577 __ASSUME_STATFS_F_FLAGS.
39578
754f7da3
UD
39579 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39580
10b3bedc
UD
39581 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39582 Add sys/fanotify.h.
39583 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39584 fanotify_mask for GLIBC_2.13.
39585 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39586 fanotify_init and fanotify_mark.
39587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39588 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39589
c08fb0d7
UD
39590 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39591 Add prlimit.
39592 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39593 prlimit64 for GLIBC_2.13.
39594 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39595 prlimit64.
39596 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39597 syscall.
39598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39599 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39600 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39601 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39603 add prlimit alias.
39604 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39605
15bac72b
UD
39606 [BZ #11903]
39607 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39608 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39609
c3e2f19b
UD
39610 * nss/Makefile: Add rules to build and run tst-nss-test1.
39611 * shlib-versions: Add entry for libnss_test1.
39612 * nss/nss_test1.c: New file.
39613 * nss/tst-nss-test1.c: New file.
39614
39615 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39616 (__nss_configure_lookup): Set appropriate entry in
39617 __nss_configure_lookup to true.
39618 * nss/nsswitch.h: Define enum with indeces of databases in
39619 databases and __nss_database_custom arrays. Declare
39620 __nss_database_custom.
39621 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39622 to avoid using nscd when custom rules are installed.
39623 * nss/getXXbyYY_r.c: Likewise.
39624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39625
39626 * nss/nss_files/files-parse.c: Whitespace fixes.
39627
f15ce4d8
UD
396282010-08-09 Ulrich Drepper <drepper@redhat.com>
39629
39630 [BZ #11883]
39631 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39632 * posix/fnmatch_loop.c: Likewise.
39633
d22e4cc9
AK
396342010-07-17 Andi Kleen <ak@linux.intel.com>
39635
39636 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39637 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39638 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39639 * Versions.def [GLIBC_2.13]: Add.
39640
805bc17d
UD
396412010-08-06 Ulrich Drepper <drepper@redhat.com>
39642
39643 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39644 Also fail if tpwd after pwuid call is NULL.
39645
5a42321d
ST
396462010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39647
39648 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39649 when converting to ms.
39650
fd3ebeda
ST
396512010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39652
39653 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39654 EOPNOTSUPP errors with ENOTTY.
39655 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39656 EOPNOTSUPP errors with ENOTTY.
39657
73507d3a
UD
396582010-07-31 Ulrich Drepper <drepper@redhat.com>
39659
39660 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39661 Add strcasecmp_l-ssse3.
39662 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39663 strcasecmp.
39664 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39665 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39666 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39667
fe36dd02
UD
396682010-07-30 Ulrich Drepper <drepper@redhat.com>
39669
66f6765a
UD
39670 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39671
42e08a54
UD
39672 * string/Makefile (strop-tests): Add strcasecmp.
39673 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39674 strcasecmp_l-nonascii.
39675 (gen-as-const-headers): Add locale-defines.sym.
39676 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39677 * sysdeps/x86_64/strcasecmp.S: New file.
39678 * sysdeps/x86_64/strcasecmp_l.S: New file.
39679 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39680 * sysdeps/x86_64/locale-defines.sym: New file.
39681 * string/test-strcasecmp.c: New file.
39682
fe36dd02
UD
39683 * string/test-strcasestr.c: Test both ends of the range of characters.
39684 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39685
48cbc0d6
RM
396862010-07-29 Roland McGrath <roland@redhat.com>
39687
76e6d6bc 39688 [BZ #11856]
48cbc0d6
RM
39689 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39690
880113d9
UD
396912010-07-27 Ulrich Drepper <drepper@redhat.com>
39692
39693 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39694 for ld.so.
39695
deb9cabb
AS
396962010-07-27 Andreas Schwab <schwab@redhat.com>
39697
39698 * manual/memory.texi (Malloc Tunable Parameters): Document
39699 M_PERTURB.
39700
1c7570ff
RM
397012010-07-26 Roland McGrath <roland@redhat.com>
39702
39703 [BZ #11840]
39704 * configure.in (-fgnu89-inline check): Set and substitute
39705 gnu89_inline, not libc_cv_gnu89_inline.
39706 * configure: Regenerated.
39707 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39708
24fb0f88
UD
397092010-07-26 Ulrich Drepper <drepper@redhat.com>
39710
39711 * string/test-strnlen.c: New file.
39712 * string/Makefile (strop-tests): Add strnlen.
39713 * string/tester.c (test_strnlen): Add a few more test cases.
39714 * string/tst-strlen.c: Better error reporting.
39715
39716 * sysdeps/x86_64/strnlen.S: New file.
39717
8e96b93a
UD
397182010-07-24 Ulrich Drepper <drepper@redhat.com>
39719
39720 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39721 lower-latency instructions.
39722
dbc676d4
UD
397232010-07-23 Ulrich Drepper <drepper@redhat.com>
39724
39725 * string/test-strcasestr.c: New file.
39726 * string/test-strstr.c: New file.
39727 * string/Makefile (strop-tests): Add strstr and strcasestr.
39728 * string/str-two-way.h: Don't undefine MAX.
39729 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39730
f6a31e0e
AS
397312010-07-21 Andreas Schwab <schwab@redhat.com>
39732
39733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39734 strcasestr-nonascii.
39735 (CFLAGS-strcasestr-nonascii.c): Define.
39736 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39737 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39738 Remove unused attribute.
39739
5dbc3b6c
RM
397402010-07-20 Roland McGrath <roland@redhat.com>
39741
39742 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39743 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39744 ld.so.cache was broken. With it, there is no way to disable dsocaps
39745 like LD_HWCAP_MASK can disable hwcaps.
39746
23d101d8
EPM
397472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39748
39749 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39750
cc9f2e47
UD
397512010-07-16 Ulrich Drepper <drepper@redhat.com>
39752
39753 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39754 call in strcasestr.
39755 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39756 __strcasestr_sse42_nonascii.
39757 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39758 strcasestr-nonascii.c.
39759 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39760
77c1b069
LM
397612010-06-15 Luis Machado <luisgpm@br.ibm.com>
39762
39763 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39764 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39766 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39767
440566c3
UD
397682010-07-09 Ulrich Drepper <drepper@redhat.com>
39769
39770 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39771 fcntl.
39772
5be9d05d
AS
397732010-07-06 Andreas Schwab <schwab@redhat.com>
39774
c30b7ee2 39775 [BZ #11577]
5be9d05d
AS
39776 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39777 dl_signal_cerror.
39778
8a492a67
UD
397792010-07-06 Ulrich Drepper <drepper@redhat.com>
39780
39781 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39782 _PC_PIPE_BUF using F_GETPIPE_SZ.
39783
713df3d5
RM
397842010-07-05 Roland McGrath <roland@redhat.com>
39785
39786 * manual/arith.texi (Rounding Functions): Fix rint description
39787 implicit in round description.
39788
702e8f14
UD
397892010-07-02 Ulrich Drepper <drepper@redhat.com>
39790
39791 * elf/Makefile: Fix linking for a few tests to make recent linker
39792 happy.
39793
52ed8be9
AS
397942010-06-30 Andreas Schwab <schwab@redhat.com>
39795
39796 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39797 $(common-objpfx)libc_nonshared.a.
39798
f47c9a11
LM
397992010-06-21 Luis Machado <luisgpm@br.ibm.com>
39800
39801 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39802 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39803 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39804 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39805 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39806 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39807 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39808 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39823 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39824 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39825 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39826 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39827 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39828 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39829 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39830 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39831 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39832 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39833 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39834 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39849
6fb8cbcb
L
398502010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39851
39852 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39853 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39854 * string/memmove.c (memmove): Renamed to ...
39855 (MEMMOVE): ...this. Default to memmove.
39856 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39857 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39858 (END_CHK): Define.
39859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39860 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39861 mempcpy-ssse3-back memmove-ssse3-back.
39862 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39864 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39865 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39866 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39867 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39868 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39869 * sysdeps/x86_64/multiarch/memmove.c: New file.
39870 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39871 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39872 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39873 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39874 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39875 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39876 Define.
39877 (index_Fast_Copy_Backward): Define.
39878 (HAS_ARCH_FEATURE): Define.
39879 (HAS_FAST_REP_STRING): Define.
39880 (HAS_FAST_COPY_BACKWARD): Define.
39881
4e733bac 398822010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
39883
39884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39885 Restore proper fallback handling.
39886
63c4ed22
UD
398872010-06-19 Ulrich Drepper <drepper@redhat.com>
39888
ac2b484c
UD
39889 [BZ #11701]
39890 * posix/group_member.c (__group_member): Correct checking loop.
39891
63c4ed22
UD
39892 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39893 OOM in getpwuid_r correctly. Return error number when the caller
39894 should return, otherwise -1.
39895 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39896 call returning > 0 value.
39897 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39898
765ade4b
AS
398992010-06-07 Andreas Schwab <schwab@redhat.com>
39900
39901 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39902 libc_nonshared.a from targets in modules-names.
39903
80da2e09
KS
399042010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39905
39906 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39907 requires it.
39908
158db122
LM
399092010-06-10 Luis Machado <luisgpm@br.ibm.com>
39910
39911 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39912 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39913 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39915
caa78cf8
AS
399162010-06-02 Andreas Schwab <schwab@redhat.com>
39917
39918 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39919
b2ef2c01
UD
399202010-06-14 Ulrich Drepper <drepper@redhat.com>
39921
39922 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39923 and F_GETPIPE_SZ.
39924 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39925 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39927 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39928 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39929 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39930
fbd643b6
RM
399312010-06-14 Roland McGrath <roland@redhat.com>
39932
39933 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39934
f32f2869
JJ
399352010-06-07 Jakub Jelinek <jakub@redhat.com>
39936
39937 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39938 __REDIRECT followed by __THROW.
39939 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39940 * posix/getopt.h (getopt): Likewise.
39941
2a50c078
EPM
399422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39943
39944 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39945 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39946 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39947 in AT_FLAGS.
39948 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39949 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39950
eb5ad2eb
LM
399512010-05-28 Luis Machado <luisgpm@br.ibm.com>
39952
39953 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39954
3c88fe1e
L
399552010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39956
39957 [BZ #11640]
39958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39959 Properly check family and model.
39960
d2f73151
TY
399612010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39962
39963 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39964
ebd2e13d
LM
399652010-05-24 Luis Machado <luisgpm@br.ibm.com>
39966
39967 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39968
b32b8b45
UD
399692010-05-21 Ulrich Drepper <drepper@redhat.com>
39970
39971 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39972 symbol reference.
39973
9acbe24d
AS
399742010-05-19 Andreas Schwab <schwab@redhat.com>
39975
39976 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39977 symbol reference.
39978
f0ccf6ea
AS
399792010-05-21 Andreas Schwab <schwab@redhat.com>
39980
3d04ff3a
AS
39981 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39982 and internal_recvmmsg.
39983 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39984 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39985 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39986 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39987
f0ccf6ea
AS
39988 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39989 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39990 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39991
5b08ac57
AS
399922010-05-20 Andreas Schwab <schwab@redhat.com>
39993
39994 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39995
4828935d
LM
399962010-05-17 Luis Machado <luisgpm@br.ibm.com>
39997
39998 POWER7 optimizations.
39999 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40000 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40001
373d545e
UD
400022010-05-19 Ulrich Drepper <drepper@redhat.com>
40003
40004 * version.h: Update for 2.13 development version.
40005
21a2b1ae
AS
400062010-05-12 Andrew Stubbs <ams@codesourcery.com>
40007
40008 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40009 exceptions. Return 0.
40010
3f7dcb2b
RM
400112010-05-07 Roland McGrath <roland@redhat.com>
40012
40013 * elf/ldconfig.c (main): Add a const.
40014
5f24d53a 400152010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40016
a160f8d8
UD
40017 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40018 (args_options): Add no-idn option.
40019 (ahosts_keys_int): Add idn_flags to ai_flags.
40020 (parse_option): Handle 'i' option to clear idn_flags.
40021
5f24d53a
UD
40022 * malloc/malloc.c (_int_free): Possible race in the most recently
40023 added check. Only act on the data if no current modification
40024 happened.
265bb1ce
UD
40025
40026See ChangeLog.17 for earlier changes.