]> sourceware.org Git - glibc.git/blame - ChangeLog
print length in strrchr benchtest
[glibc.git] / ChangeLog
CommitLineData
bd939d23
RS
12014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2
3 * benchtests/bench-strrchr.c: Print length instead of position.
4
5d7b57ca
JM
52014-02-20 Joseph Myers <joseph@codesourcery.com>
6
bc688c10
JM
7 [BZ #16611]
8 * sysdeps/unix/sysv/linux/kernel-features.h
9 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13 Likewise.
14 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17 (__ASSUME_SENDMMSG): Define instead of using previous
18 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20 (__ASSUME_SENDMMSG_SYSCALL): Define.
21 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23 Likewise.
24 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
26 Likewise.
27 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29 Likewise.
30 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33 [__ASSUME_SENDMMSG]: Change conditionals to
34 [__ASSUME_SENDMMSG_SOCKETCALL].
35 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37 Define.
38 * sysdeps/unix/sysv/linux/mips/kernel-features.h
39 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40 Likewise.
41 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
44 [!__ASSUME_SENDMMSG]: Change conditional to
45 [!__ASSUME_SENDMMSG_SOCKETCALL].
46 * sysdeps/unix/sysv/linux/tile/kernel-features.h
47 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48 Define.
49
0e31b18c
JM
50 [BZ #16610]
51 * sysdeps/unix/sysv/linux/kernel-features.h
52 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
54 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
55 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
57 [__i386__ || __sparc__]
58 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
59 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
60 (__ASSUME_RECVMMSG): Define instead of using previous
61 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
62 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
63 (__ASSUME_RECVMMSG_SYSCALL): Define.
64 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
65 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
66 Likewise.
67 * sysdeps/unix/sysv/linux/arm/kernel-features.h
68 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
69 Likewise.
70 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
71 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
72 Likewise.
73 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
74 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
75 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
76 [__ASSUME_RECVMMSG]: Change condition to
77 [__ASSUME_RECVMMSG_SOCKETCALL].
78 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
79 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
80 Define.
81 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
82 * sysdeps/unix/sysv/linux/mips/kernel-features.h
83 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
84 Likewise.
85 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
86 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
87 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
88 [!__ASSUME_RECVMMSG]: Change condition to
89 [!__ASSUME_RECVMMSG_SOCKETCALL].
90 * sysdeps/unix/sysv/linux/tile/kernel-features.h
91 (__ASSUME_RECVMMSG_SYSCALL): Define.
92
dd481ccf
JM
93 [BZ #16609]
94 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
95 __powerpc__ || __s390__ || __sh__ || __sparc__]
96 (__ASSUME_SOCKETCALL): Define.
97 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
98 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
99 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
100 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
101 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
102 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
103 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
104 (__ASSUME_ACCEPT4): Define instead of using previous
105 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
106 __powerpc__ || __sparc__ || __s390__)] condition.
107 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
108 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
109 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
110 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
111 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
112 [!__ASSUME_ACCEPT4]: Change condition to
113 [!__ASSUME_ACCEPT4_SOCKETCALL].
114 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
115 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
116 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
117 * sysdeps/unix/sysv/linux/arm/kernel-features.h
118 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
119 __ASSUME_ACCEPT4_SYSCALL.
120 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
121 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
122 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
123 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
124 __ASSUME_ACCEPT4_SYSCALL.
125 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
126 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
127 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
128 [__ASSUME_ACCEPT4]: Change condition to
129 [__ASSUME_ACCEPT4_SOCKETCALL].
130 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
131 (__ASSUME_SOCKETCALL): Define.
132 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
133 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
134 (__ASSUME_SOCKETCALL): Define.
135 (__ASSUME_ACCEPT4): Remove.
136 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
137 Define.
138 * sysdeps/unix/sysv/linux/mips/kernel-features.h
139 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
140 Likewise.
141 * sysdeps/unix/sysv/linux/tile/kernel-features.h
142 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
143
5d7b57ca
JM
144 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
145 macro.
146 (HWCAP_ARM_LPAE): Likewise.
147 (HWCAP_ARM_EVTSTRM): Likewise.
148 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
149 Add vpfd32, lpae and evtstrm.
150 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
151 Increase to 22.
152
63689d61
JM
1532014-02-19 Joseph Myers <joseph@codesourcery.com>
154
155 * math/auto-libm-test-in: Add tests of clog10.
156 * math/auto-libm-test-out: Regenerated.
157 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
158 * sysdeps/i386/fpu/libm-test-ulps: Update.
159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
160
ab09bf61
AS
1612014-02-18 Andreas Schwab <schwab@suse.de>
162
163 [BZ #16574]
164 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
165 Store non-zero if the second buffer was newly allocated.
166 (send_dg): Likewise.
167 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
168 to send_vc and send_dg.
169 (res_nsend): Pass NULL for ansp2_malloced.
170 * resolv/res_query.c (__libc_res_nquery): Add parameter
171 answerp2_malloced and pass it down to __libc_res_nsend.
172 (res_nquery): Pass additional NULL to __libc_res_nquery.
173 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
174 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
175 second answer buffer if answerp2_malloced was set.
176 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
177 (__libc_res_nquerydomain): Add parameter
178 answerp2_malloced and pass it down to __libc_res_nquery.
179 (res_nquerydomain): Pass additional NULL to
180 __libc_res_nquerydomain.
181 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
182 additional NULL to __libc_res_nsend and __libc_res_nquery.
183 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
184 additional NULL to __libc_res_nsearch.
185 (_nss_dns_gethostbyname4_r): Revert last change. Use new
186 parameter of __libc_res_nsearch to check for separately allocated
187 second buffer.
188 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
189 __libc_res_nquery.
190 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
191 additional NULL to __libc_res_nquery.
192 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
193 __libc_res_nsearch.
194 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
195 * include/resolv.h: Update prototypes of __libc_res_nquery,
196 __libc_res_nsearch, __libc_res_nsend.
197
a4fb7861
JM
1982014-02-18 Joseph Myers <joseph@codesourcery.com>
199
c6af2d89
JM
200 * math/auto-libm-test-in: Add tests of fma.
201 * math/auto-libm-test-out: Regenerated.
202 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
203 (fma_towardzero_test_data): Likewise.
204 (fma_downward_test_data): Likewise.
205 (fma_upward_test_data): Likewise.
206 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
207 mpc_mode.
208 (rounding_modes): Add values for new field.
209 (func_calc_method): Add value mpfr_fff_f.
210 (func_calc_desc): Add mpfr_fff_f union field.
211 (test_function): Add field exact_args.
212 (FUNC): Add macro argument EXACT_ARGS.
213 (FUNC_mpfr_f_f): Update call to FUNC.
214 (FUNC_mpfr_f_f): Likewise.
215 (FUNC_mpfr_ff_f): Likewise.
216 (FUNC_mpfr_if_f): Likewise.
217 (FUNC_mpc_c_f): Likewise.
218 (FUNC_mpc_c_c): Likewise.
219 (test_functions): Add fma. Update calls to FUNC.
220 (handle_input_arg): Add argument exact_args.
221 (add_test): Update call to handle_input_arg.
222 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
223 (output_for_one_input_case): Update call to calc_generic_results.
224 Recalculate exact zero results in each rounding mode.
225
a4fb7861
JM
226 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
227 non-negative before setting low bit.
228 * math/auto-libm-test-in: Mark one asin test possibly having
229 spurious underflow.
230 * math/auto-libm-test-out: Regenerated.
231 * sysdeps/i386/fpu/libm-test-ulps: Update.
232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
233
ef114eaf
DH
2342014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
235
236 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
237 * sysdeps/unix/sysv/linux/microblaze: Move directory from
238 ports/sysdeps/unix/sysv/linux/microblaze.
239 * README: Add missing listing for microblaze*-*-linux-gnu.
240
c70a4b1d
MF
2412014-02-16 Mike Frysinger <vapier@gentoo.org>
242
243 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
244 * sysdeps/unix/sysv/linux/ia64: Move directory from
245 ports/sysdeps/unix/sysv/linux/ia64.
246 * README: Update listing for ia64-*-linux-gnu.
247
591aeaf7
TD
2482014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
249 Joseph Myers <joseph@codesourcery.com>
250
251 * Makeconfig (test-name): New variable.
252 (evaluate-test): Likewise.
253 * Makerules (do-test-clean): Remove .test-result files.
254 (common-mostlyclean): Likewise.
255 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
256 * scripts/evaluate-test.sh: New file.
257
6e89caf1
JM
2582014-02-14 Joseph Myers <joseph@codesourcery.com>
259
7f98f180
JM
260 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
261 separate $(objpfx)tst-fopenloc-cmp.out and
262 $(objpfx)tst-fopenloc-mem.out targets.
263 (tests): Update dependencies.
264 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
265 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
266 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
267 (tst-rxspencer-no-utf8-ARGS): New variable.
268 (tst-rxspencer-no-utf8-ENV): Likewise.
269 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
270 instead of $(objpfx)tst-rxspencer-mem.
271 ($(objpfx)tst-rxspencer-mem): Change target to
272 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
273 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
274 * posix/tst-rxspencer-no-utf8.c: New file.
275
6e89caf1
JM
276 * elf/Makefile ($(objpfx)order.out): Remove rule.
277 [$(run-built-tests) = yes] (tests): Depend on
278 $(objpfx)order-cmp.out.
279 ($(objpfx)order-cmp.out): New rule.
280 [$(run-built-tests) = yes] (tests): Depend on
281 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
282 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
283 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
284 $(objpfx)tst-array5-static-cmp.out.
285 ($(objpfx)tst-array1.out): Remove rule.
286 ($(objpfx)tst-array1-cmp.out): New rule.
287 ($(objpfx)tst-array1-static.out): Remove rule.
288 ($(objpfx)tst-array1-static-cmp.out): New rule.
289 ($(objpfx)tst-array2.out): Remove rule.
290 ($(objpfx)tst-array2-cmp.out): New rule.
291 ($(objpfx)tst-array3.out): Remove rule.
292 ($(objpfx)tst-array3-cmp.out): New rule.
293 ($(objpfx)tst-array4.out): Remove rule.
294 ($(objpfx)tst-array4-cmp.out): New rule.
295 ($(objpfx)tst-array5.out): Remove rule.
296 ($(objpfx)tst-array5-cmp.out): New rule.
297 ($(objpfx)tst-array5-static.out): Remove rule.
298 ($(objpfx)tst-array5-static-cmp.out): New rule.
299 [$(run-built-tests) = yes] (tests): Depend on
300 $(objpfx)order2-cmp.out.
301 ($(objpfx)order2.out): Remove rule.
302 ($(objpfx)order2-cmp.out): New rule.
303 ($(objpfx)tst-initorder.out): Remove rule.
304 [$(run-built-tests) = yes] (tests): Depend on
305 $(objpfx)tst-initorder-cmp.out.
306 ($(objpfx)tst-initorder-cmp.out): New rule.
307 ($(objpfx)tst-initorder2.out): Remove rule.
308 [$(run-built-tests) = yes] (tests): Depend on
309 $(objpfx)tst-initorder2-cmp.out.
310 ($(objpfx)tst-initorder2-cmp.out): New rule.
311 [$(run-built-tests) = yes] (tests): Depend on
312 $(objpfx)tst-unused-dep-cmp.out.
313 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
314 ($(objpfx)tst-unused-dep-cmp.out): New rule.
315 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
316 on $(objpfx)tst-setvbuf1-cmp.out.
317 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
318 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
319 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
320 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
321 ($(objpfx)tst-svc.out): Remove rule.
322 ($(objpfx)tst-svc-cmp.out): New rule.
323
ed9a38e2
JM
3242014-02-13 Joseph Myers <joseph@codesourcery.com>
325
326 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
327 * ctype/ctype.h [__USE_MISC]: Likewise.
328 * dirent/dirent.h [__USE_MISC]: Likewise.
329 * grp/grp.h [__USE_MISC]: Likewise.
330 * io/fcntl.h [__USE_MISC]: Likewise.
331 * io/sys/stat.h [__USE_MISC]: Likewise.
332 * libio/stdio.h [__USE_MISC]: Likewise.
333 * posix/unistd.h [__USE_MISC]: Likewise.
334 * pwd/pwd.h [__USE_MISC]: Likewise.
335 * stdlib.h [__USE_MISC]: Likewise.
336 * string/bits/string2.h [__USE_MISC]: Likewise.
337 * string/string.h [__USE_MISC]: Likewise.
338 * time/time.h [__USE_MISC]: Likewise.
339
d6680619
AS
3402014-02-13 Andreas Schwab <schwab@suse.de>
341
342 [BZ #16574]
343 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
344 second answer buffer if it was separately allocated.
345
ace614b8
JM
3462014-02-12 Joseph Myers <joseph@codesourcery.com>
347
743151ae
JM
348 * sysdeps/mips/math-tests.h: Include <features.h>.
349 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
350 (ROUNDING_TESTS_long_double): Do not define.
351 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
352 (EXCEPTION_TESTS_long_double): Likewise.
353 * sysdeps/mips/mips64/libm-test-ulps: Update.
354
498afc54
JM
355 * include/features.h (__USE_BSD): Remove macro definitions.
356 (__USE_SVID): Likewise.
357 (_BSD_SOURCE): Likewise.
358 (_SVID_SOURCE): Likewise.
359 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
360 from definition of _DEFAULT_SOURCE.
361 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
362 [_DEFAULT_SOURCE].
363 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
364 * bits/mman.h [__USE_BSD]: Likewise.
365 * bits/termios.h [__USE_BSD]: Likewise.
366 * bits/waitstatus.h [__USE_BSD]: Likewise.
367 * ctype/ctype.h [__USE_SVID]: Likewise.
368 * dirent/dirent.h [__USE_BSD]: Likewise.
369 * grp/grp.h [__USE_SVID]: Likewise.
370 [__USE_BSD]: Likewise.
371 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
372 * io/fcntl.h [__USE_BSD]: Likewise.
373 * io/ftw.h [__USE_BSD]: Likewise.
374 * io/sys/stat.h [__USE_BSD]: Likewise.
375 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
376 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
377 * libio/stdio.h [__USE_SVID]: Likewise.
378 [__USE_BSD]: Likewise.
379 * math/math.h [__USE_SVID]: Likewise.
380 [__USE_BSD]: Likewise.
381 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
382 * misc/bits/syslog.h [__USE_BSD]: Likewise.
383 * misc/search.h [__USE_SVID]: Likewise.
384 * misc/sys/mman.h [__USE_BSD]: Likewise.
385 * misc/sys/syslog.h [__USE_BSD]: Likewise.
386 * misc/sys/uio.h [__USE_BSD]: Likewise.
387 * posix/bits/unistd.h [__USE_BSD]: Likewise.
388 * posix/glob.h [__USE_BSD]: Likewise.
389 * posix/regex.h [__USE_BSD]: Likewise.
390 * posix/sys/types.h [__USE_BSD]: Likewise.
391 [__USE_SVID]: Likewise.
392 * posix/sys/utsname.h [__USE_SVID]: Likewise.
393 * posix/sys/wait.h [__USE_BSD]: Likewise.
394 [__USE_SVID]: Likewise.
395 * posix/unistd.h [__USE_BSD]: Likewise.
396 [__USE_SVID]: Likewise.
397 * pwd/pwd.h [__USE_SVID]: Likewise.
398 * resolv/netdb.h [__USE_BSD]: Likewise.
399 * setjmp/setjmp.h [__USE_BSD]: Likewise.
400 * signal/signal.h [__USE_BSD]: Likewise.
401 [__USE_SVID]: Likewise.
402 * socket/sys/socket.h [__USE_BSD]: Likewise.
403 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
404 * stdlib/stdlib.h [__USE_BSD]: Likewise.
405 [__USE_SVID]: Likewise.
406 * string/bits/string2.h [__USE_BSD]: Likewise.
407 [__USE_SVID]: Likewise.
408 * string/bits/string3.h [__USE_BSD]: Likewise.
409 * string/endian.h [__USE_BSD]: Likewise.
410 * string/string.h [__USE_SVID]: Likewise.
411 [__USE_BSD]: Likewise.
412 * string/strings.h [__USE_BSD]: Likewise.
413 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
414 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
415 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
416 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
417 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
418 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
419 Likewise.
420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
421 Likewise.
422 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
423 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
424 Likewise.
425 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
426 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
427 Likewise.
428 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
429 Likewise.
430 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
431 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
433 Likewise.
434 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
435 Likewise.
436 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
437 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
438 * termios/termios.h [__USE_BSD]: Likewise.
439 * time/sys/time.h [__USE_BSD]: Likewise.
440 * time/time.h [__USE_BSD]: Likewise.
441 [__USE_SVID]: Likewise.
442
dd7b064c
JM
443 * Makefile (subdir_targets): Remove subdir_lint.out.
444
a2c4c199
JM
445 * stdio-common/Makefile (do-tst-unbputc): Remove target.
446 (do-tst-printf): Likewise.
447 (tests): Depend directly on $(objpfx)tst-unbputc.out and
448 $(objpfx)tst-printf.out.
449
8756f740
JM
450 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
451
1b6dd3f1
JM
452 * Makerules (check-abi-%): Change target to
453 $(objpfx)check-abi-%.out.
454 (check-abi target): Update dependencies.
455 (check-abi-pattern variable): Redirect output of diff to $@.
456 (check-abi variable): Likewise.
457 * elf/Makefile (check-abi): Update dependencies.
458
ace614b8
JM
459 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
460 unused.
461 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
462 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
463 subnormal range.
464 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
465 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
466 value has largest subnormal exponent.
467 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
468 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
469 * sysdeps/aarch64/soft-fp/sfp-machine.h
470 (_FP_TININESS_AFTER_ROUNDING): New macro.
471 * sysdeps/alpha/soft-fp/sfp-machine.h
472 (_FP_TININESS_AFTER_ROUNDING): Likewise.
473 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
474 Likewise.
475 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
476 (_FP_TININESS_AFTER_ROUNDING): Likewise.
477 * sysdeps/mips/soft-fp/sfp-machine.h
478 (_FP_TININESS_AFTER_ROUNDING): Likewise.
479 * sysdeps/powerpc/soft-fp/sfp-machine.h
480 (_FP_TININESS_AFTER_ROUNDING): Likewise.
481 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
482 Likewise.
483 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
484 (_FP_TININESS_AFTER_ROUNDING): Likewise.
485 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
486 (_FP_TININESS_AFTER_ROUNDING): Likewise.
487 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
488 Likewise.
489
fbfdf9cb
DAS
4902014-02-12 Dylan Alex Simon <dylan@dylex.net>
491
492 [BZ #16545]
493 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
494 model 1.
495
68b7efaa
RH
4962014-02-12 Richard Henderson <rth@redhat.com>
497
c70a4b1d 498 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
499 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
500 * sysdeps/unix/sysv/linux/alpha: Move directory from
501 ports/sysdeps/unix/sysv/linux/alpha.
502 * README: Update listing for alpha-*-linux-gnu.
503
cb4a2928
JM
5042014-02-11 Joseph Myers <joseph@codesourcery.com>
505
c941736c
JM
506 * include/features.h: Update comment documenting feature test
507 macros.
508 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
509 _DEFAULT_SOURCE.
510 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
511 (_SVID_SOURCE): Likewise.
512 (_DEFAULT_SOURCE): Update description of default features.
513 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
514 with _GNU_SOURCE.
515 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
516 (S_ISVTX): Likewise.
517 * manual/math.texi (Mathematical Constants): Likewise.
518 * manual/signal.texi (Interrupted Primitives): Likewise.
519 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
520 * math/test-matherr.c (_SVID_SOURCE): Do not define.
521 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
522 Don't refer to _SVID_SOURCE in warning text.
523
e8d8d7ec
JM
524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
525
cb4a2928
JM
526 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
527 already defined.
528 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
529 * sysdeps/mips/dl-lookup.c: Remove.
530 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
531
7e6424e3
AK
5322014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
533
534 [BZ #16447]
535 * math/auto-libm-test-in: Add testcase for expl.
536 * math/auto-libm-test-out: Regenerate.
537 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
538 calculation of unsafe.
539 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
540
75eff3fe
MS
5412014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
542
543 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
544 * sysdeps/unix/sysv/linux/aarch64: Move directory from
545 ports/sysdeps/unix/sysv/linux/aarch64.
546 * README: Update listing for aarch64*-*-linux-gnu.
547
d35f1e80
WN
5482014-02-11 Will Newton <will.newton@linaro.org>
549
550 * manual/probes.texi (Mathematical Function Probes): Use
551 "triggered" instead of "hit".
552
7b3436d4
WN
5532014-02-11 Will Newton <will.newton@linaro.org>
554
555 * manual/probes.texi (Internal Probes): Add documentation
556 of setjmp, longjmp and longjmp_target probes.
557
b4f12ca3
WN
5582014-02-11 Will Newton <will.newton@linaro.org>
559
560 * include/stap-probe.h: Add comment about probe argument
561 format.
562
c13a72b7
WN
5632014-02-11 Will Newton <will.newton@linaro.org>
564
565 * malloc/mtrace.c (attribute_hidden): Remove unused macro
566 definition. (tr_where, tr_freehook, tr_mallochook,
567 tr_reallochook, tr_memalignhook): Use ANSI protoype.
568
195b8165
DM
5692014-02-11 David S. Miller <davem@davemloft.net>
570
571 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
572 processing int_tests.
573
2ad7600b
JM
5742014-02-10 Joseph Myers <joseph@codesourcery.com>
575
576 * sysdeps/mips: Move directory from ports/sysdeps/mips.
577 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
578 * sysdeps/unix/sysv/linux/mips: Move directory from
579 ports/sysdeps/unix/sysv/linux/mips.
580 * README: Update listing for mips-*-linux-gnu and
581 mips64-*-linux-gnu.
582
73588a72
AS
5832014-02-10 Andreas Schwab <schwab@linux-m68k.org>
584
585 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
586 * sysdeps/unix/sysv/linux/m68k: Move directory from
587 ports/sysdeps/unix/sysv/linux/m68k.
588 * README: Update listing for m68k-*-linux-gnu.
589
4372980f
CM
5902014-02-10 Chris Metcalf <cmetcalf@tilera.com>
591
592 * sysdeps/tile: Move directory from ports/sysdeps/tile.
593 * sysdeps/unix/sysv/linux/generic: Move directory from
594 ports/sysdeps/unix/sysv/linux/generic.
595 * sysdeps/unix/sysv/linux/tile: Move directory from
596 ports/sysdeps/unix/sysv/linux/tile.
597 * README: Update listing for tile*-*-linux-gnu.
598
a1ffb40e
OB
5992014-02-10 Ondřej Bílka <neleai@seznam.cz>
600
601 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
602 * benchtests/bench-memmem.c (simple_memmem): Likewise.
603 * catgets/open_catalog.c (__open_catalog): Likewise.
604 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
605 * debug/confstr_chk.c: Likewise.
606 * debug/fread_chk.c (__fread_chk): Likewise.
607 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
608 * debug/getgroups_chk.c: Likewise.
609 * debug/mbsnrtowcs_chk.c: Likewise.
610 * debug/mbsrtowcs_chk.c: Likewise.
611 * debug/mbstowcs_chk.c: Likewise.
612 * debug/memcpy_chk.c: Likewise.
613 * debug/memmove_chk.c: Likewise.
614 * debug/mempcpy_chk.c: Likewise.
615 * debug/memset_chk.c: Likewise.
616 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
617 * debug/strcat_chk.c (__strcat_chk): Likewise.
618 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
619 * debug/strncat_chk.c (__strncat_chk): Likewise.
620 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
621 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
622 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
623 * debug/wcpncpy_chk.c: Likewise.
624 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
625 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
626 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
627 * debug/wcsncpy_chk.c: Likewise.
628 * debug/wcsnrtombs_chk.c: Likewise.
629 * debug/wcsrtombs_chk.c: Likewise.
630 * debug/wcstombs_chk.c: Likewise.
631 * debug/wmemcpy_chk.c: Likewise.
632 * debug/wmemmove_chk.c: Likewise.
633 * debug/wmempcpy_chk.c: Likewise.
634 * debug/wmemset_chk.c: Likewise.
635 * dirent/scandirat.c (SCANDIRAT): Likewise.
636 * dlfcn/dladdr1.c (dladdr1): Likewise.
637 * dlfcn/dladdr.c (dladdr): Likewise.
638 * dlfcn/dlclose.c (dlclose_doit): Likewise.
639 * dlfcn/dlerror.c (__dlerror): Likewise.
640 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
641 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
642 * dlfcn/dlopen.c (dlopen_doit): Likewise.
643 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
644 * dlfcn/dlsym.c (dlsym_doit): Likewise.
645 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
646 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
647 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
648 Likewise.
649 * elf/dl-conflict.c: Likewise.
650 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
651 * elf/dl-dst.h: Likewise.
652 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
653 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
654 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
655 * elf/dl-init.c (call_init, _dl_init): Likewise.
656 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
657 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
658 _dl_map_object_from_fd, open_verify, open_path,
659 _dl_map_object): Likewise.
660 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
661 Likewise.
662 * elf/dl-minimal.c (__libc_memalign): Likewise.
663 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
664 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
665 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
666 * elf/dl-sym.c (do_sym): Likewise.
667 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
668 _dl_tls_get_addr_soft): Likewise.
669 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
670 * elf/dl-writev.h (_dl_writev): Likewise.
671 * elf/ldconfig.c (search_dir): Likewise.
672 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
673 dl_main): Likewise.
674 * elf/setup-vdso.h (setup_vdso): Likewise.
675 * grp/compat-initgroups.c (compat_call): Likewise.
676 * grp/fgetgrent.c (fgetgrent): Likewise.
677 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
678 * grp/putgrent.c (putgrent): Likewise.
679 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
680 Likewise.
681 * hurd/hurdinit.c: Likewise.
682 * iconvdata/8bit-gap.c (struct): Likewise.
683 * iconvdata/ansi_x3.110.c : Likewise.
684 * iconvdata/big5.c : Likewise.
685 * iconvdata/big5hkscs.c : Likewise.
686 * iconvdata/cp1255.c: Likewise.
687 * iconvdata/cp1258.c : Likewise.
688 * iconvdata/cp932.c : Likewise.
689 * iconvdata/euc-cn.c: Likewise.
690 * iconvdata/euc-jisx0213.c : Likewise.
691 * iconvdata/euc-jp.c: Likewise.
692 * iconvdata/euc-jp-ms.c : Likewise.
693 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
694 * iconvdata/gb18030.c : Likewise.
695 * iconvdata/gbbig5.c (const): Likewise.
696 * iconvdata/gbgbk.c: Likewise.
697 * iconvdata/gbk.c : Likewise.
698 * iconvdata/ibm1364.c : Likewise.
699 * iconvdata/ibm930.c : Likewise.
700 * iconvdata/ibm932.c: Likewise.
701 * iconvdata/ibm933.c : Likewise.
702 * iconvdata/ibm935.c : Likewise.
703 * iconvdata/ibm937.c : Likewise.
704 * iconvdata/ibm939.c : Likewise.
705 * iconvdata/ibm943.c: Likewise.
706 * iconvdata/iso_11548-1.c: Likewise.
707 * iconvdata/iso-2022-cn.c : Likewise.
708 * iconvdata/iso-2022-cn-ext.c : Likewise.
709 * iconvdata/iso-2022-jp-3.c: Likewise.
710 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
711 * iconvdata/iso-2022-kr.c : Likewise.
712 * iconvdata/iso646.c (gconv_end): Likewise.
713 * iconvdata/iso_6937-2.c : Likewise.
714 * iconvdata/iso_6937.c : Likewise.
715 * iconvdata/iso8859-1.c: Likewise.
716 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
717 * iconvdata/shift_jisx0213.c : Likewise.
718 * iconvdata/sjis.c : Likewise.
719 * iconvdata/t.61.c : Likewise.
720 * iconvdata/tcvn5712-1.c : Likewise.
721 * iconvdata/tscii.c: Likewise.
722 * iconvdata/uhc.c : Likewise.
723 * iconvdata/unicode.c (gconv_end): Likewise.
724 * iconvdata/utf-16.c (gconv_end): Likewise.
725 * iconvdata/utf-32.c (gconv_end): Likewise.
726 * iconvdata/utf-7.c (base64): Likewise.
727 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
728 * iconv/gconv_close.c (__gconv_close): Likewise.
729 * iconv/gconv_open.c (__gconv_open): Likewise.
730 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
731 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
732 internal_ucs4le_loop_single, ucs4le_internal_loop,
733 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
734 * iconv/iconv.c (iconv): Likewise.
735 * iconv/iconv_close.c: Likewise.
736 * iconv/loop.c (SINGLE): Likewise.
737 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
738 * include/atomic.h: Likewise.
739 * inet/inet6_option.c (option_alloc): Likewise.
740 * intl/bindtextdom.c (set_binding_values): Likewise.
741 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
742 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
743 * intl/localealias.c (read_alias_file): Likewise.
744 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
745 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
746 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
747 * libio/fmemopen.c (fmemopen): Likewise.
748 * libio/iofgets.c (_IO_fgets): Likewise.
749 * libio/iofgets_u.c (fgets_unlocked): Likewise.
750 * libio/iofgetws.c (fgetws): Likewise.
751 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
752 * libio/iogetdelim.c (_IO_getdelim): Likewise.
753 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
754 adjust_wide_data, _IO_wfile_seekoff): Likewise.
755 * locale/findlocale.c (_nl_find_locale): Likewise.
756 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
757 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
758 Likewise.
759 * locale/setlocale.c (setlocale): Likewise.
760 * login/programs/pt_chown.c (main): Likewise.
761 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
762 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
763 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
764 mmap, mmap64, mremap, munmap): Likewise.
765 * math/e_exp2l.c: Likewise.
766 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
767 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
768 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
769 * math/s_catan.c (__catan): Likewise.
770 * math/s_catanf.c (__catanf): Likewise.
771 * math/s_catanh.c (__catanh): Likewise.
772 * math/s_catanhf.c (__catanhf): Likewise.
773 * math/s_catanhl.c (__catanhl): Likewise.
774 * math/s_catanl.c (__catanl): Likewise.
775 * math/s_ccosh.c (__ccosh): Likewise.
776 * math/s_ccoshf.c (__ccoshf): Likewise.
777 * math/s_ccoshl.c (__ccoshl): Likewise.
778 * math/s_cexp.c (__cexp): Likewise.
779 * math/s_cexpf.c (__cexpf): Likewise.
780 * math/s_cexpl.c (__cexpl): Likewise.
781 * math/s_clog10.c (__clog10): Likewise.
782 * math/s_clog10f.c (__clog10f): Likewise.
783 * math/s_clog10l.c (__clog10l): Likewise.
784 * math/s_clog.c (__clog): Likewise.
785 * math/s_clogf.c (__clogf): Likewise.
786 * math/s_clogl.c (__clogl): Likewise.
787 * math/s_csin.c (__csin): Likewise.
788 * math/s_csinf.c (__csinf): Likewise.
789 * math/s_csinh.c (__csinh): Likewise.
790 * math/s_csinhf.c (__csinhf): Likewise.
791 * math/s_csinhl.c (__csinhl): Likewise.
792 * math/s_csinl.c (__csinl): Likewise.
793 * math/s_csqrt.c (__csqrt): Likewise.
794 * math/s_csqrtf.c (__csqrtf): Likewise.
795 * math/s_csqrtl.c (__csqrtl): Likewise.
796 * math/s_ctan.c (__ctan): Likewise.
797 * math/s_ctanf.c (__ctanf): Likewise.
798 * math/s_ctanh.c (__ctanh): Likewise.
799 * math/s_ctanhf.c (__ctanhf): Likewise.
800 * math/s_ctanhl.c (__ctanhl): Likewise.
801 * math/s_ctanl.c (__ctanl): Likewise.
802 * math/w_pow.c: Likewise.
803 * math/w_powf.c: Likewise.
804 * math/w_powl.c: Likewise.
805 * math/w_scalb.c (sysv_scalb): Likewise.
806 * math/w_scalbf.c (sysv_scalbf): Likewise.
807 * math/w_scalbl.c (sysv_scalbl): Likewise.
808 * misc/error.c (error_tail): Likewise.
809 * misc/pselect.c (__pselect): Likewise.
810 * nis/nis_callback.c (__nis_create_callback): Likewise.
811 * nis/nis_call.c (__nisfind_server): Likewise.
812 * nis/nis_creategroup.c (nis_creategroup): Likewise.
813 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
814 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
815 * nis/nis_getservlist.c (nis_getservlist): Likewise.
816 * nis/nis_lookup.c (nis_lookup): Likewise.
817 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
818 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
819 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
820 * nis/nis_xdr.c (xdr_endpoint): Likewise.
821 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
822 internal_getgrgid_r): Likewise.
823 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
824 Likewise.
825 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
826 internal_getpwuid_r): Likewise.
827 * nis/nss_compat/compat-spwd.c (getspent_next_file,
828 internal_getspnam_r): Likewise.
829 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
830 _nss_nis_getaliasbyname_r): Likewise.
831 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
832 _nss_nis_getntohost_r): Likewise.
833 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
834 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
835 Likewise.
836 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
837 internal_nis_gethostent_r, internal_gethostbyname2_r,
838 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
839 _nss_nis_gethostbyname4_r): Likewise.
840 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
841 initgroups_netid): Likewise.
842 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
843 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
844 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
845 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
846 _nss_nis_getprotobynumber_r): Likewise.
847 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
848 _nss_nis_getsecretkey): Likewise.
849 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
850 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
851 Likewise.
852 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
853 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
854 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
855 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
856 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
857 _nss_nis_getspnam_r): Likewise.
858 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
859 Likewise.
860 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
861 _nss_nisplus_getntohost_r): Likewise.
862 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
863 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
864 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
865 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
866 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
867 Likewise.
868 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
869 _nss_nisplus_getnetbyaddr_r): Likewise.
870 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
871 _nss_nisplus_getprotobynumber_r): Likewise.
872 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
873 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
874 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
875 Likewise.
876 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
877 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
878 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
879 _nss_nisplus_getspnam_r): Likewise.
880 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
881 * nscd/aicache.c (addhstaiX): Likewise.
882 * nscd/cache.c (cache_search, prune_cache): Likewise.
883 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
884 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
885 * nscd/grpcache.c (addgrbyX): Likewise.
886 * nscd/hstcache.c (addhstbyX): Likewise.
887 * nscd/initgrcache.c (addinitgroupsX): Likewise.
888 * nscd/mem.c (gc, mempool_alloc): Likewise.
889 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
890 Likewise.
891 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
892 Likewise.
893 * nscd/nscd_getai.c (__nscd_getai): Likewise.
894 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
895 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
896 Likewise.
897 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
899 * nscd/nscd_helper.c (__readvall, open_socket,
900 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
901 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
902 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
903 * nscd/pwdcache.c (addpwbyX): Likewise.
904 * nscd/selinux.c (preserve_capabilities): Likewise.
905 * nscd/servicescache.c (addservbyX): Likewise.
906 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
907 * posix/fnmatch.c (fnmatch): Likewise.
908 * posix/getopt.c (_getopt_internal_r): Likewise.
909 * posix/glob.c (glob, glob_in_dir): Likewise.
910 * posix/wordexp.c (exec_comm_child): Likewise.
911 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
912 gaih_getanswer_slice): Likewise.
913 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
914 * resolv/res_init.c: Likewise.
915 * resolv/res_mkquery.c (res_nmkquery): Likewise.
916 * resolv/res_query.c (__libc_res_nquery): Likewise.
917 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
918 Likewise.
919 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
920 * stdio-common/perror.c (perror): Likewise.
921 * stdio-common/printf_fp.c (___printf_fp): Likewise.
922 * stdio-common/tmpnam.c (tmpnam): Likewise.
923 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
924 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
925 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
926 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
927 * stdlib/putenv.c (putenv): Likewise.
928 * stdlib/setenv.c (__add_to_environ): Likewise.
929 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
930 * stdlib/strtol_l.c (INTERNAL): Likewise.
931 * string/memmem.c (memmem): Likewise.
932 * string/strerror.c (strerror): Likewise.
933 * string/strnlen.c (__strnlen): Likewise.
934 * string/test-memmem.c (simple_memmem): Likewise.
935 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
936 * sunrpc/pm_getport.c (__get_socket): Likewise.
937 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
938 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
939 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
940 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
941 Likewise.
942 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
943 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
944 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
945 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
946 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
947 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
948 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
949 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
950 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
951 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
952 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
953 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
955 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
956 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
957 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
958 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
959 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
960 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
961 Likewise.
962 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
963 Likewise.
964 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
965 Likewise.
966 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
968 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
969 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
970 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
971 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
972 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
973 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
975 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
976 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
977 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
978 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
979 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
981 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
983 Likewise.
984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
985 Likewise.
986 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
987 Likewise.
988 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
990 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
991 Likewise.
992 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
993 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
994 * sysdeps/posix/opendir.c (__opendirat): Likewise.
995 * sysdeps/posix/sleep.c: Likewise.
996 * sysdeps/posix/tempname.c: Likewise.
997 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
998 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
999 Likewise.
1000 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1001 elf_machine_rela): Likewise.
1002 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1003 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1004 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1005 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1006 Likewise.
1007 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1009 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1010 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1011 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1012 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1013 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1014 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1015 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1016 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1018 elf_machine_lazy_rel): Likewise.
1019 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1020 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1021 elf_machine_lazy_rel): Likewise.
1022 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1023 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1024 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1025 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1026 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1027 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1028 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1030 Likewise.
1031 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1032 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1033 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1034 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1035 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1036 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1037 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1038 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1039 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1040 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1041 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1042 Likewise.
1043 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1044 (__posix_fallocate64_l64): Likewise.
1045 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1046 (posix_fallocate): Likewise.
1047 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1048 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1049 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1050 getifaddrs_internal): Likewise.
1051 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1052 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1053 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1054 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1055 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1056 (__posix_fallocate64_l64): Likewise.
1057 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1058 Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1061 Likewise.
1062 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1063 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1064 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1067 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1068 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1069 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1070 Likewise.
1071 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1072 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1073 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1074 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1075 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1076 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1077 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1078 Likewise.
1079 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1080 (posix_fallocate): Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1082 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1083 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1084 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1085 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1086 Likewise.
1087 * time/asctime.c (asctime_internal): Likewise.
1088 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1089 * time/tzset.c (__tzset_parse_tz): Likewise.
1090 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1091 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1092 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1093 * wcsmbs/wcsmbsload.h: Likewise.
1094
f3d338c9
OB
10952014-02-10 Ondřej Bílka <neleai@seznam.cz>
1096
1097 [BZ #15894]
1098 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1099
bdfe308a
OB
11002014-02-10 Ondřej Bílka <neleai@seznam.cz>
1101
1102 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1103 arena_get2): Remove THREAD_STATS conditionals.
1104 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1105 __malloc_stats, int): Likewise.
1106
d674667c
MF
11072014-02-08 Mike Frysinger <vapier@gentoo.org>
1108
1109 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1110 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1111
6349768c
MF
11122014-02-08 Mike Frysinger <vapier@gentoo.org>
1113
1114 * manual/setjmp.texi: Fix typos/grammar errors.
1115
0b7c7473
MF
11162014-02-08 Mike Frysinger <vapier@gentoo.org>
1117
1118 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1119 Only return early when n is <= 0. Delete unused return statement.
1120
ac8cc9e3
MF
11212014-02-08 Mike Frysinger <vapier@gentoo.org>
1122
1123 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1124 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1125 * debug/tst-longjmp_chk3.c: New file.
1126
c5bb8e23
MF
11272014-02-08 Mike Frysinger <vapier@gentoo.org>
1128
1129 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1130 (test_main): Replace code with set_fortify_handler call.
1131 * debug/test-strcpy_chk.c: Likewise.
1132 * debug/tst-chk1.c: Likewise.
1133 * debug/tst-longjmp_chk.c: Likewise.
1134 * test-skeleton.c: Include fcntl.h & paths.h
1135 (set_fortify_handler): Define.
1136
10444e42
MF
11372014-02-08 Mike Frysinger <vapier@gentoo.org>
1138
1139 * debug/tst-longjmp_chk.c: Add header comment and include
1140 ../test-skeleton.c.
1141 (do_test): Mark static.
1142 (TEST_FUNCTION): Define.
1143
1e805e8d
MF
11442014-02-08 Mike Frysinger <vapier@gentoo.org>
1145
1146 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1147 (IP_PMTUDISC_INTERFACE): Likewise.
1148 (IP_MULTICAST_IF): Likewise.
1149 (IP_MULTICAST_TTL): Likewise.
1150 (IP_MULTICAST_LOOP): Likewise.
1151 (IP_ADD_MEMBERSHIP): Likewise.
1152 (IP_DROP_MEMBERSHIP): Likewise.
1153 (IP_UNBLOCK_SOURCE): Likewise.
1154 (IP_BLOCK_SOURCE): Likewise.
1155 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1156 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1157 (IP_MSFILTER): Likewise.
1158 (MCAST_JOIN_GROUP): Likewise.
1159 (MCAST_BLOCK_SOURCE): Likewise.
1160 (MCAST_UNBLOCK_SOURCE): Likewise.
1161 (MCAST_LEAVE_GROUP): Likewise.
1162 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1163 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1164 (MCAST_MSFILTER): Likewise.
1165 (IP_MULTICAST_ALL): Likewise.
1166 (IP_UNICAST_IF): Likewise.
1167
73f79bb7
MF
11682014-02-08 Mike Frysinger <vapier@gentoo.org>
1169
1170 * timezone/Makefile: Delete $(have-ksh) check.
1171 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1172 * timezone/tzselect.ksh: Add +x mode bits.
1173
8da79b60
MF
11742014-02-08 Mike Frysinger <vapier@gentoo.org>
1175
1176 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1177 (ANON_INODE_FS_MAGIC): Likewise.
1178 (BDEVFS_MAGIC): Likewise.
1179 (BINFMTFS_MAGIC): Likewise.
1180 (BTRFS_TEST_MAGIC): Likewise.
1181 (CRAMFS_MAGIC_WEND): Likewise.
1182 (DEBUGFS_MAGIC): Likewise.
1183 (ECRYPTFS_SUPER_MAGIC): Likewise.
1184 (EXT3_SUPER_MAGIC): Likewise.
1185 (EXT4_SUPER_MAGIC): Likewise.
1186 (FUTEXFS_SUPER_MAGIC): Likewise.
1187 (HOSTFS_SUPER_MAGIC): Likewise.
1188 (HUGETLBFS_MAGIC): Likewise.
1189 (MINIX3_SUPER_MAGIC): Likewise.
1190 (MTD_INODE_FS_MAGIC): Likewise.
1191 (NILFS_SUPER_MAGIC): Likewise.
1192 (OPENPROM_SUPER_MAGIC): Likewise.
1193 (PIPEFS_MAGIC): Likewise.
1194 (PSTOREFS_MAGIC): Likewise.
1195 (QNX6_SUPER_MAGIC): Likewise.
1196 (RAMFS_MAGIC): Likewise.
1197 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1198 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1199 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1200 (SECURITYFS_MAGIC): Likewise.
1201 (SELINUX_MAGIC): Likewise.
1202 (SMACK_MAGIC): Likewise.
1203 (SOCKFS_MAGIC): Likewise.
1204 (SQUASHFS_MAGIC): Likewise.
1205 (STACK_END_MAGIC): Likewise.
1206 (TMPFS_MAGIC): Likewise.
1207 (USBDEVICE_SUPER_MAGIC): Likewise.
1208 (V9FS_MAGIC): Likewise.
1209 (XENFS_SUPER_MAGIC): Likewise.
1210 (CRAMFS_MAGIC): Fix typo in comment.
1211 (EXT2_SUPER_MAGIC): Update comment.
1212 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1213
464263cc
JM
12142014-02-08 Joseph Myers <joseph@codesourcery.com>
1215
c6bfe5c4
JM
1216 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1217 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1218 * sysdeps/unix/sysv/linux/arm: Move directory from
1219 ports/sysdeps/unix/sysv/linux/arm.
1220 * README: Update listing for arm-*-linux-gnueabi.
1221
464263cc
JM
1222 * README: Remove mention of am33.
1223
32749f6c
RM
12242014-02-07 Roland McGrath <roland@hack.frob.com>
1225
1226 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1227 than the comma operator, to avoid "rhs of comma has no effect"
1228 compiler warnings.
1229 (__sigfillset, __sigandset, __sigorset): Likewise.
1230 * include/signal.h (__sigemptyset): Likewise.
1231 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1232
d5b396c1
AM
12332014-02-07 Allan McRae <allan@archlinux.org>
1234
1235 * version.h (RELEASE): Set to "development".
1236 (VERSION): Set to "2.19.90"
1237 * NEWS: Add 2.20 section.
1238
3bfff2ed
CD
12392014-02-06 Carlos O'Donell <carlos@redhat.com>
1240
1241 [BZ #16529]
1242 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1243
ee7cc385
SP
12442014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1245
1246 * manual/contrib.texi: Update entry for Carlos O'Donell,
1247 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1248
f877c4f2
CD
12492014-02-05 Carlos O'Donell <carlos@rehdat.com>
1250
27e839f6
CD
1251 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1252
f877c4f2
CD
1253 * sysdeps/unix/sysv/linux/kernel-features.h
1254 [__LINUX_KERNEL_VERSION >= 0x020621]
1255 (__ASSUME_PROC_PID_TASK_COMM): Define.
1256
68159946
SP
12572014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1258
1259 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1260 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1261 Leonard and Allan McRae.
1262
2b528732
DM
12632014-02-04 David S. Miller <davem@davemloft.net>
1264
1265 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1266 32-bit.
1267
0ff82463
AZ
12682014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1269
c01603f7
AZ
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1271 file
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1273 New file
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1275 file.
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1277 file.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1279 New file.
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1281 file.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1283 file.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1285 New file.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1287 New file.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1289 New file.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1291 New file.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1293 New file.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1295 New file.
1296
12972014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1298
0ff82463
AZ
1299 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1300 * shlib-versions: Likewise.
1301
1695c773
AZ
13022014-02-04 Roland McGrath <roland@hack.frob.com>
1303 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304
1305 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1306 (abilist-pattern): New variable, set to %-le.abilist.
1307
1308 * Makerules (abilist-pattern): New variable.
1309 (vpath): Use $(abilist-pattern) in place of %.abilist.
1310 (check-abi-% pattern rule): Likewise.
1311 (check-abi, update-abi): Likewise.
1312
6c0ce4b4
EW
13132014-02-04 Eric Wong <normalperson@yhbt.net>
1314
1315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1316
dc98b8f5
EW
13172014-02-04 Eric Wong <normalperson@yhbt.net>
1318
1319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1320
481e3524
CD
13212014-02-03 Carlos O'Donell <carlos@redhat.com>
1322
1323 * manual/startup.texi: Add next, previous, and top entries for
1324 the `Program Arguments' and `Environment Variables' nodes.
1325
375592d3
AO
13262014-02-03 Alexandre Oliva <aoliva@redhat.com>
1327
1328 * manual/macros.texi: Add comments before MTASC-safety macros.
1329
f54838ba
AO
1330 * manual/users.texi: Document MTASC-safety properties.
1331
909e12ad
AO
1332 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1333 pthread_getspecific, pthread_setspecific): Format with
1334 @deftypefun, and add @safety note.
1335 * manual/signal.texi: Move comments that analyze the above
1336 functions to their home place.
1337
fd3daba4
AM
13382014-02-03 Allan McRae <allan@archlinux.org>
1339
1340 * po/sl.po: Update Slovenian translation from translation project.
1341
597636d7
AO
13422014-02-02 Alexandre Oliva <aoliva@redhat.com>
1343
1344 * manual/time.texi (timegm): Add missing blank after @c.
1345 Reported by Joseph Myers <joseph@codesourcery.com>.
1346
ee196e3c
AO
13472014-02-01 Alexandre Oliva <aoliva@redhat.com>
1348
1349 * manual/check-safety.sh: New.
1350 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1351
f8d529d5
AO
1352 * manual/terminal.texi: Document MTASC-safety properties.
1353
de55fdf4
AO
1354 * manual/filesys.texi: Document MTASC-safety properties.
1355
c3299c08
AO
1356 * manual/errno.texi: Document MTASC-safety properties.
1357
06e90b14
AO
1358 * manual/intro.texi: Document safety identifiers and
1359 conditionals.
1360
1acd4371
AO
1361 * manual/string.texi (wcstok): Fix prototype.
1362 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1363
23e5b8cb
AO
1364 * manual/time.texi: Document MTASC-safety properties.
1365
11087373
AO
1366 * manual/string.texi: Document MTASC-safety properties.
1367
5da2c93d
AO
1368 * manual/threads.texi: Document MTASC-safety properties.
1369
171e9210
AO
1370 * manual/stdio.texi: Document MTASC-safety properties.
1371
d9e02532
AO
1372 * manual/syslog.texi: Document MTASC-safety properties.
1373
6af8bab7
AO
1374 * manual/sysinfo.texi: Document MTASC-safety properties.
1375
663b02d7
AO
1376 * manual/startup.texi: Document MTASC-safety properties.
1377
973f180b
AO
1378 * manual/socket.texi: Document MTASC-safety properties.
1379
8f3c25c8
AO
1380 * manual/signal.texi: Document MTASC-safety properties.
1381
542210fb
AO
13822014-01-31 Alexandre Oliva <aoliva@redhat.com>
1383
1384 * manual/setjmp.texi: Document MTASC-safety properties.
1385
433c45a2
AO
1386 * manual/search.texi: Document MTASC-safety properties.
1387
c8ce789c
AO
1388 * manual/resource.texi: Document MTASC-safety properties.
1389
19f5d29c
AO
1390 * manual/process.texi: Document MTASC-safety properties.
1391
e2dfb7f4
AO
1392 * manual/platform.texi: Document MTASC-safety properties.
1393
8c1413f5
AO
1394 * manual/pipe.texi: Document MTASC-safety properties.
1395
03483ada
AO
1396 * manual/pattern.texi: Document MTASC-safety properties.
1397
29e7e2df
AO
1398 * manual/message.texi: Document MTASC-safety properties.
1399
9f529d7c
AO
1400 [BZ #12751]
1401 * manual/memory.texi: Document MTASC-safety properties.
1402
27aaa791
AO
1403 * manual/math.texi: Document MTASC-safety properties.
1404
f2d58726
AO
1405 * manual/locale.texi: Document MTASC-safety properties.
1406
2cc3615c
AO
1407 * manual/llio.texi: Document MTASC-safety properties.
1408
d9f0ec97
AO
1409 * manual/libdl.texi: New.
1410
e7c4409a
AO
1411 * manual/lang.texi: Document MTASC-safety properties.
1412
27bdc63c
AO
1413 * manual/job.texi: Document MTASC-safety properties.
1414
a7b90ea9
AO
1415 * manual/getopt.texi: Document MTASC-safety properties.
1416
c49130e3
AO
1417 * manual/ctype.texi: Document MTASC-safety properties.
1418
0d23a5c1
MR
14192014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1420
1421 [BZ #16046]
1422 * csu/libc-tls.c (static_map): Remove variable.
1423 (__libc_setup_tls): Use main executable's link map for TLS data.
1424 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1425 casing for LM_ID_BASE and GL(dl_nns).
1426 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1427 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1428 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1429 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1430 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1431 member.
1432 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1433 l_phnum members.
1434
0037bb60
AO
14352014-01-30 Alexandre Oliva <aoliva@redhat.com>
1436
1437 * manual/debug.texi: Document MTASC-safety properties.
1438
409e00bd
L
14392014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1440
1441 [BZ #16510]
1442 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1443 of __x86_64__ when disabling x87 inline functions.
1444
86e60666
AO
14452014-01-29 Alexandre Oliva <aoliva@redhat.com>
1446
1447 * manual/charset.texi: Document MTASC-safety properties.
1448
76167637
AO
1449 * manual/crypt.texi: Document MTASC-safety properties.
1450
e567f2a0
AO
1451 * manual/conf.texi: Document MTASC-safety properties.
1452
b719dafd
AO
1453 * manual/arith.texi: Document MTASC-safety properties.
1454
4a16c662
AO
1455 * manual/argp.texi: Document MTASC-safety properties.
1456
0a57b83e
AO
1457 * manual/macros.texi: Introduce macros to document multi
1458 thread, asynchronous signal and asynchronous cancellation
1459 safety properties.
1460 * manual/intro.texi: Introduce the properties themselves.
1461
feab2397
KK
14622014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1463
1464 * sysdeps/sh/sh4/Makefile: New file.
1465
1c0d11bc
AS
14662014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1467
1468 * math/gen-libm-test.pl ($srcdir): New variable.
1469 ($auto_input): Use it.
1470
af37a8a3
SP
14712014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1472
d7b00f98
SP
1473 [BZ #16506]
1474 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1475 access beyond array bounds when parsing netgroups file.
1476
af37a8a3
SP
1477 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1478 the old buffer before realloc.
1479
0c00f062
AM
14802014-01-27 Allan McRae <allan@archlinux.org>
1481
1482 * po/fr.po: Update French translation from translation project.
1483
7d69a1b0
KK
14842014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1485
1486 * sysdeps/sh/libm-test-ulps: Regenerate.
1487
6e697ff7
DM
14882014-01-24 David S. Miller <davem@davemloft.net>
1489
1490 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1491
9cadb35c
KK
14922014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1493
1494 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1495 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1496
5d41dadf
SP
14972013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1498
1499 [BZ #16474]
1500 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1501 string pointers after reallocation.
1502
0bad441c
KK
15032014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1504
1505 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1506 __SH4A__ instead of __SH_FPU_ANY__.
1507
7007c661
KK
15082014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1509
1510 * sysdeps/sh/fpu_control.h: New file.
1511 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1512 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1513 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1514 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1515 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1516 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1517 * sysdeps/sh/sys/ucontext.h: Remove.
1518 * sysdeps/sh/sys: Remove directory.
1519
0f0c35e4
AK
15202014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1521
1522 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1523 s390/sys/ucontext.h.
1524 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1525 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1526
4959e284
L
15272014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1528
1529 [BZ #15605]
1530 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1531
d98720e0
AZ
15322014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1533
1534 [BZ#16431]
1535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1536 Adjust the vDSO correctly for internal calls.
1537 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1538
91cbd0bc
AM
15392014-01-20 Allan McRae <allan@archlinux.org>
1540
1541 * po/ca.po: Update Catalan translation from translation project.
1542
7a02cfad
MF
15432014-01-16 Mike Frysinger <vapier@gentoo.org>
1544
1545 * sysdeps/s390/sotruss-lib.c: New file.
1546
736c304a
AZ
15472014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548
1549 [BZ#16430]
6e077ee5 1550 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1551 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1552 local calls issues by not having a PLT stub required for IFUNC calls.
1553 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1554
94d0cea0
JM
15552014-01-16 Joseph Myers <joseph@codesourcery.com>
1556
1557 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1558 * math/test-fpucw-static.c: Likewise.
1559
980cb518
SP
15602013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1561
1562 [BZ #16453]
1563 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1564
2393fc01
AZ
15652014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
1567 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1568 implementation for powerpc.
1569
d359bcc2
OB
15702014-01-15 Ondřej Bílka <neleai@seznam.cz>
1571
1572 [BZ #14782]
1573 * sysdeps/posix/system.c (__libc_system): Do not enable
1574 asynchronous cancellation.
1575
7beb48cb
AK
15762014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1577
1578 [BZ #16427]
1579 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1580 handling only for numbers special also in the IEEE case.
1581
c20d5bf5
AK
15822014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1583
1584 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1585
e83bd4ee
AM
15862014-01-11 Allan McRae <allan@archlinux.org>
1587
76d0ea69
AM
1588 * po/bg.po: Update Bulgarian translation from translation project.
1589
e83bd4ee
AM
1590 * po/de.po: Update German translation from translation project.
1591
bc2ba20a
RM
15922014-01-10 Roland McGrath <roland@hack.frob.com>
1593
1594 * sysdeps/generic/gcc-compat.h: New file.
1595
649ecea2
SP
15962014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1597
1598 * benchtests/asin-inputs: Correct slow inputs.
1599 * benchtests/acos-inputs: Likewise.
1600
1b19c006
AM
16012014-01-10 Allan McRae <allan@archlinux.org>
1602
a46dab08
AM
1603 * po:sv.po: Update Swedish translation from translation project.
1604
421df74a
AM
1605 * po/vi.po: Update Vietnamese translation from translation project.
1606
d61c51a7
AM
1607 * po/eo.po: Update Esperanto translation from translation project.
1608
0339a319
AM
1609 * po/cs.po: Update Czech translation from translation project.
1610
94ad3e99
AM
1611 * po/nl.po: Update Dutch translation from translation project.
1612
e349ca71
AM
1613 * po/pl.po: Update Polish translation from translation project.
1614
ddf930c1
AM
1615 * po/ru.po: Update Russian translation from translation project.
1616
1b19c006
AM
1617 * po/uk.po: Update Ukrainian translation from translation project.
1618
9f236c49
BM
16192014-01-08 Brooks Moses <bmoses@google.com>
1620
1621 * elf/dl-load.c: Fix comment typo.
1622
cd6701cf
CD
16232014-01-08 Carlos O'Donell <carlos@redhat.com>
1624
1625 * po/header.pot: Rename to...
1626 * po/pot.header: ... this.
1627 * po/Makefile: Use pot.header.
1628
66671c84
YK
16292014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1630 Maxim Kuvyrkov <maxim@kugelworks.com>
1631
1632 [BZ #16394]
cd6701cf
CD
1633 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1634 SRC and DEST against LEN.
66671c84 1635
38f34581
AZ
16362014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1637
1638 [BZ #16414]
1639 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1640 implementation.
1641 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1642
16432014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1644
1645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1646
4c327f2a
JM
16472014-01-08 Joseph Myers <joseph@codesourcery.com>
1648
1649 [BZ #16408]
1650 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1651 for large positive arguments.
1652
b821f414
JM
16532014-01-07 Joseph Myers <joseph@codesourcery.com>
1654
1f0f2067
JM
1655 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1656
a5a326f6
JM
1657 * math/auto-libm-test-in: Mark various tests with
1658 xfail-rounding:ldbl-128ibm.
1659 * math/auto-libm-test-out: Regenerated.
1660
b821f414
JM
1661 [BZ #16407]
1662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1663 Increase overflow threshold.
1664
94c8a4bc
OB
16652014-01-07 Ondřej Bílka <neleai@seznam.cz>
1666
1667 [BZ #14286]
1668 * stdio-common/vfprintf.c: Check for integer overflow.
1669
87ded0c3
AK
16702014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1671
1672 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1673 the first argument and return value of __tls_get_addr_internal.
1674
c5eebdd0
AK
16752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1676
1677 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1678 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1679
05d138ef
AK
16802014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1681
1682 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1683 * sysdeps/s390/rtld-global-offsets.sym: New file.
1684 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1685 GLIBC_2.19 symbol.
1686 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1687 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1688 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1689 ... this.
1690 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1691 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1692 ... this.
1693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1694 Regenerate.
1695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1696 Regenerate.
1697 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1698 halfs of GPRs for high_gprs contexts.
1699 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1700 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1701 field.
1702 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1703 uc_flags field.
1704 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1705 64 bit versions:
1706 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1707 for high GPRs (uc_high_gprs) and for future extensions
1708 (__reserved).
1709 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1710 for future extensions (__reserved).
1711 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1712 64 bit versions:
1713 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1714 SC_HIGHGPRS offset definition.
1715 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1716 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1717
93a45ff1
AK
17182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1719
1720 * Versions.def: Add GLIBC_2.19 for libpthread.
1721 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1722 siglongjmp for libpthread with GLIBC_2.19 symver.
1723 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1724 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1725 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1726 * sysdeps/s390/__longjmp.c: New file.
1727 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1728 * sysdeps/s390/longjmp.c: New file.
1729 * sysdeps/s390/setjmp.S: New file.
1730 * sysdeps/s390/sigjmp.S: New file.
1731 * sysdeps/s390/v1-longjmp.c: New file.
1732 * sysdeps/s390/v1-setjmp.h: New file.
1733 * sysdeps/s390/v1-sigjmp.c: New file.
1734 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1735 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1736 GLIBC_2.19 version.
1737 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1738 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1739 versioned symbols for ____longjmp_chk.
1740 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1741 Likewise.
1742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1743 Regenerate.
1744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1745 Regenerate.
1746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1747 Regenerate.
1748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1749 Regenerate.
1750 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1751 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1752 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1753 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1754 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1755 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1756 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1757 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1758 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1759 * sysdeps/s390/rtld-__longjmp.c: New file.
1760 * sysdeps/s390/rtld-setjmp.S: New file.
1761
eb3fc44b
JM
17622014-01-06 Joseph Myers <joseph@codesourcery.com>
1763
1764 [BZ #16400]
1765 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1766 Return -__logl (x) for small positive arguments without evaluating
1767 a polynomial.
1768
9341dde4
MF
17692014-01-06 Mike Frysinger <vapier@gentoo.org>
1770
1771 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1772 Rename to ...
1773 (__ptrace_peeksiginfo_args): ... this.
1774 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1776 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1777
4cff0293
AM
17782014-01-06 Allan McRae <allan@archlinux.org>
1779
1780 * inet/netinet/in.h: Fix typo in comment.
1781
75595dcf
AJ
17822014-01-05 Andreas Jaeger <aj@suse.de>
1783
1784 * sysdeps/i386/fpu/libm-test-ulps: Update.
1785
79c1e109
AM
17862014-01-05 Allan McRae <allan@archlinux.org>
1787
dd804818
AM
1788 * po/libc.pot: Regenerated.
1789
79c1e109
AM
1790 * malloc/memusagestat.c: Fix gettext call formatting.
1791
0c813d1f
SK
17922014-01-04 Sami Kerola <kerolasa@iki.fi>
1793
1794 * nscd/nscd.c: Improve usage() output.
1795
20f4a8d9
MF
17962014-01-04 Mike Frysinger <vapier@gentoo.org>
1797
1798 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1799 * sysdeps/unix/sysv/linux/configure: Regenerated.
1800 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1801 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1802
22562bb2
JM
18032014-01-03 Joseph Myers <joseph@codesourcery.com>
1804
1805 [BZ #16390]
1806 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1807 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1808
d7ad2d9b
AZ
18092014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1810
1811 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1812 extra tokens at end of #undef directive.
1813 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1814 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1815 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1816
7dd009d8
JM
18172014-01-03 Joseph Myers <joseph@codesourcery.com>
1818
24db925a
JM
1819 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1820
7dd009d8
JM
1821 * math/auto-libm-test-in: Mark various tests with
1822 xfail-rounding:ldbl-128ibm.
1823 * math/auto-libm-test-out: Regenerated.
1824
396e3ecf
JM
18252014-01-02 Joseph Myers <joseph@codesourcery.com>
1826
819e5d50
JM
1827 [BZ #16386]
1828 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1829 numbers with subnormal high part when calculating exponent.
1830
90b6a1e5
JM
1831 [BZ #16385]
1832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1833 fabs.
1834
396e3ecf
JM
1835 [BZ #16384]
1836 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1837 M_LN2l.
1838 (__ieee754_acoshl): Use __log1pl not __log1p.
1839
6c8dbf00
OB
18402013-01-02 Ondřej Bílka <neleai@seznam.cz>
1841
1842 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1843 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1844 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1845 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1846 Convert to GNU style.
1847 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1848 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1849 memalign_check, __malloc_set_state): Likewise.
1850 * malloc/mallocbug.c (main): Likewise.
1851 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1852 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1853 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1854 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1855 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1856 * malloc/malloc.h: Likewise.
1857 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1858 memalignhook, reallochook, mabort): Likewise.
1859 * malloc/mcheck.h: Likewise.
1860 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1861 mmap64, mremap, munmap, dest): Likewise.
1862 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1863 * malloc/morecore.c (__default_morecore): Likewise.
1864 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1865 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1866 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1867 print_and_abort): Likewise.
1868 * malloc/obstack.h: Likewise.
1869 * malloc/set-freeres.c (__libc_freeres): Likewise.
1870 * malloc/tst-mallocstate.c (main): Likewise.
1871 * malloc/tst-mtrace.c (main): Likewise.
1872 * malloc/tst-realloc.c (do_test): Likewise.
1873
d4124212
SP
18742013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1875
9a3c6a6f
SP
1876 [BZ #16366]
1877 * nscd/netgroupcache.c (do_notfound): New function.
1878 (addgetnetgrentX): Use it.
1879
d4124212
SP
1880 [BZ # 16365]
1881 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1882 NSS_STATUS_NOTFOUND.
1883
97b9a009
JM
18842014-01-01 Joseph Myers <joseph@codesourcery.com>
1885
1886 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1888
d4697bc9
AM
18892014-01-01 Allan McRae <allan@archlinux.org>
1890
ddb3687f
AM
1891 * scripts/update-copyrights: Update configure input file suffix.
1892
88726d48
AM
1893 * NEWS: Update copyright year.
1894 * catgets/gencat.c: Likewise.
1895 * csu/version.c: Likewise.
1896 * debug/catchsegv.sh: Likewise.
1897 * debug/pcprofiledump.c: Likewise.
1898 * debug/xtrace.sh: Likewise.
1899 * elf/ldconfig.c: Likewise.
1900 * elf/ldd.bash.in: Likewise.
1901 * elf/pldd.c: Likewise.
1902 * elf/sotruss.ksh: Likewise.
1903 * elf/sprof.c: Likewise.
1904 * iconv/iconv_prog.c: Likewise.
1905 * iconv/iconvconfig.c: Likewise.
1906 * locale/programs/locale.c: Likewise.
1907 * locale/programs/localedef.c: Likewise.
1908 * login/programs/pt_chown.c: Likewise.
1909 * malloc/memusage.sh: Likewise.
1910 * malloc/memusagestat.c: Likewise.
1911 * malloc/mtrace.pl: Likewise.
1912 * manual/libc.texinfo: Likewise.
1913 * nscd/nscd.c: Likewise.
1914 * nss/getent.c: Likewise.
1915 * nss/makedb.c: Likewise.
1916 * posix/getconf.c: Likewise.
1917 * scripts/test-installation.pl: Likewise.
1918
d4697bc9
AM
1919 * All files with FSF copyright notices: Update copyright dates
1920 using scripts/update-copyrights.
1921 * intl/plural.c: Regenerated.
1922 * locale/programs/charmap-kw.h: Likewise.
1923 * locale/programs/locfile-kw.h: Likewise.
1924
c8590f9d
MF
19252013-12-31 Mike Frysinger <vapier@gentoo.org>
1926
1927 * sysdeps/unix/sysv/linux/configure: Regenerated.
1928 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1929 the linux/fanotify.h header.
1930 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1931 HAVE_LINUX_FANOTIFY_H is defined.
1932
b19221b9
SP
19332013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1934
dd1d85e5
SP
1935 * benchtests/cos-inputs: New inputs.
1936 * benchtests/sin-inputs: Likewise.
1937
1acbb90f
SP
1938 * benchtests/atan-inputs: New inputs. Fix name of multiple
1939 precision fallback inputs.
1940
4c012ed3
SP
1941 * benchtests/atanh-inputs: New inputs.
1942 * benchtests/tanh-inputs: Likewise.
1943
eff98324
SP
1944 * benchtests/acosh-inputs: New inputs.
1945 * benchtests/asinh-inputs: Likewise.
1946
ce641152
SP
1947 * benchtests/cosh-inputs: New inputs.
1948 * benchtests/sinh-inputs: Likewise.
1949
b19221b9
SP
1950 * benchtests/acos-inputs: Add more inputs.
1951 * benchtests/asin-inputs: Likewise.
1952
030a4976 19532013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 1954
030a4976 1955 [BZ #16375]
9dcc8f11
VS
1956 * manual/arith.texi: Fix spelling.
1957 * manual/charset.texi: Likewise.
1958 * manual/errno.texi: Likewise.
1959 * manual/filesys.texi: Likewise.
1960 * manual/lang.texi: Likewise.
1961 * manual/llio.texi: Likewise.
1962 * manual/locale.texi: Likewise.
1963 * manual/message.texi: Likewise.
1964 * manual/resource.texi: Likewise.
1965 * manual/search.texi: Likewise.
1966 * manual/setjmp.texi: Likewise.
1967 * manual/stdio.texi: Likewise.
1968 * manual/string.texi: Likewise.
1969 * manual/sysinfo.texi: Likewise.
1970 * manual/time.texi: Likewise.
1971
11520a57
CD
19722013-12-27 Carlos O'Donell <carlos@redhat.com>
1973
1974 * po/sl.po: New file.
1975
471103ae
MF
19762013-12-27 Mike Frysinger <vapier@gentoo.org>
1977
1978 * .gitignore: Add core/.gdbinit/.gdb_history.
1979
6c9642ed
AM
19802013-12-27 Allan McRae <allan@archlinux.org>
1981
1982 [BZ #16369]
1983 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1984 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1985
3f637079
BM
19862013-12-24 Brooks Moses <bmoses@google.com>
1987
1988 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1989 all compilers that claim C++98 compliance, not just GCC.
1990 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1991 Likewise.
1992
abc26e99
MK
19932013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1994
1995 * NEWS: Restore accidentally deleted bug-fix entries.
1996
362b47fe
MK
19972013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1998 Ondřej Bílka <neleai@seznam.cz>
1999
2000 [BZ #15073]
2001 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2002 have_lock.
362b47fe 2003
b9bcbbcb
OB
20042013-12-23 Ondřej Bílka <neleai@seznam.cz>
2005
2006 [BZ #12986]
2007 * manual/stdio.texi (String Input Conversions): Clarify that character
2008 classes are not supported.
2009
fb55fcd2
AZ
20102013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2011
2012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2013
ef7344f0
JM
20142013-12-22 Joseph Myers <joseph@codesourcery.com>
2015
4f40e4b3
JM
2016 [BZ #16337]
2017 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2018 Calculate results for small negative arguments directly rather
2019 than using reflection formula with special underflow handling.
2020
ef7344f0
JM
2021 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2022 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2023 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2024 (fchflags): Likewise.
2025 (revoke): Likewise.
2026 (setlogin): Likewise.
2027 (sigaltstack): Likewise.
2028 (wait4): Likewise.
2029 (sigblock): Remove.
2030 (sigsetmask): Likewise.
2031 (wait3): Likewise.
2032 (waitpid): Likewise.
2033 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2034 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2035 file.
2036 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2037 * sysdeps/unix/bsd/Makefile: ... here.
2038 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2039 * sysdeps/unix/bsd/Versions: ... here.
2040 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2041 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2042 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2043 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2044 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2045 * sysdeps/unix/bsd/sigblock.c: ... here.
2046 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2047 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2048 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2049 * sysdeps/unix/bsd/sigvec.c: ... here.
2050 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2051 * sysdeps/unix/bsd/tcdrain.c: ... here.
2052 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2053 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2054 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2055 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2056 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2057 * sysdeps/unix/bsd/wait.c: ... here.
2058 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2059 * sysdeps/unix/bsd/wait3.c: ... here.
2060 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2061 * sysdeps/unix/bsd/waitpid.c: ... here.
2062
5b0626b9
JM
20632013-12-21 Joseph Myers <joseph@codesourcery.com>
2064
2065 [BZ #16356]
2066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2067 round-to-nearest for [!USE_AS_EXPM1L].
2068 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2069 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2070 more tests of exp and exp10. Expect some exp10 tests to miss
2071 exceptions or fail in directed rounding modes.
2072 * math/auto-libm-test-out: Regenerated.
2073 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2074 (exp10_test_tonearest): New function.
2075 (exp10_towardzero_test_data): New array.
2076 (exp10_test_towardzero): New function.
2077 (exp10_downward_test_data): New array.
2078 (exp10_test_downward): New function.
2079 (exp10_upward_test_data): New array.
2080 (exp10_test_upward): New function.
2081 (main): Call the new functions.
2082 * sysdeps/i386/fpu/libm-test-ulps: Update.
2083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2084
7fda5682
JM
20852013-12-20 Joseph Myers <joseph@codesourcery.com>
2086
31e3a405
JM
2087 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2088 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2089 * math/auto-libm-test-out: Regenerated.
2090 * math/libm-test.inc (acosh_test_data): Add more tests.
2091 (atanh_test_data): Likewise.
2092 (ceil_test_data): Likewise.
2093 (copysign_test_data): Likewise.
2094 * sysdeps/i386/fpu/libm-test-ulps: Update.
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2096
85bff96a
JM
2097 * timezone/checktab.awk: Update from tzcode 2013i.
2098 * timezone/private.h: Likewise.
2099 * timezone/scheck.c: Likewise.
2100 * timezone/tzfile.h: Likewise.
2101 * timezone/tzselect.ksh: Likewise.
2102 * timezone/zdump.c: Likewise.
2103 * timezone/zic.c: Likewise.
2104
b7867a3b
JM
2105 * math/auto-libm-test-in: Add tests of cpow.
2106 * math/auto-libm-test-out: Regenerated.
2107 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2108 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2109 mpc_cc_c.
2110 (func_calc_desc): Add mpc_cc_c union field.
2111 (test_functions): Add cpow.
2112 (special_fill_2pi): New function.
2113 (special_real_inputs): Add 2pi.
2114 (calc_generic_results): Handle mpc_cc_c.
2115 * sysdeps/i386/fpu/libm-test-ulps: Update.
2116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2117
7fda5682
JM
2118 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2119 csqrt, ctan and ctanh.
2120 * math/auto-libm-test-out: Regenerated.
2121 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2122 (TEST_COND_x86): Likewise.
2123 (ccos_test_data): Use AUTO_TESTS_c_c.
2124 (ccosh_test_data): Likewise.
2125 (cexp_test_data): Likewise.
2126 (clog_test_data): Likewise.
2127 (csqrt_test_data): Likewise.
2128 (ctan_test_data): Likewise.
2129 (ctan_tonearest_test_data): Likewise.
2130 (ctan_towardzero_test_data): Likewise.
2131 (ctan_downward_test_data): Likewise.
2132 (ctan_upward_test_data): Likewise.
2133 (ctanh_test_data): Likewise.
2134 (ctanh_tonearest_test_data): Likewise.
2135 (ctanh_towardzero_test_data): Likewise.
2136 (ctanh_downward_test_data): Likewise.
2137 (ctanh_upward_test_data): Likewise.
2138 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2139 mpc_c_c.
2140 (func_calc_desc): Add mpc_c_c union field.
2141 (FUNC_mpc_c_c): New macro.
2142 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2143 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2144 ctanh.
2145 (special_fill_min_subnorm_p120): New function.
2146 (special_real_inputs): Add min_subnorm_p120.
2147 (calc_generic_results): Handle mpc_c_c.
2148 * sysdeps/i386/fpu/libm-test-ulps: Update.
2149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2150
5ff8d60e
SP
21512013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2152
392dd2de
SP
2153 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2154 do_sin_slow): New functions.
2155 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2156 cslow2, csloww1, csloww2): Use the new functions.
2157
84ba214c
SP
2158 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2159 Use M to change sign of result instead of X. Assume X is
2160 positive.
2161 (csloww1): Likewise.
2162 (__sin): Adjust.
2163 (__cos): Adjust.
2164
975195e4
SP
2165 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2166 arguments A and DA.
2167 (__sin): Adjust.
2168 (__cos): Likewise.
2169
5ff8d60e
SP
2170 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2171 (__cos): Likewise.
2172 (sloww1): Don't adjust sign of DX.
2173 (csloww1): Likewise.
2174 (sloww2): Use X directly and don't adjust sign of DX.
2175 (csloww2): Likewise.
2176
eb983568
JM
21772013-12-19 Joseph Myers <joseph@codesourcery.com>
2178
64a17f1a
JM
2179 * math/auto-libm-test-in: Add tests of cabs and carg.
2180 * math/auto-libm-test-out: Regenerated.
2181 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2182 (carg_test_data): Likewise.
2183 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2184 mpc_c_f.
2185 (func_calc_desc): Add mpc_c_f union field.
2186 (test_functions): Add cabs and carg.
2187 (calc_generic_results): Handle mpc_c_f.
2188
eb983568
JM
2189 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2190 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2191 as a macro and a compat symbol.
2192 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2193 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2194 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2195 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2196 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2197 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2198 not use .hidden.
2199 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2200 Likewise.
2201 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2202 Likewise.
2203 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2204 Likewise.
2205 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2206 Likewise.
2207 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2208 Likewise.
2209 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2210 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2211 from GLIBC_2.3.2.
2212
6eeb678a
AZ
22132013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2214
2215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2216
6f6fc482
JM
22172013-12-19 Joseph Myers <joseph@codesourcery.com>
2218
21fea2e2
JM
2219 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2220 trailing whitespace removed.
2221 * scripts/config.guess: Update to version 2013-11-29.
2222 * scripts/config.sub: Update to version 2013-10-01.
2223
6f6fc482
JM
2224 * math/auto-libm-test-in: Add tests of sincos.
2225 * math/auto-libm-test-out: Regenerated.
2226 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2227 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2228 mpfr_f_11.
2229 (func_calc_desc): Add mpfr_f_11 union field.
2230 (test_functions): Add sincos.
2231 (calc_generic_results): Handle mpfr_f_11.
2232 * sysdeps/i386/fpu/libm-test-ulps: Update.
2233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2234
83f5c32d
AS
22352013-12-19 Andreas Schwab <schwab@suse.de>
2236
2237 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2238 CALL_MCOUNT.
2239 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2240 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2241 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2242
c688b419
JM
22432013-12-19 Joseph Myers <joseph@codesourcery.com>
2244
335ee092
JM
2245 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2246 * sysdeps/i386/fpu/libm-test-ulps: Update.
2247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2248
f88acd39
JM
2249 [BZ #16293]
2250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2251 round-to-nearest mode when using frndint.
2252 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2253 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2254 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2255 Likewise.
2256 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2257 sinh test to fail.
2258 * math/auto-libm-test-out: Regenerated.
2259 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2260 (TEST_COND_x86): Likewise.
2261 (expm1_tonearest_test_data): New array.
2262 (expm1_test_tonearest): New function.
2263 (expm1_towardzero_test_data): New array.
2264 (expm1_test_towardzero): New function.
2265 (expm1_downward_test_data): New array.
2266 (expm1_test_downward): New function.
2267 (expm1_upward_test_data): New array.
2268 (expm1_test_upward): New function.
2269 (main): Run the new test functions.
2270 * sysdeps/i386/fpu/libm-test-ulps: Update.
2271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2272
c688b419
JM
2273 * include/features.h: Update comment documenting feature test
2274 macros. Mention _DEFAULT_SOURCE in comment.
2275 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2276 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2277 _BSD_SOURCE and _SVID_SOURCE.
2278 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2279 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2280 !_SVID_SOURCE]: Likewise.
2281 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2282 (__USE_POSIX_IMPLICITLY): Define.
2283 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2284 (_POSIX_SOURCE): Undefine and redefine.
2285 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2286 (_POSIX_C_SOURCE): Likewise.
2287 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2288 (Feature Test Macros): Update documentation of default features.
2289
9f6e964c
RS
22902013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2291
2292 * benchtests/Makefile: Add bench-strtok.
2293 * benchtests/bench-strtok.c: New file: strtok benchtest.
2294
ee0a148a
AM
22952013-12-19 Allan McRae <allan@archlinux.org>
2296
2297 * manual/install.texi: Suppress menu for plain text output.
2298 * INSTALL: Regenerated.
2299
b9ab448f
BM
23002013-12-18 Brooks Moses <bmoses@google.com>
2301
2302 [BZ #15846]
2303 * misc/getauxval.c: Include errno.h.
2304 (__getauxval): Set errno to ENOENT if the requested type is not
2305 found.
2306 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2307 don't declare with __attribute_const__.
2308 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2309 * manual/startup.texi: Document that getauxval sets errno.
2310
23776487
JM
23112013-12-18 Joseph Myers <joseph@codesourcery.com>
2312
f889953b
JM
2313 * math/auto-libm-test-in: Add tests of jn and yn.
2314 * math/auto-libm-test-out: Regenerated.
2315 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2316 (yn_test_data): Likewise.
2317 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2318 mpfr_if_f.
2319 (func_calc_desc): Add mpfr_if_f union field.
2320 (FUNC_mpfr_if_f): New macro.
2321 (test_functions): Add jn and yn.
2322 (calc_generic_results): Assert type of second input for
2323 mpfr_ff_f. Handle mpfr_if_f.
2324 (output_for_one_input_case): Disable all checking for arguments
2325 fitting floating-point types in case of an integer argument.
2326 * sysdeps/i386/fpu/libm-test-ulps: Update.
2327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2328
23776487
JM
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2330 Don't expect fegetround reference in libm.so.
2331
cb756c6d
MS
23322013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2333
2334 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2335 $(config-cflags-nofma).
2336
2dec468f
JM
23372013-12-18 Joseph Myers <joseph@codesourcery.com>
2338
5953eb3a
JM
2339 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2340 * math/auto-libm-test-out: Regenerated.
2341
2dec468f
JM
2342 [BZ #16338]
2343 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2344 to determine exponent and adjust argument to have exponent of -1.
2345 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2346 log2.
2347 * math/auto-libm-test-out: Regenerated.
2348 * sysdeps/i386/fpu/libm-test-ulps: Update.
2349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2350
4d84e6ad
OB
23512013-12-18 Ondřej Bílka <neleai@seznam.cz>
2352
2353 * manual/probes.texi: Remove cases when per-thread arenas are
2354 disabled.
2355
1818483b
AS
23562013-12-18 Andreas Schwab <schwab@suse.de>
2357
2358 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2359 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2360 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2361 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2362 * sysdeps/i386/i686/multiarch/Makefile: Update.
2363 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2364
25de95bf
JM
23652013-12-17 Joseph Myers <joseph@codesourcery.com>
2366
2367 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2368 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2369
674762d9
PE
23702013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2371
ed27ed83 2372 [BZ #15968]
0748546f
PE
2373 Support TZ transition times < 00:00:00.
2374 This is needed for version-3 tz-format files; it supports time
2375 stamps past 2037 for America/Godthab (the only entry in the tz
2376 database for which this change is relevant).
2377 * manual/time.texi (TZ Variable): Document transition times
2378 from -167:59:59 through -00:00:01.
2379 * time/tzset.c (tz_rule): Time of day is now signed.
2380 (__tzset_parse_tz): Parse negative time of day.
2381
4480e934
PE
2382 Document TZ transition times >= 25:00:00.
2383 * manual/time.texi (TZ Variable): Document transition times from
2384 25:00:00 through 167:59:59. These are already supported, and this
2385 support will help with version-3 tz-format files.
2386
69947401
PE
2387 * manual/time.texi (TZ Variable): Modernize North America example
2388 to reflect current (i.e., 2007-and-later) daylight saving rules.
2389
674762d9
PE
2390 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2391
7011c262
JM
23922013-12-17 Joseph Myers <joseph@codesourcery.com>
2393
2fc6557e
JM
2394 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2395 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2396 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2398 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2399 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2400 * sysdeps/unix/bsd/clock.c: Likewise.
2401 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2402 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2403 * sysdeps/unix/bsd/init-posix.c: Likewise.
2404 * sysdeps/unix/bsd/poll.c: Likewise.
2405 * sysdeps/unix/bsd/ptsname.c: Likewise.
2406 * sysdeps/unix/bsd/seekdir.c: Likewise.
2407 * sysdeps/unix/bsd/setegid.c: Likewise.
2408 * sysdeps/unix/bsd/seteuid.c: Likewise.
2409 * sysdeps/unix/bsd/setgid.c: Likewise.
2410 * sysdeps/unix/bsd/setrgid.c: Likewise.
2411 * sysdeps/unix/bsd/setruid.c: Likewise.
2412 * sysdeps/unix/bsd/setsid.c: Likewise.
2413 * sysdeps/unix/bsd/setuid.c: Likewise.
2414 * sysdeps/unix/bsd/sigaction.c: Likewise.
2415 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2416 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2417 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2418 * sysdeps/unix/bsd/telldir.c: Likewise.
2419 * sysdeps/unix/bsd/times.c: Likewise.
2420 * sysdeps/unix/bsd/usleep.c: Likewise.
2421
029c7b25
JM
2422 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2423 ($(objpfx)libbsd-compat.a): Remove rule.
2424
7011c262
JM
2425 * include/features.h (__FAVOR_BSD): Do not define.
2426 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2427 features conflicting with POSIX.
2428 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2429 (_BSD_SOURCE): Remove description of not being a subset of other
2430 feature test macros.
2431 * manual/job.texi (getpgrp): Do not document BSD version.
2432 (getpgid): Do not document by reference to BSD getpgrp.
2433 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2434 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2435 * signal/signal.h [__FAVOR_BSD]: Likewise.
2436 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2437 instead of making contents conditional on [__FAVOR_BSD].
2438 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2439
affb6f78
AZ
24402013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2441
2442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2443
c88769dd
JM
24442013-12-17 Joseph Myers <joseph@codesourcery.com>
2445
6432a540
JM
2446 [BZ #16314]
2447 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2448 values below 2**-450, not 2**-500.
2449 * math/auto-libm-test-in: Don't allow spurious underflow from
2450 hypot.
2451 * math/auto-libm-test-out: Regenerated.
2452
c88769dd
JM
2453 [BZ #16316]
2454 [BZ #16330]
2455 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2456 values of ha and hb and sort them after adjusting subnormal
2457 arguments.
2458 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2459 Likewise.
2460 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2461 values of ea and eb and sort them after adjusting subnormal
2462 arguments.
2463 * math/auto-libm-test-in: Do not expect some hypot tests of
2464 subnormals to fail. Add more hypot tests.
2465 * math/auto-libm-test-out: Regenerated.
2466
29618f6b
KK
24672013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2468
2469 [BZ #13304]
2470 * sysdeps/sh/s_fma.c: New file.
2471 * sysdeps/sh/s_fmaf.c: New file.
2472 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2473 version.
2474 * sysdeps/sh/Implies: Add sh/soft-fp.
2475
eacfdfbf
RM
24762013-12-16 Roland McGrath <roland@hack.frob.com>
2477
2478 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2479 level of indirection to members `objname', `errstring', `malloced'.
2480 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2481 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2482 it as the __longjmp argument (just pass 1 instead).
2483 (_dl_catch_error): Initialize C with argument pointers and address of
2484 volatile local ERRCODE rather than copying values out of C at return.
2485
ff362e5b
JM
24862013-12-16 Joseph Myers <joseph@codesourcery.com>
2487
2488 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2489 * math/auto-libm-test-out: Regenerated.
2490 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2491 (hypot_test_data): Likewise.
2492 (pow_test_data): Likewise.
2493 (pow_tonearest_test_data): Likewise.
2494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2495 mpfr_ff_f.
2496 (func_calc_desc): Add mpfr_ff_f union field.
2497 (FUNC_mpfr_ff_f): New macro.
2498 (test_functions): Add atan2, hypot and pow.
2499 (special_fill_min): New function.
2500 (special_fill_minus_min): Likewise.
2501 (special_fill_min_subnorm): Likewise.
2502 (special_fill_minus_min_subnorm): Likewise.
2503 (special_real_inputs): Add min, -min, min_subnorm and
2504 -min_subnorm.
2505 (calc_generic_results): Handle mpfr_ff_f.
2506 * sysdeps/i386/fpu/libm-test-ulps: Update.
2507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2508
5764c27f
WN
25092013-12-16 Will Newton <will.newton@linaro.org>
2510
2511 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2512 (Aligned Memory Blocks): Add documentation for aligned_alloc
2513 and suggest it as an alternative to posix_memalign.
2514 (Hooks for Malloc): Document __memalign_hook is also called
2515 for aligned_alloc. (Summary of Malloc): Add summary for
2516 aligned alloc. Document __memalign_hook is also called
2517 for aligned_alloc.
2518
0a096e44
WN
25192013-12-16 Will Newton <will.newton@linaro.org>
2520
2521 * manual/memory.texi (Malloc Examples): Clarify default
2522 alignment documentation. Suggest posix_memalign rather
2523 than memalign or valloc.
2524 (Aligned Memory Blocks): Remove suggestion to use memalign
2525 or valloc. Remove obsolete comment about BSD.
2526 Document memalign errno values and mark the function obsolete.
2527 Document posix_memalign returned error codes. Mark valloc
2528 as obsolete. (Hooks for Malloc): __memalign_hook is also
2529 called for posix_memalign and valloc.
2530 (Summary of Malloc): Add posix_memalign to function summary.
2531 __memalign_hook is also called for posix_memalign and valloc.
2532
8d561986
SP
25332013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2534
2535 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2536 TAYLOR_SIN.
2537 (__sin): Adjust.
2538 (__cos): Likewise.
2539 (sloww): Use mynumber union. Expand ternary operator into
2540 if-else statements.
2541 (cslow): use mynumber union.
2542
73616a74
AM
25432013-12-16 Allan McRae <allan@archlinux.org>
2544
9e8ac24b
AM
2545 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2546 * configure: Regenerated.
2547
6f8e37eb
AM
2548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2549
8894bad3
AM
2550 [BZ #14120]
2551 * configure.ac: Added --enable-maintainer-mode. Check for
2552 autoconf when enabled.
2553 * configure: Regenerated.
2554
73616a74
AM
2555 * nscd/nscd.service: New file.
2556 * nscd/nscd.tmpfiles: New file.
2557
584b18eb
OB
25582013-12-14 Ondřej Bílka <neleai@seznam.cz>
2559
2560 [BZ #12100]
2561 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2562 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2563 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2564 (strstr): Add __strstr_sse2_unaligned ifunc.
2565 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2566 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2567 (strcasestr): Remove __strcasestr_sse42 ifunc.
2568 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2571
8a5c7897
KK
25722013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2573
2574 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2575 * sysdeps/sh/bits/fenv.h: ... here.
2576 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2577
fd712ef3
AZ
25782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579
2580 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2581
42fcb46c
AZ
25822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2583
2584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2585 hypotf multiarch implementations.
2586 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2587 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2588 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2589 multiarch hypot for PPC64.
2590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2591 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2592 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2593 multiarch hypotf for PPC64.
2594
83efded4
AZ
25952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2598 modff multiarch implementations.
2599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2602 multiarch modf for PPC64.
2603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2606 multiarch modff for PPC64.
2607
43e246d2
AZ
26082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2609
2610 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2611 and logl multiarch implementations.
2612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2615 multiarch logb for PPC64.
2616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2619 multiarch logb for PPC64.
2620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2623 multiarch logb for PPC64.
2624
8fdad123
AZ
26252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626
2627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2628 isinff multiarch implementation.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2630 file.
2631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2633 multiarch isinf for PPC64.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2635 file.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2637 multiarch isinff for PPC64.
2638
1481d706
AZ
26392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2640
2641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2642 finitef multiarch implementation.
2643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2644 file.
2645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2647 multiarch finite for PPC64.
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2649 file.
2650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2651 multiarch finitef for PPC64.
2652
5ccd5fc8
AZ
26532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2654
2655 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2656 lrint multiarch implementation.
2657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2658 file.
2659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2661 multiarch llrint for PPC64.
2662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2663 multiarch lrint for PPC64.
2664
2568f3fa
AZ
26652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2666
2667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2668 copysignf multiarch implementation.
2669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2670 file.
2671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2672 file.
2673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2674 multiarch copysign for PPC64.
2675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2676 multiarch copysignf for PPC64.
2677
1cb341fd
AZ
26782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2679
2680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2681 multiarch implementation.
2682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2683 file.
2684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2685 file.
2686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2687 file.
2688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2689 file.
2690 multiarch llround for PPC64.
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2692 multiarch trunc for PPC64.
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2694 multiarch truncf for PPC64.
2695
59a3e194
AZ
26962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2697
2698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2699 multiarch implementation.
2700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2701 file.
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2703 file.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2705 file.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2707 file.
2708 multiarch llround for PPC64.
2709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2710 multiarch round for PPC64.
2711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2712 multiarch roundf for PPC64.
2713
357fd3b4
AZ
27142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2715
2716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2717 multiarch implementation.
2718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2719 file.
2720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2721 file.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2723 file.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2725 file.
2726 multiarch llround for PPC64.
2727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2728 multiarch floor for PPC64.
2729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2730 multiarch floorf for PPC64.
2731
96770f12
AZ
27322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2733
2734 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2735 multiarch implementation.
2736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2737 file.
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2739 file.
2740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2741 file.
2742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2743 file.
2744 multiarch llround for PPC64.
2745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2746 multiarch ceil for PPC64.
2747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2748 multiarch ceilf for PPC64.
2749
c3627f6e
AZ
27502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2751
2752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2753 multiarch implementation.
2754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2755 file.
2756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2757 file.
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2759 file.
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2761 multiarch llround for PPC64.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2763 multiarch lround for PPC64.
2764
b2284ad7
AZ
27652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2766
2767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2768 multiarch implementation.
2769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2772 file.
2773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2776 multiarch isnan for PPC64.
2777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2778 multiarch isnanf for PPC64.
2779
69bbc63d
AZ
27802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2781
2782 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2783 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2784 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2785 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2786 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2788
c24517c9
AZ
27892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2790
2791 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2792 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2795
a52374e8
AZ
27962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2797
2798 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2799 multiarch implementations.
2800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2801 (__libc_ifunc_impl_list): Likewise.
2802 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2803 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2804 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2805 multiarch stpcpy for PPC64.
2806
7f5ec113
AZ
28072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2808
2809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2810 multiarch implementations.
2811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2812 (__libc_ifunc_impl_list): Likewise.
2813 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2814 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2815 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2816 multiarch strcpy for PPC64.
2817
e28bcd42
AZ
28182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819
2820 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2821 redefine function name.
2822 (_wordcopy_fwd_dest_aligned): Likewise.
2823 (_wordcopy_bwd_aligned): Likewise.
2824 (_wordcopy_bwd_dest_aligned): Likewise.
2825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2826 multiarch implementations.
2827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2828 (__libc_ifunc_impl_list): Likewise.
2829 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2830 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2831 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2832 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2833 multiarch wcscpy for PPC64.
2834
92cacfce
AZ
28352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2836
2837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2838 multiarch implementations.
2839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2840 (__libc_ifunc_impl_list): Likewise.
2841 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2842 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2843 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2844 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2845 multiarch wcscpy for PPC64.
2846
7b714620
AZ
28472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2848
2849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2850 multiarch implementations.
2851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2852 (__libc_ifunc_impl_list): Likewise.
2853 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2854 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2855 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2856 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2857 multiarch wcsrchr for PPC64.
2858
16fd2ae3
AZ
28592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860
2861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2862 multiarch implementations.
2863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2864 (__libc_ifunc_impl_list): Likewise.
2865 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2866 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2867 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2868 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2869 multiarch wcschr for PPC64.
2870
9ee2969b
AZ
28712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2872
2873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2874 multiarch implementations.
2875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2876 (__libc_ifunc_impl_list): Likewise.
2877 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2878 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2879 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2880 multiarch strchrnul for PPC64.
2881
372dc060
AZ
28822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2883
2884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2885 implementations.
2886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2887 (__libc_ifunc_impl_list): Likewise.
2888 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2889 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2890 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2891 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2892 strchr for PPC64.
2893
24c2c3b9
AZ
28942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895
2896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2897 implementations.
2898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2899 (__libc_ifunc_impl_list): Likewise.
2900 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2901 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2902 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2903 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2904 strncmp for PPC64.
2905
1c92d9a0
AZ
29062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907
2908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2909 multiarch implementations.
2910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2911 (__libc_ifunc_impl_list): Likewise.
2912 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2913 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2914 strncasecmp for PPC64.
2915 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2916 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2917 multiarch strncasecmp_l for PPC64.
2918
17de3ee3
AZ
29192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2920
2921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2922 multiarch implementations.
2923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2924 (__libc_ifunc_impl_list): Likewise.
2925 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2926 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2927 multiarch strcasecmp for PPC64.
2928 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2929 file.
2930 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2931 multiarch strcasecmp_l for PPC64.
2932
62982bf9
AZ
29332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2934
2935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2936 implementations.
2937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2938 (__libc_ifunc_impl_list): Likewise.
2939 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2940 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2941 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2942 strnlen for PPC64.
2943
a65f4904
AZ
29442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2945
2946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2947 implementations.
2948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2949 (__libc_ifunc_impl_list): Likewise.
2950 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2951 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2952 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2953 strlen for PPC64.
2954
1fd005ad
AZ
29552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2956
2957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2958 implementations.
2959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2960 (__libc_ifunc_impl_list): Likewise.
2961 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2962 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2963 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2964 rawmemrchr for PPC64.
2965
cd05ba91
AZ
29662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967
2968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2969 implementation.
2970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2971 (__libc_ifunc_impl_list): Likewise.
2972 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2973 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2974 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2975 memrchr for PPC64.
2976
870f8676
AZ
29772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2978
2979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2980 implementation.
2981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2982 (__libc_ifunc_impl_list): Likewise.
2983 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2984 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2985 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2986 memchr for PPC64.
2987
f00be62b
AZ
29882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2989
2990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2991 implementation.
2992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2993 (__libc_ifunc_impl_list): Likewise.
2994 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2995 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2996 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2997 mempcpy for PPC64.
2998
8a29a3d0
AZ
29992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3000
3001 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3002 avoid cretion of __bzero symbol.
3003 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3004 Likewise.
3005 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3006 Likewise.
3007 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3008 Likewise.
3009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3010 multiarch implementations.
3011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3012 (__libc_ifunc_impl_list): Likewise.
3013 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3014 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3015 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3016 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3017 bzero for PPC32.
3018 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3019 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3020 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3021 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3022 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3023 memset for PPC64.
3024 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3025
07253fcf
AZ
30262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3027
3028 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3030 implementations.
3031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3032 (__libc_ifunc_impl_list): Likewise.
3033 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3034 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3035 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3036 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3037 memcmp for PPC64.
3038
b5beafbc
AZ
30392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3040
3041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3042 multiarch for POWER/PPC64.
3043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3044 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3045 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3047 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3048 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3050 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3051 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3052 memcpy for PPC64.
3053
5e6a4d4b
AZ
30542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055
3056 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3057 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3058 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3059 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3060 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3061 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3062 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3063 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3064 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3065 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3066 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3067 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3068 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3069 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3070 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3078
ddfab6dc
KK
30792013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3080
3081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3082
19b5525e
SP
30832013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3084
3085 * benchtests/Makefile (bench): Add exp2 and log2.
3086 (LDLIBS-bench-exp2): Add -lm.
3087 (LDLIBS-bench-log2): Likewise.
3088 * benchtests/exp2-inputs: New inputs file.
3089 * benchtests/log2-inputs: New inputs file.
3090 * benchtests/log-inputs: Add new inputs.
3091 * benchtests/tan-inputs: Likewise.
3092
196f7f5d
SP
30932013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3094
7a74607f
SP
3095 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3096 definition...
3097 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3098 csloww1, csloww2): ... from here.
3099
196f7f5d
SP
3100 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3101 instead of structures.
3102 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3103 (POLYNOMIAL): Likewise.
3104 (TAYLOR_SLOW): Likewise.
3105 (__sin): Likewise.
3106 (__cos): Likewise.
3107 (slow1): Likewise.
3108 (slow2): Likewise.
3109 (sloww): Likewise.
3110 (sloww1); Likewise.
3111 (sloww2): Likewise.
3112 (bsloww1): Likewise.
3113 (bsloww2): Likewise.
3114 (cslow2): Likewise.
3115 (csloww): Likewise.
3116 (csloww1): Likewise.
3117 (csloww2): Likewise.
3118
0dfa665c
OB
31192013-12-10 Ondřej Bílka <neleai@seznam.cz>
3120
3121 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3122 (__malloc_assert, __libc_realloc, __libc_calloc,
3123 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3124 memcpy and memset.
3125 * malloc/hooks.c (realloc_check): Likewise.
3126
5782a80f
OB
31272013-12-10 Ondřej Bílka <neleai@seznam.cz>
3128
3129 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3130 * malloc/arena.c: Remove PER_THREAD conditional.
3131 [!PER_THREAD]: Remove code.
3132 (ptmalloc_unlock_all2): Likewise.
3133 (ptmalloc_init): Likewise.
3134 (_int_new_arena): Likewise.
3135 (arena_get2): Likewise.
3136 * malloc/hooks.c (__malloc_get_state): Likewise.
3137 (__malloc_set_state): Likewise.
3138 * malloc/malloc.c: Likewise.
3139 (struct malloc_state): Likewise.
3140 (struct malloc_par): Likewise.
3141 (__libc_realloc): Likewise.
3142 (__libc_mallopt): Likewise.
3143
aeb95445
AZ
31442013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3145
3146 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3147
e8349efd
OB
31482013-12-09 Ondřej Bílka <neleai@seznam.cz>
3149
3150 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3151 macro to a function. Check for zero perturb_byte.
3152 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3153
f3eeb3fc
OB
31542013-12-09 Ondřej Bílka <neleai@seznam.cz>
3155
3156 * malloc/malloc.c: (force_reg): Remove.
3157 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3158 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3159 force_reg by atomic_forced_read.
3160 * malloc/arena.c (ptmalloc_init): Likewise.
3161 * malloc/hooks.c (top_check): Likewise.
3162
be2f9009
AZ
31632013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3164
3165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3166
e7b914bd
MT
31672013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3168
3169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3170
9f0be4f8
JM
31712013-12-08 Joseph Myers <joseph@codesourcery.com>
3172
3173 * math/auto-libm-test-in: Add tests of lgamma.
3174 * math/auto-libm-test-out: Regenerated.
3175 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3176 (M_LOG_2_SQRT_PIl): Likewise.
3177 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3178 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3179 mpfr_f_f1.
3180 (func_calc_desc): Add mpfr_f_f1 union field.
3181 (ARGS1): New macro.
3182 (ARGS2): Likewise.
3183 (ARGS3): Likewise.
3184 (ARGS4): Likewise.
3185 (RET1): Likewise.
3186 (RET2): Likewise.
3187 (CALC): Likewise.
3188 (FUNC): Likewise.
3189 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3190 (test_functions): Add lgamma.
3191 (calc_generic_results): Handle mpfr_f_f1.
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3194
24eeafdb
AZ
31952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3196
3197 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3198 __mpn_add_n for PowerPC64/POWER7.
3199 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3200 __mpn_sub_n for PowerPC64/POWER7.
3201
4a2c0fd4
AZ
32022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3203
3204 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3205 __mpn_addmul_1 for PowerPC64.
3206 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3207 __mpn_submul_1 for PowerPC64.
3208 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3209 for PowerPC64.
3210 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3211 for PowerPC64.
3212
4b5b548c
FS
32132013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3214
3215 [BZ #15089]
3216 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3217
0a3ac0aa
AZ
32182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3219
3220 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3221
ccdc8438
AZ
32222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3223
3224 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3225 add multiarch folders.
3226 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3227 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3228 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3229 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3230 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3231 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3232 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3233 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3234 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3235 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3236 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3243
2e973d99
AZ
32442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3245
3246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3247 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3249 New file.
3250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3251 New file.
3252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3253 multiarch __ieee754_hypot for PowerPC32.
3254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3255 New file.
3256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3257 New file.
3258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3259 multiarch __ieee754_hypotf for PowerPC32.
3260
2d9470b2
AZ
32612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3262
3263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3264 long_double_symbol only if __logbl is defined.
3265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3266 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3268 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3270 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3272 path for implementation.
3273 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3274 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3276 logb, and logbl multiarch implementations for PowerPC32.
3277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3278 file.
3279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3280 file.
3281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3282 multiarch logb for PowerPC32.
3283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3284 file.
3285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3286 file.
3287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3288 multiarch logbf for PowerPC32.
3289 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3291 file.
3292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3293 multiarch logbl implementation for PowerPC32.
3294
5212ffce
AZ
32952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296
3297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3298 and modff multiarch implementations.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3300 New file.
3301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3302 New file.
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3304 multiarch modf for PowerPC32.
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3306 New file.
3307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3308 New file.
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3310 multiarch modff for PowerPC32.
3311
79dccf31
AZ
33122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3313
3314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3315 and lrintf multiarch implementations.
3316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3317 New file.
3318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3319 New file.
3320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3321 multiarch lrint for PowerPC32.
3322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3323 file: multiarch lrintf for PowerPC32.
3324
deb66480
AZ
33252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326
3327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3328 and lroundf multiarch implementations.
3329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3330 New file.
3331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3332 New file.
3333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3334 New file.
3335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3336 multiarch lround for PowerPC32.
3337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3338 file: multiarch lroundf for PowerPC32.
3339
264b036b
AZ
33402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3341
3342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3343 copysign and copysignf multiarch implementations.
3344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3345 New file.
3346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3347 New file.
3348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3349 file: multiarch copysign for PowerPC32.
3350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3351 file: multiarch copysignf for PowerPC32.
3352
d47db6c9
AZ
33532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3354
3355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3356 and truncf multiarch implementations.
3357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3358 New file.
3359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3360 file.
3361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3362 multiarch trunc for PowerPC32.
3363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3364 New file.
3365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3366 New file.
3367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3368 multiarch truncf for PowerPC32.
3369
ddb60b5a
AZ
33702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3371
3372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3373 and roundf multiarch implementations.
3374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3375 New file.
3376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3377 file.
3378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3379 multiarch round for PowerPC32.
3380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3381 New file.
3382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3383 New file.
3384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3385 multiarch roundf for PowerPC32.
3386
bedcf49b
AZ
33872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3388
3389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3390 and floorf multiarch implementations.
3391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3392 New file.
3393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3394 file.
3395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3396 multiarch floor for PowerPC32.
3397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3398 New file.
3399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3400 New file.
3401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3402 multiarch floorf for PowerPC32.
3403
35ae5b40
AZ
34042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3405
3406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3407 and ceilf multiarch implementations.
3408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3409 New file.
3410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3411 file.
3412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3413 multiarch ceil for PowerPC32.
3414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3415 New file.
3416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3417 file.
3418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3419 multiarch ceilf for PowerPC32.
3420
ae1a4cd9
AZ
34212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3422
3423 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3424 is defined.
3425 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3426 FINITEF is defined.
3427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3428 and finitef multiarch implementations.
3429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3430 New file.
3431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3432 file.
3433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3434 multiarch finite for PowerPC32.
3435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3436 New file.
3437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3438 file: multiarch finitef for PowerPC32.
3439
64fffd65
AZ
34402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3441
3442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3443 and isinff multiarch implementations.
3444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3445 file.
3446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3447 file.
3448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3449 multiarch isinf for PowerPC32.
3450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3451 New file.
3452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3453 multiarch isinff for PowerPC32.
3454
8e4e7ba2
AZ
34552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3456
3457 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3458 alias when __isnan is defined.
3459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3460 and isnanf multiarch implementations.
3461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3462 file.
3463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3464 file.
3465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3466 file.
3467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3468 file.
3469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3470 multiarch isnan for PowerPC32.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3472 New file.
3473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3474 New file.
3475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3476 multiarch isnanf for PowerPC32.
3477
ddba588e
AZ
34782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3479
3480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3481 and sqrtf multiarch implementations.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3483 file.
3484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3485 file.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3487 multiarch sqrt for PowerPC32.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3489 file.
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3491 file.
3492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3493 multiarch sqrtf for PowerPC32.
3494
0f96a2f0
AZ
34952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3496
3497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3498 and llroundf multiarch implementations.
3499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3500 New file.
3501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3502 New file.
3503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3504 New file.
3505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3506 file: multiarch llround for PowerPC32.
3507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3508 file: multiarch llroundf for PowerPC32.
3509
c9b5d79e
AZ
35102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3511
3512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3513 multiarch PowerPC32 fpu implementations.
3514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3515 New file.
3516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3517 New file.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3519 multiarch llrint for PowerPC32.
3520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3521 New file.
3522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3523 New file.
3524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3525 file.
3526
9cbb3aab
AZ
35272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3530
ea5a72f8
AZ
35312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532
3533 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3534 file.
3535 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3536 file.
3537 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3538 file.
3539 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3540 multiarch wordcopy for PPC32.
3541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3542 wordcopy objects.
3543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3544 (__libc_ifunc_impl_list): Likewise.
3545 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3546 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3547 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3548 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3550 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3551
93be09e7
AZ
35522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3553
3554 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3556 file.
3557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3558 file.
3559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3560 file.
3561 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3562 multiarch wcscpy for PPC32.
3563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3564 multiarch objects.
3565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3566 (__libc_ifunc_impl_list): Likewise.
3567 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3568 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3569 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3570 sysdeps/powerpc/power6/wcscpy.c.
3571
bb04e529
AZ
35722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3573
3574 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3576 file.
3577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3578 file.
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3580 file.
3581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3582 multiarch wcsrchr for PPC32.
3583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3584 multiarch objects.
3585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3586 (__libc_ifunc_impl_list): Likewise.
3587 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3588 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3589 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3590 sysdeps/powerpc/power6/wcsrchr.c.
3591
05b5cd1c
AZ
35922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3593
3594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3595 file.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3597 file.
3598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3600 multiarch wcschr for PPc32.
3601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3602 multiarch objects.
3603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3604 (__libc_ifunc_impl_list): Likewise.
3605 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3606 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3607 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3608 sysdeps/powerpc/power6/wcschr.c.
3609
ba964147
AZ
36102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3611
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3614 file.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3616 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3617 file: multiarch strchr for PPC32.
3618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3619 multiarch objects.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3621 (__libc_ifunc_impl_list): Likewise.
3622
31c81aaa
AZ
36232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3624
3625 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3626 name.
3627 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3628 file.
3629 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3630 file.
3631 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3632 multiarch strchrnul for PPC32.
3633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3634 multiarch objects.
3635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3636 (__libc_ifunc_impl_list): Likewise.
3637
0d0607d9
AZ
36382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3639
3640 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3641 file.
3642 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3643 multiarch strncasecmp for PPC32.
3644 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3645 file.
3646 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3647 multiarch strncasecmp_l for PPC32.
3648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3649 strncasecmp multiarch objects.
3650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3651 (__libc_ifunc_impl_list): Likewise.
3652
4dfd5c86
AZ
36532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3654
3655 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3656 file.
3657 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3658 multiarch strncasecmp for PPC32.
3659 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3660 New file.
3661 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3662 multiarch strcasecmp_l for PPC32.
3663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3664 multiarch objects.
3665 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3666 (__libc_ifunc_impl_list): Likewise.
3667
a19e01a3
AZ
36682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3669
3670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3671 file.
3672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3673 file.
3674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3675 multiarch strncmp for PPC32.
3676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3677 multiarch objects.
3678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3679 (__libc_ifunc_impl_list): Likewise.
3680
ae9cf7a2
AZ
36812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3682
3683 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3684 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3685 file.
3686 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3687 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3689 multiarch objects.
3690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3691 (__libc_ifunc_impl_list): Likewise.
3692
3148bb7d
AZ
36932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694
3695 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3696 file.
3697 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3698 file.
3699 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3701 multiarch objects.
3702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3703 (__libc_ifunc_impl_list): Likewise.
3704
7af8b946
AZ
37052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3706
3707 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3708 file.
3709 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3710 file.
3711 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3712 multiarch rawmemchr for PPC32.
3713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3714 multiarch objects.
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3716 (__libc_ifunc_impl_list): Likewise.
3717
03a6aa6a
AZ
37182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3719
3720 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3721 file.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3723 file.
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3725 file: memrchr multiarch for PPC32.
3726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3727 multiarch objects.
3728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3729 (__libc_ifunc_impl_list): Likewise.
3730
1c62e6d9
AZ
37312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3732
3733 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3734 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3735 file.
3736 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3737 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3738 multiarch memchr for PPC32.
3739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3740 multiarch objects.
3741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3742 (__libc_ifunc_impl_list): Likewise.
3743
87da8bdb
AZ
37442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3745
3746 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3747 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3748 file.
3749 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3750 file.
3751 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3752 file: multiarch mempcpy for PPC32.
3753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3754 multiarch objects.
3755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3756 (__libc_ifunc_impl_list): Likewise.
3757
20ed4714
AZ
37582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3759
3760 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3761 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3762 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3763 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3764 multiarch bzero for PPC32.
3765 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3766 file.
3767 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3768 file.
3769 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3770 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3771 file: multiarch memset for PPC32.
3772 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3774 memset multiarch objects.
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3776 (__libc_ifunc_impl_list): Likewise.
3777
ab3e3a46
AZ
37782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3779
3780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3781 file.
3782 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3783 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3784 memcmp for PPC32.
3785 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3787 multiarch objects.
3788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3789 (__libc_ifunc_impl_list): Likewise.
3790
930de6f0
AZ
37912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3792
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3794 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3795 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3796 file.
3797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3798 file.
3799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3800 file.
3801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3802 multiarch memcpy for PPC32.
3803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3804 multiarch objects.
3805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3806 (__libc_ifunc_impl_list): Likewise.
3807
4c628e00
AZ
38082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3809
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3811 support multiarch for POWER/PPC32.
3812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3813 Likewise.
3814 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3816 Implies file to make multiarch folder appers before the fpu and
3817 default folder for power4 configuration.
3818
f4479220
SP
38192013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3820
3821 * scripts/bench.pl: Append volatile keyword to type.
3822
8517800f
KK
38232013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3824
3825 * sysdeps/sh/sotruss-lib.c: New file.
3826 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3827
180138f1
AZ
38282013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3829
3830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3831
bbf37bdc
JM
38322013-12-05 Joseph Myers <joseph@codesourcery.com>
3833
e47cc4e0
JM
3834 [BZ #6810]
3835 * math/w_tgamma.c: Include <errno.h>.
3836 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3837 * math/w_tgammaf.c: Include <errno.h>.
3838 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3839 * math/w_tgammal.c: Include <errno.h>.
3840 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3841 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3842 underflow. Add more tgamma tests.
3843 * math/auto-libm-test-out: Regenerated.
3844 * sysdeps/i386/fpu/libm-test-ulps: Update.
3845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3846
bbf37bdc
JM
3847 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3848 sin, sinh, tan, tanh, tgamma, y0 and y1.
3849 * math/auto-libm-test-out: Regenerated.
3850 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3851 (TEST_COND_x86): Likewise.
3852 (M_E2l): Remove macro.
3853 (M_E3l): Likewise.
3854 (M_2_SQRT_PIl): Likewise.
3855 (M_SQRT_PIl): Likewise.
3856 (M_1_DIV_El): Likewise.
3857 (log_test_data): Use AUTO_TESTS_f_f.
3858 (log10_test_data): Likewise.
3859 (log1p_test_data): Likewise.
3860 (log2_test_data): Likewise.
3861 (sin_test_data): Likewise.
3862 (sin_tonearest_test_data): Likewise.
3863 (sin_towardzero_test_data): Likewise.
3864 (sin_downward_test_data): Likewise.
3865 (sin_upward_test_data): Likewise.
3866 (sinh_test_data): Likewise.
3867 (sinh_tonearest_test_data): Likewise.
3868 (sinh_towardzero_test_data): Likewise.
3869 (sinh_downward_test_data): Likewise.
3870 (sinh_upward_test_data): Likewise.
3871 (tan_test_data): Likewise.
3872 (tan_tonearest_test_data): Likewise.
3873 (tan_towardzero_test_data): Likewise.
3874 (tan_downward_test_data): Likewise.
3875 (tan_upward_test_data): Likewise.
3876 (tanh_test_data): Likewise.
3877 (tgamma_test_data): Likewise.
3878 (y0_test_data): Likewise.
3879 (y1_test_data): Likewise.
3880 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3881 (special_real_inputs): Add pi/4.
3882 * sysdeps/i386/fpu/libm-test-ulps: Update.
3883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3884
eb5ad6b9
AZ
38852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3886
3887 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3888 "longjmp_target" static probes.
3889 (__longjmp): Rename to __longjmp_symbol.
3890 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3892 on which longjmp to generate.
3893 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3894 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3895 probe.
3896 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3897 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3898 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3899 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3900 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3901 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3903 __longjmp_symbol based on which __longjmp to generate.
3904 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3905 probe.
3906 (setjmp): Rename to setjmp_symbol.
3907 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3908 (_setjmp): Rename to _setjmp_symbol.
3909 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3910 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3911 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3912 which setjmp to generate.
3913 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3914 "longjmp_target" static probes.
3915
d136c6dc
SP
39162013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3917
9298ecba
SP
3918 * benchtests/README: Add note about output arguments.
3919 * benchtests/bench-sincos.c: Remove file.
3920 * benchtests/sincos-inputs: New file.
3921 * scripts/bench.pl: Identify output arguments and define
3922 static variables for them.
3923
232983e9
SP
3924 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3925
d136c6dc
SP
3926 [BZ #15941]
3927 * Makefile (INSTALL): Add install-plain.texi as the primary
3928 dependency.
3929 * manual/install-plain.texi: New file.
3930 * manual/install.texi: Include node directive only for
3931 non-plaintext output.
3932
699ff837
JM
39332013-12-04 Joseph Myers <joseph@codesourcery.com>
3934
ab07cea8
JM
3935 * stdlib/longlong.h: Update from GCC.
3936
699ff837
JM
3937 [BZ #6807]
3938 [BZ #15901]
3939 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3940 * math/w_j0f.c (y0f): Likewise.
3941 * math/w_j0l.c (__y0l): Likewise.
3942 * math/w_j1.c (y1): Likewise.
3943 * math/w_j1f.c (y1f): Likewise.
3944 * math/w_j1l.c (__y1l): Likewise
3945 * math/w_jn.c (yn): Likewise.
3946 * math/w_jnf.c (ynf): Likewise.
3947 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3948 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3949 value for Bessel function domain errors outside _SVID_ mode.
3950 Adjust sign of return value for yn (negative integer, 0).
3951 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3952 by zero in return for negative x and set sign appropriately for
3953 negative n.
3954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3955 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3956 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3957 expectations in error cases.
3958 (y1_test_data): Likewise.
3959 (yn_test_data): Likewise.
3960 * sysdeps/i386/fpu/libm-test-ulps: Update.
3961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3962
5b118558
UW
39632013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3964
3965 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3966 "64" to "64-v1". Add "64-v2".
3967 (abi-64-options): Rename to ...
3968 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3969 (abi-64-condition): Rename to ...
3970 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3971 (abi-64-ld-soname): Rename to ...
3972 (abi-64-v1-ld-soname): ... this.
3973 (abi-64-v2-options): Define.
3974 (abi-64-v2-condition): Likewise.
3975 (abi-64-v2-ld-soname): Likewise.
3976 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3977 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3981
61cd8fe4
UW
39822013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3983 Alan Modra <amodra@gmail.com>
3984
3985 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3986 New versions for use with the ELFv2 ABI.
3987 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3988 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3989 declaration.
3990 (struct La_ppc64v2_retval): Likewise.
3991 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3992 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3993 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3994 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3995 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3996 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3997 Do not save or restore CR.
3998 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3999 (_dl_profile_resolve): Do no save or restore CR. Support extended
4000 return values for ELFv2 ABI. Fix location of FPR return registers.
4001 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4002 updated values for _CALL_ELF == 2.
4003 (La_regs, La_retval, int_retval): Likewise.
4004
8b8a692c
UW
40052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4006
4007 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4008 (FRAME_MIN_SIZE_PARM): Likewise.
4009 (FRAME_BACKCHAIN): Likewise.
4010 (FRAME_CR_SAVE): Likewise.
4011 (FRAME_LR_SAVE): Likewise.
4012 (FRAME_TOC_SAVE): Likewise.
4013 (FRAME_PARM_SAVE): Likewise.
4014 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4015 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4016 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4017 (call_mcount_parm_offset): New macro.
4018 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4019 (PROF): Use symbolic stack frame offsets.
4020 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4021 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4022 Redefine in terms of FRAME_MIN_SIZE.
4023 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4024 (_dl_profile_resolve): Likewise. Update comment.
4025 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4026 symbols stack frame offsets.
4027 (__sigsetjmp): Likewise.
4028 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4029 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4030 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4031 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4032
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4034 (FRAME_BACKCHAIN): Remove.
4035 (FRAME_CR_SAVE): Likewise.
4036 (FRAME_LR_SAVE): Likewise.
4037 (FRAME_COMPILER_DW): Likewise.
4038 (FRAME_LINKER_DW): Likewise.
4039 (FRAME_TOC_SAVE): Likewise.
4040 (FRAME_PARM_SAVE): Likewise.
4041 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4042 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4043 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4045 (CHECK_SP): Use symbolic stack frame offsets.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4047 zone" instead of caller's parameter save area for temp storage.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4049 Likewise. Also, use symbolic stack frame offsets.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4051 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4052 our own stack frame instead of the caller's.
4053 (__socket): Use symbolic stack frame offsets.
4054
122b66de
UW
40552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4056 Alan Modra <amodra@gmail.com>
4057
4058 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4059 Define.
4060 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4061 PPC64_LOCAL_ENTRY_OFFSET): Define.
4062 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4063 New function.
4064 (elf_machine_fixup_plt): Call it.
4065 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4066 reloc arguments.
4067 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4068 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4069 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4070 r2 before calling target.
4071
696caf1d
UW
40722013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4073 Alan Modra <amodra@gmail.com>
4074
4075 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4076 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4077 versions of macros to support ELFv2 ABI.
4078 (LOCALENTRY): New macro.
4079 (ENTRY, EALIGN): Use it.
4080 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4081 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4082 fall through into ENTRY entry point.
4083 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4084 Only define if _CALL_ELF != 2.
4085
4086 (elf_machine_matches_host): Verify ABI version matches.
4087 (RTLD_START): Use LOCALENTRY.
4088 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4089 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4090 (PLT_ENTRY_WORDS): New macro.
4091 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4092 (elf_machine_runtime_setup): Support ELFv2 ABI.
4093 (elf_machine_fixup_plt): Likewise.
4094 (elf_machine_plt_conflict): Likewise.
4095 (resolve_ifunc): Likewise.
4096 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4097 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4098 Likewise.
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4100 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4102 (makecontext): Support ELFv2 ABI.
4103 * elf/elf.h (EF_PPC64_ABI): Define.
4104
d31beafa
UW
41052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4106
4107 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4108 New assembler macro.
4109 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4110 [ASSEMBLER] (ENTRY): ... but instead here ...
4111 [ASSEMBLER] (EALIGN): ... and here.
4112 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4113 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4114 [!ASSEMBLER] (ENTRY_2): Use it.
4115 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4116 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4117 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4118 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4119 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4121 Use PPC64_LOAD_FUNCPTR.
4122
b525166b
UW
41232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4124
4125 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4126
7ec07d9a
AM
41272013-12-04 Alan Modra <amodra@gmail.com>
4128
4129 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4130 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4131 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4132 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4133
4134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4135 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4136 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4137 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4138 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4139 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4140
5162e7dd
UW
41412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4142
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4144 (__makecontext): Fix incorrect CFI when backtracing out of
4145 context created via makecontext.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4147 (__setcontext): Fix incorrect CFI during switch to new context.
4148 (__novec_setcontext): Likewise.
4149
19e3372b
OB
41502013-12-04 Ondřej Bílka <neleai@seznam.cz>
4151
4152 [BZ #4772]
4153 * time/strptime_l.c (__strptime_internal): Allow modifiers
4154 in strptime.
4155 * time/tst-strptime.c (day_tests): Add testcase.
4156
4157
ecaf142d
SP
41582013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4159
4160 * scripts/bench.pl: Skip over blank lines.
4161
fbf964ae
PE
41622013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4163
4164 [BZ #926]
4165 * manual/time.texi (Calendar Time): Clarify what timezone functions
4166 use.
4167
fa60a674
AZ
41682013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4169
4170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4171
d674f0ef
OB
41722013-12-04 Ondřej Bílka <neleai@seznam.cz>
4173
4174 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4175 implementation.
4176 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4177 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4178 * debug/memset_chk.c (__memset_chk): Likewise.
4179 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4180 * debug/strncpy_chk.c: Likewise.
4181
17dea188
JM
41822013-12-03 Joseph Myers <joseph@codesourcery.com>
4183
749008ff
JM
4184 [BZ #15268]
4185 [BZ #15425]
4186 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4187 (__ieee754_exp): For possibly underflowing results, check size of
4188 result and force underflow exception if required.
4189 * math/auto-libm-test-in: Add more tests of exp.
4190 * math/auto-libm-test-out: Regenerated.
4191 * sysdeps/i386/fpu/libm-test-ulps: Update.
4192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4193
17dea188
JM
4194 [BZ #16283]
4195 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4196 * math/w_exp2f.c (__exp2f): Likewise.
4197 * math/w_exp2l.c (__exp2l): Likewise.
4198 * math/auto-libm-test-in: Do not allow missing errno on exp2
4199 underflow.
4200 * math/auto-libm-test-out: Regenerated.
4201
b20de2c3
OB
42022013-12-03 Ondřej Bílka <neleai@seznam.cz>
4203
4204 [BZ #16274]
4205 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4206 handle filename validation.
4207 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4208 (do_open): Delete.
4209
d8e2dbe3
JM
42102013-12-03 Joseph Myers <joseph@codesourcery.com>
4211
34e16df5
JM
4212 [BZ #6786]
4213 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4214 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4215 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4216 <float.h>.
4217 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4219 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4220 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4221 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4223 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4224 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4225 Add more erfc tests.
4226 * math/auto-libm-test-out: Regenerated.
4227 * sysdeps/i386/fpu/libm-test-ulps: Update.
4228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229
d8e2dbe3
JM
4230 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4231 exp2, expm1, j0 and j1.
4232 * math/auto-libm-test-out: Regenerated.
4233 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4234 (erfc_test_data): Likewise.
4235 (exp_test_data): Likewise.
4236 (exp_tonearest_test_data): Likewise.
4237 (exp_towardzero_test_data): Likewise.
4238 (exp_downward_test_data): Likewise.
4239 (exp_upward_test_data): Likewise.
4240 (exp10_test_data): Likewise.
4241 (exp2_test_data): Likewise.
4242 (expm1_test_data): Likewise.
4243 (j0_test_data): Likewise.
4244 (j1_test_data): Likewise.
4245 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4246 (input_flag_type): Add flag_xfail_rounding.
4247 (input_flags): Add xfail-rounding.
4248 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4249 (output_for_one_input_case): Handle flag_xfail_rounding.
4250 * sysdeps/i386/fpu/libm-test-ulps: Update.
4251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4252
18d14251
AJ
42532013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4254
3d2e6075 4255 [BZ #16289]
18d14251
AJ
4256 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4257 division by 0.
4258
520d437b
SP
42592013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
4261 [BZ #16195]
4262 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4263 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4264 (STAP_PROBE0): New macro.
4265 (STAP_PROBE1): Likewise.
4266 (STAP_PROBE2): Likewise.
4267 (STAP_PROBE3): Likewise.
4268 (STAP_PROBE4): Likewise.
4269
416e0145
OB
42702013-12-02 Ondřej Bílka <neleai@seznam.cz>
4271
4272 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4273
9d17796a
SE
42742013-12-02 Steve Ellcey <sellcey@mips.com>
4275
4276 * benchtests/Makefile (bench): Add sqrt.
4277 (LDLIBS-bench-sqrt): New.
4278 * benchtests/sqrt-input: New.
4279
f524d6a8
PS
42802013-12-02 Pavel Simerda <psimerda@redhat.com>
4281
639a0ef8
PS
4282 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4283 (GAIH_EAI): Likewise.
4284 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4285 (gaih_inet): Likewise.
4286 (getaddrinfo): Don't use GAIH_EAI.
4287
f524d6a8
PS
4288 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4289 (struct gaih): Remove definition.
4290
df3aedaf
SP
42912013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4292
4293 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4294 Use HERRNOP directly.
4295
1ab19dec
AZ
42962013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4297
b42ad38d 4298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4299
176b0c79
JM
43002013-11-30 Joseph Myers <joseph@codesourcery.com>
4301
4302 * math/gen-auto-libm-tests.c (test_functions): Add more
4303 single-argument functions.
4304 (special_fill_pi_2): New function.
4305 (special_fill_minus_pi_2): Likewise.
4306 (special_fill_pi_6): Likewise.
4307 (special_fill_minus_pi_6): Likewise.
4308 (special_fill_pi_3): Likewise.
4309 (special_fill_2pi_3): Likewise.
4310 (special_fill_e): Likewise.
4311 (special_fill_1_e): Likewise.
4312 (special_fill_e_minus_1): Likewise.
4313 (special_real_inputs): Add more special inputs.
4314 (output_for_one_input_case): Do not require ERANGE on underflow to
4315 zero if round-to-nearest result does not underflow to zero, unless
4316 exact results required.
4317 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4318 atan, atanh, cbrt, cos and cosh.
4319 * math/auto-libm-test-out: Regenerated.
4320 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4321 (acos_tonearest_test_data): Likewise.
4322 (acos_towardzero_test_data): Likewise.
4323 (acos_downward_test_data): Likewise.
4324 (acos_upward_test_data): Likewise.
4325 (acosh_test_data): Likewise.
4326 (asin_test_data): Likewise.
4327 (asin_tonearest_test_data): Likewise.
4328 (asin_towardzero_test_data): Likewise.
4329 (asin_upward_test_data): Likewise.
4330 (asinh_test_data): Likewise.
4331 (atan_test_data): Likewise.
4332 (atanh_test_data): Likewise.
4333 (cbrt_test_data): Likewise.
4334 (cos_test_data): Likewise.
4335 (cos_tonearest_test_data): Likewise.
4336 (cos_towardzero_test_data): Likewise.
4337 (cos_downward_test_data): Likewise.
4338 (cos_upward_test_data): Likewise.
4339 (cosh_test_data): Likewise.
4340 (cosh_tonearest_test_data): Likewise.
4341 (cosh_towardzero_test_data): Likewise.
4342 (cosh_downward_test_data): Likewise.
4343 (cosh_upward_test_data): Likewise.
4344 * sysdeps/i386/fpu/libm-test-ulps: Update.
4345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4346
ffb536d0
JM
43472013-11-29 Joseph Myers <joseph@codesourcery.com>
4348
2a77a467
JM
4349 [BZ #6787]
4350 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4351 * math/w_exp10f.c (__exp10f): Likewise.
4352 * math/w_exp10l.c (__exp10l): Likewise.
4353 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4354 errno settings in existing tests.
4355
ea3bc4e8
JM
4356 [BZ #14032]
4357 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4358 precision control set to double precision.
4359 * sysdeps/i386/fpu/w_sqrt.c: New file.
4360 * math/auto-libm-test-in: Add more tests.
4361 * math/auto-libm-test-out: Update.
4362
0712c9d8
JM
4363 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4364 (sqrt_test_tonearest): New function.
4365 (sqrt_towardzero_test_data): New variable.
4366 (sqrt_test_towardzero): New function.
4367 (sqrt_downward_test_data): New variable.
4368 (sqrt_test_downward): New function.
4369 (sqrt_upward_test_data): New variable.
4370 (sqrt_test_upward): New function.
4371 (main): Call the new functions.
4372
ffb536d0
JM
4373 * math/gen-auto-libm-tests.c: New file.
4374 * math/auto-libm-test-in: Likewise.
4375 * math/auto-libm-test-out: New generated file.
4376 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4377 variables.
4378 (%beautify): Add generated representations of zero.
4379 (top level): Set $auto_input and call parse_auto_input.
4380 (beautify): Remove trailing "f" from hex float constants.
4381 (parse_args): Handle XFAIL_TEST.
4382 (convert_condition): New function.
4383 (or_value): Likewise.
4384 (or_cond_value): Likewise.
4385 (generate_testfile): Handle AUTO_TESTS_* lines.
4386 (parse_auto_input): New function.
4387 * math/libm-test.inc (XFAIL_TEST): New macro.
4388 (ERRNO_UNCHANGED): Update value.
4389 (ERRNO_EDOM): Likewise.
4390 (ERRNO_ERANGE): Likewise.
4391 (IGNORE_RESULT): Likewise.
4392 (TEST_COND_flt_32): New macro.
4393 (TEST_COND_dbl_64): Likewise.
4394 (TEST_COND_ldbl_96_intel): Likewise.
4395 (TEST_COND_ldbl_96_m68k): Likewise.
4396 (TEST_COND_ldbl_128): Likewise.
4397 (TEST_COND_ldbl_128ibm): Likewise.
4398 (TEST_COND_long32): Likewise.
4399 (TEST_COND_long64): Likewise.
4400 (TEST_COND_before_rounding): Likewise.
4401 (TEST_COND_after_rounding): Likewise.
4402 (enable_test): Handle XFAIL_TEST flag.
4403 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4404 with finite results.
4405 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4406 auto-libm-test-out.
4407
acd98a8e
AK
44082013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4409 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4410
4411 [BZ #16214]
4412 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4413 __tls_get_addr_internal instead of __tls_get_offset in order to
4414 avoid GOT pointer dependency. Make rtld export
4415 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4416 __tls_get_addr since we are a __tls_get_offset platform.
4417 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4418 GOT pointer being set up before.
4419 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4420
3c1c46a6
JM
44212013-11-28 Joseph Myers <joseph@codesourcery.com>
4422
7475aef5
JM
4423 * manual/math.texi (Errors in Math Functions): Document accuracy
4424 goals.
4425
8bca7cd8
JM
4426 [BZ #15004]
4427 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4428 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4431 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4433 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4443
91a1f3fe
JM
4444 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4445 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4446 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4447 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4448 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4449 Likewise.
4450 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4451 Likewise.
4452 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4453 Likewise.
4454 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4455 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4456 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4457 atomic-feupdateenv and flt-rounds.
4458 * sysdeps/powerpc/nofpu/Versions (libc): Add
4459 __atomic_feholdexcept, __atomic_feclearexcept,
4460 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4461 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4462 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4463 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4464 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4465 here.
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4467 Update.
4468
c5df7609
JM
4469 * manual/arith.texi (FP Exceptions): Document that exceptions may
4470 not be raised when matherr is used.
4471 (Math Error Reporting): Document overflow in directed rounding
4472 modes. Document that errno may not be set when finite values are
4473 returned on overflow. Document intent to set errno on underflow
4474 only for underflow to zero.
4475
3c1c46a6
JM
4476 [BZ #16271]
4477 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4478 round-to-nearest then adjust result for other rounding modes.
4479 * include/fenv.h (fegetround): Use libm_hidden_proto.
4480 * math/fegetround.c (fegetround): Use libm_hidden_def.
4481 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4482 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4483 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4484 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4485 Likewise.
4486 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4487 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4488 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4489 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4490
5a4c6d53
SP
44912013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4492
4493 [BZ #16077]
4494 * nss/Versions (libnss_files): Add
4495 _nss_files_gethostbyname3_r.
4496 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4497 New function.
4498 (HOST_DB_LOOKUP): Remove macro.
4499 (_nss_files_gethostbyname_r): Implement function without the
4500 HOST_DB_LOOKUP macro.
4501 (_nss_files_gethostbyname2_r): Likewise.
4502
897b98ba
OB
45032013-11-28 Ondřej Bílka <neleai@seznam.cz>
4504
4505 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4506
6f476861
UB
45072013-11-26 Uros Bizjak <ubizjak@gmail.com>
4508
4509 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4510 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4511 warning.
4512
bd12ab55
AZ
45132013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4514
4515 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4516 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4517 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4518 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4519 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4520 __fe_nomask_env_priv and attribute_hidden.
4521 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4522 (libc_feupdateenv_test_ppc): Likewise.
4523 (libc_feresetround_ppc): Likewise.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4525 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4526 compat_symbol macro.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4528 (__fe_nomask_env): Likewise.
4529 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4530
52bb6543
OB
45312013-11-26 Ondřej Bílka <neleai@seznam.cz>
4532
4533 * string/Makefile: Remove ifunc tests.
4534 * string/test-string.h: Define TEST_IFUNC.
4535 * string/test-bcopy-ifunc.c: Remove.
4536 * string/test-bzero-ifunc.c: Likewise.
4537 * string/test-memccpy-ifunc.c: Likewise.
4538 * string/test-memchr-ifunc.c: Likewise.
4539 * string/test-memcmp-ifunc.c: Likewise.
4540 * string/test-memcpy-ifunc.c: Likewise.
4541 * string/test-memmem-ifunc.c: Likewise.
4542 * string/test-memmove-ifunc.c: Likewise.
4543 * string/test-mempcpy-ifunc.c: Likewise.
4544 * string/test-memrchr-ifunc.c: Likewise.
4545 * string/test-memset-ifunc.c: Likewise.
4546 * string/test-rawmemchr-ifunc.c: Likewise.
4547 * string/test-stpcpy-ifunc.c: Likewise.
4548 * string/test-stpncpy-ifunc.c: Likewise.
4549 * string/test-strcasecmp-ifunc.c: Likewise.
4550 * string/test-strcasestr-ifunc.c: Likewise.
4551 * string/test-strcat-ifunc.c: Likewise.
4552 * string/test-strchr-ifunc.c: Likewise.
4553 * string/test-strchrnul-ifunc.c: Likewise.
4554 * string/test-strcmp-ifunc.c: Likewise.
4555 * string/test-strcpy-ifunc.c: Likewise.
4556 * string/test-strcspn-ifunc.c: Likewise.
4557 * string/test-strlen-ifunc.c: Likewise.
4558 * string/test-strncasecmp-ifunc.c: Likewise.
4559 * string/test-strncat-ifunc.c: Likewise.
4560 * string/test-strncmp-ifunc.c: Likewise.
4561 * string/test-strncpy-ifunc.c: Likewise.
4562 * string/test-strnlen-ifunc.c: Likewise.
4563 * string/test-strpbrk-ifunc.c: Likewise.
4564 * string/test-strrchr-ifunc.c: Likewise.
4565 * string/test-strspn-ifunc.c: Likewise.
4566 * string/test-strstr-ifunc.c: Likewise.
4567
ab260039 45682013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4569
4570 * benchtests/Makefile: Remove ifunc tests.
4571 * benchtests/bench-string.h: Define TEST_IFUNC.
4572 * benchtests/bench-bcopy-ifunc.c: Remove.
4573 * benchtests/bench-bzero-ifunc.c: Likewise.
4574 * benchtests/bench-memccpy-ifunc.c: Likewise.
4575 * benchtests/bench-memchr-ifunc.c: Likewise.
4576 * benchtests/bench-memcmp-ifunc.c: Likewise.
4577 * benchtests/bench-memcpy-ifunc.c: Likewise.
4578 * benchtests/bench-memmem-ifunc.c: Likewise.
4579 * benchtests/bench-memmove-ifunc.c: Likewise.
4580 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4581 * benchtests/bench-memrchr-ifunc.c: Likewise.
4582 * benchtests/bench-memset-ifunc.c: Likewise.
4583 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4584 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4585 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4586 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4587 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4588 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4589 * benchtests/bench-strcat-ifunc.c: Likewise.
4590 * benchtests/bench-strchr-ifunc.c: Likewise.
4591 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4592 * benchtests/bench-strcmp-ifunc.c: Likewise.
4593 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4594 * benchtests/bench-strcpy-ifunc.c: Likewise.
4595 * benchtests/bench-strcspn-ifunc.c: Likewise.
4596 * benchtests/bench-strlen-ifunc.c: Likewise.
4597 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4598 * benchtests/bench-strncat-ifunc.c: Likewise.
4599 * benchtests/bench-strncmp-ifunc.c: Likewise.
4600 * benchtests/bench-strncpy-ifunc.c: Likewise.
4601 * benchtests/bench-strnlen-ifunc.c: Likewise.
4602 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4603 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4604 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4605 * benchtests/bench-strspn-ifunc.c: Likewise.
4606 * benchtests/bench-strstr-ifunc.c: Likewise.
4607
46082013-11-26 Ondřej Bílka <neleai@seznam.cz>
4609
ab260039
OB
4610 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4611
d1d9eaf4 46122013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4613
d1d9eaf4
OB
4614 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4615 * rt/aio.h: Likewise.
4616 * sysdeps/gnu/bits/utmp.h: Likewise.
4617 * sysdeps/gnu/bits/utmpx.h: Likewise.
4618 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4619 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4620 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4621 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4622 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4623 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4624 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4625 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4626 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4628 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4630 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4632 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4633 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4634 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4635 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4636 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4637 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4638 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4639 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4640 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4641 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4642 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4644 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4645 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4646 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4648 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4649 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4650 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4652 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4653 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4654 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4655 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4656 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4657 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4658 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4659 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4660
a7624ed9
CD
46612013-11-25 Carlos O'Donell <carlos@redhat.com>
4662
4663 [BZ #16245]
4664 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4665 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4666
63cfe52b
JM
46672013-11-25 Joseph Myers <joseph@codesourcery.com>
4668
4669 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4670 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4671 Likewise.
4672
41e8926a
AZ
46732013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4674
4675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4676 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4677 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4678 (__fesetround): Remove define.
4679 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4680 rounding and exceptions handling.
4681 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4682 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4683 (__fe_nomask_env): Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4685 __fegetround instead of fegetround.
4686 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4688
6851bd4d
RM
46892013-11-21 Roland McGrath <roland@hack.frob.com>
4690
070906ff
RM
4691 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4692 it's there.
4693
6851bd4d
RM
4694 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4695
84ae135d
MI
46962013-11-21 Meador Inge <meadori@codesourcery.com>
4697
4698 [BZ #11157]
4699 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4700 (encrypt_r): Likewise.
4701 * malloc/obstack.h (obstack_free): Likewise.
4702 * posix/unistd.h (encrypt): Likewise.
4703
daf75146
GM
47042013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4705
4706 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4707 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4708 DL_CALL_DT_FINI() that call the functions directly.
4709 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4710 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4711 * elf/dl-fini.c: Likewise.
4712
10ad46bc
OB
47132013-11-20 Ondřej Bílka <neleai@seznam.cz>
4714
4715 * malloc/hooks.c (memalign_check): Add alignment rounding.
4716 * malloc/malloc.c (_mid_memalign): New function.
4717 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4718 Implement by calling _mid_memalign.
4719 * manual/probes.texi (Memory Allocation Probes): Remove
4720 memory_valloc_retry and memory_pvalloc_retry.
4721
f3fd2628
SP
47222013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4723
4712799f
SP
4724 * locale/programs/locarchive.c (open_archive): Add const
4725 qualifier to ARCHIVEFNAME and copy default fname to
4726 DEFAULT_FNAME.
4727
0417b20f
SP
4728 [BZ #15601]
4729 * libio/tst-widetext.input: Rename Oriya to Odia.
4730 * locale/iso-639.def: Likewise.
4731
f3fd2628
SP
4732 * manual/probes.texi (Mathematical Function Probes): Add
4733 documentation for sin, cos, asin and acos probes.
4734 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4735 (__sin32): Add slowasin probe.
4736 (__cos32): Add slowacos probe.
4737 (__mpsin): Add slowsin probe.
4738 (__mpcos): Add slowcos probe.
4739
73c1ce4f
JM
47402013-11-19 Joseph Myers <joseph@codesourcery.com>
4741
4742 [BZ #15483]
4743 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4744 thread-local __sim_exceptions_thread and global
4745 __sim_exceptions_global.
4746 (__sim_disabled_exceptions): Change to thread-local
4747 __sim_disabled_exceptions_thread and global
4748 __sim_disabled_exceptions_global.
4749 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4750 and global __sim_round_mode_global.
4751 (__simulate_exceptions): Use thread-local floating-point state and
4752 set global state from it as needed.
4753 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4754 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4755 __sim_round_mode_thread.
4756 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4757 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4758 and global __sim_exceptions_global.
4759 (__sim_disabled_exceptions): Change to thread-local
4760 __sim_disabled_exceptions_thread and global
4761 __sim_disabled_exceptions_global.
4762 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4763 and global __sim_round_mode_global.
4764 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4765 (SIM_SET_GLOBAL): Likewise.
4766 * sysdeps/powerpc/soft-fp/sfp-machine.h
4767 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4768 __sim_round_mode_thread.
4769 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4770 __sim_disabled_exceptions_thread.
4771 (__sim_exceptions): Change to __sim_exceptions_thread.
4772 (__sim_disabled_exceptions): Change to
4773 __sim_disabled_exceptions_thread.
4774 (__sim_round_mode): Change to __sim_round_mode_thread.
4775 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4776 thread-local floating-point state and set global state from it as
4777 needed.
4778 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4779 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4780 (__sim_disabled_exceptions): Remove extern declaration.
4781 (feenableexcept): Use thread-local floating-point state and set
4782 global state from it as needed.
4783 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4784 extern declaration.
4785 (__sim_disabled_exceptions): Likewise.
4786 (__sim_round_mode): Likewise.
4787 (__fegetenv): Use thread-local floating-point state.
4788 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4789 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4790 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4791 floating-point state and set global state from it as needed.
4792 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4793 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4794 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4795 Likewise.
4796 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4797 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4798 Likewise.
4799 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4800 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4801 Use __sim_round_mode_thread.
4802 * math/test-fenv-tls.c: New file.
4803 * math/Makefile (tests): Add test-fenv-tls.
4804 ($(objpfx)test-fenv-tls): Depend on
4805 $(common-objpfx)nptl/libpthread.so.
4806
b5449b12
AS
48072013-11-19 Andreas Schwab <schwab@suse.de>
4808
4809 * locale/programs/locale.c (show_info): Decode wordarray elements.
4810 * locale/categories.def (LC_MONETARY): Add element for
4811 _NL_MONETARY_CRNCYSTR.
4812 * locale/C-monetary.c (conversion_rate): New variable.
4813 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4814 element.
4815
e186536b
CM
48162013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4817
4818 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4819 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4820
5c349950
PP
48212013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4822
4823 * elf/Makefile (tst-auxv): New test.
4824 * elf/tst-auxv.c: New
4825 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4826
699df45b
JM
48272013-11-18 Joseph Myers <joseph@codesourcery.com>
4828
4829 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4830 (hidden_proto): Caller changed.
4831 (hidden_tls_proto): New macro.
4832 (libc_hidden_tls_proto): Likewise.
4833 (rtld_hidden_tls_proto): Likewise.
4834 (libm_hidden_tls_proto): Likewise.
4835 (libresolv_hidden_tls_proto): Likewise.
4836 (librt_hidden_tls_proto): Likewise.
4837 (libdl_hidden_tls_proto): Likewise.
4838 (libnss_files_hidden_tls_proto): Likewise.
4839 (libnsl_hidden_tls_proto): Likewise.
4840 (libnss_nisplus_hidden_tls_proto): Likewise.
4841 (libutil_hidden_tls_proto): Likewise.
4842
b7589107
OB
48432013-11-18 Ondřej Bílka <neleai@seznam.cz>
4844
4845 [BZ #10253]
4846 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4847 (decompose_rpath): Defer expansion to fillin_rpath.
4848 (_dl_init_paths): Pass linkmap to fillin_rpath.
4849
250c23bd
RS
48502013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4851
4852 * benchtests/Makefile: Add strsep.
4853 * benchtests/bench-strsep.c: New file: strsep benchtest.
4854 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4855
a7931fcf
AS
48562013-11-18 Andreas Schwab <schwab@suse.de>
4857
4858 * locale/programs/locale.c (show_info) [case byte]: Check for
4859 '\377' instead of '\177'.
4860 * locale/C-monetary.c (not_available): Always use "\377".
4861 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4862 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4863 detect unavailable sign_posn locale elements.
4864 * locale/localeconv.c (__localeconv): For grouping and
4865 mon_grouping handle "\177" and "\377" like no grouping.
4866 (INT_ELEM): New macro. Use it to set all numeric members.
4867 * locale/programs/ld-monetary.c (monetary_read)
4868 <tok_mon_grouping>: Normalize single -1 to the empty string.
4869 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4870 Likewise.
4871
728dab0e
OB
48722013-11-07 Ondřej Bílka <neleai@seznam.cz>
4873
4874 [BZ #16055]
4875 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4876 when we match (nil).
4877 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4878
66294491
JM
48792013-11-16 Joseph Myers <joseph@codesourcery.com>
4880
ce665817
JM
4881 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4882 (NO_TEST_INLINE): Update value.
4883 (ERRNO_UNCHANGED): Likewise.
4884 (ERRNO_EDOM): Likewise.
4885 (ERRNO_ERANGE): Likewise.
4886 (IGNORE_RESULT): Likewise.
4887 (check_float_internal): Check signs of NaN results if
4888 TEST_NAN_SIGN used.
4889 (check_complex): Pass TEST_NAN_SIGN flag through to second
4890 check_float_internal call.
4891 (copysign_test_data): Add tests with quiet NaNs as second
4892 argument. Use TEST_NAN_SIGN.
4893 (fabs_test_data): Add test of negative quiet NaN argument. Use
4894 TEST_NAN_SIGN.
4895 (signbit_test_data): Add tests of quiet NaN argument.
4896 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4897
ee1466a9
JM
4898 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4899 $ignore_result.
4900 (parse_args): Handle function results specified as IGNORE.
4901 * math/libm-test.inc (IGNORE_RESULT): New macro.
4902 (check_float_internal): Do not check numerical result if flag
4903 IGNORE_RESULT set.
4904 (check_complex): Pass through IGNORE_RESULT to second
4905 check_float_internal call.
4906 (check_int): Do not check numerical result if flag IGNORE_RESULT
4907 set.
4908 (check_long): Likewise.
4909 (check_bool): Likewise.
4910 (check_longlong): Likewise.
4911 (lrint_test_data): Add tests of infinite and NaN arguments.
4912 (lrint_tonearest_test_data): Likewise.
4913 (lrint_towardzero_test_data): Likewise.
4914 (lrint_downward_test_data): Likewise.
4915 (lrint_upward_test_data): Likewise.
4916 (llrint_test_data): Likewise.
4917 (llrint_tonearest_test_data): Likewise.
4918 (llrint_towardzero_test_data): Likewise.
4919 (llrint_downward_test_data): Likewise.
4920 (llrint_upward_test_data): Likewise.
4921 (lround_test_data): Likewise.
4922 (llround_test_data): Likewise.
4923
14407b7e
JM
4924 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4925 (ERRNO_UNCHANGED): Update value.
4926 (ERRNO_EDOM): Likewise.
4927 (ERRNO_ERANGE): Likewise.
4928 (NO_TEST_INLINE_FLOAT): New macro.
4929 (NO_TEST_INLINE_DOUBLE): Likewise.
4930 (enable_test): New function.
4931 (RUN_TEST_f_f): Check enable_test before running test.
4932 (RUN_TEST_2_f): Likewise.
4933 (RUN_TEST_fff_f): Likewise.
4934 (RUN_TEST_c_f): Likewise.
4935 (RUN_TEST_f_f1): Likewise.
4936 (RUN_TEST_fF_f1): Likewise.
4937 (RUN_TEST_fI_f1): Likewise.
4938 (RUN_TEST_ffI_f1): Likewise.
4939 (RUN_TEST_c_c): Likewise.
4940 (RUN_TEST_cc_c): Likewise.
4941 (RUN_TEST_f_i): Likewise.
4942 (RUN_TEST_f_i_tg): Likewise.
4943 (RUN_TEST_ff_i_tg): Likewise.
4944 (RUN_TEST_f_b): Likewise.
4945 (RUN_TEST_f_b_tg): Likewise.
4946 (RUN_TEST_f_l): Likewise.
4947 (RUN_TEST_f_L): Likewise.
4948 (RUN_TEST_fFF_11): Likewise.
4949 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4950 conditionals.
4951 (cosh_test_data): Likewise.
4952 (exp_test_data): Likewise.
4953 (expm1_test_data): Likewise.
4954 (hypot_test_data): Likewise.
4955 (pow_test_data): Likewise.
4956 (sinh_test_data): Likewise.
4957 (tanh_test_data): Likewise.
4958 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4959 flags argument.
4960
ca07f197
JM
4961 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4962 tests with quiet NaN input and output.
4963 (acosh_test_data): Likewise.
4964 (asin_test_data): Likewise.
4965 (asinh_test_data): Likewise.
4966 (atan_test_data): Likewise.
4967 (atanh_test_data): Likewise.
4968 (atan2_test_data): Likewise.
4969 (cbrt_test_data): Likewise.
4970 (cos_test_data): Likewise.
4971 (cosh_test_data): Likewise.
4972 (erf_test_data): Likewise.
4973 (erfc_test_data): Likewise.
4974 (exp_test_data): Likewise.
4975 (exp10_test_data): Likewise.
4976 (exp2_test_data): Likewise.
4977 (expm1_test_data): Likewise.
4978 (hypot_test_data): Likewise.
4979 (j0_test_data): Likewise.
4980 (j1_test_data): Likewise.
4981 (jn_test_data): Likewise.
4982 (lgamma_test_data): Likewise.
4983 (log_test_data): Likewise.
4984 (log10_test_data): Likewise.
4985 (log1p_test_data): Likewise.
4986 (log2_test_data): Likewise.
4987 (pow_test_data): Likewise.
4988 (scalb_test_data): Likewise.
4989 (sin_test_data): Likewise.
4990 (sincos_test_data): Likewise.
4991 (sinh_test_data): Likewise.
4992 (tan_test_data): Likewise.
4993 (tanh_test_data): Likewise.
4994 (tgamma_test_data): Likewise.
4995 (y0_test_data): Likewise.
4996 (y1_test_data): Likewise.
4997 (yn_test_data): Likewise.
4998
66294491
JM
4999 [BZ #16167]
5000 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5001 argument being NaN and avoid computations with second argument in
5002 that case.
5003 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5004 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5005 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5006
1820b143
CL
50072013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5008
5009 * locale/iso-639.def: Add Chitwani Tharu (the).
5010
714bd261
AS
50112013-11-14 Andreas Schwab <schwab@suse.de>
5012
5013 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5014 word instead of empty string.
5015
7ab44563
AZ
50162013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5017
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5019 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5021 (__fe_nomask_env): Likewise.
5022
e8470ea2
SE
50232013-11-13 Steve Ellcey <sellcey@mips.com>
5024
5025 * benchtests/bench-timing.h: Include time.h.
5026
17c1d9f0
L
50272013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5028
5029 [BZ #15997]
5030 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5031 to 3.4.0 for x32.
5032 * sysdeps/unix/sysv/linux/configure: Regenerated.
5033
9310c284
JM
50342013-11-13 Joseph Myers <joseph@codesourcery.com>
5035
5036 [BZ #16151]
5037 * stdlib/strtod_l.c (round_and_return): Do not consider
5038 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5039 exponent one less than half the least subnormal exponent.
5040 * stdlib/test-strtod-round-data: Add more tests.
5041 * stdlib/tst-strtod-round.c (tests): Regenerated.
5042
7a2ad8cf
AZ
50432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5044
5045 [BZ #14143]
5046 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5047 (__fe_mask_env): Likewise.
5048 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5049 libm_hidden_proto and add function prototype.
5050 (__fe_mask_env): Add function prototype.
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5052 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5054 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5056 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5057
50727aa7
MS
50582013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5059
b2f386c1 5060 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5061 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5062
a615be46
MS
50632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5064
5065 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5066 of htab_find_slot().
5067
7ddace62
DM
50682013-11-11 David S. Miller <davem@davemloft.net>
5069
5070 [BZ #16150]
5071 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5072 symbol in the non-vis3 case in static builds.
5073 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5074 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5075 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5076 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5077
9182aa67
JK
50782013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5079
5080 [BZ #387]
5081 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5082 it is empty.
5083
450a2e2d
AZ
50842013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5085
b2f386c1
SP
5086 * benchtests/Makefile: Add bench-strtod.
5087 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5088
8ec3f656
AS
50892013-11-11 Andreas Schwab <schwab@suse.de>
5090
5091 [BZ #16153]
5092 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5093 terminating NUL in key length.
5094
76a9b998
AZ
50952013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096
5097 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5098 Add artificial ODP entry for vDSO symbol for PPC64.
5099 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5100 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5101
e4368156
OB
51022013-11-07 Ondřej Bílka <neleai@seznam.cz>
5103
5104 [BZ #15374]
5105 * nss/getent.c (services_keys): Recognize services starting with digit.
5106
8d6bb57c
DM
51072013-11-06 David S. Miller <davem@davemloft.net>
5108
5109 [BZ #15985]
5110 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5111 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5112
e256c421
WN
51132013-11-06 Will Newton <will.newton@linaro.org>
5114
5115 * manual/memory.texi (Malloc Examples): Remove register
5116 keyword from examples.
5117
f6e12daa 51182013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5119
f6e12daa 5120 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5121
9d880655
AS
51222013-11-04 Joseph Myers <joseph@codesourcery.com>
5123
fd2f9486 5124 [BZ #6981]
9d880655
AS
5125 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5126 depending on [__GCC_IEC_559 > 0].
5127 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5128 depending on [__GCC_IEC_559_COMPLEX > 0].
5129
ae129d3c
CL
51302013-11-03 Chris Leonard <cjl@sugarlabs.org>
5131
5132 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5133 to iso-639.def.
5134
4a15c2a4 51352013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5136
5137 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5138
8b35e35d
OB
51392013-11-01 Ondřej Bílka <neleai@seznam.cz>
5140
5141 [BZ #16112]
5142 * malloc/malloc (malloc_info): Do not handle first bin as
5143 special case.
5144
1d70fd6c
CL
51452013-11-01 Chris Leonard <cjl@sugarlabs.org>
5146
5147 * locale/iso-639.def: Add Central Nahuatl (nhn).
5148
8c5c2600
BH
51492013-11-01 Bruno Haible <bruno@clisp.org>
5150
5151 [BZ #7003]
5152 * manual/math.texi (BSD Random): Specify range upper bound as
5153 in POSIX.
5154
da5579c2
CL
51552013-10-31 Chris Leonard <cjl@sugarlabs.org>
5156
5157 * locale/iso-639.def: Add Meadow Mari (mhr).
5158
5d30d853
OB
51592013-10-31 Ondřej Bílka <neleai@seznam.cz>
5160
5161 [BZ #14752], [BZ #15763]
5162 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5163 Validate name.
5164 * rt/tst_shm.c: Add test for escaping directory.
5165
a4966c61
AS
51662013-10-31 Andreas Schwab <schwab@suse.de>
5167
8a43e768 5168 [BZ #15917]
a4966c61
AS
5169 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5170 followed by 'x' as part of digit sequence.
5171 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5172
28d708c4
MAP
51732013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5174
5175 [BZ #16037]
5176 * configure.ac: allow GNU Make 4.0 and greater.
5177 * configure: Regenerated.
5178
a56ee40b
WN
51792013-10-30 Will Newton <will.newton@linaro.org>
5180
5181 [BZ #16038]
5182 * malloc/hooks.c (memalign_check): Limit alignment to the
5183 maximum representable power of two.
5184 * malloc/malloc.c (__libc_memalign): Likewise.
5185 * malloc/tst-memalign.c (do_test): Add test for very
5186 large alignment values.
5187 * malloc/tst-posix_memalign.c (do_test): Likewise.
5188
c6e4925d
OB
51892013-10-30 Ondřej Bílka <neleai@seznam.cz>
5190
5191 [BZ #11087]
5192 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5193 (munmap_chunk): Likewise.
5194 (mremap_chunk): Likewise.
5195
51962013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5197
8a43e768 5198 [BZ #15799]
bbea82f7
OB
5199 * stdlib/div.c (div): Remove obsolete code.
5200 * stdlib/ldiv.c (ldiv): Likewise.
5201 * stdlib/lldiv.c (lldiv): Likewise.
5202
977f4b31
SP
52032013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5204
5205 [BZ #16071]
5206 * nss/nss_files/files-XXX.c (get_contents_ret): New
5207 enumerator.
5208 (get_contents): New function.
5209 (internal_getent): Use it. Expand size of LINEBUFLEN.
5210
cb8a6dbd
MF
52112013-10-30 Mike Frysinger <vapier@gentoo.org>
5212
5213 * configure.in: Moved to ...
5214 * configure.ac: ... here. Change reference to configure.in
5215 to configure.ac.
5216 * sysdeps/arm/preconfigure.ac: ... here.
5217 configure.in to configure.ac.
5218 * sysdeps/gnu/configure.in: Moved to ...
5219 * sysdeps/gnu/configure.ac: ... here.
5220 * sysdeps/i386/configure.in: Moved to ...
5221 * sysdeps/i386/configure.ac: ... here.
5222 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5223 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5224 * sysdeps/mach/configure.in: Moved to ...
5225 * sysdeps/mach/configure.ac: ... here.
5226 * sysdeps/mach/hurd/configure.in: Moved to ...
5227 * sysdeps/mach/hurd/configure.ac: ... here.
5228 * sysdeps/powerpc/configure.in: Moved to ...
5229 * sysdeps/powerpc/configure.ac: ... here.
5230 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5231 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5232 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5233 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5234 * sysdeps/s390/s390-32/configure.in: Moved to ...
5235 * sysdeps/s390/s390-32/configure.ac: ... here.
5236 * sysdeps/s390/s390-64/configure.in: Moved to ...
5237 * sysdeps/s390/s390-64/configure.ac: ... here.
5238 * sysdeps/sh/configure.in: Moved to ...
5239 * sysdeps/sh/configure.ac: ... here.
5240 * sysdeps/sparc/configure.in: Moved to ...
5241 * sysdeps/sparc/configure.ac: ... here.
5242 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5243 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5244 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5245 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5246 * sysdeps/x86_64/configure.in: Moved to ...
5247 * sysdeps/x86_64/configure.ac: ... here.
5248 * sysdeps/x86_64/preconfigure.in: Moved to ...
5249 * sysdeps/x86_64/preconfigure.ac: ... here.
5250 * aclocal.m4: Change reference to configure.in to configure.ac.
5251 * config.h.in: Likewise.
5252 * manual/install.texi: Likewise.
5253 * manual/maint.texi: Likewise.
5254 * Makefile: Likewise.
5255 * malloc/Makefile: Likewise.
5256 * nscd/Makefile: Likewise.
5257 * Makeconfig: Change reference to configure.in and
5258 preconfigure.in to configure.ac and preconfigure.ac
5259 respectively.
5260 * INSTALL: Regenerated.
5261 * configure: Likewise.
5262 * sysdeps/gnu/configure: Likewise.
5263 * sysdeps/i386/configure: Likewise.
5264 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5265 * sysdeps/mach/configure: Likewise.
5266 * sysdeps/mach/hurd/configure: Likewise.
5267 * sysdeps/powerpc/configure: Likewise.
5268 * sysdeps/powerpc/powerpc32/configure: Likewise.
5269 * sysdeps/powerpc/powerpc64/configure: Likewise.
5270 * sysdeps/s390/s390-32/configure: Likewise.
5271 * sysdeps/s390/s390-64/configure: Likewise.
5272 * sysdeps/sh/configure: Likewise.
5273 * sysdeps/sparc/configure: Likewise.
5274 * sysdeps/unix/sysv/linux/configure: Likewise.
5275 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5276 * sysdeps/x86_64/configure: Likewise.
5277 * sysdeps/x86_64/preconfigure: Likewise.
5278
36a4953a
AS
52792013-10-29 Andreas Schwab <schwab@suse.de>
5280
5281 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5282
c79a1204
SP
52832013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5284
dfa1b402
SP
5285 * benchtests/pow-inputs: Add new inputs.
5286
54f73d9c
SP
5287 * benchtests/exp-inputs: Add new inputs.
5288
c79a1204
SP
5289 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5290 conditional check for return value.
5291 (__cos32): Likewise.
5292
67beb545 52932013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5294
5295 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5296 to provide a boost for large inputs with word alignment.
5297 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5298 implementation based on optimized PPC64 strcpy.
5299 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5300 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5301 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5302 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5303
151659f6
OB
53042013-10-25 Ondřej Bílka <neleai@seznam.cz>
5305
482a077e 5306 [BZ #2801]
151659f6
OB
5307 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5308
10b0f26b
OB
53092013-10-25 Ondřej Bílka <neleai@seznam.cz>
5310
5311 [BZ #14876]
5312 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5313 * time/tst-strptime.c (day_tests): Add testcase.
5314
ca42d35e
OB
53152013-10-25 Ondřej Bílka <neleai@seznam.cz>
5316
482a077e 5317 [BZ #14029]
ca42d35e
OB
5318 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5319
52e6d801
FB
53202013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5321
5322 [BZ #16074]
5323 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5324 MAP_FAILED on error.
5325
7cbcdb36
SP
53262013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5327
5328 [BZ #16072]
5329 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5330 heap for large requests.
5331
894f3f10
AM
53322013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5333
5334 [BZ #9954]
5335 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5336 result if the result has no associated interface.
5337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5338 interface for all 127.X.Y.Z addresses.
5339
b85545a6
CL
53402013-10-24 Chris Leonard <cjl@sugarlabs.org>
5341
5342 * locale/iso-639.def: Add Ligurian (lij)
5343
d1f23d46
OB
53442013-10-21 Ondřej Bílka <neleai@seznam.cz>
5345
5346 [BZ #15825]
5347 * sunrpc/rpc_main.c: Document rpcgen -5.
5348
4db5b08f
MS
53492013-10-19 Michael Stahl <mstahl@redhat.com>
5350
5351 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5352
a471e96a
OB
53532013-10-19 Ondřej Bílka <neleai@seznam.cz>
5354
d1f23d46 5355 [BZ #10278]
a471e96a
OB
5356 * posix/glob.c: Match only directories when trailing slash is present.
5357 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5358 (main): Add testcase.
5359
45c30c61
OB
53602013-10-19 Ondřej Bílka <neleai@seznam.cz>
5361
5362 [BZ #15670]
5363 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5364
484c12fb
CD
53652013-10-18 Carlos O'Donell <carlos@redhat.com>
5366
3d7dc513
CD
5367 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5368 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5369 AUTH_DES and cindex for FIPS 140-2.
5370 (DES Encryption): Add cindex FIPS 46-3.
5371
484c12fb
CD
5372 * locale/locarchive.h (struct locarhandle): Add fname.
5373 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5374 if an optional argument was specified to --list-archive,
5375 otherwise NULL.
5376 * locale/programs/locarchive.c (show_archive_content): Take new
5377 argument fname and pass it via ah.fname to open_archive.
5378 * locale/programs/localedef.h: Update decl.
5379 (open_archive): If AH->fname is non-null, open that file
5380 rather than the default file name, and don't ignore ENOENT.
5381 (create_archive): Set AH.fname to NULL.
5382 (delete_locales_from_archive): Likewise.
5383 (add_locales_to_archive): Likewise.
5384 * locale/programs/locfile.c (write_all_categories): Likewise.
5385
3c8325fb
JM
53862013-10-18 Joseph Myers <joseph@codesourcery.com>
5387 Aldy Hernandez <aldyh@redhat.com>
5388
5389 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5390 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5391 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5392 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5393 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5394 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5396 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5397 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5398 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5399 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5400 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5401 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5402 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5403 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5404 Likewise.
5405 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5406 Likewise.
5407 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5408 Likewise.
5409 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5410 Likewise.
5411 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5412 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5413 Likewise.
5414 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5415 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5416 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5417 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5418 Likewise.
5419 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5420 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5421 * sysdeps/powerpc/preconfigure: Likewise.
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5423 Likewise.
5424 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5425 Replace contents of file by #include of <fenv_libc.h>.
5426 * sysdeps/powerpc/soft-fp/sfp-machine.h
5427 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5428 and <sys/prctl.h>.
5429 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5442 Allow copysignl PLT reference to be missing.
5443
5abe0682
RS
54442013-10-18 Richard Sandiford <richard@codesourcery.com>
5445 Joseph Myers <joseph@codesourcery.com
5446
5447 [BZ #15948]
5448 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5449 single character.
5450 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5451
c7738d08
SP
54522013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5453
5454 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5455 * elf/tst-tls1.c: Likewise.
5456 * elf/tst-tls10.h: Likewise.
5457 * elf/tst-tls14.c: Likewise.
5458 * elf/tst-tls2.c: Likewise.
5459 * elf/tst-tls3.c: Likewise.
5460 * elf/tst-tls4.c: Likewise.
5461 * elf/tst-tls5.c: Likewise.
5462 * elf/tst-tls6.c: Likewise.
5463 * elf/tst-tls7.c: Likewise.
5464 * elf/tst-tls8.c: Likewise.
5465 * elf/tst-tls9.c: Likewise.
5466 * elf/tst-tlsmod1.c: Likewise.
5467 * elf/tst-tlsmod13.c: Likewise.
5468 * elf/tst-tlsmod13a.c: Likewise.
5469 * elf/tst-tlsmod14a.c: Likewise.
5470 * elf/tst-tlsmod16a.c: Likewise.
5471 * elf/tst-tlsmod16b.c: Likewise.
5472 * elf/tst-tlsmod2.c: Likewise.
5473 * elf/tst-tlsmod3.c: Likewise.
5474 * elf/tst-tlsmod4.c: Likewise.
5475 * elf/tst-tlsmod5.c: Likewise.
5476 * elf/tst-tlsmod6.c: Likewise.
5477
0bfcf2c7
OB
54782013-10-18 Ondřej Bílka <neleai@seznam.cz>
5479
5480 [BZ #12486]
5481 * malloc/malloc.c: remove checks for statistics.
5482
264aad1e
OB
54832013-10-17 Ondřej Bílka <neleai@seznam.cz>
5484
5485 [BZ #15277]
5486 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5487 * inet/tst-network.c: Add testcase.
5488
b957ced8
AS
54892013-10-17 Andreas Schwab <schwab@suse.de>
5490
5491 [BZ #15218]
5492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5493 to determine canonical name.
5494
c5d5d574
OB
54952013-10-17 Ondřej Bílka <neleai@seznam.cz>
5496
5497 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5498 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5521 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5522 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5527 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5555
e5c2c2d0
JM
55562013-10-17 Joseph Myers <joseph@codesourcery.com>
5557
5558 [BZ #16041]
5559 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5560 make result into a quiet NaN.
5561
51ca9e29
JM
55622013-10-16 Joseph Myers <joseph@codesourcery.com>
5563
5564 * soft-fp/adddf3.c: Fix horizontal whitespace.
5565 * soft-fp/addsf3.c: Likewise.
5566 * soft-fp/addtf3.c: Likewise.
5567 * soft-fp/divdf3.c: Likewise.
5568 * soft-fp/divsf3.c: Likewise.
5569 * soft-fp/divtf3.c: Likewise.
5570 * soft-fp/double.h: Likewise.
5571 * soft-fp/eqdf2.c: Likewise.
5572 * soft-fp/eqsf2.c: Likewise.
5573 * soft-fp/eqtf2.c: Likewise.
5574 * soft-fp/extenddftf2.c: Likewise.
5575 * soft-fp/extended.h: Likewise.
5576 * soft-fp/extendsfdf2.c: Likewise.
5577 * soft-fp/extendsftf2.c: Likewise.
5578 * soft-fp/extendxftf2.c: Likewise.
5579 * soft-fp/fixdfdi.c: Likewise.
5580 * soft-fp/fixdfsi.c: Likewise.
5581 * soft-fp/fixdfti.c: Likewise.
5582 * soft-fp/fixsfdi.c: Likewise.
5583 * soft-fp/fixsfsi.c: Likewise.
5584 * soft-fp/fixsfti.c: Likewise.
5585 * soft-fp/fixtfdi.c: Likewise.
5586 * soft-fp/fixtfsi.c: Likewise.
5587 * soft-fp/fixtfti.c: Likewise.
5588 * soft-fp/fixunsdfdi.c: Likewise.
5589 * soft-fp/fixunsdfsi.c: Likewise.
5590 * soft-fp/fixunsdfti.c: Likewise.
5591 * soft-fp/fixunssfdi.c: Likewise.
5592 * soft-fp/fixunssfsi.c: Likewise.
5593 * soft-fp/fixunssfti.c: Likewise.
5594 * soft-fp/fixunstfdi.c: Likewise.
5595 * soft-fp/fixunstfsi.c: Likewise.
5596 * soft-fp/fixunstfti.c: Likewise.
5597 * soft-fp/floatdidf.c: Likewise.
5598 * soft-fp/floatdisf.c: Likewise.
5599 * soft-fp/floatditf.c: Likewise.
5600 * soft-fp/floatsidf.c: Likewise.
5601 * soft-fp/floatsisf.c: Likewise.
5602 * soft-fp/floatsitf.c: Likewise.
5603 * soft-fp/floattidf.c: Likewise.
5604 * soft-fp/floattisf.c: Likewise.
5605 * soft-fp/floattitf.c: Likewise.
5606 * soft-fp/floatundidf.c: Likewise.
5607 * soft-fp/floatundisf.c: Likewise.
5608 * soft-fp/floatunditf.c: Likewise.
5609 * soft-fp/floatunsidf.c: Likewise.
5610 * soft-fp/floatunsisf.c: Likewise.
5611 * soft-fp/floatunsitf.c: Likewise.
5612 * soft-fp/floatuntidf.c: Likewise.
5613 * soft-fp/floatuntisf.c: Likewise.
5614 * soft-fp/floatuntitf.c: Likewise.
5615 * soft-fp/fmadf4.c: Likewise.
5616 * soft-fp/fmasf4.c: Likewise.
5617 * soft-fp/fmatf4.c: Likewise.
5618 * soft-fp/gedf2.c: Likewise.
5619 * soft-fp/gesf2.c: Likewise.
5620 * soft-fp/getf2.c: Likewise.
5621 * soft-fp/ledf2.c: Likewise.
5622 * soft-fp/lesf2.c: Likewise.
5623 * soft-fp/letf2.c: Likewise.
5624 * soft-fp/muldf3.c: Likewise.
5625 * soft-fp/mulsf3.c: Likewise.
5626 * soft-fp/multf3.c: Likewise.
5627 * soft-fp/negdf2.c: Likewise.
5628 * soft-fp/negsf2.c: Likewise.
5629 * soft-fp/negtf2.c: Likewise.
5630 * soft-fp/op-1.h: Likewise.
5631 * soft-fp/op-2.h: Likewise.
5632 * soft-fp/op-4.h: Likewise.
5633 * soft-fp/op-8.h: Likewise.
5634 * soft-fp/op-common.h: Likewise.
5635 * soft-fp/quad.h: Likewise.
5636 * soft-fp/single.h: Likewise.
5637 * soft-fp/soft-fp.h: Likewise.
5638 * soft-fp/sqrtdf2.c: Likewise.
5639 * soft-fp/sqrtsf2.c: Likewise.
5640 * soft-fp/sqrttf2.c: Likewise.
5641 * soft-fp/subdf3.c: Likewise.
5642 * soft-fp/subsf3.c: Likewise.
5643 * soft-fp/subtf3.c: Likewise.
5644 * soft-fp/truncdfsf2.c: Likewise.
5645 * soft-fp/trunctfdf2.c: Likewise.
5646 * soft-fp/trunctfsf2.c: Likewise.
5647 * soft-fp/trunctfxf2.c: Likewise.
5648 * soft-fp/unorddf2.c: Likewise.
5649 * soft-fp/unordsf2.c: Likewise.
5650 * soft-fp/unordtf2.c: Likewise.
5651
9ebb0332
JM
56522013-10-15 Joseph Myers <joseph@codesourcery.com>
5653
5654 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5655 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5656
4b1a6d8b
OB
56572013-10-15 Ondřej Bílka <neleai@seznam.cz>
5658
5659 * elf/dl-libc.c: Clear initfini list after freeing.
5660
1e145589
JM
56612013-10-14 Joseph Myers <joseph@codesourcery.com>
5662
5663 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5664 * soft-fp/addsf3.c: Likewise.
5665 * soft-fp/addtf3.c: Likewise.
5666 * soft-fp/divdf3.c: Likewise.
5667 * soft-fp/divsf3.c: Likewise.
5668 * soft-fp/divtf3.c: Likewise.
5669 * soft-fp/double.h: Likewise.
5670 * soft-fp/eqdf2.c: Likewise.
5671 * soft-fp/eqsf2.c: Likewise.
5672 * soft-fp/eqtf2.c: Likewise.
5673 * soft-fp/extenddftf2.c: Likewise.
5674 * soft-fp/extended.h: Likewise.
5675 * soft-fp/extendsfdf2.c: Likewise.
5676 * soft-fp/extendsftf2.c: Likewise.
5677 * soft-fp/extendxftf2.c: Likewise.
5678 * soft-fp/fixdfdi.c: Likewise.
5679 * soft-fp/fixdfsi.c: Likewise.
5680 * soft-fp/fixdfti.c: Likewise.
5681 * soft-fp/fixsfdi.c: Likewise.
5682 * soft-fp/fixsfsi.c: Likewise.
5683 * soft-fp/fixsfti.c: Likewise.
5684 * soft-fp/fixtfdi.c: Likewise.
5685 * soft-fp/fixtfsi.c: Likewise.
5686 * soft-fp/fixtfti.c: Likewise.
5687 * soft-fp/fixunsdfdi.c: Likewise.
5688 * soft-fp/fixunsdfsi.c: Likewise.
5689 * soft-fp/fixunsdfti.c: Likewise.
5690 * soft-fp/fixunssfdi.c: Likewise.
5691 * soft-fp/fixunssfsi.c: Likewise.
5692 * soft-fp/fixunssfti.c: Likewise.
5693 * soft-fp/fixunstfdi.c: Likewise.
5694 * soft-fp/fixunstfsi.c: Likewise.
5695 * soft-fp/fixunstfti.c: Likewise.
5696 * soft-fp/floatdidf.c: Likewise.
5697 * soft-fp/floatdisf.c: Likewise.
5698 * soft-fp/floatditf.c: Likewise.
5699 * soft-fp/floatsidf.c: Likewise.
5700 * soft-fp/floatsisf.c: Likewise.
5701 * soft-fp/floatsitf.c: Likewise.
5702 * soft-fp/floattidf.c: Likewise.
5703 * soft-fp/floattisf.c: Likewise.
5704 * soft-fp/floattitf.c: Likewise.
5705 * soft-fp/floatundidf.c: Likewise.
5706 * soft-fp/floatundisf.c: Likewise.
5707 * soft-fp/floatunsidf.c: Likewise.
5708 * soft-fp/floatunsisf.c: Likewise.
5709 * soft-fp/floatuntidf.c: Likewise.
5710 * soft-fp/floatuntisf.c: Likewise.
5711 * soft-fp/floatuntitf.c: Likewise.
5712 * soft-fp/fmadf4.c: Likewise.
5713 * soft-fp/fmasf4.c: Likewise.
5714 * soft-fp/fmatf4.c: Likewise.
5715 * soft-fp/gedf2.c: Likewise.
5716 * soft-fp/gesf2.c: Likewise.
5717 * soft-fp/getf2.c: Likewise.
5718 * soft-fp/ledf2.c: Likewise.
5719 * soft-fp/lesf2.c: Likewise.
5720 * soft-fp/letf2.c: Likewise.
5721 * soft-fp/muldf3.c: Likewise.
5722 * soft-fp/mulsf3.c: Likewise.
5723 * soft-fp/multf3.c: Likewise.
5724 * soft-fp/negdf2.c: Likewise.
5725 * soft-fp/negsf2.c: Likewise.
5726 * soft-fp/negtf2.c: Likewise.
5727 * soft-fp/op-1.h: Likewise.
5728 * soft-fp/op-2.h: Likewise.
5729 * soft-fp/op-4.h: Likewise.
5730 * soft-fp/op-8.h: Likewise.
5731 * soft-fp/op-common.h: Likewise.
5732 * soft-fp/quad.h: Likewise.
5733 * soft-fp/single.h: Likewise.
5734 * soft-fp/soft-fp.h: Likewise.
5735 * soft-fp/sqrtdf2.c: Likewise.
5736 * soft-fp/sqrtsf2.c: Likewise.
5737 * soft-fp/sqrttf2.c: Likewise.
5738 * soft-fp/subdf3.c: Likewise.
5739 * soft-fp/subsf3.c: Likewise.
5740 * soft-fp/subtf3.c: Likewise.
5741 * soft-fp/truncdfsf2.c: Likewise.
5742 * soft-fp/trunctfdf2.c: Likewise.
5743 * soft-fp/trunctfsf2.c: Likewise.
5744 * soft-fp/trunctfxf2.c: Likewise.
5745 * soft-fp/unorddf2.c: Likewise.
5746 * soft-fp/unordsf2.c: Likewise.
5747 * soft-fp/unordtf2.c: Likewise.
5748
17c48a60
OB
57492013-10-14 Ondřej Bílka <neleai@seznam.cz>
5750
5751 [BZ #15672]
5752 * misc/error.c (error_tail): Fix possible buffer overflow.
5753
cabba934
OB
57542013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5755
5756 [BZ #13028]
5757 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5758 address.
5759
94bf958a
PM
57602013-10-14 P. J. McDermott <pj@pehjota.net>
5761
5762 [BZ #832]
5763 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5764 testing pipefail option.
5765
71b4dea7
JM
57662013-10-12 Joseph Myers <joseph@codesourcery.com>
5767
5768 * soft-fp/double.h: Indent preprocessor directives inside #if.
5769 * soft-fp/extended.h: Likewise.
5770 * soft-fp/op-2.h: Likewise.
5771 * soft-fp/op-4.h: Likewise.
5772 * soft-fp/op-common.h: Likewise.
5773 * soft-fp/quad.h: Likewise.
5774 * soft-fp/single.h: Likewise.
5775 * soft-fp/soft-fp.h: Likewise.
5776
55602758
YC
57772013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5778
5779 * iconv/iconv_prog.c: Fix typos.
5780 * stdio-common/psiginfo-data.h: Likewise.
5781
9cd83302
RT
57822013-10-12 Reuben Thomas <rrt@sc3d.org>
5783
5784 [BZ #15764]
5785 * locale/setlocale.c: Fix typo.
5786
99fd9f47
JM
57872013-10-12 Joseph Myers <joseph@codesourcery.com>
5788
b7ea74f0
JM
5789 [BZ #16036]
5790 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5791 signaling NaN arguments.
5792 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5793 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5794
8a509447
JM
5795 [BZ #14910]
5796 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5797 unordered operands.
5798 * soft-fp/gesf2.c (__gesf2): Likewise.
5799 * soft-fp/getf2.c (__getf2): Likewise.
5800 * soft-fp/ledf2.c (__ledf2): Likewise.
5801 * soft-fp/lesf2.c (__lesf2): Likewise.
5802 * soft-fp/letf2.c (__letf2): Likewise.
5803
98998e9f
JM
5804 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5805 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5806 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5807 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5808 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5809 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5810 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5811 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5812 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5813 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5814 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5815 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5816 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5817 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5818 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5819 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5820 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5821 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5822 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5823 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5824 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5825 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5826 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5827 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5828 * soft-fp/floattidf.c (__floattidf): Likewise.
5829 * soft-fp/floattisf.c (__floattisf): Likewise.
5830 * soft-fp/floattitf.c (__floattitf): Likewise.
5831 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5832 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5833 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5834 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5835 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5836 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5837 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5838 * soft-fp/gesf2.c (__gesf2): Likewise.
5839 * soft-fp/getf2.c (__getf2): Likewise.
5840 * soft-fp/ledf2.c (__ledf2): Likewise.
5841 * soft-fp/lesf2.c (__lesf2): Likewise.
5842 * soft-fp/letf2.c (__letf2): Likewise.
5843
8edc4a11
JM
5844 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5845 Undefine and redefine.
5846 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5847 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5848 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5849 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5850 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5851 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5852 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5853 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5854 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5855 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5856 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5857 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5858 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5859 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5860 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5861
8399acaf
JM
5862 [BZ #16032]
5863 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5864 without decrementing exponent if mantissa >= that for the
5865 denominator, not >.
5866 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5867 denominator, not >. Decrement exponent in < case instead of
5868 incrementing in >= case.
5869 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5870 without decrementing exponent if mantissa >= that for the
5871 denominator, not >.
5872
99fd9f47
JM
5873 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5874 computing saturated result for unsigned overflow.
5875
10e1cf6b
SP
58762013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5877 Jeff Law <law@redhat.com>
5878
5879 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5880 (atan2Mp): Add systemtap probe marker.
5881 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5882 (__ieee754_log): Add systemtap probe marker.
5883 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5884 (atanMp): Add systemtap probe marker.
5885 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5886 (tanMp): Add systemtap probe marker.
5887 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5888 (__slowexp): Add systemtap probe marker.
5889 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5890 (__slowpow): Add systemtap probe marker.
5891 * manual/probes.texi: Document probes.
5892
3d110c7c
EB
58932013-10-11 Eric Biggers <ebiggers3@gmail.com>
5894
5895 [BZ #15362]
5896 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5897 written.
5898 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5899 written.
5900 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5901 written to buffer but not flushed.
5902 * libio/iofwrite_u.c: Likewise.
5903 * libio/iopadn.c: Return bytes returned even if EOF was
5904 encountered.
5905 * libio/iowpadn.c: Likewise.
5906 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5907 if _IO_padn does not write the whole buffer.
5908 [!COMPILE_WPRINTF] (PAD): Likewise.
5909
75b4202a
DM
59102013-10-10 David S. Miller <davem@davemloft.net>
5911
5912 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5913 directory block.
5914
6c6352e6
JM
59152013-10-10 Joseph Myers <joseph@codesourcery.com>
5916
33b853c3
JM
5917 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5918 instead of FSF address.
5919 * soft-fp/fixdfti.c: Likewise.
5920 * soft-fp/fixsfti.c: Likewise.
5921 * soft-fp/fixtfti.c: Likewise.
5922 * soft-fp/fixunsdfti.c: Likewise.
5923 * soft-fp/fixunssfti.c: Likewise.
5924 * soft-fp/fixunstfti.c: Likewise.
5925 * soft-fp/floattidf.c: Likewise.
5926 * soft-fp/floattisf.c: Likewise.
5927 * soft-fp/floattitf.c: Likewise.
5928 * soft-fp/floatuntidf.c: Likewise.
5929 * soft-fp/floatuntisf.c: Likewise.
5930 * soft-fp/floatuntitf.c: Likewise.
5931 * soft-fp/trunctfxf2.c: Likewise.
5932
6c6352e6
JM
5933 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5934 * soft-fp/fixdfti.c: Likewise.
5935 * soft-fp/fixsfti.c: Likewise.
5936 * soft-fp/fixtfti.c: Likewise.
5937 * soft-fp/fixunsdfti.c: Likewise.
5938 * soft-fp/fixunssfti.c: Likewise.
5939 * soft-fp/fixunstfti.c: Likewise.
5940 * soft-fp/floattidf.c: Likewise.
5941 * soft-fp/floattisf.c: Likewise.
5942 * soft-fp/floattitf.c: Likewise.
5943 * soft-fp/floatuntidf.c: Likewise.
5944 * soft-fp/floatuntisf.c: Likewise.
5945 * soft-fp/floatuntitf.c: Likewise.
5946 * soft-fp/trunctfxf2.c: Likewise.
5947
3bf78b71
DM
59482013-10-10 David S. Miller <davem@davemloft.net>
5949
5950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5951
6f10289e
JM
59522013-10-10 Joseph Myers <joseph@codsourcery.com>
5953
bd878fc0
JM
5954 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5955 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5956 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5961
6f10289e
JM
5962 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5963 for NaNs before doing comparisons on argument.
5964 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5965 Likewise.
5966
321e2684
WN
59672013-10-10 Will Newton <will.newton@linaro.org>
5968
5969 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5970 passed to _int_memalign does not overflow.
5971
40fefba1
TR
59722013-10-10 Torvald Riegel <triegel@redhat.com>
5973
5974 * scripts/bench.pl: Add include-sources directive.
5975 * benchtests/README: Update documentation.
5976
2ae21ed2
JM
59772013-10-10 Joseph Myers <joseph@codesourcery.com>
5978
dcc2dd3f
JM
5979 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5980 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5981 instead of FP_INIT_ROUNDMODE.
5982 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5983 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5984
2ae21ed2
JM
5985 [BZ #16034]
5986 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5987 copy class of input value.
5988 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5989 not handle exceptions.
5990 * soft-fp/negsf2.c (__negsf2): Likewise.
5991 * soft-fp/negtf2.c (__negtf2): Likewise.
5992 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5993
cb8f9562
JM
59942013-10-09 Joseph Myers <joseph@codesourcery.com>
5995
5996 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5997 semicolon. From Linux kernel.
5998
5b60c59d
AB
59992013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6000
6001 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6002
b86835ca
YC
60032013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6004
6005 [BZ #156]
6006 * manual/socket.texi: Added statement about buffer
6007 for gethostbyname2_r.
6008
e7044ea7
OB
60092013-10-08 Ondřej Bílka <neleai@seznam.cz>
6010
6011 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6012 Use .p2align directive instead, throughout.
6013 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6014 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6015 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6016 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6017 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6018 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6019 * sysdeps/x86_64/strchr.S: Likewise.
6020 * sysdeps/x86_64/strrchr.S: Likewise.
6021
09544cbc
SP
60222013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6023
88576635
SP
6024 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6025
e7b2d1dd
SP
6026 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6027
09544cbc
SP
6028 * sysdeps/generic/math_private.h (__mpsin1): Remove
6029 declaration.
6030 (__mpcos1): Likewise.
6031 (__mpsin): New argument __range_reduce.
6032 (__mpcos): Likewise.
6033 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6034 (slow): Use __mpsin and __mpcos.
6035 (slow1): Likewise.
6036 (slow2): Likewise.
6037 (sloww): Likewise.
6038 (sloww1): Likewise.
6039 (sloww2): Likewise.
6040 (bsloww): Likewise.
6041 (bsloww1): Likewise.
6042 (bsloww2): Likewise.
6043 (cslow2): Likewise.
6044 (csloww): Likewise.
6045 (csloww1): Likewise.
6046 (csloww2): Likewise.
6047 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6048 range_reduce. Merge in __mpsin1.
6049 (__mpcos): Likewise.
6050 (__mpsin1): Remove.
6051 (__mpcos1): Likewise.
6052
7602d070
JM
60532013-10-07 Joseph Myers <joseph@codesourcery.com>
6054
6055 * locale/loadlocale.c (_nl_intern_locale_data): Use
6056 LOCFILE_ALIGNED_P.
6057 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6058 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6059 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6060 obstack data is appropriately aligned.
6061 (obstack_int32_grow_fast): Likewise.
6062 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6063 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6064 (add_locale_uint32_array): Likewise.
6065
a357259b
SP
60662013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6067
6068 * benchtests/Makefile: Remove ARGLIST and RET variables.
6069 ($(objpfx)bench-%.c): Pass only function name to the script.
6070 * benchtests/README: Update documentation.
6071 * benchtests/acos-inputs: Add new directives.
6072 * benchtests/acosh-inputs: Likewise.
6073 * benchtests/asin-inputs: Likewise.
6074 * benchtests/asinh-inputs: Likewise.
6075 * benchtests/atan-inputs: Likewise.
6076 * benchtests/atanh-inputs: Likewise.
6077 * benchtests/cos-inputs: Likewise.
6078 * benchtests/cosh-inputs: Likewise.
6079 * benchtests/exp-inputs: Likewise.
6080 * benchtests/log-inputs: Likewise.
6081 * benchtests/pow-inputs: Likewise.
6082 * benchtests/rint-inputs: Likewise.
6083 * benchtests/sin-inputs: Likewise.
6084 * benchtests/sinh-inputs: Likewise.
6085 * benchtests/tan-inputs: Likewise.
6086 * benchtests/tanh-inputs: Likewise.
6087 * scripts/bench.pl: Add support for new directives.
6088
9ec1b13d
AM
60892013-10-07 Alan Modra <amodra@gmail.com>
6090
6091 * README: Fix careless merge.
6092
8b7d57cd
AM
60932013-10-05 Alan Modra <amodra@gmail.com>
6094
6095 * NEWS: Mention powerpc64le support and bugs fixed.
6096 * README: Both big-endian and little-endian powerpc64 supported.
6097
7b7bab13
ST
60982013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6099
6100 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6101 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6102 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6103 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6104
d39baad1
RA
61052013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6106
6107 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6108 match prototype.
6109
cd78f7e7
JM
61102013-10-04 Joseph Myers <joseph@codesourcery.com>
6111
29d73d86
JM
6112 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6113 Move -mhard-float appending from
6114 ports/sysdeps/powerpc/powerpc32/Makefile.
6115 [$(with-fp) = yes] (ASFLAGS): Likewise.
6116 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6117 * sysdeps/powerpc/nofpu: Move directory from
6118 ports/sysdeps/powerpc/nofpu.
6119 * sysdeps/powerpc/soft-fp: Move directory from
6120 ports/sysdeps/powerpc/soft-fp.
6121 * sysdeps/powerpc/powerpc32/405: Move directory from
6122 ports/sysdeps/powerpc/powerpc32/405.
6123 * sysdeps/powerpc/powerpc32/440: Move directory from
6124 ports/sysdeps/powerpc/powerpc32/440.
6125 * sysdeps/powerpc/powerpc32/464: Move directory from
6126 ports/sysdeps/powerpc/powerpc32/464.
6127 * sysdeps/powerpc/powerpc32/476: Move directory from
6128 ports/sysdeps/powerpc/powerpc32/476.
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6130 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6132 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6134 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6136 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6138 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6139 * README: Update for powerpc-*-linux-gnu software floating point
6140 support in libc.
6141
e246b347
JM
6142 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6143 case to powerpc/powerpc32*.
6144 * sysdeps/unix/sysv/linux/configure: Regenerated.
6145
89c2003e
JM
6146 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6147 (_FPU_MASK_OM): Define as 0x04.
6148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6150 0x00c10080.
6151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6152 0x0000003c.
6153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6154
cd78f7e7
JM
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6156 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6157 getcontext_e500.
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6159 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6160 setcontext_e500.
6161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6162 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6163 and setcontext_e500.
6164
c755294d
CL
61652013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6166
6167 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6168
e16d221c
SP
61692013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6170
6171 * manual/threads.texi (Default Thread Attributes): Fix typo.
6172
215c7d43
WN
61732013-10-04 Will Newton <will.newton@linaro.org>
6174
6175 * malloc/Makefile: Add tst-memalign.
6176 * malloc/tst-memalign.c: New file.
6177
27d0461b
WN
6178 * malloc/tst-posix_memalign.c: Add comments.
6179 (do_test): Add comments and call free on all potentially
6180 allocated pointers. Add space after cast.
6181
1bc92709
WN
6182 * malloc/tst-pvalloc.c: Add comments.
6183 (do_test): Add comments and call free on all potentially
6184 allocated pointers. Remove duplicate check for NULL pointer.
6185 Add space after cast.
6186
66a9be9d
WN
6187 * malloc/tst-valloc.c: Add comments.
6188 (do_test): Add comments and call free on all potentially
6189 allocated pointers. Remove duplicate check for NULL pointer.
6190 Add space after cast.
6191
4cb81307
AM
61922013-10-04 Alan Modra <amodra@gmail.com>
6193
6194 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6195 Use stdint types in rather than __attribute__((mode())).
6196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6197
f8e3e9f3
AM
61982013-10-04 Alan Modra <amodra@gmail.com>
6199
6200 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6201 Correct handling of unaligned relocs for little-endian.
6202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6203
8f9ebb08
AM
62042013-10-04 Alan Modra <amodra@gmail.com>
6205
6206 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6207 * configure: Regenerate.
6208 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6209 * shlib-versions: Likewise.
6210
0edf96c2
AM
62112013-10-04 Alan Modra <amodra@gmail.com>
6212
6213 * string/tester.c (test_memrchr): Increment reported test cycle.
6214
e0f7a380
AM
62152013-10-04 Alan Modra <amodra@gmail.com>
6216
6217 * string/test-memcpy.c (do_one_test): When reporting errors, print
6218 string address and don't overrun end of string.
6219
466b0393
AM
62202013-10-04 Alan Modra <amodra@gmail.com>
6221
6222 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6223 insrdi. Make better use of reg selection to speed exit slightly.
6224 Schedule entry path a little better. Remove useless "are we done"
6225 checks on entry to main loop. Handle wrapping around zero address.
6226 Correct main loop count. Handle single left-over word from main
6227 loop inline rather than by using loop_small. Remove extra word
6228 case in loop_small caused by wrong loop count. Add little-endian
6229 support.
6230 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6231 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6232 cache hint.
6233 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6234 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6235 support. Avoid rlwimi.
6236 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6237
3be87c77
AM
62382013-10-04 Alan Modra <amodra@gmail.com>
6239
6240 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6241 insrdi. Formatting.
3be87c77
AM
6242 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6243 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6244 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6245 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6246 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6247 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6248
759cfef3
AM
62492013-10-04 Alan Modra <amodra@gmail.com>
6250
6251 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6252 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6253 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6254 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6255 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6256 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6257 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6259 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6260 use of regs. Use power7 mtocrf. Tidy function tails.
6261
fe6e95d7
AM
62622013-10-04 Alan Modra <amodra@gmail.com>
6263
6264 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6265 Formatting. Consistently use rXXX register defines or rN defines.
6266 Use early exit labels that avoid restoring unused non-volatile regs.
6267 Make cr field use more consistent with rWORDn compares. Rename
6268 regs used as shift registers for unaligned loop, using rN defines
6269 for short lifetime/multiple use regs.
6270 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6271 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6272 addi 1,1,64 to pop stack frame. Simplify return value code.
6273 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6274
664318c3
AM
62752013-10-04 Alan Modra <amodra@gmail.com>
6276
6277 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6278 support. Correct typos, formatting. Optimize tail. Use insrdi
6279 rather than rlwimi.
6280 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6281 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6282 little-endian support. Correct typos.
6283 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6284 rather than rlwimi.
6285 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6286 in loop and entry code to keep "and." results.
6287 (strchr): Add little-endian support. Comment. Move cntlzd
6288 earlier in tail.
6289 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6290
43b84013
AM
62912013-10-04 Alan Modra <amodra@gmail.com>
6292
6293 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6294 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6295 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6296 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6297
8a7413f9
AM
62982013-10-04 Alan Modra <amodra@gmail.com>
6299
6300 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6301 (rTMP): Define as r11.
6302 (strcmp): Add little-endian support. Optimise tail.
6303 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6304 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6305 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6306 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6307 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6309 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6310
33ee81de
AM
63112013-10-04 Alan Modra <amodra@gmail.com>
6312
6313 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6314 little-endian support. Remove unnecessary "are we done" tests.
6315 Handle "s" wrapping around zero and extremely large "size".
6316 Correct main loop count. Handle single left-over word from main
6317 loop inline rather than by using small_loop. Correct comments.
6318 Delete "zero" tail, use "end_max" instead.
6319 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6320
db9b4570
AM
63212013-10-04 Alan Modra <amodra@gmail.com>
6322
6323 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6324 support. Don't branch over align.
6325 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6326 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6327 support. Rearrange tmp reg use to suit. Comment.
6328 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6329
f7c399cf
AM
63302013-10-04 Alan Modra <amodra@gmail.com>
6331
6332 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6333
0b2c2ace
AM
63342013-10-04 Alan Modra <amodra@gmail.com>
6335
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6337 conditional form of branch and link when obtaining pc.
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6339
02f04a6c
AM
63402013-10-04 Alan Modra <amodra@gmail.com>
6341
6342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6343 HIWORD/LOWORD.
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6346
9b874b2f
AM
63472013-10-04 Alan Modra <amodra@gmail.com>
6348
6349 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6350 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6351 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6352 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6353 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6354 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6355 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6356 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6357 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6358 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6359
be1e5d31
AB
63602013-10-04 Anton Blanchard <anton@au1.ibm.com>
6361 Alistair Popple <alistair@ozlabs.au.ibm.com>
6362 Alan Modra <amodra@gmail.com>
6363
6364 [BZ #15723]
6365 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6366 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6367 _dl_hwcap access for little-endian.
6368 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6369 destroy vmx regs when saving unaligned.
6370 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6371 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6372 destroy vmx regs when saving unaligned.
6373
fef13a78
AM
63742013-10-04 Alan Modra <amodra@gmail.com>
6375
6376 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6377 Don't use a union to pack hi/low value.
6378
76a66d51
AB
63792013-10-04 Anton Blanchard <anton@au1.ibm.com>
6380
6381 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6382 for little-endian.
6383 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6385 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6386 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6387 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6388
6a31fe7f
AM
63892013-10-04 Alan Modra <amodra@gmail.com>
6390
6391 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6392 constants to usual value for .cst8 section, and remove redundant
6393 high address load.
6394 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6395 constant for 0x1p52. Load little-endian words of double from
6396 correct stack offsets.
6397
7b88401f
AM
63982013-10-04 Alan Modra <amodra@gmail.com>
6399
6400 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6401 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6402 words of double from correct stack offsets.
6403 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6404 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6405 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6407 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6409 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6410 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6411 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6414 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6415 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6416 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6417 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6418 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6419 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6420
9c008155
AM
64212013-10-04 Alan Modra <amodra@gmail.com>
6422
6423 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6424 64-bit int/double union.
6425 (_FPU_SETCW): Likewise.
6426 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6427 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6428
da13146d
AM
64292013-10-04 Alan Modra <amodra@gmail.com>
6430
6431 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6432 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6433
603e8410
AM
64342013-10-04 Alan Modra <amodra@gmail.com>
6435
6436 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6437 use vector int constants.
6438 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6439
4a28b3ca
AB
64402013-10-04 Anton Blanchard <anton@au1.ibm.com>
6441
6442 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6443 array with long long.
6444 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6445 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6446 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6447 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6448 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6449 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6450 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6451 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6452 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6453 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6454 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6455 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6456 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6457
2ca85d2b
AB
64582013-10-04 Anton Blanchard <anton@au1.ibm.com>
6459
6460 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6461 (__signbit): Likewise. Correct for little-endian.
6462 (__signbitl): Call __signbit.
6463 (lrint): Correct for little-endian.
6464 (lrintf): Call lrint.
6465
62a728ae
AM
64662013-10-04 Alan Modra <amodra@gmail.com>
6467
6468 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6469 union 32-bit int array member with 64-bit int array.
6470 (t515, tm256): Double rather than long double.
6471 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6472
32c301df
AM
64732013-10-04 Alan Modra <amodra@gmail.com>
6474
6475 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6476 Delete.
6477 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6478 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6479 version of math_ldbl.h.
6480
650ef4bd
AM
64812013-10-04 Alan Modra <amodra@gmail.com>
6482
6483 [BZ #15734], [BZ #15735]
6484 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6485 all uses of ieee875 long double macros and unions. Simplify test
6486 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6487 ldbl_extract_mantissa value for ix,iy exponents. Properly
6488 normalize after ldbl_extract_mantissa, and don't add hidden bit
6489 already handled. Don't treat low word of ieee854 mantissa like
6490 low word of IBM long double and mask off bit when testing for
6491 zero.
6492 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6493 all uses of ieee875 long double macros and unions. Simplify tests
6494 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6495 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6496 two1022, instead use their values. Recognise that tests for large
6497 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6498 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6499 Rewrite all uses of ieee875 long double macros and unions. Simplify
6500 test for 0.0L and nan. Correct negation.
6501 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6502 ieee875 long double macros and unions. Correct output for large
6503 magnitude x. Correct absolute value calculation.
6504 (__erfcl): Likewise.
6505 * math/libm-test.inc: Add tests for errors discovered in IBM long
6506 double versions of fmodl, remainderl, erfl and erfcl.
6507
765714ca
AM
65082013-10-04 Alan Modra <amodra@gmail.com>
6509
6510 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6511 all uses of ieee854 long double macros and unions. Simplify tests
6512 for long doubles that are fully specified by the high double.
6513 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6514 Likewise.
6515 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6516 Remove dead code too.
6517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6518 (__ieee754_ynl): Likewise.
6519 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6522 Remove dead code too.
6523 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6524 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6525 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6526 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6527 Simplify.
6528 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6529 Simplify.
6530 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6533 Comment on variable precision.
6534 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6536 Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6540 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6541 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6542
4ebd120c
AM
65432013-10-04 Alan Modra <amodra@gmail.com>
6544
6545 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6546 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6547 all uses of ieee854 long double macros and unions.
6548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6550 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6551 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6552 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6553 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6554 Likewise.
6555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6556 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6557 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6558 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6560 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6561 Simplify sign and nan test too.
6562 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6566 Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6569 Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6576
1b6adf88
AM
65772013-10-04 Alan Modra <amodra@gmail.com>
6578
6579 * stdio-common/printf_size.c (__printf_size): Don't use
6580 union ieee854_long_double in fpnum union.
6581 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6582 signbit macro to retrieve sign from long double.
6583 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6584 retrieve sign from long double.
6585 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6586 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6588 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6589 * math/test-misc.c (main): Don't use union ieee854_long_double.
6590
4cf69995
AM
65912013-10-04 Alan Modra <amodra@gmail.com>
6592
6593 [BZ #15680]
6594 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6595 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6596 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6597 calculation. Remove unnecessary test for denormal exponent.
6598 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6599 Correct handling of denormals. Avoid undefined shift behaviour.
6600 Correct normalisation of low mantissa when low double is denormal.
6601 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6602 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6603 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6604 Correct normalisation of low mantissa. Test for overflow of high
6605 mantissa and normalise.
6606 (ldbl_nearbyint): Use more readable constant for two52.
6607 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6608 (__mpn_construct_long_double): Fix test for overflow of high
6609 mantissa and correct normalisation. Avoid undefined shift.
6610
9605ca6c
AM
66112013-10-04 Alan Modra <amodra@gmail.com>
6612
6613 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6614 (union ibm_extended_long_double): Define as an array of ieee754_double.
6615 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6616 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6617 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6618 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6622 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6626
975569d0
JM
66272013-10-03 Joseph Myers <joseph@codesourcery.com>
6628
d3d23756
JM
6629 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6630 page size instead of calling getpagesize.
6631
975569d0
JM
6632 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6633 (LOCFILE_ALIGN_MASK): Likewise.
6634 (LOCFILE_ALIGN_UP): Likewise.
6635 (LOCFILE_ALIGNED_P): Likewise.
6636 * locale/programs/ld-collate.c (collate_output): Use the new
6637 macros instead of __alignof__ (int32_t).
6638 * locale/weight.h (findidx): Likewise.
6639
b1fe1f2b
OB
66402013-10-03 Ondřej Bílka <neleai@seznam.cz>
6641
6642 [BZ #431]
6643 * manual/string.texi: Fix strncat and wcsncat.
6644
5f855e35
BM
66452013-10-03 Brooks Moses <bmoses@google.com>
6646
6647 [BZ #15915]
6648 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6649 * Makerules: ...here, and adjust associated comments.
6650
3cef6009
WN
66512013-10-02 Will Newton <will.newton@linaro.org>
6652
6653 * malloc/Makefile: Add tst-pvalloc.
6654 * malloc/tst-pvalloc.c: New file.
6655
7815420b
WN
66562013-10-02 Will Newton <will.newton@linaro.org>
6657
6658 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6659 improve test coverage.
6660
4868b204
WN
66612013-10-02 Will Newton <will.newton@linaro.org>
6662
6663 * malloc/Makefile: Add tst-posix_memalign.
6664 * malloc/tst-posix_memalign.c: New file.
6665
29c793b3
EB
66662013-10-01 Eric Blake <eblake@redhat.com>
6667
6668 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6669 Use __THROWNL rather than __THROW on static functions.
6670
fd967522
PM
66712013-09-30 Petr Machata <pmachata@redhat.com>
6672
6673 * elf/elf.h (R_AARCH64_ABS16): New macro.
6674 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6675 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6676 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6677 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6678 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6679 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6680 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6681 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6682 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6683 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6684 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6685 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6686 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6687 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6688 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6689 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6690 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6691 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6692 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6693 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6694 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6695 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6696 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6697 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6698 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6699 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6700 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6701 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6702 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6703 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6704 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6705 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6706 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6707 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6708 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6709 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6710 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6711 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6712 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6713 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6714 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6715 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6716 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6717 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6718 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6719 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6720 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6721 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6722 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6723 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6724 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6725 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6726 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6727 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6728 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6729 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6730 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6731 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6732 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6733 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6734 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6735 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6736 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6737 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6738 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6739 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6740 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6741 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6742 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6743 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6744 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6745 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6746 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6747 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6748 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6749 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6750 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6751 (R_AARCH64_TLSDESC_LDR): Likewise.
6752 (R_AARCH64_TLSDESC_ADD): Likewise.
6753 (R_AARCH64_TLSDESC_CALL): Likewise.
6754
b2179107
AS
67552013-09-30 Andreas Schwab <schwab@suse.de>
6756
6757 [BZ #15048]
6758 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6759 the nss database lookup.
6760 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6762
47f28d0a
MF
67632013-09-28 Mike Frysinger <vapier@gentoo.org>
6764
6765 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6766
67672013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6768
6769 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6770 ${Bash-specific parameter/pattern/string} parameter expansion.
6771 * sysdeps/unix/make-syscalls.sh: Likewise.
6772
f4518a17
KK
67732013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6774
6775 * sysdeps/sh/stackguard-macros.h: New file.
6776
dc1a95c7
OB
67772013-09-26 Ondřej Bílka <neleai@seznam.cz>
6778
6779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6781 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6782 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6783 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6784 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6785
5ebbff8f
AZ
67862013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6787
6788 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6789 Fix thread ID register.
6790
4fd2cf9f
JM
67912013-09-25 Joseph Myers <joseph@codesourcery.com>
6792
6793 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6794 [POSIX || UNIX98]: Require rather than permitting all symbols from
6795 <time.h>.
6796 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6797 element of struct sched_param.
6798 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6799 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6800 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6801 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6802 constant.
6803
12c22bc4
OL
68042013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6805
6806 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6807 argument calculation.
6808
a03d8ea7
JM
68092013-09-24 Joseph Myers <joseph@codesourcery.com>
6810
6811 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6812 Expect macro.
6813 [POSIX] (pthread_attr_t): Do not require type.
6814 [POSIX] (pthread_cond_t): Likewise.
6815 [POSIX] (pthread_condattr_t): Likewise.
6816 [POSIX] (pthread_key_t): Likewise.
6817 [POSIX] (pthread_mutex_t): Likewise.
6818 [POSIX] (pthread_mutexattr_t): Likewise.
6819 [POSIX] (pthread_once_t): Likewise.
6820 [POSIX] (pthread_t): Likewise.
6821 [POSIX-based standards] (pthread_atfork): Expect function.
6822
6055173a
JM
68232013-09-24 Joseph Myers <joseph@codesourcery.com>
6824 Richard Sandiford <richard@codesourcery.com>
6825
6826 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6827 (swap_endianness_p): New extern variable.
6828 (set_big_endian): New inline function.
6829 (maybe_swap_uint32): Likewise.
6830 (maybe_swap_uint32_array): Likewise.
6831 (maybe_swap_uint32_obstack): Likewise.
6832 * locale/programs/locfile.c: Include <stdbool.h>.
6833 (swap_endianness_p): New variable.
6834 (add_locale_uint32): Call maybe_swap_uint32.
6835 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6836 (write_locale_data): Call maybe_swap_uint32_array.
6837 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6838 maybe_swap_uint32.
6839 (obstack_int32_grow_fast): Likewise.
6840 (output_weightwc): Call maybe_swap_uint32_obstack.
6841 (collate_output): Likewise.
6842 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6843 (OPT_LITTLE_ENDIAN): Likewise.
6844 (options): Add --little-endian and --big-endian options.
6845 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6846 * locale/programs/locarchive.c: Include "locfile.h".
6847 (GET): New macro.
6848 (SET): Likewise.
6849 (INC): Likewise.
6850 (create_archive): Use the new macros to access fields of
6851 structures directly mapped from or written to locale archives.
6852 (oldlocrecentcmp): Likewise.
6853 (enlarge_archive): Likewise.
6854 (insert_name): Likewise.
6855 (add_alias): Likewise.
6856 (add_locale): Likewise.
6857 (delete_locales_from_archive): Likewise.
6858 (show_archive_content): Likewise.
6859 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6860 locale data.
6861
39bf0bb4
RM
68622013-09-24 Roland McGrath <roland@hack.frob.com>
6863
6864 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6865 http://www.gnu.org/doc/freemanuals.texi.
6866 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6867
f02eed10
WN
68682013-09-24 Will Newton <will.newton@linaro.org>
6869
6870 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6871 macro.
6872
a3a6c312
JM
68732013-09-23 Joseph Myers <joseph@codesourcery.com>
6874
6875 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6876 unsigned char.
6877
107375ac
MR
68782013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6879
6880 * manual/threads.texi (POSIX Threads): Fix a typo.
6881
141f3a77
SP
68822013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6883
303e567a
SP
6884 [BZ #14547]
6885 * string/tst-strcoll-overflow.c: New test case.
6886 * string/Makefile (xtests): Add tst-strcoll-overflow.
6887 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6888 cache if string sizes may cause integer overflow.
6889
141f3a77
SP
6890 [BZ #14547]
6891 * string/strcoll_l.c (coll_seq): New members rule, idx,
6892 save_idx and back_us.
6893 (get_next_seq_nocache): New function.
6894 (do_compare_nocache): New function.
6895 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6896 when malloc fails.
6897
c61b4d41
CD
68982013-09-23 Carlos O'Donell <carlos@redhat.com>
6899
0b1f8e35
CD
6900 [BZ #15754]
6901 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6902 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6903 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6904
c61b4d41
CD
6905 [BZ #15754]
6906 * elf/Makefile (tests): Add tst-ptrguard1.
6907 (tests-static): Add tst-ptrguard1-static.
6908 (tst-ptrguard1-ARGS): Define.
6909 (tst-ptrguard1-static-ARGS): Define.
6910 * elf/tst-ptrguard1.c: New file.
6911 * elf/tst-ptrguard1-static.c: New file.
6912 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6913 * sysdeps/i386/stackguard-macros.h: Likewise.
6914 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6915 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6916 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6917 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6918 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6919 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6920
69212013-09-23 Hector Marco <hecmargi@upv.es>
6922 Ismael Ripoll <iripoll@disca.upv.es>
6923 Carlos O'Donell <carlos@redhat.com>
6924
6925 [BZ #15754]
6926 * sysdeps/generic/stackguard-macros.h: Define
6927 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6928 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6929 Define __pointer_chk_guard_local.
6930 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6931 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6932
f5f4e7b4
VV
69332013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6934
6935 [BZ #15859]
6936 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6937
5bb43a43
AS
69382013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6939
6940 * include/string.h (__ffs): Declare as hidden.
6941 * string/ffs.c (__ffs): Define as hidden.
6942 * sysdeps/i386/ffs.c (__ffs): Likewise.
6943 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6944 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6945 * sysdeps/s390/ffs.c (__ffs): Likewise.
6946 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6947
3ea5be54
AO
69482013-09-20 Alexandre Oliva <aoliva@redhat.com>
6949
ffb89e53
AO
6950 * NEWS: Mention malloc probes.
6951
322dea08
AO
6952 * malloc/arena.c (new_heap): New memory_heap_new probe.
6953 (grow_heap): New memory_heap_more probe.
6954 (shrink_heap): New memory_heap_less probe.
6955 (heap_trim): New memory_heap_free probe.
6956 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6957 (systrim): New memory_sbrk_less probe.
6958 * manual/probes.texi: Document them.
6959
655673f3
AO
6960 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6961 * manual/probes.texi: Document it.
6962
35fed6f1
AO
6963 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6964 (__libc_realloc): Add memory_realloc_retry probe.
6965 (__libc_memalign): Add memory_memalign_retry probe.
6966 (__libc_valloc): Add memory_valloc_retry probe.
6967 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6968 (__libc_calloc): Add memory_calloc_retry probe.
6969 * manual/probes.texi: Document them.
6970
6999d38c
AO
6971 * malloc/arena.c (get_free_list): Add probe
6972 memory_arena_reuse_free_list.
6973 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6974 and memory_arena_reuse.
6975 (arena_get2) [!PER_THREAD]: Likewise.
6976 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6977 memory_arena_reuse_realloc.
6978 * manual/probes.texi: Document them.
6979
0653427f
AO
6980 * malloc/malloc.c (__libc_free): Add
6981 memory_mallopt_free_dyn_thresholds probe.
6982 (__libc_mallopt): Add multiple memory_mallopt probes.
6983 * manual/probes.texi: Document them.
6984
3ea5be54
AO
6985 * malloc/malloc.c: Include stap-probe.h.
6986 (__libc_mallopt): Add memory_mallopt probe.
6987 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6988 * manual/probes.texi: New.
6989 * manual/Makefile (chapters): Add probes.
6990 * manual/threads.texi: Set next node.
6991
e35696c3 69922013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 6993
e35696c3
CL
6994 [BZ #15963, #13985]
6995 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6996 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6997 Add `Chinese' to `nan' entry name.
6998
4aafb73c
SP
69992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7000
7001 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7002 (POLYNOMIAL): Likewise.
7003 (TAYLOR_SINCOS): Likewise.
7004 (TAYLOR_SLOW): Likewise.
7005 (__sin): Use TAYLOR_SINCOS.
7006 (__cos): Likewise.
7007 (slow): Use TAYLOR_SLOW.
7008 (sloww): Likewise.
7009 (bsloww): Likewise.
7010 (csloww): Likewise.
7011
d84f25c7
LD
70122013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7013
7014 * stdlib/strtod_l.c: Fix buffer overrun.
7015
5eea0404
SP
70162013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7017
7849ff93
SP
7018 * benchtests/Makefile (bench): Add sincos.
7019 * benchtests/bench-sincos.c: New file.
7020
cfa3c886
SP
7021 * math/libm-test.inc (cos_test_data): New test inputs.
7022 (sin_test_data): Likewise.
7023
b348e1e3
SP
7024 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7025 macro.
7026 (__sin): Use it.
7027 (__cos): Likewise.
7028 (slow1): Likewise.
7029 (slow2): Likewise.
7030 (sloww1): Likewise.
7031 (sloww2): Likewise.
7032 (bsloww1): Likewise.
7033 (bsloww2): Likewise.
7034 (cslow2): Likewise.
7035 (csloww1): Likewise.
7036 (csloww2): Likewise.
7037
6cce25f8
SP
7038 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7039 function.
7040 (__sin): Use it.
7041 (__cos): Likewise.
7042
5eea0404
SP
7043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7044 gotos.
7045 (__cos): Likewise.
7046
9c21573c
MR
70472013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7048
7049 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7050 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7051 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7052 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7053 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7054 * elf/cache.c (print_entry): Handle the new cache flags.
7055
24d22e65
JM
70562013-09-18 Joseph Myers <joseph@codesourcery.com>
7057 Aldy Hernandez <aldyh@redhat.com>
7058
7059 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7060 Change condition to [_SOFT_FLOAT].
7061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7073 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7076 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7077 declaration.
7078
d13ef066
JM
70792013-09-18 Joseph Myers <joseph@codesourcery.com>
7080
2e071de0
JM
7081 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7082 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7083 (__longjmp): Use LOAD_GP to load saved GPRs.
7084 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7085 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7086 (__sigsetjmp): Use SAVE_GP to save GPRs.
7087
d13ef066
JM
7088 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7089 Do not append -msoft-float.
7090 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7091
97a0650b
SP
70922013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7093
7094 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7095
11ca09e9
JM
70962013-09-17 Joseph Myers <joseph@codesourcery.com>
7097
7098 [BZ #15966]
7099 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7100 (_FPU_GETCW): Use initial "__" on variable and field names but not
7101 on macro parameter name.
7102 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7103 parentheses around reference to macro parameter.
7104
08ffcf34
RS
71052013-09-13 Richard Sandiford <richard@codesourcery.com>
7106
7107 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7108 prototype.
7109 (ctype_startup): Use uint32_t in cast and sizeof for
7110 ctype->charnames.
7111
ae7080d3
JL
71122013-09-11 Jia Liu <proljc@gmail.com>
7113
7114 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7115 __daddr_t_defined.
7116 [__FreeBSD__]: Likewise.
7117
5905e7b3
OB
71182013-09-11 Ondřej Bílka <neleai@seznam.cz>
7119
7120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7121 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7122 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7123 (strchr): Remove __strchr_sse42 ifunc selection.
7124 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7125 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7126
b987c776
WN
71272013-09-11 Will Newton <will.newton@linaro.org>
7128
7129 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7130 parameter to RES. Remove hardcoded 1000 value.
7131 * benchtests/bench-skeleton.c (main): Pass RES parameter
7132 to TIMING_INIT and multiply result by 1000.
7133
ddf985af
AZ
71342013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135
7136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7137
ffdd3181
AS
71382013-09-11 Andreas Schwab <schwab@suse.de>
7139
7140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7141 if not defined.
7142 (O_TMPFILE) [__USE_GNU]: Define.
7143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7144 Define.
7145
b73ed247
WN
71462013-09-11 Will Newton <will.newton@linaro.org>
7147
7148 [BZ #15857]
7149 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7150 does not overflow.
7151
55e17aad
WN
71522013-09-11 Will Newton <will.newton@linaro.org>
7153
7154 [BZ #15856]
7155 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7156 does not overflow.
7157
1159a193
WN
71582013-09-11 Will Newton <will.newton@linaro.org>
7159
7160 [BZ #15855]
7161 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7162 does not overflow.
7163
5905e7b3 71642013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7165
7166 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7167 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7168 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7171
cdfc721b
AM
71722013-09-10 Allan McRae <allan@archlinux.org>
7173
aa04af00
AM
7174 [BZ #15748]
7175 * manual/arith.texi (Parsing of Floats): Clarify
7176 cross-reference.
7177
cdfc721b
AM
7178 [BZ #15849]
7179 * manual/install.texi (Running make install): Mention
7180 --enable-pt-chown.
7181 * INSTALL: Regenerated.
7182
95e7cf29
MR
71832013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7184
7185 * csu/init-first.c (_init): Remove the !SHARED condition around
7186 FPU control word initialization.
7187 * elf/dl-support.c (_dl_fpu_control): New variable.
7188 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7189 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7190 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7191 * math/test-fpucw-static.c: New file.
7192 * math/test-fpucw-ieee.c: New file.
7193 * math/test-fpucw-ieee-static.c: New file.
7194 * math/Makefile (tests): Add `test-fpucw-ieee' and
7195 `$(tests-static)'.
7196 (tests-static): New variable.
7197 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7198 dependency to...
7199 [($(build-shared),yes)]
7200 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7201 ... this.
7202 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7203 New dependency.
7204
83e43bf0
AM
72052013-09-09 Allan McRae <allan@archlinux.org>
7206
a9f5ce09
AM
7207 [BZ #15939]
7208 * manual/string.texi (Collation Functions): Fix typo in
7209 strcoll example.
7210 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7211
34829bc2
AM
7212 [BZ #15893]
7213 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7214
3932737d
AM
7215 [BZ #15892]
7216 * libio/memstream.c (open_memstream): Fix memory leak.
7217 * libio/wmemstream.c (open_wmemstream): Likewise.
7218
83e43bf0
AM
7219 [BZ #15895]
7220 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7221
0c66b8e9
WN
72222013-09-09 Will Newton <will.newton@linaro.org>
7223
7224 * malloc/Makefile: Add tst-realloc to tests.
7225 * malloc/tst-realloc.c: New file.
7226
f6b00fd1
AM
72272013-09-09 Allan McRae <allan@archlinux.org>
7228
7229 [BZ #15844]
7230 * COPYING: Update from GNU website to fix FSF address.
7231 * COPYING.LIB: Likewise.
7232
eec55e16
DM
72332013-09-06 David S. Miller <davem@davemloft.net>
7234
7235 * po/zh_TW.po: Update Chinese (traditional) translation from
7236 translation project.
7237
1ecbb381
RS
72382013-09-06 Richard Sandiford <richard@codesourcery.com>
7239 Joseph Myers <joseph@codesourcery.com>
7240
7241 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7242 "localeinfo.h".
7243 (obstack_chunk_alloc): New macro.
7244 (obstack_chunk_free): Likewise.
7245 (record_offset): New function.
7246 (init_locale_data): Likewise.
7247 (align_locale_data): Likewise.
7248 (add_locale_empty): Likewise.
7249 (add_locale_raw_data): Likewise.
7250 (add_locale_raw_obstack): Likewise.
7251 (add_locale_string): Likewise.
7252 (add_locale_wstring): Likewise.
7253 (add_locale_uint32): Likewise.
7254 (add_locale_uint32_array): Likewise.
7255 (add_locale_char): Likewise.
7256 (start_locale_structure): Likewise.
7257 (end_locale_structure): Likewise.
7258 (start_locale_prelude): Likewise.
7259 (end_locale_prelude): Likewise.
7260 (write_locale_data): Take locale_file structure rather than an
7261 iovec.
7262 * locale/programs/locfile.h: Include "obstack.h".
7263 (struct locale_file): Change to store locale file contents instead
7264 of header.
7265 (init_locale_data): New prototype.
7266 (align_locale_data): Likewise.
7267 (add_locale_empty): Likewise.
7268 (add_locale_raw_data): Likewise.
7269 (add_locale_raw_obstack): Likewise.
7270 (add_locale_string): Likewise.
7271 (add_locale_wstring): Likewise.
7272 (add_locale_uint32): Likewise.
7273 (add_locale_uint32_array): Likewise.
7274 (add_locale_char): Likewise.
7275 (start_locale_structure): Likewise.
7276 (end_locale_structure): Likewise.
7277 (start_locale_prelude): Likewise.
7278 (end_locale_prelude): Likewise.
7279 (write_locale_data): Update prototype.
7280 * locale/programs/3level.h (struct TABLE): Remove result field.
7281 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7282 Use new locale_file interface.
7283 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7284 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7285 * locale/programs/ld-address.c (address_output): Use new
7286 locale_file interface.
7287 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7288 NO_ADD_LOCALE.
7289 (collate_finish): Don't call collseq_table_finalize.
7290 (collate_output): Use new locale_file interface.
7291 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7292 in file.
7293 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7294 (TABLE): Move defines earlier in file.
7295 (ELEMENT): Likewise.
7296 (DEFAULT): Likewise.
7297 (wctrans_table_add): Move macro and inline function earlier in
7298 file.
7299 (struct wctype_table): Move type earlier in file.
7300 (add_locale_wctype_table): New static prototype.
7301 (struct locale_ctype_t): Use logical types instead of struct iovec
7302 pointers for members.
7303 (ctype_output): Use new locale_file interface.
7304 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7305 new locale_file interface.
7306 (allocate_arrays): Update for use of new locale_file interface.
7307 * locale/programs/ld-identification.c (identification_output): Use
7308 new locale_file interface.
7309 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7310 * locale/programs/ld-messages.c (messages_output): Likewise.
7311 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7312 * locale/programs/ld-name.c (name_output): Likewise.
7313 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7314 * locale/programs/ld-paper.c (paper_output): Likewise.
7315 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7316 * locale/programs/ld-time.c (time_output): Likewise.
7317
e029e2e5
AZ
73182013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7319
7320 * benchtests/Makefile: Add memrchr benchmark.
7321 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7322 benchmark as memrchr.
7323 * benchtests/bench-memrchr-ifunc.c: New file.
7324 * benchtests/bench-memrchr.c: New file.
7325
bbf6e8e4
WN
73262013-09-06 Will Newton <will.newton@linaro.org>
7327
7328 * benchtests/Makefile (string-bench): Add memcpy.
7329
6c82a2f8
CD
73302013-09-05 Carlos O'Donell <carlos@redhat.com>
7331 Cong Wang <amwang@redhat.com>
7332
e732c5f0 7333 [BZ #15850]
6c82a2f8
CD
7334 * sysdeps/unix/sysv/linux/bits/in.h
7335 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7336 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7337 before __USE_KERNEL_IPV6_DEFS uses.
7338 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7339 IPPROTO_BEETPH.
7340 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7341 sockaddr_in6, or ipv6_mreq.
7342
5430fc65
AZ
73432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7344
7345 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7346 memory access for final bytes in some large inputs.
7347 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7348
4660856c
AZ
73492013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7350
7351 * string/test-memrchr.c: New file.
7352 * string/test-memrchr-ifunc.c: New file.
7353 * string/Makefile: Add new memrchr testcase.
7354
bb8ea713
MF
73552013-09-05 Mike Frysinger <vapier@gentoo.org>
7356
7357 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7358 fanotify_init returns EPERM.
7359
b92a20b5
JM
73602013-09-04 Joseph Myers <joseph@codesourcery.com>
7361
7362 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7363 errors.
7364 (top level): Treat second token from macro or constant entries for
7365 allowed headers as allowed.
7366 * include/complex.h: Condition internal declarations on
7367 [!_ISOMAC].
7368 * include/fenv.h: Condition include of <stdbool.h> and internal
7369 declarations on [!_ISOMAC].
7447ccd9
CL
7370
73712013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7372
3e181dda 7373 [BZ #15923]
7447ccd9
CL
7374 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7375
3f2e46a4
JM
73762013-09-04 Joseph Myers <joseph@codesourcery.com>
7377
7378 * configure.in (--enable-versioning): Remove configure option.
7379 (libc_cv_asm_symver_directive): Remove configure test.
7380 (libc_cv_ld_version_script_option): Likewise.
7381 (VERSIONING): Remove variable and AC_SUBST.
7382 (DO_VERSIONING): Remove AC_DEFINE.
7383 * configure: Regenerated.
7384 * config.h.in (DO_VERSIONING): Remove macro.
7385 * Makerules [$(versioning) = yes]: Change conditionals to
7386 [$(build-shared) = yes].
7387 * config.make.in (versioning): Remove variable.
7388 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7389 [$(build-shared) = yes].
7390 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7391 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7392 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7393 [$(build-shared) = yes].
7394 * extra-lib.mk [$(versioning) = yes]: Likewise.
7395 * hurd/Makefile [$(versioning) = yes]: Likewise.
7396 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7397 [SHARED].
7398 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7399 [SHARED].
7400 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7401 [SHARED && !NO_HIDDEN].
7402 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7403 [SHARED].
7404 [SHARED && DO_VERSIONING]: Likewise..
7405 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7406 [$(build-shared) = yes].
7407 * manual/install.texi (--disable-versioning): Remove
7408 documentation.
7409 * INSTALL: Regenerated.
7410 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7411 to [SHARED].
7412 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7413 [$(build-shared) = yes].
7414 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7415 * sysdeps/i386/i686/multiarch/strstr-c.c
7416 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7417 [SHARED && !NO_HIDDEN].
7418 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7419 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7420 * sysdeps/powerpc/powerpc32/dl-machine.c
7421 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7422 * sysdeps/powerpc/powerpc32/sysdep.h
7423 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7424 to [SHARED && PIC && !NO_HIDDEN].
7425 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7426 conditional to [SHARED].
7427
44558701
WN
74282013-09-04 Will Newton <will.newton@linaro.org>
7429
7430 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7431 * benchtests/bench-string.h: Include bench-timing.h instead
7432 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7433 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7434 call to HP_TIMING_DIFF_INIT.
7435 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7436 instead of hp-timing.h macros.
7437 * benchtests/bench-memchr.c: Likewise.
7438 * benchtests/bench-memcmp.c: Likewise.
7439 * benchtests/bench-memcpy.c: Likewise.
7440 * benchtests/bench-memmem.c: Likewise.
7441 * benchtests/bench-memmove.c: Likewise.
7442 * benchtests/bench-memset.c: Likewise.
7443 * benchtests/bench-rawmemchr.c: Likewise.
7444 * benchtests/bench-strcasecmp.c: Likewise.
7445 * benchtests/bench-strcasestr.c: Likewise.
7446 * benchtests/bench-strcat.c: Likewise.
7447 * benchtests/bench-strchr.c: Likewise.
7448 * benchtests/bench-strcmp.c: Likewise.
7449 * benchtests/bench-strcpy.c: Likewise.
7450 * benchtests/bench-strcpy_chk.c: Likewise.
7451 * benchtests/bench-strlen.c: Likewise.
7452 * benchtests/bench-strncasecmp.c: Likewise.
7453 * benchtests/bench-strncat.c: Likewise.
7454 * benchtests/bench-strncmp.c: Likewise.
7455 * benchtests/bench-strncpy.c: Likewise.
7456 * benchtests/bench-strnlen.c: Likewise.
7457 * benchtests/bench-strpbrk.c: Likewise.
7458 * benchtests/bench-strrchr.c: Likewise.
7459 * benchtests/bench-strspn.c: Likewise.
7460 * benchtests/bench-strstr.c: Likewise.
7461
cae16d66
WN
74622013-09-04 Will Newton <will.newton@linaro.org>
7463
7464 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7465
ffa3cd7f
JM
74662013-09-03 Joseph Myers <joseph@codesourcery.com>
7467
7468 [BZ #15427]
7469 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7470 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7471 * math/libm-test.inc (lgamma_test_data): Add more tests.
7472 * sysdeps/i386/fpu/libm-test-ulps: Update.
7473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7474
8f02859f
OB
74752013-09-03 Ondřej Bílka <neleai@seznam.cz>
7476
7477 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7478 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7479 Add ifunc.
7480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7481 Add strcmp-sse2-unaligned
7482 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7483
18d43716
MF
74842013-09-02 Mike Frysinger <vapier@gentoo.org>
7485
7486 * Versions.def (libc): Add GLIBC_2.19.
7487
ac444012
MF
74882013-09-02 Mike Frysinger <vapier@gentoo.org>
7489
7490 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7491 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7492
b7835e32
JM
74932013-09-02 Joseph Myers <joseph@codesourcery.com>
7494
7495 [BZ #14155]
7496 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7497 intermediate calculations in recurrence.
7498 (__ieee754_ynf): Likewise.
7499 * math/libm-test.inc (jn_test_data): Do not allow spurious
7500 underflow exception. Add more tests.
7501 (yn_test_data): Add more tests.
7502 * sysdeps/i386/fpu/libm-test-ulps: Update.
7503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7504
8220f4f0
OB
75052013-09-02 Ondřej Bílka <neleai@seznam.cz>
7506
7507 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7508
f24a6d08
OB
75092013-08-30 Ondřej Bílka <neleai@seznam.cz>
7510
7511 * csu/init-first.c: Fix then/than typos.
7512 * locale/programs/ld-collate.c: Likewise.
7513 * locale/programs/linereader.h: Likewise.
7514 * manual/charset.texi: Likewise.
7515 * manual/filesys.texi: Likewise.
7516 * manual/stdio.texi: Likewise.
7517 * manual/string.texi: Likewise.
7518 * stdlib/fmtmsg.c: Likewise.
7519 * sysdeps/i386/stpncpy.S: Likewise.
7520 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7521 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7522 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7523 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7524
382466e0
OB
75252013-08-30 Ondřej Bílka <neleai@seznam.cz>
7526
7527 * elf/dl-open.c: Fix typos.
7528 * iconvdata/gbbig5.c: Likewise.
7529 * iconvdata/iso-2022-jp.c: Likewise.
7530 * iconv/gconv_int.h: Likewise.
7531 * iconv/loop.c: Likewise.
7532 * nis/rpcsvc/nis.h: Likewise.
7533 * resolv/ns_name.c: Likewise.
7534 * stdio-common/vfscanf.c: Likewise.
7535 * streams/stropts.h: Likewise.
7536 * sunrpc/rpc_thread.c: Likewise.
7537 * sysdeps/i386/strpbrk.S: Likewise.
7538 * sysdeps/ieee754/k_standard.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7541 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7542 * sysdeps/mach/hurd/profil.c: Likewise.
7543 * sysdeps/s390/dl-procinfo.h: Likewise.
7544 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7545 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7546 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7547 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7548 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7549
0186c6e9
OB
75502013-08-30 Ondřej Bílka <neleai@seznam.cz>
7551
7552 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7554
d4e16af1
OB
75552013-08-29 Ondřej Bílka <neleai@seznam.cz>
7556
7557 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7558 aix specific files.
7559 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7560 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7561 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7562 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7563 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7564 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7565 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7566 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7567
88335980
TS
75682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7569 Roland McGrath <roland@hack.frob.com>
7570
7571 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7572 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7573
ed479b02
ST
75742013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7575
7576 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7577 __executable_start symbol instead of _start.
7578
f1cc4c86
TS
75792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7580
d821f07c
TS
7581 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7582 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7583 Move macros to...
7584 * sysdeps/gnu/ldsodefs.h: ... this new file.
7585
c54290cf
TS
7586 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7587 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7588 instead of ELFOSABI_LINUX.
7589
0007fc9b 7590 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7591 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7592 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7593 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7594 Likewise.
7595 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7596 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7597 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7598 Likewise.
7599 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7600 (ibm_extended_long_double): Add ieee_nan member.
7601 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7602 (do_test): New function.
7603
f1cc4c86
TS
7604 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7605 TEST_TRUNC.
7606 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7607 functions, renamed from truncdfsf_test, trunctfsf_test,
7608 trunctfdf_test.
7609 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7610 functions.
7611 (do_test): Run all these.
7612
6f65e668
OB
76132013-08-29 Ondřej Bílka <neleai@seznam.cz>
7614
7615 * argp/argp-help.c: Fix typos.
7616 * argp/argp-parse.c: Likewise.
7617 * debug/backtracesyms.c: Likewise.
7618 * elf/elf.h: Likewise.
7619 * malloc/malloc.c: Likewise.
7620 * nis/nis_print.c: Likewise.
7621 * resolv/res_comp.c: Likewise.
7622 * stdlib/stdlib.h: Likewise.
7623 * sunrpc/clnt_tcp.c: Likewise.
7624 * sunrpc/clnt_udp.c: Likewise.
7625 * sunrpc/clnt_unix.c: Likewise.
7626 * sysdeps/unix/bsd/ptsname.c: Likewise.
7627 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7628 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7630 Likewise.
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7632 Likewise.
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7634 Likewise.
6f65e668
OB
7635 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7636
3a309239
SP
76372013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7638
7639 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7641
3b813b29
MF
76422013-08-27 Mike Frysinger <vapier@gentoo.org>
7643
7644 [BZ #15897]
7645 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7646 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7647 ($(objpfx)bug-dl-leaf): New rule.
7648 ($(objpfx)bug-dl-leaf.so): Likewise.
7649 ($(objpfx)bug-dl-leaf.out): Likewise.
7650 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7651 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7652 * dlfcn/bug-dl-leaf.c: New test.
7653 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7654 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7655 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7656 (dlclose): Likewise.
7657 (dlmopen): Likewise.
7658
8cc3269f
RM
76592013-08-27 Roland McGrath <roland@hack.frob.com>
7660
7f9d0034
RM
7661 * include/netdb.h [!_ISOMAC]:
7662 Don't include <tls.h>.
7663 (h_errno, __libc_h_errno): Move declaration and macros out of
7664 [_LIBC_REENTRANT].
7665
fb431262
RM
7666 * include/resolv.h [_RESOLV_H_]:
7667 Don't include <tls.h>.
7668 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7669 * resolv/res_libc.c: Don't include <tls.h>.
7670 (_res): Use __attribute__ ((nocommon)) in place of
7671 __attribute__ ((section (".bss"))).
7672
bd81123a
RM
7673 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7674 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7675
c4e42566
RM
7676 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7677
f890a59b
RM
7678 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7679 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7680
7681 * resolv/res_mkquery.c: Include <sys/time.h>.
7682
5d1f0a09
RM
7683 * inet/ifreq.c: Moved to ...
7684 * sysdeps/unix/ifreq.c: ... here.
7685 * inet/ifreq.c: New file, true stub version.
7686
6fcf28b3
RM
7687 * socket/sa_len.c: New file.
7688 * socket/Makefile (aux): Add it.
7689 * sysdeps/unix/sysv/linux/Makefile
7690 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7691 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7692 and #include <socket/sa_len.c>.
7693 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7694 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7695
e041fb8b
RM
7696 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7697 * bits/socket.h: ... here.
7698
8cc3269f
RM
7699 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7700 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7701 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7702
5d228a43
AS
77032013-08-27 Andreas Schwab <schwab@suse.de>
7704
45b8accc
AS
7705 [BZ #15736]
7706 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7707 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7708 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7709 * string/test-strcasecmp.c (test_main): Run tests in several
7710 locales.
7711 * string/test-strncasecmp.c (test_main): Likewise.
7712
5d228a43
AS
7713 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7714 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7715 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7717 (__strncasecmp_ssse3) [PIC]: Likewise.
7718
59d112a4
RM
77192013-08-26 Roland McGrath <roland@hack.frob.com>
7720
53234cc3
RM
7721 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7722
59d112a4
RM
7723 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7724 instead of explicitly declaring xdecrypt.
7725 * nis/nss_nis/nis-publickey.c: Likewise.
7726
595aba70
SP
77272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7728
7729 [BZ #15890]
7730 * nscd/aicache.c: Include res_hconf.h.
7731 (addhstaiX): Initialize res_hconf.
7732
ffabd393
AS
77332013-08-26 Andreas Schwab <schwab@suse.de>
7734
7735 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7736 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7737
e0a69f5c
SP
77382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7739
7740 * nscd/aicache.c (addhstaiX): Fix indentation.
7741
8c12f01d
MF
77422013-08-25 Mike Frysinger <vapier@gentoo.org>
7743
7744 * configure.ac: Quote $build_pt_chown test.
7745 * configure: Regenerated.
7746
8fe89494
JM
77472013-08-23 Joseph Myers <joseph@codesourcery.com>
7748
7749 [BZ #15532]
7750 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7751 * math/s_cexpf.c (__cexpf): Likewise.
7752 * math/s_cexpl.c (__cexpl): Likewise.
7753 * math/libm-test.inc (cexp_test_data): Correct expected return
7754 value for NaN + i0. Add another test.
7755
75b181d6
DM
77562013-08-22 David S. Miller <davem@davemloft.net>
7757
7758 * po/ca.po: Update Catalan translation from translation project.
936241e4 7759 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7760
acd06bb1
JM
77612013-08-21 Joseph Myers <joseph@codesourcery.com>
7762
7763 [BZ #15797]
7764 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7765 is infinite, not alongside NaN test.
7766 * math/s_fdimf.c (__fdimf): Likewise.
7767 * math/s_fdiml.c (__fdiml): Likewise.
7768 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7769 errno is unchanged.
7770
c0c3f78a
OB
77712013-08-21 Ondřej Bílka <neleai@seznam.cz>
7772
7773 * argp/argp-help.c: Fix typos.
7774 * crypt/speeds.c: Likewise.
7775 * csu/check_fds.c: Likewise.
7776 * elf/dl-load.c: Likewise.
7777 * elf/dl-open.c: Likewise.
7778 * elf/reldep3.c: Likewise.
7779 * elf/reldep.c: Likewise.
7780 * elf/sprof.c: Likewise.
7781 * iconv/iconv_charmap.c: Likewise.
7782 * iconv/skeleton.c: Likewise.
7783 * iconv/strtab.c: Likewise.
7784 * io/lockf64.c: Likewise.
7785 * libio/libioP.h: Likewise.
7786 * resolv/gai_notify.c: Likewise.
7787 * resolv/ns_name.c: Likewise.
7788 * resolv/ns_samedomain.c: Likewise.
7789 * resolv/res_send.c: Likewise.
7790 * stdlib/random.c: Likewise.
7791 * sunrpc/rpc/xdr.h: Likewise.
7792 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7793 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7794 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7795 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7796 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7797 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7799 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7800 * sysdeps/mach/hurd/check_fds.c: Likewise.
7801 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7802 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7803 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7804 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7805 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7806 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7807 * sysdeps/pthread/aio_notify.c: Likewise.
7808 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7809 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7810 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7812 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7813
46ed1038
LD
78142013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7815
7816 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7817 version if bit_Slow_SSE4_2 is set.
7818 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7819 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7820
d400dcac
AZ
78212013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7822
7823 [BZ #15867]
7824 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7825 trampoline stack frame information.
7826 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7827 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7828 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7829 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7830 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7831 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7832 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7833 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7834 sa_flags value.
7835 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7836 interrupting a syscall and set with option SA_SIGINFO.
7837
42c8fdd8
JM
78382013-08-20 Joseph Myers <joseph@codesourcery.com>
7839
c980f2f4
JM
7840 [BZ #15531]
7841 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7842 argument is infinite.
7843 * math/s_cprojf.c (__cprojf): Likewise.
7844 * math/s_cprojl.c (__cprojl): Likewise.
7845 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7846 * math/libm-test.inc (cproj_test_data): Add more tests.
7847
0716c4fc
JM
7848 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7849
42c8fdd8
JM
7850 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7851 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7852 size. Use __ffs to determine corresponding shift.
7853
b31469d0
JM
78542013-08-20 Joseph Myers <joseph@codesourcery.com>
7855 Roland McGrath <roland@hack.frob.com>
7856
7857 * Makefile (INSTALL): Remove trailing blank lines from output of
7858 makeinfo.
7859
4e39af6e
AK
78602013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7861
7862 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7863 Align 32 bit compat elf_greg to 8 bytes.
7864
f315524e
AA
78652013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7866
7867 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7868
1326ba1a
SP
78692013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 * string/strcoll_l.c (coll_seq): New structure.
7872 (get_next_seq_cached): New function.
7873 (get_next_seq): New function.
7874 (do_compare): New function.
7875 (STRCOLL): Use GNU style definition. Simplify implementation
7876 by using get_next_seq, get_next_seq_cached and do_compare.
7877
91ce4085
FW
78782013-08-16 Florian Weimer <fweimer@redhat.com>
7879
7880 [BZ #14699]
7881 CVE-2013-4237
7882 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7883 member.
7884 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7885 member.
7886 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7887 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7888 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7889 conditional.
7890 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7891 GETDENTS_64BIT_ALIGNED.
7892 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7893 * manual/filesys.texi (Reading/Closing Directory): Document
7894 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7895 strongly.
7896 * manual/conf.texi (Limits for Files): Add portability note to
7897 NAME_MAX, PATH_MAX.
7898 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7899
ca0a6bc4
AS
79002013-08-13 Andreas Schwab <schwab@suse.de>
7901
7902 [BZ #15749]
7903 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7904 of fabs.
7905 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7906 LDBL_MAX_EXP >= 16384]: Add tests for it.
7907
6c1fd795
DM
79082013-08-12 David S. Miller <davem@davemloft.net>
7909
7910 * version.h (RELEASE): Set to "development".
7911 (VERSION): Set to "2.18.90".
7912 * NEWS: Add 2.19 section.
7913
31ad488d
DM
79142013-08-03 David S. Miller <davem@davemloft.net>
7915
7916 * po/ko.po: Update Korean translation from translation project.
7917
db24e684
DM
79182013-08-01 David S. Miller <davem@davemloft.net>
7919
7920 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7921 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7922 Bilka.
7923
f723285b
DM
79242013-07-30 David S. Miller <davem@davemloft.net>
7925
7926 * po/fr.po: Update French translation from translation project.
7927
3cbc52db
DM
79282013-07-28 David S. Miller <davem@davemloft.net>
7929
30bbc0cc
DM
7930 * po/cs.po: Update Czech translation from translation project.
7931
3cbc52db
DM
7932 * po/sv.po: Update Swedish translation from translation project.
7933
d492e6d0
DM
79342013-07-27 David S. Miller <davem@davemloft.net>
7935
f1a7f492
DM
7936 * po/eo.po: Update Esperanto translation from translation project.
7937
90e62a4a
DM
7938 * po/vi.po: Update Vietnamese translation from translation project.
7939
d492e6d0
DM
7940 * po/de.po: Update German translation from translation project.
7941
d4baa62d
DM
79422013-07-26 David S. Miller <davem@davemloft.net>
7943
641aa7b4
DM
7944 * po/bg.po: Update Bulgarian translation from translation project.
7945
d4baa62d
DM
7946 * po/nl.po: Update Dutch translation from translation project.
7947 * po/pl.po: Update Polish translation from translation project.
7948 * po/ru.po: Update Russian translation from translation project.
7949
61a9dcb9
DM
79502013-07-24 David S. Miller <davem@davemloft.net>
7951
7952 * po/libc.pot: Update.
7953
7b1f8b58
AZ
79542013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7955
7956 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7957 variable page size.
7958 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7959 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7960 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7961
a8fc7a03
AK
79622013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7963
7964 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7965
e4608715
CD
79662013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7967 Andreas Schwab <schwab@suse.de>
7968 Roland McGrath <roland@hack.frob.com>
7969 Joseph Myers <joseph@codesourcery.com>
7970 Carlos O'Donell <carlos@redhat.com>
7971
7972 [BZ #15755]
7973 * config.h.in: Define HAVE_PT_CHOWN.
7974 * config.make.in (build-pt-chown): New variable.
7975 * configure.in (--enable-pt_chown): New configure option.
7976 * configure: Regenerate.
7977 * login/Makefile: Include Makeconfig. Build pt_chown only if
7978 build-pt-chown is enabled.
7979 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7980 pt_chown to fix pty ownership.
7981 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7982 CLOSE_ALL_FDS.
7983 * manual/install.texi (Configuring and compiling): Mention
7984 --enable-pt_chown. Add @findex for grantpt.
7985 * INSTALL: Regenerate.
7986
da2d62df
DM
79872013-07-20 David S. Miller <davem@davemloft.net>
7988
7989 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7990 difference between 32-bit and 64-bit.
7991
d7e06450
CD
79922013-07-15 Carlos O'Donell <carlos@redhat.com>
7993
7994 [BZ #15711]
7995 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7996 Avoid system header dependency with -ffreestanding.
7997 ($(objpfx)bits/syscall%d): Likewise.
7998
f959cfd7
DM
79992013-07-13 David S. Miller <davem@davemloft.net>
8000
8001 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8002 underflows from atanl/atan2l due to bug 15319.
8003 (casinh_test_data): Likewise.
8004
c61f8513
DM
80052013-07-07 David S. Miller <davem@davemloft.net>
8006
8007 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8008
72c90ed0
JA
80092013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8010
8011 * sysdeps/i386/fpu/libm-test-ulps: Update.
8012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8013
52dfbe13
SP
80142013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8015
8016 * configure.in (--enable-lock-elision): Fix message text.
8017 * INSTALL: Regenerate.
8018 * configure: Regenerate.
8019
3f169543
AZ
80202013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8021
8022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8023
521c6785
AJ
80242013-07-03 Andreas Jaeger <aj@suse.de>
8025
8026 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8027 define.
8028 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8029 (ptrace_peeksiginfo_args): Add.
8030 (__ptrace_peeksiginfo_flags): Add.
8031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8033 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8034
d2cc15cb
AM
80352013-07-03 Allan McRae <allan@archlinux.org>
8036
8037 * sysdeps/i386/fpu/libm-test-ulps: Update.
8038
3aaeeca7
DM
80392013-07-02 David S. Miller <davem@davemloft.net>
8040
8041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8042
5314ed1a
MT
80432013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8044
8045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8046
67338156
JM
80472013-07-02 Joseph Myers <joseph@codesourcery.com>
8048
8049 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8051
1717da59
AK
80522013-07-02 Andi Kleen <ak@linux.intel.com>
8053
8054 * config.h.in (ENABLE_LOCK_ELISION): Add.
8055 * configure.in (--enable-lock-elision): Add option.
8056 * manual/install.texi: Document --enable lock elision.
8057 * configure: Regenerate
8058 * INSTALL: Regenerate.
8059
1c81621c
L
80602013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8063 SSE4.2 strcasecmp for libc.a.
8064 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8065
77f01ab5
JM
80662013-07-02 Joseph Myers <joseph@codesourcery.com>
8067
8068 [BZ #13304]
8069 * soft-fp/op-common.h (_FP_FMA): New macro.
8070 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8071 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8072 (_FP_MUL_MEAT_1_imm): ... here.
8073 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8074 (_FP_MUL_MEAT_1_wide): ... here.
8075 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8076 (_FP_MUL_MEAT_1_hard): ... here.
8077 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8078 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8079 (_FP_MUL_MEAT_2_wide): ... here.
8080 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8081 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8082 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8083 (_FP_MUL_MEAT_2_gmp): ... here.
8084 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8085 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8086 (_FP_MUL_MEAT_4_wide): ... here.
8087 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8088 (_FP_MUL_MEAT_4_gmp): ... here.
8089 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8090 (_FP_WFRACBITS_DW_S): Likewise.
8091 (_FP_WFRACXBITS_DW_S): Likewise.
8092 (_FP_HIGHBIT_DW_S): Likewise.
8093 (FP_FMA_S): Likewise.
8094 (_FP_FRAC_HIGH_DW_S): Likewise.
8095 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8096 (_FP_WFRACBITS_DW_D): Likewise.
8097 (_FP_WFRACXBITS_DW_D): Likewise.
8098 (_FP_HIGHBIT_DW_D): Likewise.
8099 (FP_FMA_D): Likewise.
8100 (_FP_FRAC_HIGH_DW_D): Likewise.
8101 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8102 (_FP_WFRACBITS_DW_E): Likewise.
8103 (_FP_WFRACXBITS_DW_E): Likewise.
8104 (_FP_HIGHBIT_DW_E): Likewise.
8105 (FP_FMA_E): Likewise.
8106 (_FP_FRAC_HIGH_DW_E): Likewise.
8107 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8108 (_FP_WFRACBITS_DW_Q): Likewise.
8109 (_FP_WFRACXBITS_DW_Q): Likewise.
8110 (_FP_HIGHBIT_DW_Q): Likewise.
8111 (FP_FMA_Q): Likewise.
8112 (_FP_FRAC_HIGH_DW_Q): Likewise.
8113 * soft-fp/fmasf4.c: New file.
8114 * soft-fp/fmadf4.c: Likewise.
8115 * soft-fp/fmatf4.c: Likewise.
8116
6308fd9a
LD
81172013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8118
8119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8120 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8121 Silvermont.
8122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8123 macro.
8124 (index_Slow_SSE4_2): Likewise.
8125 (index_Prefer_PMINUB_for_stringop): Likewise.
8126 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8127 bit_Slow_SSE4_2 is set.
8128 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8129 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8130
89cd9569
RA
81312013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8132
8133 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8134 rtld_global._dl_hwcap2.
8135 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8136 POWER8.
8137 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8138 POWER8 feature descriptions defined in _dl_hwcap2.
8139 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8140 string handling for POWER8 feature bits.
8141 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8142 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8143 _dl_powerpc_cap_flags.
8144 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8145 * sysdeps/powerpc/rtld-global-offsets.sym
8146 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8147 _dl_hwcap2 in the rtld_global_ro structure.
8148
1ae8bfe0
RA
81492013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8150
8151 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8152 hardware capabilities in support of AT_HWCAP2.
8153 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8154 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8155 GLRO(dl_hwcap2).
8156 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8157 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8158 explicitly the unknown a_type display mechanism is used.
8159 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8160 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8161 struct member.
8162 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8163 to macro prototype for AT_HWCAP2 support.
8164 * sysdeps/i386/dl-procinfo.h: Likewise.
8165 * sysdeps/s390/dl-procinfo.h: Likewise.
8166 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8167 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8168 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8169 return -1 for unknown a_type display fallback.
8170 * sysdeps/sparc/dl-procinfo.h: Likewise.
8171 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8172 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8173
8fbec010
JM
81742013-06-28 Joseph Myers <joseph@codesourcery.com>
8175
8176 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8177 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8178
0432680e
PY
81792013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8180
8181 [BZ #12492]
8182 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8183 mprotect making __stack_prot writable.
8184
ce61a2ad
NF
81852013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8186 Joseph Myers <joseph@codesourcery.com>
8187
8188 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8189 as being properly aligned.
8190
f91f1c0f
MR
81912013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8192
3d0f5d0c
MR
8193 * dlfcn/modstatic5.c: New file.
8194 * dlfcn/tststatic5.c: New file.
8195 * dlfcn/Makefile (tests): Add tststatic5.
8196 (tests-static): Likewise.
8197 (modules-names): Add modstatic5.
8198 (tststatic5-ENV): New variable.
8199 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8200
f91f1c0f
MR
8201 [BZ #15022]
8202 * elf/dl-support.c (_dl_main_map): New variable.
8203 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8204 (_dl_nns, _dl_load_adds): Set to 1.
8205 (_dl_initial_searchlist): Refer to _dl_main_map.
8206 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8207 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8208 call to _dl_get_origin.
8209 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8210 around call_map.
8211 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8212 * dlfcn/modstatic3.c: New file.
8213 * dlfcn/tststatic3.c: New file.
8214 * dlfcn/tststatic4.c: New file.
8215 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8216 (tests-static): Likewise.
8217 (modules-names): Add modstatic3.
8218 (tststatic3-ENV, tststatic4-ENV): New variables.
8219 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8220 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8221
cbe7d24b
JM
82222013-06-26 Joseph Myers <joseph@codesourcery.com>
8223
8224 * configure.in (CC): Require GCC version 4.4 or later.
8225 * configure: Regenerated.
8226 * manual/install.texi (Tools for Compilation): Update GCC version
8227 requirement.
8228 * INSTALL: Regenerated.
8229
11b8a0e1
LD
82302013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8231
8232 [BZ #15674]
bb5bb87c
L
8233 * string/test-memcmp.c (check2): New.
8234 (main): Call check2.
8235
11b8a0e1
LD
8236 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8237
b0037103
MR
82382013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8239
8240 [BZ #15022]
8241 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8242 over to...
8243 (dl_open_worker) [!SHARED]: ... here.
8244
c18c701d
RA
82452013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8246
8247 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8248
1d17fa5f
RH
82492013-06-25 Richard Henderson <rth@redhat.com>
8250
8251 * locale/programs/locarchive.c: Include <libc-internal.h>
8252
8fcb833a
JM
82532013-06-25 Joseph Myers <joseph@codesourcery.com>
8254
8255 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8256 trailing whitespace removed.
8257
17db6e8d
MF
82582013-06-24 Mike Frysinger <vapier@gentoo.org>
8259
8260 [BZ #10283]
17db6e8d
MF
8261 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8262 * locale/programs/locarchive.c: Include libc-mmap.h.
8263 (prepare_address_space): Take two new outputs (the mmap base and len).
8264 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8265 values.
8266 (create_archive): Declare new mmap base and len values for
8267 prepare_address_space, and store the result in ah.
8268 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8269 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8270 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8271 Declare new mmap base and len values for
8272 prepare_address_space, and store the result in new_ah.
8273 (open_archive): Declare new mmap base and len values for
8274 prepare_address_space, and store the result in ah.
8275 (close_archive): If ah->mmap_base is not NULL, use that and
8276 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8277 * sysdeps/generic/libc-mmap.h: New file.
8278
d605071e
MF
82792013-06-24 Mike Frysinger <vapier@gentoo.org>
8280
8281 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8282 (ALIGN_UP): Likewise.
8283 (PTR_ALIGN_DOWN): Likewise.
8284 (PTR_ALIGN_UP): Likewise.
8285
2f063a6e
RA
82862013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8287
8288 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8289 entry mapped to PPC_PLATFORM_POWER8.
8290 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8291 POWER8.
8292 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8293 (_dl_string_platform): Add case for exporting platform position for
8294 POWER8.
8295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8296 search path to sysdeps/powerpc/powerpc32/power8 directory.
8297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8298 search path to sysdeps/powerpc/powerpc64/power8 directory.
8299 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8300 power7 directories.
8301 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8302 power7 directories.
8303
a31ee4b3
SP
83042013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8305
a74ca98f
SP
8306 * INSTALL: Regenerate.
8307
a31ee4b3
SP
8308 * nscd/connections.c (nscd_init): Fix comment.
8309
695c378f
JM
83102013-06-22 Joseph Myers <joseph@codesourcery.com>
8311
d8412221
JM
8312 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8313
695c378f
JM
8314 [BZ #15667]
8315 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8316 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8317
d1d54715
MR
83182013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8319
8320 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8321 DL_DST_REQ_STATIC.
8322 (DL_DST_REQ_STATIC): Remove macro.
8323
8fdda7af
JM
83242013-06-21 Joseph Myers <joseph@codesourcery.com>
8325
8326 [BZ #7006]
8327 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8328 with a shift of 0 bits.
8329
f3bc5e5a
MR
83302013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8331
8332 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8333 $(tststatic-ENV).
8334
be09e8c9
KK
83352013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8336
8337 [BZ #15655]
8338 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8339
85c2e611
AZ
83402013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341
8342 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8343 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8344 accepts -fno-tree-loop-distribute-patterns.
8345 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8346 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8347 recursive call.
8348 * string/memset.c (memset): Likewise.
8349 * string/test-memmove.c (simple_memmove): Disable loop transformation
8350 to library calls.
8351 * string/test-memset.c (simple_memset): Likewise.
8352 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8353 * benchtests/bench-memset.c (simple_memset): Likewise.
8354 * configure: Regenerated.
8355
c91e0825
JM
83562013-06-20 Joseph Myers <joseph@codesourcery.com>
8357
b8c792af
JM
8358 * math/test-misc.c (main): Ignore fesetround failure when failures
8359 of subsequent rounding tests would be ignored.
8360
c91e0825
JM
8361 [BZ #15654]
8362 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8363 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8364 * math/fegetenv.c (__fegetenv): Return 0.
8365 * math/fegetexcept.c (fegetexcept): Return 0.
8366 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8367 FE_TONEAREST.
8368 * math/feholdexcpt.c (feholdexcept): Return 0.
8369 * math/fesetenv.c (__fesetenv): Return 0.
8370 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8371 argument FE_TONEAREST.
8372 * math/feupdateenv.c (__feupdateenv): Return 0.
8373 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8374
bfcacbde
RM
83752013-06-18 Roland McGrath <roland@hack.frob.com>
8376
8377 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8378 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8379 ($(objpfx)rtld-%.os rules): Use them.
8380
e55a9b25
AZ
83812013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8382
8383 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8384 fields.
8385
346d65b3
RM
83862013-06-17 Roland McGrath <roland@hack.frob.com>
8387
12086fb4
RM
8388 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8389 length of target pattern, then descending length of dependency pattern.
8390 * configure.in (AWK): Require gawk 3.1.2 or newer.
8391 * manual/install.texi (Tools for Compilation): Say that we do.
8392 * configure: Regenerated.
8393
346d65b3
RM
8394 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8395 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8396 * scripts/sysd-rules.awk: ... this new script.
8397 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8398 than a glob-style pattern.
8399
1a846317
JM
84002013-06-17 Joseph Myers <joseph@codesourcery.com>
8401
8402 * math/test-misc.c (main): Do not treat incorrectly rounded
8403 conversions as failure unless ROUNDING_TESTS passes.
8404
8fc75e6f
JM
84052013-06-15 Joseph Myers <joseph@codesourcery.com>
8406
3711a167
JM
8407 [BZ #15631]
8408 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8409 restore exception state around main square root computation, then
8410 check for inexactness explicitly.
8411
8fc75e6f
JM
8412 * math/libm-test.inc (fma_test_data): Add another test.
8413
61dd6208
SP
84142013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8415
adf23d2c
SP
8416 * manual/threads.texi (Non-POSIX Extensions): New document
8417 node. Document pthread_getattr_default_np and
8418 pthread_setattr_default_np.
8419
61dd6208
SP
8420 * Versions.def (libpthread): Add GLIBC_2.18.
8421 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8423 Likewise.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8425 Likewise.
8426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8427 Likewise.
8428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8429 Likewise.
8430 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8431 Likewise.
8432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8433 Likewise.
8434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8435 Likewise.
8436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8437 Likewise.
8438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8439 Likewise.
8440
d086fc7b
LD
84412013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8442
8443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8444 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8445
747ef469
SP
84462013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8447 H.J. Lu <hjl.tools@gmail.com>
8448
8449 [BZ #15627]
8450 * sysdeps/x86_64/rtld-memset.c: Remove file.
8451 * sysdeps/x86_64/rtld-memset.S: New file.
8452
1b2feed2
JM
84532013-06-14 Joseph Myers <joseph@codesourcery.com>
8454
8455 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8456 (test_in_one_mode): Take arguments for whether the rounding mode
8457 is supported for each floating-point type.
8458 (do_test): Pass new arguments to test_in_one_mode using
8459 ROUNDING_TESTS.
8460
a58ad3f8
RM
84612013-06-13 Roland McGrath <roland@hack.frob.com>
8462
8463 * posix/tst-waitid.c (do_test): Distinguish different instances of
8464 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8465 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8466 before entering the kernel for waitpid.
8467
c204ab28
SP
84682013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8469
8470 * NEWS: Fix note on clock function precision. Text by Roland
8471 McGrath.
8472
f4a29fba
RM
84732013-06-13 Roland McGrath <roland@hack.frob.com>
8474
8475 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8476 it into place only when and if the sanity check passes.
8477
1f24b9ad
JM
84782013-06-13 Joseph Myers <joseph@codesourcery.com>
8479
8480 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8481 output for whether conversion result is exact. Take argument
8482 indicating whether type is IBM long double.
8483 (round_for_all): Change need_exact field to ibm_ld.
8484 * stdlib/tst-strtod-round.c (struct exactness): New type.
8485 (struct test): Change bool ld_ok field to struct exactness exact.
8486 (TEST): Update all definitions for change to field.
8487 (tests): Regenerate array contents.
8488 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8489 field value. Check for IBM long double here.
8490 (do_test): Update calls to test_in_one_mode.
8491
58206c68
SP
84922013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8493
8494 [BZ #12515]
8495 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8496 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8497
2d6f4c5b 84982013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8499
8500 [BZ #15605]
8501 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8502 generated by the compiler on loop optimizations.
8503 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8504 general definitions.
8505
94f2c076
JM
85062013-06-12 Joseph Myers <joseph@codesourcery.com>
8507
8508 * math/bug-nextafter.c: Include <math-tests.h>.
8509 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8510 the relevant type.
8511 * math/bug-nexttoward.c: Include <math-tests.h>.
8512 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8513 the relevant type.
8514 * math/test-misc.c: Include <math-tests.h>.
8515 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8516 the relevant type.
8517
e0e50a0a
AJ
85182013-06-12 Andreas Jaeger <aj@suse.de>
8519
8520 * po/ia.po: Update Interlingua translation from translation
8521 project.
8522
25061094
SP
85232013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8524
8525 * include/fenv.h: Include stdbool.h.
8526 (struct rm_ctx): New structure.
8527 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8528 Define macro.
8529 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8530 (SET_RESTORE_ROUNDF): Likewise.
8531 (SET_RESTORE_ROUNDL): Likewise.
8532 (SET_RESTORE_ROUND_NOEX): Likewise.
8533 (SET_RESTORE_ROUND_NOEXF): Likewise.
8534 (SET_RESTORE_ROUND_NOEXL): Likewise.
8535 (SET_RESTORE_ROUND_53BIT): Likewise.
8536 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8537 (libc_feresetround_noexf_ctx): Likewise.
8538 (libc_feresetround_noexl_ctx): Likewise.
8539 (libc_feholdsetround_53bit_ctx): Likewise.
8540 (libc_feresetround_53bit_ctx): Likewise.
8541 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8542 (libc_feholdexcept_setround_sse_ctx): New function.
8543 (libc_fesetenv_sse_ctx): Likewise.
8544 (libc_feupdateenv_sse_ctx): Likewise.
8545 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8546 (libc_feholdexcept_setround_387_ctx): Likewise.
8547 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8548 (libc_feholdsetround_387_prec_ctx): Likewise.
8549 (libc_feholdsetround_387_ctx): Likewise.
8550 (libc_feholdsetround_387_53bit_ctx): Likewise.
8551 (libc_feholdsetround_sse_ctx): Likewise.
8552 (libc_feresetround_sse_ctx): Likewise.
8553 (libc_feresetround_387_ctx): Likewise.
8554 (libc_feupdateenv_387_ctx): Likewise.
8555 (libc_feholdexcept_setroundf_ctx): Define macro.
8556 (libc_fesetenvf_ctx): Likewise.
8557 (libc_feupdateenvf_ctx): Likewise.
8558 (libc_feholdsetroundf_ctx): Likewise.
8559 (libc_feresetroundf_ctx): Likewise.
8560 (libc_feholdexcept_setround_ctx): Likewise.
8561 (libc_fesetenv_ctx): Likewise.
8562 (libc_feupdateenv_ctx): Likewise.
8563 (libc_feholdsetround_ctx): Likewise.
8564 (libc_feresetround_ctx): Likewise.
8565 (libc_feholdexcept_setroundl_ctx): Likewise.
8566 (libc_feupdateenvl_ctx): Likewise.
8567 (libc_feholdsetroundl_ctx): Likewise.
8568 (libc_feresetroundl_ctx): Likewise.
8569 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8570 (libc_feresetround_53bit_ctx): Likewise.
8571
59b30555
SP
85722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8573
8574 * locale/iso-639.def: Convert to UTF-8.
8575
f1d73d30
JM
85762013-06-11 Joseph Myers <joseph@codesourcery.com>
8577
8578 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8579 (EXCEPTION_TESTS_double): Likewise.
8580 (EXCEPTION_TESTS_long_double): Likewise.
8581 (EXCEPTION_TESTS): Likewise.
8582 * math/libm-test.inc (test_exceptions): Only test exceptions if
8583 EXCEPTION_TESTS (FLOAT).
8584
94aca5e7
SP
85852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8586
8587 * benchtests/Makefile (string-bench): Add strcpy_chk and
8588 stpcpy_chk.
8589 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8590 * benchtests/bench-stpcpy_chk.c: New file.
8591 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8592 * benchtests/bench-strcpy_chk.c: New file.
8593 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8594 code.
8595 (do_test): Likewise.
8596
fac0c5f2
RA
85972013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8598
8599 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8600 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8601 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8602 with tabs where appropriate.
8603 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8604 dl-procinfo.h.
8605 [PPC_PLATFORM_PPC440]: Likewise.
8606 [PPC_PLATFORM_PPC464]: Likewise.
8607 [PPC_PLATFORM_PPC476]: Likewise.
8608 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8609 ppc464, and ppc476 platform strings merging from ports/
8610 dl-procinfo.h.
8611
f22bc486
AS
86122013-06-11 Andreas Schwab <schwab@suse.de>
8613
8614 [BZ #14991]
8615 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8616 (from_ucs4_idx): Regenerate.
8617 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8618 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8619 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8620 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8621 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8622 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8623 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8624 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8625 from FROM_LOOP and TO_LOOP specific macros.
8626 (BODY): Handle combining characters.
8627 * iconvdata/BIG5HKSCS.irreversible: Update.
8628 * iconvdata/BIG5HKSCS.precomposed: New file.
8629 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8630 characters.
8631 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8632
c1f75dc3
SP
86332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8634
4eacded2
SP
8635 * include/sys/time.h: Fix indentation and add copyright header.
8636
fec799f8
SP
8637 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8638 (do_test): Likewise.
8639 * string/test-memchr.c (do_one_test): Likewise.
8640 (do_test): Likewise.
8641 * string/test-memcmp.c (do_one_test): Likewise.
8642 (do_test): Likewise.
8643 * string/test-memcpy.c (do_one_test): Likewise.
8644 (do_test): Likewise.
8645 * string/test-memmem.c (do_one_test): Likewise.
8646 (do_test): Likewise.
8647 (do_random_tests): Likewise.
8648 * string/test-memmove.c (do_one_test): Likewise.
8649 (do_test): Likewise.
8650 * string/test-memset.c (do_one_test): Likewise.
8651 (do_test): Likewise.
8652 * string/test-rawmemchr.c (do_one_test): Likewise.
8653 (do_test): Likewise.
8654 * string/test-strcasecmp.c (do_one_test): Likewise.
8655 (do_test): Likewise.
8656 * string/test-strcasestr.c (do_one_test): Likewise.
8657 (do_test): Likewise.
8658 * string/test-strcat.c (do_one_test): Likewise.
8659 (do_test): Likewise.
8660 * string/test-strchr.c (do_one_test): Likewise.
8661 (do_test): Likewise.
8662 * string/test-strcmp.c (do_one_test): Likewise.
8663 (do_test): Likewise.
8664 * string/test-strcpy.c (do_one_test): Likewise.
8665 (do_test): Likewise.
8666 * string/test-string.h: Likewise.
8667 (test_init): Likewise.
8668 * string/test-strlen.c (do_one_test): Likewise.
8669 (do_test): Likewise.
8670 * string/test-strncasecmp.c (do_one_test): Likewise.
8671 (do_test): Likewise.
8672 * string/test-strncat.c (do_one_test): Likewise.
8673 (do_test): Likewise.
8674 * string/test-strncmp.c (do_one_test): Likewise.
8675 (do_test_limit): Likewise.
8676 (do_test): Likewise.
8677 * string/test-strncpy.c (do_one_test): Likewise.
8678 (do_test): Likewise.
8679 * string/test-strnlen.c (do_one_test): Likewise.
8680 (do_test): Likewise.
8681 * string/test-strpbrk.c (do_one_test): Likewise.
8682 (do_test): Likewise.
8683 * string/test-strrchr.c (do_one_test): Likewise.
8684 (do_test): Likewise.
8685 * string/test-strspn.c (do_one_test): Likewise.
8686 (do_test): Likewise.
8687 * string/test-strstr.c (do_one_test): Likewise.
8688 (do_test): Likewise.
8689
97020474
SP
8690 * benchtests/Makefile (string-bench): Add string benchmarks.
8691 * benchtests/bench-bcopy-ifunc.c: New file.
8692 * benchtests/bench-bcopy.c: New file.
8693 * benchtests/bench-bzero-ifunc.c: New file.
8694 * benchtests/bench-bzero.c: New file.
8695 * benchtests/bench-memccpy-ifunc.c: New file.
8696 * benchtests/bench-memccpy.c: New file.
8697 * benchtests/bench-memchr-ifunc.c: New file.
8698 * benchtests/bench-memchr.c: New file.
8699 * benchtests/bench-memcmp-ifunc.c: New file.
8700 * benchtests/bench-memcmp.c: New file.
8701 * benchtests/bench-memmem-ifunc.c: New file.
8702 * benchtests/bench-memmem.c: New file.
8703 * benchtests/bench-memmove-ifunc.c: New file.
8704 * benchtests/bench-memmove.c: New file.
8705 * benchtests/bench-mempcpy-ifunc.c: New file.
8706 * benchtests/bench-mempcpy.c: New file.
8707 * benchtests/bench-memset-ifunc.c: New file.
8708 * benchtests/bench-memset.c: New file.
8709 * benchtests/bench-rawmemchr-ifunc.c: New file.
8710 * benchtests/bench-rawmemchr.c: New file.
8711 * benchtests/bench-stpcpy-ifunc.c: New file.
8712 * benchtests/bench-stpcpy.c: New file.
8713 * benchtests/bench-stpncpy-ifunc.c: New file.
8714 * benchtests/bench-stpncpy.c: New file.
8715 * benchtests/bench-strcasecmp-ifunc.c: New file.
8716 * benchtests/bench-strcasecmp.c: New file.
8717 * benchtests/bench-strcasestr-ifunc.c: New file.
8718 * benchtests/bench-strcasestr.c: New file.
8719 * benchtests/bench-strcat-ifunc.c: New file.
8720 * benchtests/bench-strcat.c: New file.
8721 * benchtests/bench-strchr-ifunc.c: New file.
8722 * benchtests/bench-strchr.c: New file.
8723 * benchtests/bench-strchrnul-ifunc.c: New file.
8724 * benchtests/bench-strchrnul.c: New file.
8725 * benchtests/bench-strcmp-ifunc.c: New file.
8726 * benchtests/bench-strcmp.c: New file.
8727 * benchtests/bench-strcpy-ifunc.c: New file.
8728 * benchtests/bench-strcpy.c: New file.
8729 * benchtests/bench-strcspn-ifunc.c: New file.
8730 * benchtests/bench-strcspn.c: New file.
8731 * benchtests/bench-strlen-ifunc.c: New file.
8732 * benchtests/bench-strlen.c: New file.
8733 * benchtests/bench-strncasecmp-ifunc.c: New file.
8734 * benchtests/bench-strncasecmp.c: New file.
8735 * benchtests/bench-strncat-ifunc.c: New file.
8736 * benchtests/bench-strncat.c: New file.
8737 * benchtests/bench-strncmp-ifunc.c: New file.
8738 * benchtests/bench-strncmp.c: New file.
8739 * benchtests/bench-strncpy-ifunc.c: New file.
8740 * benchtests/bench-strncpy.c: New file.
8741 * benchtests/bench-strnlen-ifunc.c: New file.
8742 * benchtests/bench-strnlen.c: New file.
8743 * benchtests/bench-strpbrk-ifunc.c: New file.
8744 * benchtests/bench-strpbrk.c: New file.
8745 * benchtests/bench-strrchr-ifunc.c: New file.
8746 * benchtests/bench-strrchr.c: New file.
8747 * benchtests/bench-strspn-ifunc.c: New file.
8748 * benchtests/bench-strspn.c: New file.
8749 * benchtests/bench-strstr-ifunc.c: New file.
8750 * benchtests/bench-strstr.c: New file.
8751
c1f75dc3
SP
8752 * benchtests/Makefile: Disable parallel execution of targets.
8753 (string-bench): Add memcpy.
8754 (benchset): New variable to store a list of benchmark sets.
8755 (bench-func): Renamed from bench.
8756 (bench-set): New target.
8757 (bench): Depend on bench-func and bench-set.
8758 * benchtests/README: Add section on benchmark sets.
8759 * benchtests/bench-memcpy-ifunc.c: New file.
8760 * benchtests/bench-memcpy.c: New file.
8761 * benchtests/bench-string.h: New file.
8762
50fd745b
AS
87632013-06-11 Andreas Schwab <schwab@suse.de>
8764
8765 [BZ #15577]
8766 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8767 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8768 values in the triple.
8769 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8770 terminator in the group key.
8771
3ee7e9fe
AJ
87722013-06-11 Andreas Jaeger <aj@suse.de>
8773
8774 * po/zh_TW.po: Update Chinese (traditional) translation from
8775 translation project.
8776
89fb6835
SP
87772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8778
8779 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8780 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8781 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8782 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8783 (clock_getcpuclockid): Likewise.
8784 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8785 Add weak_alias and libc_hidden_def.
8786 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8787 * rt/clock_gettime.c (clock_gettime): Rename to
8788 __clock_gettime. Add weak_alias and libc_hidden_def.
8789 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8790 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8791 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8792 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8793 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8794 Likewise.
8795 * rt/clock_settime.c (clock_settime): Rename to
8796 __clock_settime. Add weak_alias and libc_hidden_def.
8797 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8798
0efa6f8b
JM
87992013-06-10 Joseph Myers <joseph@codesourcery.com>
8800
b8c61b4b
JM
8801 * mach/err_boot.sub: Remove trailing whitespace.
8802 * mach/err_ipc.sub: Likewise.
8803 * mach/err_mach.sub: Likewise.
8804
0efa6f8b
JM
8805 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8806 (ROUNDING_TESTS_double): Likewise.
8807 (ROUNDING_TESTS_long_double): Likewise.
8808 (ROUNDING_TESTS): Likewise.
8809 * math/libm-test.inc: Include <math-tests.h>.
8810 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8811 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8812 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8813 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8814
50b818bf
SP
88152013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8816
8817 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8818 of assigning.
8819
60d2f8f3
JM
88202013-06-08 Joseph Myers <joseph@codesourcery.com>
8821
4902d2c3
JM
8822 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8823 otherwise empty TRANS lines.
8824 * sysdeps/gnu/errlist.c: Regenerated.
8825
60d2f8f3
JM
8826 * catgets/gencat.c (error_print): Use (void) in function
8827 definition.
8828 * crypt/crypt_util.c (__init_des): Likewise.
8829 * crypt/speeds.c (Stop): Likewise.
8830 (main): Likewise.
8831 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8832 * inet/ruserpass.c (token): Likewise.
8833 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8834 * intl/localealias.c (extend_alias_table): Likewise.
8835 * intl/plural-exp.c (init_germanic_plural): Likewise.
8836 * libio/fcloseall.c (__fcloseall): Likewise.
8837 * libio/genops.c (_IO_flush_all): Likewise.
8838 (_IO_flush_all_linebuffered): Likewise.
8839 (_IO_cleanup): Likewise.
8840 (_IO_iter_begin): Likewise.
8841 (_IO_iter_end): Likewise.
8842 (_IO_list_lock): Likewise.
8843 (_IO_list_unlock): Likewise.
8844 (_IO_list_resetlock): Likewise.
8845 * libio/getchar.c (getchar): Likewise.
8846 * libio/getchar_u.c (getchar_unlocked): Likewise.
8847 * libio/getwchar.c (getwchar): Likewise.
8848 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8849 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8850 * login/getpt.c (__getpt): Likewise.
8851 * login/tst-utmp.c (main): Likewise.
8852 * malloc/hooks.c (__malloc_check_init): Likewise.
8853 * malloc/malloc.c (__malloc_stats): Likewise.
8854 * malloc/mtrace.c (tr_break): Likewise.
8855 (mtrace): Likewise.
8856 (muntrace): Likewise.
8857 * misc/fstab.c (endfsent): Likewise.
8858 * misc/getclktck.c (__getclktck): Likewise.
8859 * misc/getdtsz.c (__getdtablesize): Likewise.
8860 * misc/gethostid.c (gethostid): Likewise.
8861 * misc/getpagesize.c (__getpagesize): Likewise.
8862 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8863 (__get_nprocs): Likewise.
8864 (__get_phys_pages): Likewise.
8865 (__get_avphys_pages): Likewise.
8866 * misc/getttyent.c (getttyent): Likewise.
8867 (setttyent): Likewise.
8868 (endttyent): Likewise.
8869 * misc/getusershell.c (getusershell): Likewise.
8870 (endusershell): Likewise.
8871 (setusershell): Likewise.
8872 (initshells): Likewise.
8873 * misc/hsearch.c (__hdestroy): Likewise.
8874 * misc/sync.c (sync): Likewise.
8875 * misc/syslog.c (closelog_internal): Likewise.
8876 (closelog): Likewise.
8877 * misc/ttyslot.c (ttyslot): Likewise.
8878 * misc/vhangup.c (vhangup): Likewise.
8879 * posix/fork.c (__fork): Likewise.
8880 * posix/getegid.c (__getegid): Likewise.
8881 * posix/geteuid.c (__geteuid): Likewise.
8882 * posix/getgid.c (__getgid): Likewise.
8883 * posix/getpid.c (__getpid): Likewise.
8884 * posix/getppid.c (__getppid): Likewise.
8885 * posix/getuid.c (__getuid): Likewise.
8886 * posix/pause.c (pause): Likewise.
8887 * posix/setpgrp.c (setpgrp): Likewise.
8888 * posix/setsid.c (__setsid): Likewise.
8889 * posix/test-vfork.c (noop): Likewise.
8890 * resolv/gethnamaddr.c (_endhtent): Likewise.
8891 (_gethtent): Likewise.
8892 (ht_endhostent): Likewise.
8893 (gethostent): Likewise.
8894 (dns_service): Likewise.
8895 * stdlib/drand48.c (drand48): Likewise.
8896 * stdlib/lrand48.c (lrand48): Likewise.
8897 * stdlib/mrand48.c (mrand48): Likewise.
8898 * stdlib/rand.c (rand): Likewise.
8899 * stdlib/random.c (__random): Likewise.
8900 * stdlib/setenv.c (clearenv): Likewise.
8901 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8902 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8903 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8904 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8905 (__get_nprocs): Likewise.
8906 (__get_phys_pages): Likewise.
8907 (__get_avphys_pages): Likewise.
8908 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8909 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8910 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8911 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8912 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8913 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8914 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8915 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8916 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8917 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8918 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8919 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8920 * sysdeps/posix/clock.c (clock): Likewise.
8921 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8922 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8923 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8924 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8925 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8926 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8927 (__get_nprocs_conf): Likewise.
8928 (__get_phys_pages): Likewise.
8929 (__get_avphys_pages): Likewise.
8930 * time/clock.c (clock): Likewise.
8931 * time/tzset.c (__tzname_max): Likewise.
8932
2e09a79a
JM
89332013-06-07 Joseph Myers <joseph@codesourcery.com>
8934
8935 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8936 (__bswap_32): Do not use "register".
8937 * crypt/crypt.c (_ufc_doit_r): Likewise.
8938 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8939 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8940 * gmon/gmon.c (__monstartup): Likewise.
8941 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8942 * hurd/hurdmalloc.c (more_memory): Likewise.
8943 (malloc): Likewise.
8944 (free): Likewise.
8945 (realloc): Likewise.
8946 (malloc_fork_prepare): Likewise.
8947 (malloc_fork_parent): Likewise.
8948 (malloc_fork_child): Likewise.
8949 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8950 (_svcauth_des): Likewise.
8951 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8952 * inet/inet_net.c (inet_network): Likewise.
8953 * inet/inet_netof.c (inet_netof): Likewise.
8954 * inet/rcmd.c (__validuser2_sa): Likewise.
8955 * io/fts.c (fts_open): Likewise.
8956 (fts_load): Likewise.
8957 (fts_close): Likewise.
8958 (fts_read): Likewise.
8959 (fts_children): Likewise.
8960 (fts_build): Likewise.
8961 (fts_stat): Likewise.
8962 (fts_sort): Likewise.
8963 (fts_alloc): Likewise.
8964 (fts_lfree): Likewise.
8965 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8966 (_IO_file_xsgetn): Likewise.
8967 (_IO_file_xsgetn_mmap): Likewise.
8968 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8969 (_IO_cookie_write): Likewise.
8970 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8971 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8972 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8973 * malloc/obstack.c (_obstack_begin): Likewise.
8974 (_obstack_begin_1): Likewise.
8975 (_obstack_newchunk): Likewise.
8976 (_obstack_allocated_p): Likewise.
8977 (obstack_free): Likewise.
8978 (_obstack_memory_used): Likewise.
8979 * misc/getttyent.c (getttynam): Likewise.
8980 (getttyent): Likewise.
8981 (skip): Likewise.
8982 (value): Likewise.
8983 * misc/getusershell.c (initshells): Likewise.
8984 * misc/syslog.c (__vsyslog_chk): Likewise.
8985 * misc/ttyslot.c (ttyslot): Likewise.
8986 * nis/nis_hash.c (__nis_hash): Likewise.
8987 * posix/fnmatch_loop.c (FCT): Likewise.
8988 * posix/getconf.c (print_all): Likewise.
8989 (main): Likewise.
8990 * posix/getopt.c (exchange): Likewise.
8991 * posix/glob.c (globfree): Likewise.
8992 (prefix_array): Likewise.
8993 (__glob_pattern_type): Likewise.
8994 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8995 (NS_GET32): Likewise.
8996 (NS_PUT16): Likewise.
8997 (NS_PUT32): Likewise.
8998 * resolv/gethnamaddr.c (getanswer): Likewise.
8999 (gethostbyname2): Likewise.
9000 (gethostbyaddr): Likewise.
9001 (_gethtent): Likewise.
9002 (_gethtbyname2): Likewise.
9003 (_gethtbyaddr): Likewise.
9004 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9005 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9006 * resolv/res_init.c (__res_vinit): Likewise.
9007 (net_mask): Likewise.
9008 * resolv/res_mkquery.c (outchar): Likewise.
9009 (PRINT): Likewise.
9010 * stdio-common/printf_fp.c (outchar): Likewise.
9011 (PRINT): Likewise.
9012 * stdio-common/printf_fphex.c (outchar): Likewise.
9013 (PRINT): Likewise.
9014 * stdio-common/printf_size.c (outchar): Likewise.
9015 (PRINT): Likewise.
9016 * stdio-common/test_rdwr.c (main): Likewise.
9017 * stdio-common/tfformat.c (matches): Likewise.
9018 * stdio-common/vfprintf.c (outchar): Likewise.
9019 (printf_unknown): Likewise.
9020 (buffered_vfprintf): Likewise.
9021 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9022 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9023 (ReadFile): Likewise.
9024 * stdlib/qsort.c (SWAP): Likewise.
9025 (_quicksort): Likewise.
9026 * stdlib/setenv.c (__add_to_environ): Likewise.
9027 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9028 * stdlib/strtol_l.c (__strtol_l): Likewise.
9029 * stdlib/tst-strtod.c (main): Likewise.
9030 * stdlib/tst-strtol.c (main): Likewise.
9031 * stdlib/tst-strtoll.c (main): Likewise.
9032 * string/bits/string2.h (__strcmp_cc): Likewise.
9033 (__strcmp_cg): Likewise.
9034 (__strcspn_c1): Likewise.
9035 (__strcspn_c2): Likewise.
9036 (__strcspn_c3): Likewise.
9037 (__strspn_c1): Likewise.
9038 (__strspn_c2): Likewise.
9039 (__strspn_c3): Likewise.
9040 (__strsep_1c): Likewise.
9041 (__strsep_2c): Likewise.
9042 (__strsep_3c): Likewise.
9043 * string/memccpy.c (__memccpy): Likewise.
9044 * string/stpcpy.c (__stpcpy): Likewise.
9045 * string/strcmp.c (strcmp): Likewise.
9046 * string/strrchr.c (strrchr): Likewise.
9047 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9048 Likewise.
9049 * sysdeps/mach/hurd/getcwd.c
9050 (_hurd_canonicalize_directory_name_internal): Likewise.
9051 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9052 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9053 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9054 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9055 Likewise, in both definitions.
9056 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9057 definitions.
9058 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9059 64] (__bswap_64): Likewise.
9060 * time/test_time.c (main): Likewise.
9061 * time/tzfile.c (__tzfile_read): Likewise.
9062 (__tzfile_compute): Likewise.
9063 * time/tzset.c (__tzset_parse_tz): Likewise.
9064 (tzset_internal): Likewise.
9065 (compute_change): Likewise.
9066 * wcsmbs/wcscat.c (__wcscat): Likewise.
9067 * wcsmbs/wcschr.c (wcschr): Likewise.
9068 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9069 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9070 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9071 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9072 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9073 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9074 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9075 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9076 * wcsmbs/wmemset.c (wmemset): Likewise.
9077
9e54314b
JM
90782013-06-06 Joseph Myers <joseph@codesourcery.com>
9079
9080 * scripts/config.guess: Update to version 2013-05-16.
9081 * scripts/config.sub: Update to version 2013-04-24.
9082 * scripts/install-sh: Update to version 2011-11-20.07.
9083 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9084 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9085
350635a5
OB
90862013-06-06 Ondřej Bílka <neleai@seznam.cz>
9087
9088 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9089 * elf/sln.c: Likewise.
9090 * hurd/hurd/ioctl.h: Likewise.
9091 * hurd/hurdmalloc.c: Likewise.
9092 * hurd/xattr.c: Likewise.
9093 * include/shlib-compat.h: Likewise.
9094 * inet/ruserpass.c: Likewise.
9095 * libio/iofgets_u.c: Likewise.
9096 * libio/iofgetws_u.c: Likewise.
9097 * locale/programs/ld-identification.c: Likewise.
9098 * locale/programs/ld-time.c: Likewise.
9099 * mach/msg-destroy.c: Likewise.
9100 * nss/nss_files/files-netgrp.c: Likewise.
9101 * resolv/res_data.c: Likewise.
9102 * soft-fp/op-1.h: Likewise.
9103 * soft-fp/op-2.h: Likewise.
9104 * soft-fp/op-4.h: Likewise.
9105 * soft-fp/op-common.h: Likewise.
9106 * stdio-common/printf_fphex.c: Likewise.
9107 * stdlib/strtod_l.c: Likewise.
9108 * sunrpc/rpc/clnt.h: Likewise.
9109 * sysdeps/generic/framestate.c: Likewise.
9110 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9111 * sysdeps/i386/bsd-setjmp.S: Likewise.
9112 * sysdeps/i386/__longjmp.S: Likewise.
9113 * sysdeps/i386/setjmp.S: Likewise.
9114 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9115 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9116 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9132 * sysdeps/ieee754/support.c: Likewise.
9133 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9134 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9135 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9136 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9137 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9138 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9139 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9140 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9141 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9142 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9143 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9144 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9145 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9146 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9147 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9148 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9149 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9151
44a988af
OB
91522013-06-05 Ondřej Bílka <neleai@seznam.cz>
9153
25506f09 9154 * posix/transbug.c: Remove executable mode.
44a988af 9155
9c84384c
JM
91562013-06-05 Joseph Myers <joseph@codesourcery.com>
9157
9158 * crypt/speeds.c: Remove trailing whitespace.
9159 * dlfcn/default.c: Likewise.
9160 * elf/ifuncdep2.c: Likewise.
9161 * elf/ifuncmain1.c: Likewise.
9162 * elf/ifuncmain1vis.c: Likewise.
9163 * elf/testobj.h: Likewise.
9164 * elf/tst-stackguard1.c: Likewise.
9165 * gmon/sys/gmon.h: Likewise.
9166 * hurd/hurdmsg.c: Likewise.
9167 * hurd/new-fd.c: Likewise.
9168 * hurd/ports-get.c: Likewise.
9169 * iconvdata/ibm1008_420.c: Likewise.
9170 * inet/tst-getni1.c: Likewise.
9171 * inet/tst-getni2.c: Likewise.
9172 * libio/ioungetc.c: Likewise.
9173 * libio/wfiledoalloc.c: Likewise.
9174 * manual/libm-err-tab.pl: Likewise.
9175 * math/w_dremf.c: Likewise.
9176 * misc/ftruncate.c: Likewise.
9177 * posix/bug-glob2.c: Likewise.
9178 * posix/tst-pcre.c: Likewise.
9179 * posix/wait4.c: Likewise.
9180 * resolv/README: Likewise.
9181 * resolv/res_debug.h: Likewise.
9182 * resolv/tst-inet_ntop.c: Likewise.
9183 * setjmp/bug269-setjmp.c: Likewise.
9184 * soft-fp/extended.h: Likewise.
9185 * soft-fp/op-1.h: Likewise.
9186 * soft-fp/op-2.h: Likewise.
9187 * soft-fp/op-4.h: Likewise.
9188 * soft-fp/op-8.h: Likewise.
9189 * soft-fp/testit.c: Likewise.
9190 * stdio-common/bug16.c: Likewise.
9191 * stdlib/random.c: Likewise.
9192 * sunrpc/rpcsvc/rquota.x: Likewise.
9193 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9194 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9196 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9197 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9198 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9199 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9200 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9201 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9202 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9203 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9221 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9222 * sysdeps/ieee754/s_lib_version.c: Likewise.
9223 * sysdeps/mach/hurd/check_fds.c: Likewise.
9224 * sysdeps/mach/hurd/getsockname.c: Likewise.
9225 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9226 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9227 * sysdeps/powerpc/bits/link.h: Likewise.
9228 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9229 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9230 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9231 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9232 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9233 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9234 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9235 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9236 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9237 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9238 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9239 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9240 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9241 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9242 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9243 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9244 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9248 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9249 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9250 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9251 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9252 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9253 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9254 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9255 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9256 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9259 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9260 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9261 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9262 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9263 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9264 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9265 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9266 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9267 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9268 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9269 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9270 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9271 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9272 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9273 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9274 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9275 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9276 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9277 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9278 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9280 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9281 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9282 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9283 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9284 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9285 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9286 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9287 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9288 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9290 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9291 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9292 * sysdeps/powerpc/sysdep.h: Likewise.
9293 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9294 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9295 * sysdeps/sh/dl-trampoline.S: Likewise.
9296 * sysdeps/sh/memset.S: Likewise.
9297 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9298 * sysdeps/sh/strlen.S: Likewise.
9299 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9300 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9301 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9302 * sysdeps/sparc/sparc32/rem.S: Likewise.
9303 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9304 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9305 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9306 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9307 * sysdeps/sparc/sparc32/urem.S: Likewise.
9308 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9309 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9310 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9311 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9312 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9313 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9314 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9315 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9316 * sysdeps/unix/bsd/times.c: Likewise.
9317 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9318 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9322 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9323 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9324 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9325 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9327 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9328 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9330 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9331 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9332 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9333 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9334 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9335 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9336 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9337 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9338 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9339 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9340 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9341 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9342 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9343 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9344 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9345 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9346 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9347 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9348 * sysdeps/x86_64/strcspn.S: Likewise.
9349
869378a5
RA
93502013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9351
9352 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9353 generated file. Regenerate properly from gen-translit.pl.
9354 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9355 locale/C-translit.h.
9356
840e2943
AS
93572013-06-05 Andreas Schwab <schwab@suse.de>
9358
9359 [BZ #15100]
9360 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9361 week as 6 instead of -1.
9362 * time/tst-strptime.c (day_tests): Add test case.
9363
4c60cb0c
SP
93642013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9365
9366 * sysdeps/generic/math_private.h
9367 (libc_feholdexcept_setround_53bit): Replace with
9368 libc_feholdsetround_53bit.
9369 (libc_feupdateenv_53bit): Replace with
9370 libc_feresetround_53bit.
9371 (SET_RESTORE_ROUND_53BIT): Adjust.
9372
d180203e
SP
93732013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9374
96df079a
SP
9375 * string/test-strchrnul.c: Add copyright header.
9376
d180203e
SP
9377 * posix/tst-getaddrinfo4.c: Increase test timeout.
9378
8b0ccb2d
CD
93792013-06-03 Carlos O'Donell <carlos@redhat.com>
9380
9381 [BZ #15536]
9382 * math/libm-test.inc (MAX_EXP): Remove
9383 (MIN_EXP): Define.
9384 (ulp): Use MIN_EXP - MANT_DIG.
9385 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9386
3b3c4d40
CD
93872013-05-31 Carlos O'Donell <carlos@redhat.com>
9388
9389 * po/be.po: Revert last change.
9390 * po/zh_CN.po: Likewise.
9391 * po/header.pot: Likewise.
9392
fab7ce3f
JM
93932013-05-31 Joseph Myers <joseph@codesourcery.com>
9394
9395 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9396 link-libc-deps to empty as target-specific variable.
9397 * Makerules (link-libc-args): New variable.
9398 (libc-for-link): Likewise.
9399 (link-libc-deps): Likewise.
9400 (lib%.so): Depend on $(link-libc-deps). Link with
9401 $(link-libc-args).
9402 (build-module): Link with $(link-libc-args).
9403 (build-module-asneeded): Likewise.
9404 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9405 list of objects.
9406 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9407 target-specific variable.
9408 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9409 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9410 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9411 libc.
9412 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9413 libc and ld.so.
9414 ($(objpfx)libpcprofile.so): Likewise.
9415 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9416 libc_nonshared.a.
9417 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9418 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9419 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9420 $(link-libc-deps).
9421 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9422 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9423 * login/Makefile ($(objpfx)libutil.so): Likewise.
9424 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9425 * math/Makefile ($(objpfx)libm.so): Likewise.
9426 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9427 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9428 variable instead of depending directly on libc.
9429 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9430 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9431 $(link-libc-deps).
9432 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9433 libc.
9434 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9435 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9436 ($(objpfx)libanl.so): Likewise.
9437 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9438 ld.so.
9439 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9440 $(link-libc-deps).
9441 * sysdeps/i386/fpu/Makefile: Remove file.
9442 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9443 ($(objpfx)libm.so): Remove dependency on ld.so.
9444
eca5920c
PF
94452013-05-30 Patsy Franklin <pfrankli@redhat.com>
9446
9447 [BZ # 15553]
9448 * nis/yp_xdr.c (XDRMAXNAME): Define.
9449 (XDRMAXRECORD): Define.
9450 (xdr_domainname): Use XDRMAXNAME.
9451 (xdr_mapname): Likewise.
9452 (xdr_peername): Likewise.
9453 (xdr_keydat): Use XDRMAXRECORD.
9454 (xdr_valdat): Likewise.
9455
94562013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9457
9458 [BZ #14256]
9459 * manual/errno.texi (ESTALE): Update to account for more than
9460 just NFS file systems.
9461 * sysdeps/gnu/errlist.c: Regenerated.
9462
b9375348
SP
94632013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9464
9465 [BZ #15465]
9466 * elf/Makefile (tests): Add tst-null-argv.
9467 (modules-names): Add tst-null-argv-lib.
9468 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9469 (tst-null-argv-ENV): Set environment for tst-null-argv.
9470 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9471 (RTLD_PROGNAME): New macro.
9472 * elf/tst-null-argv.c: New test case.
9473 * elf/tst-null-argv-lib.c: Library for test case.
9474 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9475 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9476 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9477 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9478 * elf/dl-init.c (call_init): Likewise.
9479 (_dl_init): Likewise.
9480 * elf/dl-load.c (print_search_path): Likewise.
9481 (_dl_map_object): Likewise.
9482 * elf/dl-lookup.c (do_lookup_x): Likewise.
9483 (add_dependency): Likewise.
9484 (_dl_lookup_symbol_x): Likewise.
9485 (_dl_debug_bindings): Likewise.
9486 * elf/dl-open.c (_dl_show_scope): Likewise.
9487 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9488 * elf/dl-version.c (match_symbol): Likewise.
9489 (_dl_check_map_versions): Likewise.
9490 * elf/rtld.c (dl_main): Likewise.
9491 (print_unresolved): Use RTLD_PROGNAME.
9492 (print_missing_version): Likewise.
9493 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9494 (elf_machine_rela): Likewise.
9495 * sysdeps/powerpc/powerpc32/dl-machine.c
9496 (__process_machine_rela): Likewise.
9497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9498 Likewise.
9499 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9500 Likewise.
9501 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9502 Likewise.
9503 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9504 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9505 Likewise.
9506 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9507 Likewise.
9508 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9509
8a9f20c8
CD
95102013-05-28 Carlos O'Donell <carlos@redhat.com>
9511
9512 * po/be.po: Add descriptive title.
9513 * po/zh_CN.po: Likewise.
9514 * po/header.pot: Likewise.
9515
0e60d68e
MF
95162013-05-28 Mike Frysinger <vapier@gentoo.org>
9517
9518 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9519 error message.
9520 (enlarge_archive): Likewise.
9521
56b672e9
BN
95222013-05-28 Ben North <ben@redfrontdoor.org>
9523
9524 * manual/arith.texi (frexp): It is the magnitude of the return
9525 value which lies in [0.5, 1), not the return value itself.
9526
5e056687
AZ
95272013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9528
9529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9530
2b66ef5d
TS
95312013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9532
528c2405
TS
9533 * stdio-common/bug26.c (main): Correct fscanf template.
9534
07b4c13d
TS
9535 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9536 declare _dl_skip_args.
9537
ec9dd97c
TS
9538 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9539 Don't declare.
9540
2b66ef5d
TS
9541 * manual/platform.texi: Add missing @end deftypefun.
9542
4f8dfe27
JM
95432013-05-24 Joseph Myers <joseph@codesourcery.com>
9544
0323d086
JM
9545 [BZ #15529]
9546 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9547 bit of mantissa of 2^16382.
9548 * math/libm-test.inc (hypot_test_data): Add more tests.
9549
dd4259b9
JM
9550 * math/libm-test.inc: Add drem and pow10 to list of tested
9551 functions.
9552 (pow10_test): New function.
9553 (drem_test): Likewise.
9554 (drem_test_tonearest): Likewise.
9555 (drem_test_towardzero): Likewise.
9556 (drem_test_downward): Likewise.
9557 (drem_test_upward): Likewise.
9558 (main): Call the new functions.
9559
4f8dfe27
JM
9560 * math/libm-test.inc (finite_test_data): Remove.
9561 (finite_test): Run tests from isfinite_test_data.
9562 (gamma_test_data): Remove.
9563 (gamma_test): Run tests from lgamma_test_data.
9564 * sysdeps/i386/fpu/libm-test-ulps: Update.
9565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9566
d116b7c4
AZ
95672013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9568
9569 * manual/platform.texi: Add PowerPC PPR function set documentation.
9570 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9571 implementation.
9572
e96e3767
CD
95732013-05-24 Carlos O'Donell <carlos@redhat.com>
9574
9575 * math/libm-test.inc (MAX_EXP): Define.
9576 (ULPDIFF): Define.
9577 (ulp): New function.
9578 (check_float_internal): Use ULPDIFF.
9579 (cpow_test): Disable failing test.
9580 (check_ulp): Test ulp() implemetnation.
9581 (main): Call check_ulp before starting tests.
9582
b679a606
JM
95832013-05-24 Joseph Myers <joseph@codesourcery.com>
9584
e8bdba36
JM
9585 * math/gen-libm-test.pl (generate_testfile): Do not handle
9586 START_DATA and END_DATA.
9587 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9588 END_DATA.
9589 (acos_tonearest_test_data): Likewise.
9590 (acos_towardzero_test_data): Likewise.
9591 (acos_downward_test_data): Likewise.
9592 (acos_upward_test_data): Likewise.
9593 (acosh_test_data): Likewise.
9594 (asin_test_data): Likewise.
9595 (asin_tonearest_test_data): Likewise.
9596 (asin_towardzero_test_data): Likewise.
9597 (asin_downward_test_data): Likewise.
9598 (asin_upward_test_data): Likewise.
9599 (asinh_test_data): Likewise.
9600 (atan_test_data): Likewise.
9601 (atanh_test_data): Likewise.
9602 (atan2_test_data): Likewise.
9603 (cabs_test_data): Likewise.
9604 (cacos_test_data): Likewise.
9605 (cacosh_test_data): Likewise.
9606 (carg_test_data): Likewise.
9607 (casin_test_data): Likewise.
9608 (casinh_test_data): Likewise.
9609 (catan_test_data): Likewise.
9610 (catanh_test_data): Likewise.
9611 (cbrt_test_data): Likewise.
9612 (ccos_test_data): Likewise.
9613 (ccosh_test_data): Likewise.
9614 (ceil_test_data): Likewise.
9615 (cexp_test_data): Likewise.
9616 (cimag_test_data): Likewise.
9617 (clog_test_data): Likewise.
9618 (clog10_test_data): Likewise.
9619 (conj_test_data): Likewise.
9620 (copysign_test_data): Likewise.
9621 (cos_test_data): Likewise.
9622 (cos_tonearest_test_data): Likewise.
9623 (cos_towardzero_test_data): Likewise.
9624 (cos_downward_test_data): Likewise.
9625 (cos_upward_test_data): Likewise.
9626 (cosh_test_data): Likewise.
9627 (cosh_tonearest_test_data): Likewise.
9628 (cosh_towardzero_test_data): Likewise.
9629 (cosh_downward_test_data): Likewise.
9630 (cosh_upward_test_data): Likewise.
9631 (cpow_test_data): Likewise.
9632 (cproj_test_data): Likewise.
9633 (creal_test_data): Likewise.
9634 (csin_test_data): Likewise.
9635 (csinh_test_data): Likewise.
9636 (csqrt_test_data): Likewise.
9637 (ctan_test_data): Likewise.
9638 (ctan_tonearest_test_data): Likewise.
9639 (ctan_towardzero_test_data): Likewise.
9640 (ctan_downward_test_data): Likewise.
9641 (ctan_upward_test_data): Likewise.
9642 (ctanh_test_data): Likewise.
9643 (ctanh_tonearest_test_data): Likewise.
9644 (ctanh_towardzero_test_data): Likewise.
9645 (ctanh_downward_test_data): Likewise.
9646 (ctanh_upward_test_data): Likewise.
9647 (erf_test_data): Likewise.
9648 (erfc_test_data): Likewise.
9649 (exp_test_data): Likewise.
9650 (exp_tonearest_test_data): Likewise.
9651 (exp_towardzero_test_data): Likewise.
9652 (exp_downward_test_data): Likewise.
9653 (exp_upward_test_data): Likewise.
9654 (exp10_test_data): Likewise.
9655 (exp2_test_data): Likewise.
9656 (expm1_test_data): Likewise.
9657 (fabs_test_data): Likewise.
9658 (fdim_test_data): Likewise.
9659 (finite_test_data): Likewise.
9660 (floor_test_data): Likewise.
9661 (fma_test_data): Likewise.
9662 (fma_towardzero_test_data): Likewise.
9663 (fma_downward_test_data): Likewise.
9664 (fma_upward_test_data): Likewise.
9665 (fmax_test_data): Likewise.
9666 (fmin_test_data): Likewise.
9667 (fmod_test_data): Likewise.
9668 (fpclassify_test_data): Likewise.
9669 (frexp_test_data): Likewise.
9670 (gamma_test_data): Likewise.
9671 (hypot_test_data): Likewise.
9672 (ilogb_test_data): Likewise.
9673 (isfinite_test_data): Likewise.
9674 (isgreater_test_data): Likewise.
9675 (isgreaterequal_test_data): Likewise.
9676 (isinf_test_data): Likewise.
9677 (isless_test_data): Likewise.
9678 (islessequal_test_data): Likewise.
9679 (islessgreater_test_data): Likewise.
9680 (isnan_test_data): Likewise.
9681 (isnormal_test_data): Likewise.
9682 (issignaling_test_data): Likewise.
9683 (isunordered_test_data): Likewise.
9684 (j0_test_data): Likewise.
9685 (j1_test_data): Likewise.
9686 (jn_test_data): Likewise.
9687 (ldexp_test_data): Likewise.
9688 (lgamma_test_data): Likewise.
9689 (lrint_test_data): Likewise.
9690 (lrint_tonearest_test_data): Likewise.
9691 (lrint_towardzero_test_data): Likewise.
9692 (lrint_downward_test_data): Likewise.
9693 (lrint_upward_test_data): Likewise.
9694 (llrint_test_data): Likewise.
9695 (llrint_tonearest_test_data): Likewise.
9696 (llrint_towardzero_test_data): Likewise.
9697 (llrint_downward_test_data): Likewise.
9698 (llrint_upward_test_data): Likewise.
9699 (log_test_data): Likewise.
9700 (log10_test_data): Likewise.
9701 (log1p_test_data): Likewise.
9702 (log2_test_data): Likewise.
9703 (logb_test_data): Likewise.
9704 (logb_downward_test_data): Likewise.
9705 (lround_test_data): Likewise.
9706 (llround_test_data): Likewise.
9707 (modf_test_data): Likewise.
9708 (nearbyint_test_data): Likewise.
9709 (nextafter_test_data): Likewise.
9710 (nexttoward_test_data): Likewise.
9711 (pow_test_data): Likewise.
9712 (pow_tonearest_test_data): Likewise.
9713 (pow_towardzero_test_data): Likewise.
9714 (pow_downward_test_data): Likewise.
9715 (pow_upward_test_data): Likewise.
9716 (remainder_test_data): Likewise.
9717 (remainder_tonearest_test_data): Likewise.
9718 (remainder_towardzero_test_data): Likewise.
9719 (remainder_downward_test_data): Likewise.
9720 (remainder_upward_test_data): Likewise.
9721 (remquo_test_data): Likewise.
9722 (rint_test_data): Likewise.
9723 (rint_tonearest_test_data): Likewise.
9724 (rint_towardzero_test_data): Likewise.
9725 (rint_downward_test_data): Likewise.
9726 (rint_upward_test_data): Likewise.
9727 (round_test_data): Likewise.
9728 (scalb_test_data): Likewise.
9729 (scalbn_test_data): Likewise.
9730 (scalbln_test_data): Likewise.
9731 (signbit_test_data): Likewise.
9732 (sin_test_data): Likewise.
9733 (sin_tonearest_test_data): Likewise.
9734 (sin_towardzero_test_data): Likewise.
9735 (sin_downward_test_data): Likewise.
9736 (sin_upward_test_data): Likewise.
9737 (sincos_test_data): Likewise.
9738 (sinh_test_data): Likewise.
9739 (sinh_tonearest_test_data): Likewise.
9740 (sinh_towardzero_test_data): Likewise.
9741 (sinh_downward_test_data): Likewise.
9742 (sinh_upward_test_data): Likewise.
9743 (sqrt_test_data): Likewise.
9744 (tan_test_data): Likewise.
9745 (tan_tonearest_test_data): Likewise.
9746 (tan_towardzero_test_data): Likewise.
9747 (tan_downward_test_data): Likewise.
9748 (tan_upward_test_data): Likewise.
9749 (tanh_test_data): Likewise.
9750 (tgamma_test_data): Likewise.
9751 (trunc_test_data): Likewise.
9752 (y0_test_data): Likewise.
9753 (y1_test_data): Likewise.
9754 (yn_test_data): Likewise.
9755 (significand_test_data): Likewise.
9756
b679a606
JM
9757 * math/gen-libm-test.pl (@functions): Remove variable.
9758 (generate_testfile): Don't handle START and END lines.
9759 * math/libm-test.inc (START): New macro.
9760 (END): Likewise.
9761 (END_COMPLEX): Likewise.
9762 (acos_test): Use END macro without arguments.
9763 (acos_test_tonearest): Likewise.
9764 (acos_test_towardzero): Likewise.
9765 (acos_test_downward): Likewise.
9766 (acos_test_upward): Likewise.
9767 (acosh_test): Likewise.
9768 (asin_test): Likewise.
9769 (asin_test_tonearest): Likewise.
9770 (asin_test_towardzero): Likewise.
9771 (asin_test_downward): Likewise.
9772 (asin_test_upward): Likewise.
9773 (asinh_test): Likewise.
9774 (atan_test): Likewise.
9775 (atanh_test): Likewise.
9776 (atan2_test): Likewise.
9777 (cabs_test): Likewise.
9778 (cacos_test): Use END_COMPLEX macro without arguments.
9779 (cacosh_test): Likewise.
9780 (carg_test): Use END macro without arguments.
9781 (casin_test): Use END_COMPLEX macro without arguments.
9782 (casinh_test): Likewise.
9783 (catan_test): Likewise.
9784 (catanh_test): Likewise.
9785 (cbrt_test): Use END macro without arguments.
9786 (ccos_test): Use END_COMPLEX macro without arguments.
9787 (ccosh_test): Likewise.
9788 (ceil_test): Use END macro without arguments.
9789 (cexp_test): Use END_COMPLEX macro without arguments.
9790 (cimag_test): Use END macro without arguments.
9791 (clog_test): Use END_COMPLEX macro without arguments.
9792 (clog10_test): Likewise.
9793 (conj_test): Likewise.
9794 (copysign_test): Use END macro without arguments.
9795 (cos_test): Likewise.
9796 (cos_test_tonearest): Likewise.
9797 (cos_test_towardzero): Likewise.
9798 (cos_test_downward): Likewise.
9799 (cos_test_upward): Likewise.
9800 (cosh_test): Likewise.
9801 (cosh_test_tonearest): Likewise.
9802 (cosh_test_towardzero): Likewise.
9803 (cosh_test_downward): Likewise.
9804 (cosh_test_upward): Likewise.
9805 (cpow_test): Use END_COMPLEX macro without arguments.
9806 (cproj_test): Likewise.
9807 (creal_test): Use END macro without arguments.
9808 (csin_test): Use END_COMPLEX macro without arguments.
9809 (csinh_test): Likewise.
9810 (csqrt_test): Likewise.
9811 (ctan_test): Likewise.
9812 (ctan_test_tonearest): Likewise.
9813 (ctan_test_towardzero): Likewise.
9814 (ctan_test_downward): Likewise.
9815 (ctan_test_upward): Likewise.
9816 (ctanh_test): Likewise.
9817 (ctanh_test_tonearest): Likewise.
9818 (ctanh_test_towardzero): Likewise.
9819 (ctanh_test_downward): Likewise.
9820 (ctanh_test_upward): Likewise.
9821 (erf_test): Use END macro without arguments.
9822 (erfc_test): Likewise.
9823 (exp_test): Likewise.
9824 (exp_test_tonearest): Likewise.
9825 (exp_test_towardzero): Likewise.
9826 (exp_test_downward): Likewise.
9827 (exp_test_upward): Likewise.
9828 (exp10_test): Likewise.
9829 (exp2_test): Likewise.
9830 (expm1_test): Likewise.
9831 (fabs_test): Likewise.
9832 (fdim_test): Likewise.
9833 (finite_test): Likewise.
9834 (floor_test): Likewise.
9835 (fma_test): Likewise.
9836 (fma_test_towardzero): Likewise.
9837 (fma_test_downward): Likewise.
9838 (fma_test_upward): Likewise.
9839 (fmax_test): Likewise.
9840 (fmin_test): Likewise.
9841 (fmod_test): Likewise.
9842 (fpclassify_test): Likewise.
9843 (frexp_test): Likewise.
9844 (gamma_test): Likewise.
9845 (hypot_test): Likewise.
9846 (ilogb_test): Likewise.
9847 (isfinite_test): Likewise.
9848 (isgreater_test): Likewise.
9849 (isgreaterequal_test): Likewise.
9850 (isinf_test): Likewise.
9851 (isless_test): Likewise.
9852 (islessequal_test): Likewise.
9853 (islessgreater_test): Likewise.
9854 (isnan_test): Likewise.
9855 (isnormal_test): Likewise.
9856 (issignaling_test): Likewise.
9857 (isunordered_test): Likewise.
9858 (j0_test): Likewise.
9859 (j1_test): Likewise.
9860 (jn_test): Likewise.
9861 (ldexp_test): Likewise.
9862 (lgamma_test): Likewise.
9863 (lrint_test): Likewise.
9864 (lrint_test_tonearest): Likewise.
9865 (lrint_test_towardzero): Likewise.
9866 (lrint_test_downward): Likewise.
9867 (lrint_test_upward): Likewise.
9868 (llrint_test): Likewise.
9869 (llrint_test_tonearest): Likewise.
9870 (llrint_test_towardzero): Likewise.
9871 (llrint_test_downward): Likewise.
9872 (llrint_test_upward): Likewise.
9873 (log_test): Likewise.
9874 (log10_test): Likewise.
9875 (log1p_test): Likewise.
9876 (log2_test): Likewise.
9877 (logb_test): Likewise.
9878 (logb_test_downward): Likewise.
9879 (lround_test): Likewise.
9880 (llround_test): Likewise.
9881 (modf_test): Likewise.
9882 (nearbyint_test): Likewise.
9883 (nextafter_test): Likewise.
9884 (nexttoward_test): Likewise.
9885 (pow_test): Likewise.
9886 (pow_test_tonearest): Likewise.
9887 (pow_test_towardzero): Likewise.
9888 (pow_test_downward): Likewise.
9889 (pow_test_upward): Likewise.
9890 (remainder_test): Likewise.
9891 (remainder_test_tonearest): Likewise.
9892 (remainder_test_towardzero): Likewise.
9893 (remainder_test_downward): Likewise.
9894 (remainder_test_upward): Likewise.
9895 (remquo_test): Likewise.
9896 (rint_test): Likewise.
9897 (rint_test_tonearest): Likewise.
9898 (rint_test_towardzero): Likewise.
9899 (rint_test_downward): Likewise.
9900 (rint_test_upward): Likewise.
9901 (round_test): Likewise.
9902 (scalb_test): Likewise.
9903 (scalbn_test): Likewise.
9904 (scalbln_test): Likewise.
9905 (signbit_test): Likewise.
9906 (sin_test): Likewise.
9907 (sin_test_tonearest): Likewise.
9908 (sin_test_towardzero): Likewise.
9909 (sin_test_downward): Likewise.
9910 (sin_test_upward): Likewise.
9911 (sincos_test): Likewise.
9912 (sinh_test): Likewise.
9913 (sinh_test_tonearest): Likewise.
9914 (sinh_test_towardzero): Likewise.
9915 (sinh_test_downward): Likewise.
9916 (sinh_test_upward): Likewise.
9917 (sqrt_test): Likewise.
9918 (tan_test): Likewise.
9919 (tan_test_tonearest): Likewise.
9920 (tan_test_towardzero): Likewise.
9921 (tan_test_downward): Likewise.
9922 (tan_test_upward): Likewise.
9923 (tanh_test): Likewise.
9924 (tgamma_test): Likewise.
9925 (trunc_test): Likewise.
9926 (y0_test): Likewise.
9927 (y1_test): Likewise.
9928 (yn_test): Likewise.
9929 (significand_test): Likewise.
9930
bae143d2
OB
99312013-05-24 Ondřej Bílka <neleai@seznam.cz>
9932
9933 [BZ #15381]
9934 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9935
9323d39b
EM
99362013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9937
d4ea44a0 9938 [BZ #14894]
9323d39b
EM
9939 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9940 __ppc_mdoio and __ppc_mdoom.
9941 * manual/platform.texi: Document new functions __ppc_yield,
9942 __ppc_mdoio and __ppc_mdoom.
9943
13e23af7
CD
99442013-05-22 Carlos O'Donell <carlos@redhat.com>
9945
9946 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9947 (main): Mention "tls" pseudo-hwcap is legacy.
9948 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9949
351fe550
JM
99502013-05-22 Joseph Myers <joseph@codesourcery.com>
9951
9952 * math/gen-libm-test.pl (parse_args): Output only string of
9953 arguments as text for test name, not full call or descriptions of
9954 tests for extra outputs.
9955 (generate_testfile): Do not pass function name to parse_args.
9956 Generate this_func variable from START.
9957 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9958 field to arg_str.
9959 (struct test_ff_f_data): Likewise.
9960 (test_ff_f_data_nexttoward): Likewise.
9961 (struct test_fi_f_data): Likewise.
9962 (struct test_fl_f_data): Likewise.
9963 (struct test_if_f_data): Likewise.
9964 (struct test_fff_f_data): Likewise.
9965 (struct test_c_f_data): Likewise.
9966 (struct test_f_f1_data): Likewise. Remove field extra_name.
9967 (struct test_fF_f1_data): Likewise.
9968 (struct test_ffI_f1_data): Likewise.
9969 (struct test_c_c_data): Rename test_name field to arg_str.
9970 (struct test_cc_c_data): Likewise.
9971 (struct test_f_i_data): Likewise.
9972 (struct test_ff_i_data): Likewise.
9973 (struct test_f_l_data): Likewise.
9974 (struct test_f_L_data): Likewise.
9975 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9976 and extra2_name.
9977 (COMMON_TEST_SETUP): New macro.
9978 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9979 (COMMON_TEST_CLEANUP): Likewise.
9980 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9981 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9982 macros.
9983 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9984 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9985 macros.
9986 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9987 (RUN_TEST_fff_f): Take argument string. Call new setup and
9988 cleanup macros.
9989 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9990 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9991 macros.
9992 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9993 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9994 macros.
9995 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9996 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9997 cleanup macros.
9998 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9999 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10000 cleanup macros.
10001 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10002 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10003 cleanup macros.
10004 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10005 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10006 macros.
10007 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10008 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10009 macros.
10010 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10011 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10012 macros.
10013 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10014 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10015 cleanup macros.
10016 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10017 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10018 cleanup macros.
10019 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10020 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10021 macros.
10022 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10023 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10024 cleanup macros.
10025 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10026 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10027 macros.
10028 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10029 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10030 macros.
10031 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10032 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10033 cleanup macros.
10034 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10035
85118d4d
EBM
100362013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10037
10038 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10039 to _sifields.sigfault.
10040 (si_addr_lsb): Define new macro.
10041 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10043 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10044
7a44c18f
CD
100452013-05-03 Carlos O'Donell <carlos at redhat.com>
10046
10047 [BZ #15441]
10048 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10049 returns -1.
10050 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10051 null return -1.
10052 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10053 loading the domain.
10054
b50a7181
JM
100552013-05-22 Joseph Myers <joseph@codesourcery.com>
10056
10057 * math/gen-libm-test.pl (parse_args): Do not include expected
10058 result in test name.
10059 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10060 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10061 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10062 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10063 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10065
051063c8
SP
100662013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10067
3ce9e010
SP
10068 * benchtests/Makefile: Sort function entries.
10069
051063c8
SP
10070 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10071 tanh, asinh, acosh, atanh.
10072 * benchtests/acos-inputs: New file.
10073 * benchtests/acosh-inputs: New file.
10074 * benchtests/asin-inputs: New file.
10075 * benchtests/asinh-inputs: New file.
10076 * benchtests/atanh-inputs: New file.
10077 * benchtests/cosh-inputs: New file.
10078 * benchtests/log-inputs: New file.
10079 * benchtests/sinh-inputs: New file.
10080 * benchtests/tanh-inputs: New file.
10081
47c22455
DL
100822013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10083
10084 [BZ #15339]
10085 * posix/tst-getaddrinfo4.c: New test.
10086 * posix/Makefile (tests): Add it.
10087
3d04f5db
SP
100882013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10089
10090 [BZ #15339]
10091 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10092 when no services were used.
10093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10094 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10095
d5dd6189
AS
100962013-05-21 Andreas Schwab <schwab@suse.de>
10097
10098 [BZ #15014]
10099 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10100 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10101 successful.
10102 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10103 redundant variable declarations and reallocation of buffer when
10104 parsing as IPv6 address. Always set NSS status when called from
10105 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10106 buffer too small. Correct computation of needed size.
10107 * nss/Makefile (tests): Add test-digits-dots.
10108 * nss/test-digits-dots.c: New test.
10109
fef94eab
SP
101102013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10111
10112 * benchtests/Makefile: Remove instructions for adding
10113 benchmark tests.
10114 * benchtests/README: New file to explain how to execute and
10115 enhance the benchmark tests.
10116
e39adf43
AS
101172013-05-21 Andreas Schwab <schwab@suse.de>
10118
10119 [BZ #15493]
10120 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10121 * setjmp/tst-sigsetjmp.c: New test.
10122
b2b671b6
OB
101232013-05-20 Ondřej Bílka <neleai@seznam.cz>
10124
10125 * sysdeps/x86_64/memset.S (memset): New implementation.
10126 (__bzero): Likewise.
10127 (__memset_tail): New function.
10128
2d48b41c
OB
101292013-05-20 Ondřej Bílka <neleai@seznam.cz>
10130
10131 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10132 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10133 __memcpy_sse2_unaligned ifunc selection.
10134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10135 Add memcpy-sse2-unaligned.S.
10136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10137 Add: __memcpy_sse2_unaligned.
10138
f16cc3eb
JM
101392013-05-19 Joseph Myers <joseph@codesourcery.com>
10140
3e694268
JM
10141 [BZ #15490]
10142 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10143 math_force_eval before restoring floating-point envrionment.
10144 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10146 Likewise.
10147 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10148 <math_private.h>.
10149 (__nearbyintl): Use math_force_eval before restoring
10150 floating-point environment.
10151 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10152
db62a907
JM
10153 * math/gen-libm-test.pl (special_functions): Remove.
10154 (parse_args): Don't handle TEST_extra. Handle functions with no
10155 return value.
10156 * math/libm-test.inc (struct test_sincos_data): Replace with
10157 struct test_fFF_11_data.
10158 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10159 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10160 (sincos_test_data): Change element type to struct
10161 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10162 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10163 RUN_TEST_LOOP_sincos.
10164 * math/README.libm-test: Don't mention special handling of
10165 individual functions.
10166 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10167 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10168 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10169 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10170 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10172
f16cc3eb
JM
10173 * math/gen-libm-test.pl (get_variable): Remove function.
10174 (parse_args): Don't show pointer parameters to call in test
10175 names. Use "extra output N" in test names for extra outputs
10176 rather than naming variables.
10177
3779b5b6
JM
101782013-05-18 Joseph Myers <joseph@codesourcery.com>
10179
2ee094ff
JM
10180 [BZ #15488]
10181 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10182 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10183 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10184 double tests.
10185 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10186 disable.
10187 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10188 check_long_double.
10189
3779b5b6
JM
10190 * math/gen-libm-test.pl (@tests): Remove variable.
10191 ($count): Likewise.
10192 (new_test): Remove function.
10193 (show_exceptions): New function.
10194 (special_functions): Use show_exceptions instead of new_test.
10195 (parse_args): Likewise.
10196 (generate_testfile): Pass only function name in generated call to
10197 print_max_error or print_complex_max_error.
10198 (get_ulps): Do not handle complex tests specially.
10199 (output_test): Rename to ...
10200 (get_all_ulps_for_test): ... this. Return a string rather than
10201 printing to a file. Require ulps to be present.
10202 (output_ulps): Generate arrays rather than #defines.
10203 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10204 (struct ulp_data): New type.
10205 (BUILD_COMPLEX_ULP): Remove macro.
10206 (compare_ulp_data): New function.
10207 (find_ulps): Likewise.
10208 (find_test_ulps): Likewise.
10209 (find_function_ulps): Likewise.
10210 (find_complex_function_ulps): Likewise.
10211 (print_max_error): Determine allowed ulps using
10212 find_function_ulps.
10213 (print_complex_max_error): Determine allowed ulps using
10214 find_complex_function_ulps.
10215 (check_float_internal): Determine max ulps using find_test_ulps.
10216 (check_float): Do not take max_ulp parameter. Update call to
10217 check_float_internal.
10218 (check_complex): Likewise.
10219 (check_int): Do not take max_ulp parameter.
10220 (check_long): Likewise.
10221 (check_bool): Likewise.
10222 (check_longlong): Likewise.
10223 (struct test_f_f_data): Remove max_ulp field.
10224 (struct test_ff_f_data): Likewise.
10225 (struct test_ff_f_data_nexttoward): Likewise.
10226 (struct test_fi_f_data): Likewise.
10227 (struct test_fl_f_data): Likewise.
10228 (struct test_if_f_data): Likewise.
10229 (struct test_fff_f_data): Likewise.
10230 (struct test_c_f_data): Likewise.
10231 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10232 (struct test_fF_f1_data): Likewise.
10233 (struct test_ffI_f1_data): Likewise.
10234 (struct test_c_c_data): Remove max_ulp field.
10235 (struct test_cc_c_data): Likewise.
10236 (struct test_f_i_data): Likewise.
10237 (struct test_ff_i_data): Likewise.
10238 (struct test_f_l_data): Likewise.
10239 (struct test_f_L_data): Likewise.
10240 (struct test_sincos_data): Likewise.
10241 (RUN_TEST_f_f): Do not handle ulps.
10242 (RUN_TEST_LOOP_f_f): Likewise.
10243 (RUN_TEST_2_f): Likewise.
10244 (RUN_TEST_LOOP_2_f): Likewise.
10245 (RUN_TEST_fff_f): Likewise.
10246 (RUN_TEST_LOOP_fff_f): Likewise.
10247 (RUN_TEST_c_f): Likewise.
10248 (RUN_TEST_LOOP_c_f): Likewise.
10249 (RUN_TEST_f_f1): Likewise.
10250 (RUN_TEST_LOOP_f_f1): Likewise.
10251 (RUN_TEST_fF_f1): Likewise.
10252 (RUN_TEST_LOOP_fF_f1): Likewise.
10253 (RUN_TEST_fI_f1): Likewise.
10254 (RUN_TEST_LOOP_fI_f1): Likewise.
10255 (RUN_TEST_ffI_f1): Likewise.
10256 (RUN_TEST_LOOP_ffI_f1): Likewise.
10257 (RUN_TEST_c_c): Likewise.
10258 (RUN_TEST_LOOP_c_c): Likewise.
10259 (RUN_TEST_cc_c): Likewise.
10260 (RUN_TEST_LOOP_cc_c): Likewise.
10261 (RUN_TEST_f_i): Likewise.
10262 (RUN_TEST_LOOP_f_i): Likewise.
10263 (RUN_TEST_f_i_tg): Likewise.
10264 (RUN_TEST_LOOP_f_i_tg): Likewise.
10265 (RUN_TEST_ff_i_tg): Likewise.
10266 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10267 (RUN_TEST_f_b): Likewise.
10268 (RUN_TEST_LOOP_f_b): Likewise.
10269 (RUN_TEST_f_b_tg): Likewise.
10270 (RUN_TEST_LOOP_f_b_tg): Likewise.
10271 (RUN_TEST_f_l): Likewise.
10272 (RUN_TEST_LOOP_f_l): Likewise.
10273 (RUN_TEST_f_L): Likewise.
10274 (RUN_TEST_LOOP_f_L): Likewise.
10275 (RUN_TEST_sincos): Likewise.
10276 (RUN_TEST_LOOP_sincos): Likewise.
10277
8269107f
JM
102782013-05-17 Joseph Myers <joseph@codesourcery.com>
10279
bb38759d
JM
10280 [BZ #15480]
10281 [BZ #15485]
10282 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10283 main case of finite arguments, set rounding mode to FE_TONEAREST
10284 and discard exceptions.
10285 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10286 exceptions.
10287 (remainder_tonearest_test_data): New variable.
10288 (remainder_test_tonearest): New function.
10289 (remainder_towardzero_test_data): New variable.
10290 (remainder_test_towardzero): New function.
10291 (remainder_downward_test_data): New variable.
10292 (remainder_test_downward): New function.
10293 (remainder_upward_test_data): New variable.
10294 (remainder_test_upward): New function.
10295 (main): Call the new test functions.
10296
a00bdcf0
JM
10297 * math/libm-test.inc (struct test_f_f1_data): Remove field
10298 extra_init.
10299 (struct test_fF_f1_data): Likewise.
10300 (struct test_ffI_f1_data): Likewise.
10301 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10302 based on value of EXTRA_EXPECTED.
10303 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10304 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10305 EXTRA_VAR based on value of EXTRA_EXPECTED.
10306 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10307 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10308 EXTRA_VAR based on value of EXTRA_EXPECTED.
10309 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10310 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10311 EXTRA_VAR based on value of EXTRA_EXPECTED.
10312 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10313 * math/gen-libm-test.pl (parse_args): Don't output initializers
10314 for extra output values.
10315
de407f79
JM
10316 * math/libm-test.inc (check_int): Expect result to be exactly
10317 equal to expected value and do not handle ulps.
10318 (check_long): Likewise.
10319 (check_longlong): Likewise.
10320
8269107f
JM
10321 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10322 exceptions.
10323 (cimag_test_data): Likewise.
10324 (conj_test_data): Likewise.
10325 (copysign_test_data): Likewise.
10326 (cproj_test_data): Likewise.
10327 (creal_test_data): Likewise.
10328 (fabs_test_data): Likewise.
10329 (fdim_test_data): Likewise.
10330 (finite_test_data): Likewise.
10331 (floor_test_data): Likewise.
10332 (fmax_test_data): Likewise.
10333 (fmin_test_data): Likewise.
10334 (fmod_test_data): Likewise.
10335 (fpclassify_test_data): Likewise.
10336 (frexp_test_data): Likewise.
10337 (ilogb_test_data): Likewise.
10338 (isfinite_test_data): Likewise.
10339 (isgreater_test_data): Likewise.
10340 (isgreaterequal_test_data): Likewise.
10341 (isinf_test_data): Likewise.
10342 (isless_test_data): Likewise.
10343 (islessequal_test_data): Likewise.
10344 (islessgreater_test_data): Likewise.
10345 (isnan_test_data): Likewise.
10346 (isnormal_test_data): Likewise.
10347 (issignaling_test_data): Likewise.
10348 (isunordered_test_data): Likewise.
10349 (ldexp_test_data): Likewise.
10350 (lrint_test_data): Likewise.
10351 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10352 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10353 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10354 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10355 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10356 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10357 test input.
10358 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10359 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10360 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10361 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10362 that test input.
10363 (lrint_downward_test_data): Test for "inexact" exceptions.
10364 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10365 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10366 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10367 test input.
10368 (lrint_upward_test_data): Test for "inexact" exceptions.
10369 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10370 test input.
10371 (llrint_test_data): Test for "inexact" exceptions.
10372 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10373 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10374 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10375 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10376 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10377 (llrint_downward_test_data): Test for "inexact" exceptions.
10378 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10379 (llrint_upward_test_data): Test for "inexact" exceptions.
10380 (logb_test_data): Likewise.
10381 (logb_downward_test_data): Likewise.
10382 (nextafter_test_data): Likewise.
10383 (nexttoward_test_data): Likewise.
10384 (remainder_test_data): Likewise.
10385 (remquo_test_data): Likewise.
10386 (scalbn_test_data): Likewise.
10387 (scalbln_test_data): Likewise.
10388 (signbit_test_data): Likewise.
10389 (sqrt_test_data): Likewise.
10390 (significand_test_data): Likewise.
10391
48a18de1
SP
103922013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10393
10394 [BZ #15424]
10395 * benchtests/bench-modf.c (struct args): Mark arg0 as
10396 volatile.
10397 * scripts/bench.pl: Mark members of struct args as volatile.
10398
13d3b41a
AZ
103992013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10400
68191c1d 10401 [BZ # 15497]
13d3b41a
AZ
10402 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10403 negative infinity on POWER6 or lower.
10404 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10405
2848b105
MR
104062013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10407
10408 [BZ #15442]
10409 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10410 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10411 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10412 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10413 (_FP_SETQNAN): New macro.
10414 (_FP_SETQNAN_SEMIRAW): Likewise.
10415 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10416 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10417 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10418 (FP_EXTEND): Use _FP_FRAC_SNANP.
10419 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10420 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10421 into account.
10422 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10423 New macro.
10424 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10425 Likewise.
10426
323e5cb7
JM
104272013-05-16 Joseph Myers <joseph@codesourcery.com>
10428
c58b274f
JM
10429 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10430 with DIVIDE_BY_ZERO_EXCEPTION.
10431 (gamma_test_data): Likewise.
10432 (lgamma_test_data): Likewise.
10433 (log_test_data): Likewise.
10434 (log10_test_data): Likewise.
10435 (log2_test_data): Likewise.
10436 (tgamma_test_data): Likewise.
10437
0ab34904
JM
10438 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10439 (acos_test_tonearest): Likewise.
10440 (acos_test_towardzero): Likewise.
10441 (acos_test_downward): Likewise.
10442 (acos_test_upward): Likewise.
10443 (acosh_test): Likewise.
10444 (asin_test): Likewise.
10445 (asin_test_tonearest): Likewise.
10446 (asin_test_towardzero): Likewise.
10447 (asin_test_downward): Likewise.
10448 (asin_test_upward): Likewise.
10449 (asinh_test): Likewise.
10450 (atan_test): Likewise.
10451 (atanh_test): Likewise.
10452 (atan2_test): Likewise.
10453 (cabs_test): Likewise.
10454 (cacos_test): Likewise.
10455 (cacosh_test): Likewise.
10456 (casin_test): Likewise.
10457 (casinh_test): Likewise.
10458 (catan_test): Likewise.
10459 (catanh_test): Likewise.
10460 (cbrt_test): Likewise.
10461 (ccos_test): Likewise.
10462 (ccosh_test): Likewise.
10463 (cexp_test): Likewise.
10464 (clog_test): Likewise.
10465 (clog10_test): Likewise.
10466 (cos_test): Likewise.
10467 (cos_test_tonearest): Likewise.
10468 (cos_test_towardzero): Likewise.
10469 (cos_test_downward): Likewise.
10470 (cos_test_upward): Likewise.
10471 (cosh_test): Likewise.
10472 (cosh_test_tonearest): Likewise.
10473 (cosh_test_towardzero): Likewise.
10474 (cosh_test_downward): Likewise.
10475 (cosh_test_upward): Likewise.
10476 (cpow_test): Likewise.
10477 (csin_test): Likewise.
10478 (csinh_test): Likewise.
10479 (csqrt_test): Likewise.
10480 (ctan_test): Likewise.
10481 (ctan_test_tonearest): Likewise.
10482 (ctan_test_towardzero): Likewise.
10483 (ctan_test_downward): Likewise.
10484 (ctan_test_upward): Likewise.
10485 (ctanh_test): Likewise.
10486 (ctanh_test_tonearest): Likewise.
10487 (ctanh_test_towardzero): Likewise.
10488 (ctanh_test_downward): Likewise.
10489 (ctanh_test_upward): Likewise.
10490 (erf_test): Likewise.
10491 (erfc_test): Likewise.
10492 (exp_test): Likewise.
10493 (exp_test_tonearest): Likewise.
10494 (exp_test_towardzero): Likewise.
10495 (exp_test_downward): Likewise.
10496 (exp_test_upward): Likewise.
10497 (exp10_test): Likewise.
10498 (exp2_test): Likewise.
10499 (expm1_test): Likewise.
10500 (fmod_test): Likewise.
10501 (gamma_test): Likewise.
10502 (hypot_test): Likewise.
10503 (j0_test): Likewise.
10504 (j1_test): Likewise.
10505 (jn_test): Likewise.
10506 (lgamma_test): Likewise.
10507 (log_test): Likewise.
10508 (log10_test): Likewise.
10509 (log1p_test): Likewise.
10510 (log2_test): Likewise.
10511 (logb_test_downward): Likewise.
10512 (pow_test): Likewise.
10513 (pow_test_tonearest): Likewise.
10514 (pow_test_towardzero): Likewise.
10515 (pow_test_downward): Likewise.
10516 (pow_test_upward): Likewise.
10517 (remainder_test): Likewise.
10518 (remquo_test): Likewise.
10519 (sin_test): Likewise.
10520 (sin_test_tonearest): Likewise.
10521 (sin_test_towardzero): Likewise.
10522 (sin_test_downward): Likewise.
10523 (sin_test_upward): Likewise.
10524 (sincos_test): Likewise.
10525 (sinh_test): Likewise.
10526 (sinh_test_tonearest): Likewise.
10527 (sinh_test_towardzero): Likewise.
10528 (sinh_test_downward): Likewise.
10529 (sinh_test_upward): Likewise.
10530 (sqrt_test): Likewise.
10531 (tan_test): Likewise.
10532 (tan_test_tonearest): Likewise.
10533 (tan_test_towardzero): Likewise.
10534 (tan_test_downward): Likewise.
10535 (tan_test_upward): Likewise.
10536 (tanh_test): Likewise.
10537 (tgamma_test): Likewise.
10538 (y0_test): Likewise.
10539 (y1_test): Likewise.
10540 (yn_test): Likewise.
10541
323e5cb7
JM
10542 * math/gen-libm-test.pl (adjust_arg): Remove function.
10543 (special_function): Remove argument $in_func. Only handle
10544 generating output for tables of tests, not inside functions.
10545 (parse_args): Likewise.
10546 (generate_testfile): Remove variable $in_func. Update call to
10547 parse_args.
10548 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10549 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10550 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10551 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10552 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10553 (MAX_VALUE_INIT): Rename macro to max_value.
10554 (MIN_VALUE_INIT): Rename macro to min_value.
10555 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10556 (plus_zero): Remove variable.
10557 (minus_zero): Likewise.
10558 (plus_infty): Likewise.
10559 (minus_infty): Likewise.
10560 (qnan_value): Likewise.
10561 (max_value): Likewise.
10562 (min_value): Likewise.
10563 (min_subnorm_value): Likewise.
10564
e054f494
RA
105652013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10566
10567 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10568 uint64_t or uint32_t usage.
10569 * crypt/sha256-block.c: Likewise.
10570 * crypt/sha256-crypt.c: Likewise.
10571 * crypt/sha256.c: Likewise.
10572 * crypt/sha512-block.c: Likewise.
10573 * crypt/sha512-crypt.c: Likewise.
10574 * crypt/sha512.c: Likewise.
10575 * debug/backtrace-tst.c: Likewise.
10576 * debug/pcprofiledump.c: Likewise.
10577 * elf/cache.c: Likewise.
10578 * elf/dl-cache.c: Likewise.
10579 * elf/dl-misc.c: Likewise.
10580 * elf/dl-profile.c: Likewise.
10581 * elf/dl-support.c: Likewise.
10582 * elf/ldconfig.c: Likewise.
10583 * elf/sprof.c: Likewise.
10584 * iconv/dummy-repertoire.c: Likewise.
10585 * iconv/iconv_charmap.c: Likewise.
10586 * iconv/skeleton.c: Likewise.
10587 * iconvdata/8bit-generic.c: Likewise.
10588 * iconvdata/cp737.h: Likewise.
10589 * iconvdata/cp775.h: Likewise.
10590 * iconvdata/ibm1008.h: Likewise.
10591 * iconvdata/ibm1025.h: Likewise.
10592 * iconvdata/ibm1046.h: Likewise.
10593 * iconvdata/ibm1097.h: Likewise.
10594 * iconvdata/ibm1112.h: Likewise.
10595 * iconvdata/ibm1122.h: Likewise.
10596 * iconvdata/ibm1123.h: Likewise.
10597 * iconvdata/ibm1124.h: Likewise.
10598 * iconvdata/ibm1129.h: Likewise.
10599 * iconvdata/ibm1130.h: Likewise.
10600 * iconvdata/ibm1132.h: Likewise.
10601 * iconvdata/ibm1133.h: Likewise.
10602 * iconvdata/ibm1137.h: Likewise.
10603 * iconvdata/ibm1140.h: Likewise.
10604 * iconvdata/ibm1141.h: Likewise.
10605 * iconvdata/ibm1142.h: Likewise.
10606 * iconvdata/ibm1143.h: Likewise.
10607 * iconvdata/ibm1144.h: Likewise.
10608 * iconvdata/ibm1145.h: Likewise.
10609 * iconvdata/ibm1146.h: Likewise.
10610 * iconvdata/ibm1147.h: Likewise.
10611 * iconvdata/ibm1148.h: Likewise.
10612 * iconvdata/ibm1149.h: Likewise.
10613 * iconvdata/ibm1153.h: Likewise.
10614 * iconvdata/ibm1154.h: Likewise.
10615 * iconvdata/ibm1155.h: Likewise.
10616 * iconvdata/ibm1156.h: Likewise.
10617 * iconvdata/ibm1157.h: Likewise.
10618 * iconvdata/ibm1158.h: Likewise.
10619 * iconvdata/ibm1160.h: Likewise.
10620 * iconvdata/ibm1161.h: Likewise.
10621 * iconvdata/ibm1162.h: Likewise.
10622 * iconvdata/ibm1163.h: Likewise.
10623 * iconvdata/ibm1164.h: Likewise.
10624 * iconvdata/ibm1166.h: Likewise.
10625 * iconvdata/ibm1167.h: Likewise.
10626 * iconvdata/ibm12712.h: Likewise.
10627 * iconvdata/ibm1390.h: Likewise.
10628 * iconvdata/ibm1399.h: Likewise.
10629 * iconvdata/ibm16804.h: Likewise.
10630 * iconvdata/ibm4517.h: Likewise.
10631 * iconvdata/ibm4899.h: Likewise.
10632 * iconvdata/ibm4909.h: Likewise.
10633 * iconvdata/ibm4971.h: Likewise.
10634 * iconvdata/ibm5347.h: Likewise.
10635 * iconvdata/ibm803.h: Likewise.
10636 * iconvdata/ibm856.h: Likewise.
10637 * iconvdata/ibm901.h: Likewise.
10638 * iconvdata/ibm902.h: Likewise.
10639 * iconvdata/ibm9030.h: Likewise.
10640 * iconvdata/ibm9066.h: Likewise.
10641 * iconvdata/ibm921.h: Likewise.
10642 * iconvdata/ibm922.h: Likewise.
10643 * iconvdata/ibm9448.h: Likewise.
10644 * iconvdata/isiri-3342.h: Likewise.
10645 * iconvdata/jis0201.h: Likewise.
10646 * include/link.h: Likewise.
10647 * include/netdb.h: Likewise.
10648 * inet/check_native.c: Likewise.
10649 * inet/check_pf.c: Likewise.
10650 * inet/getipv4sourcefilter.c: Likewise.
10651 * inet/getnameinfo.c: Likewise.
10652 * inet/getsourcefilter.c: Likewise.
10653 * inet/htonl.c: Likewise.
10654 * inet/setipv4sourcefilter.c: Likewise.
10655 * inet/setsourcefilter.c: Likewise.
10656 * inet/test-inet6_opt.c: Likewise.
10657 * inet/tst-network.c: Likewise.
10658 * locale/C-collate.c: Likewise.
10659 * locale/C-ctype.c: Likewise.
10660 * locale/C-time.c: Likewise.
10661 * locale/C-translit.h: Likewise.
10662 * locale/loadarchive.c: Likewise.
10663 * locale/programs/3level.h: Likewise.
10664 * locale/programs/charmap.c: Likewise.
10665 * locale/programs/charmap.h: Likewise.
10666 * locale/programs/ld-address.c: Likewise.
10667 * locale/programs/ld-collate.c: Likewise.
10668 * locale/programs/ld-ctype.c: Likewise.
10669 * locale/programs/ld-identification.c: Likewise.
10670 * locale/programs/ld-measurement.c: Likewise.
10671 * locale/programs/ld-messages.c: Likewise.
10672 * locale/programs/ld-monetary.c: Likewise.
10673 * locale/programs/ld-name.c: Likewise.
10674 * locale/programs/ld-numeric.c: Likewise.
10675 * locale/programs/ld-paper.c: Likewise.
10676 * locale/programs/ld-telephone.c: Likewise.
10677 * locale/programs/ld-time.c: Likewise.
10678 * locale/programs/linereader.c: Likewise.
10679 * locale/programs/locale.c: Likewise.
10680 * locale/programs/locarchive.c: Likewise.
10681 * locale/programs/locfile.h: Likewise.
10682 * locale/programs/repertoire.c: Likewise.
10683 * locale/programs/simple-hash.c: Likewise.
10684 * locale/programs/simple-hash.h: Likewise.
10685 * malloc/memusage.c: Likewise.
10686 * malloc/memusagestat.c: Likewise.
10687 * nis/nis_defaults.c: Likewise.
10688 * nis/nis_hash.c: Likewise.
10689 * nis/nis_print.c: Likewise.
10690 * nis/nis_xdr.c: Likewise.
10691 * nscd/connections.c: Likewise.
10692 * nscd/hstcache.c: Likewise.
10693 * nscd/nscd_gethst_r.c: Likewise.
10694 * nscd/nscd_getserv_r.c: Likewise.
10695 * nscd/nscd_helper.c: Likewise.
10696 * nscd/servicescache.c: Likewise.
10697 * nss/makedb.c: Likewise.
10698 * nss/nss_db/db-XXX.c: Likewise.
10699 * nss/nss_db/db-initgroups.c: Likewise.
10700 * nss/nss_db/db-netgrp.c: Likewise.
10701 * nss/nss_files/files-network.c: Likewise.
10702 * nss/nss_files/files-parse.c: Likewise.
10703 * posix/bug-regex5.c: Likewise.
10704 * posix/fnmatch_loop.c: Likewise.
10705 * posix/regcomp.c: Likewise.
10706 * posix/regexec.c: Likewise.
10707 * posix/tst-rfc3484-2.c: Likewise.
10708 * posix/tst-rfc3484-3.c: Likewise.
10709 * posix/tst-rfc3484.c: Likewise.
10710 * resolv/nss_dns/dns-canon.c: Likewise.
10711 * resolv/nss_dns/dns-network.c: Likewise.
10712 * resolv/res_init.c: Likewise.
10713 * resolv/res_mkquery.c: Likewise.
10714 * resolv/tst-aton.c: Likewise.
10715 * stdlib/cxa_atexit.c: Likewise.
10716 * stdlib/cxa_finalize.c: Likewise.
10717 * stdlib/gen-fpioconst.c: Likewise.
10718 * stdlib/strtol_l.c: Likewise.
10719 * string/tst-endian.c: Likewise.
10720 * sunrpc/auth_des.c: Likewise.
10721 * sunrpc/clnt_udp.c: Likewise.
10722 * sunrpc/rtime.c: Likewise.
10723 * sunrpc/svcauth_des.c: Likewise.
10724 * sunrpc/xdr.c: Likewise.
10725 * sunrpc/xdr_intXX_t.c: Likewise.
10726 * sunrpc/xdr_rec.c: Likewise.
10727 * sysdeps/generic/ldconfig.h: Likewise.
10728 * sysdeps/generic/ldsodefs.h: Likewise.
10729 * sysdeps/generic/memusage.h: Likewise.
10730 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10732 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10733 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10735 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10736 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10737 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10738 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10740 * sysdeps/posix/getaddrinfo.c: Likewise.
10741 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10742 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10743 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10744 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10745 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10746 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10747 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10748 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10749 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10750 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10751 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10752 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10753 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10754 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10755 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10756 * sysdeps/x86_64/dl-tls.h: Likewise.
10757 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10758 * time/alt_digit.c: Likewise.
10759 * time/era.c: Likewise.
10760 * wcsmbs/tst-c16c32-1.c: Likewise.
10761
8c75f674
JM
107622013-05-16 Joseph Myers <joseph@codesourcery.com>
10763
10764 * math/libm-test.inc (struct test_sincos_data): New type.
10765 (RUN_TEST_LOOP_sincos): New macro.
10766 (sincos_test_data): New variable.
10767 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10768
e6e49e59
RH
107692013-05-16 Richard Henderson <rth@redhat.com>
10770
10771 * math/atest-exp2.c (LIMB64): New macro.
10772 (CONSTSZ): New macro.
10773 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10774 (hexdig): Move ...
10775 (print_mpn_fp): ... to function scope.
10776 (read_mpn_hex): Remove.
10777 (get_log2): Remove.
10778 (exp2_mpn): Use mp_log2.
10779 (main): Use mp_exp1.
10780
15c7c18d
JM
107812013-05-16 Joseph Myers <joseph@codesourcery.com>
10782
105a07df
JM
10783 * math/libm-test.inc: Remove comment about not testing "inexact"
10784 exceptions.
10785 (INEXACT_EXCEPTION): New macro.
10786 (NO_INEXACT_EXCEPTION): Likewise.
10787 (INVALID_EXCEPTION_OK): Update value.
10788 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10789 (OVERFLOW_EXCEPTION_OK): Likewise.
10790 (UNDERFLOW_EXCEPTION_OK): Likewise.
10791 (IGNORE_ZERO_INF_SIGN): Likewise.
10792 (ERRNO_UNCHANGED): Likewise.
10793 (ERRNO_EDOM): Likewise.
10794 (ERRNO_ERANGE): Likewise.
10795 (test_exceptions): Handle testing "inexact" exceptions.
10796 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10797 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10798 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10799 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10800 INEXACT_EXCEPTION.
10801 (rint_towardzero_test_data): Likewise.
10802 (rint_downward_test_data): Likewise.
10803 (rint_upward_test_data): Likewise.
10804
e9eee333
JM
10805 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10806 with OVERFLOW_EXCEPTION.
10807 (exp10_test_data): Likewise.
10808 (exp2_test_data): Likewise.
10809 (expm1_test_data): Likewise.
10810 (lgamma_test_data): Likewise.
10811 (pow_test_data): Likewise.
10812 (tgamma_test_data): Likewise.
10813 (yn_test_data): Remove duplicate test of overflow.
10814
1c38ff73
JM
10815 * math/libm-test.inc (struct test_cc_c_data): New type.
10816 (RUN_TEST_LOOP_cc_c): New macro.
10817 (cpow_test_data): New variable.
10818 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10819
15c7c18d
JM
10820 * math/libm-test.inc (struct test_f_L_data): New type.
10821 (RUN_TEST_LOOP_f_L): New macro.
10822 (llrint_test_data): New variable.
10823 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10824 (llrint_tonearest_test_data): New variable.
10825 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10826 (llrint_towardzero_test_data): New variable.
10827 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10828 (llrint_downward_test_data): New variable.
10829 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10830 (llrint_upward_test_data): New variable.
10831 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10832 (llround_test_data): New variable.
10833 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10834
f137ff13
PC
108352013-05-13 Peter Collingbourne <pcc@google.com>
10836
10837 * math/atest-exp2.c (get_log2): Remove const attribute.
10838
3608cb24
JM
108392013-05-15 Joseph Myers <joseph@codesourcery.com>
10840
10841 * math/libm-test.inc (struct test_f_l_data): New type.
10842 (RUN_TEST_LOOP_f_l): New macro.
10843 (lrint_test_data): New variable.
10844 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10845 (lrint_tonearest_test_data): New variable.
10846 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10847 (lrint_towardzero_test_data): New variable.
10848 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10849 (lrint_downward_test_data): New variable.
10850 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10851 (lrint_upward_test_data): New variable.
10852 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10853 (lround_test_data): New variable.
10854 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10855
39b1f617
PC
108562013-05-15 Peter Collingbourne <pcc@google.com>
10857
1deff3dc
PC
10858 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10859 (EXTRACT_WORDS64) Use where appropriate.
10860 (INSERT_WORDS64) Likewise.
10861
791f3ba0
PC
10862 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10863 constraints with x constraints.
10864 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10865
39b1f617
PC
10866 * malloc/obstack.c (_obstack_compat): Add initializer.
10867
12fba011
EM
108682013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10869
10870 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10871 si_trapno and add si_addr_lsb to _sifields.sigfault.
10872 (si_trapno): Remove macro.
10873 (si_addr_lsb): Define new macro.
10874 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10875
d369f531
JM
108762013-05-15 Joseph Myers <joseph@codesourcery.com>
10877
b861c6c4
JM
10878 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10879 instead of TEST_f_l.
10880 (llrint_test_tonearest): Likewise.
10881 (llrint_test_towardzero): Likewise.
10882 (llrint_test_downward): Likewise.
10883 (llrint_test_upward): Likewise.
10884 (llround_test): Likewise.
10885
7abeee12
JM
10886 * math/libm-test.inc (struct test_f_i_data): Add comment.
10887 (RUN_TEST_LOOP_f_b): New macro.
10888 (RUN_TEST_LOOP_f_b_tg): Likewise.
10889 (finite_test_data): New variable.
10890 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10891 (isfinite_test_data): New variable.
10892 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10893 (isinf_test_data): New variable.
10894 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10895 (isnan_test_data): New variable.
10896 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10897 (isnormal_test_data): New variable.
10898 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10899 (issignaling_test_data): New variable.
10900 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10901 (signbit_test_data): New variable.
10902 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10903
cbe8c4d3
JM
10904 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10905 with INVALID_EXCEPTION.
10906 (acosh_test_data): Likewise.
10907 (asin_test_data): Likewise.
10908 (atanh_test_data): Likewise.
10909 (fmod_test_data): Likewise.
10910 (log_test_data): Likewise.
10911 (log10_test_data): Likewise.
10912 (log2_test_data): Likewise.
10913 (pow_test_data): Likewise.
10914 (sqrt_test_data): Likewise.
10915 (y0_test_data): Likewise.
10916 (y1_test_data): Likewise.
10917 (yn_test_data): Likewise.
10918
5575c0e5
JM
10919 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10920 function contents.
10921
d369f531
JM
10922 * math/libm-test.inc (struct test_ff_i_data): New type.
10923 (RUN_TEST_LOOP_ff_i_tg): New macro.
10924 (isgreater_test_data): New variable.
10925 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10926 (isgreaterequal_test_data): New variable.
10927 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10928 (isless_test_data): New variable.
10929 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10930 (islessequal_test_data): New variable.
10931 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10932 (islessgreater_test_data): New variable.
10933 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10934 (isunordered_test_data): New variable.
10935 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10936
781fd748
DM
109372013-05-14 David S. Miller <davem@davemloft.net>
10938
10939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10940
87aa21df
JM
109412013-05-14 Joseph Myers <joseph@codesourcery.com>
10942
5e908270
JM
10943 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10944
f71172e5
JM
10945 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10946 extra_test to int.
10947 (struct test_f_i_data): Change type of max_ulp to int.
10948
8cfa635a
JM
10949 * math/libm-test.inc (test_ffI_f1_data): New type.
10950 (RUN_TEST_LOOP_ffI_f1): New macro.
10951 (remquo_test_data): New variable.
10952 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10953
2bcb36b2
JM
10954 * setjmp/tst-setjmp-fp.c: New file.
10955 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10956 (link-libm): New variable.
10957 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10958
acbd839a
JM
10959 * math/libm-test.inc (struct test_f_i_data): New type.
10960 (RUN_TEST_LOOP_f_i): New macro.
10961 (RUN_TEST_LOOP_f_i_tg): Likewise.
10962 (fpclassify_test_data): New variable.
10963 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10964 (ilogb_test_data): New variable.
10965 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10966
e414d745
JM
10967 * math/libm-test.inc (scalbln_test): Correct function name in END
10968 call.
10969
d9c2a0fd
JM
10970 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10971 (RUN_TEST_LOOP_fI_f1): New macro.
10972 (frexp_test_data): New variable.
10973 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10974
9dc9095d
JM
10975 * math/libm-test.inc (struct test_fF_f1_data): New type.
10976 (RUN_TEST_LOOP_fF_f1): New macro.
10977 (modf_test_data): New variable.
10978 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10979
87aa21df
JM
10980 * math/libm-test.inc (struct test_f_f1_data): New type.
10981 (RUN_TEST_LOOP_f_f1): New macro.
10982 (gamma_test_data): New variable.
10983 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10984 (lgamma_test_data): New variable.
10985 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10986
141af660
CD
109872013-05-13 Carlos O'Donell <carlos@redhat.com>
10988
10989 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10990 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10991 (main): Comment "tls" pseudo-hwcap.
10992
6d33265c
JM
109932013-05-13 Joseph Myers <joseph@codesourcery.com>
10994
68fc074c
JM
10995 * math/libm-test.inc (struct test_fl_f_data): New type.
10996 (RUN_TEST_LOOP_fl_f): New variable.
10997 (scalbln_test_data): New variable.
10998 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10999
243216e1
JM
11000 * math/libm-test.inc (struct test_fi_f_data): New type.
11001 (RUN_TEST_LOOP_fi_f): New macro.
11002 (ldexp_test_data): New variable.
11003 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11004 (scalbn_test_data): New variable.
11005 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11006
6a1992e2
JM
11007 * math/libm-test.inc (struct test_c_f_data): New type.
11008 (RUN_TEST_LOOP_c_f): New macro.
11009 (cabs_test_data): New variable.
11010 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11011 (carg_test_data): New variable.
11012 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11013 (cimag_test_data): New variable.
11014 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11015 (creal_test_data): New variable.
11016 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11017
0e400df5
JM
11018 * math/libm-test.inc (struct test_if_f_data): New type.
11019 (RUN_TEST_LOOP_if_f): New macro.
11020 (jn_test_data): New variable.
11021 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11022 (yn_test_data): New variable.
11023 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11024
6d33265c
JM
11025 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11026
f98ece5f
AZ
110272013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11028
11029 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11030 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11031
0f7d347b
SP
110322013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11033
43fe811b
SP
11034 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11035 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11036 (bench-deps): Add bench-timing.h.
11037 * benchtests-bench-skeleton.c: Include bench-timing.h.
11038 (main): Use TIMING_* macros instead of clock_gettime.
11039 * benchtests/bench-timing.h: New file.
11040
0f7d347b
SP
11041 [BZ #14582]
11042 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11043 Renamed from _LIB_VERSION.
11044 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11045
601a3a5f
JM
110462013-05-12 Joseph Myers <joseph@codesourcery.com>
11047
4f184d30
JM
11048 * math/libm-test.inc (struct test_fff_f_data): New type.
11049 (RUN_TEST_LOOP_fff_f): New macro.
11050 (fma_test_data): New variable.
11051 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11052 (fma_towardzero_test_data): New variable.
11053 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11054 (fma_downward_test_data): New variable.
11055 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11056 (fma_upward_test_data): New variable.
11057 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11058
08198877
JM
11059 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11060 (struct test_c_c_data): New type.
11061 (RUN_TEST_LOOP_c_c): New macro.
11062 (cacos_test_data): New variable.
11063 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11064 (cacosh_test_data): New variable.
11065 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11066 (casin_test_data): New variable.
11067 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11068 (casinh_test_data): New variable.
11069 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11070 (catan_test_data): New variable.
11071 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11072 (catanh_test_data): New variable.
11073 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11074 (ccos_test_data): New variable.
11075 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11076 (ccosh_test_data): New variable.
11077 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11078 (cexp_test_data): New variable.
11079 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11080 (clog_test_data): New variable.
11081 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11082 (clog10_test_data): New variable.
11083 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11084 (conj_test_data): New variable.
11085 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11086 (cproj_test_data): New variable.
11087 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11088 (csin_test_data): New variable.
11089 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11090 (csinh_test_data): New variable.
11091 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11092 (csqrt_test_data): New variable.
11093 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11094 (ctan_test_data): New variable.
11095 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11096 (ctan_tonearest_test_data): New variable.
11097 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11098 (ctan_towardzero_test_data): New variable.
11099 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11100 (ctan_downward_test_data): New variable.
11101 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11102 (ctan_upward_test_data): New variable.
11103 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11104 (ctanh_test_data): New variable.
11105 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11106 (ctanh_tonearest_test_data): New variable.
11107 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11108 (ctanh_towardzero_test_data): New variable.
11109 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11110 (ctanh_downward_test_data): New variable.
11111 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11112 (ctanh_upward_test_data): New variable.
11113 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11114 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11115 of BUILD_COMPLEX.
11116
601a3a5f
JM
11117 * math/libm-test.inc (struct test_ff_f_data): New type.
11118 (struct test_ff_f_data_nexttoward): Likewise.
11119 (RUN_TEST_LOOP_2_f): New macro.
11120 (RUN_TEST_LOOP_ff_f): Likewise.
11121 (atan2_test_data): New variable.
11122 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11123 (copysign_test_data): New variable.
11124 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11125 (fdim_test_data): New variable.
11126 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11127 (fmax_test_data): New variable.
11128 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11129 (fmin_test_data): New variable.
11130 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11131 (fmod_test_data): New variable.
11132 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11133 (hypot_test_data): New variable.
11134 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11135 (nextafter_test_data): New variable.
11136 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11137 (nexttoward_test_data): New variable.
11138 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11139 (pow_test_data): New variable.
11140 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11141 (pow_tonearest_test_data): New variable.
11142 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11143 (pow_towardzero_test_data): New variable.
11144 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11145 (pow_downward_test_data): New variable.
11146 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11147 (pow_upward_test_data): New variable.
11148 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11149 (remainder_test_data): New variable.
11150 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11151 (scalb_test_data): New variable.
11152 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11153 * sysdeps/i386/fpu/libm-test-ulps: Update.
11154
74c57478
JM
111552013-05-11 Joseph Myers <joseph@codesourcery.com>
11156
8329e4da
JM
11157 * math/libm-test.inc (fma_test): Use max_value instead of local
11158 variable fltmax.
11159 (nextafter_test): Likewise.
11160
74c57478
JM
11161 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11162 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11163 (acos_downward_test_data): New variable.
11164 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11165 (acos_upward_test_data): New variable.
11166 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11167 (acosh_test_data): New variable.
11168 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11169 (asin_test_data): New variable.
11170 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11171 (asin_tonearest_test_data): New variable.
11172 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11173 (asin_towardzero_test_data): New variable.
11174 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11175 (asin_downward_test_data): New variable.
11176 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11177 (asin_upward_test_data): New variable.
11178 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11179 (asinh_test_data): New variable.
11180 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11181 (atan_test_data): New variable.
11182 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11183 (atanh_test_data): New variable.
11184 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11185 (cbrt_test_data): New variable.
11186 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11187 (ceil_test_data): New variable.
11188 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11189 (cos_test_data): New variable.
11190 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11191 (cos_tonearest_test_data): New variable.
11192 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11193 (cos_towardzero_test_data): New variable.
11194 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11195 (cos_downward_test_data): New variable.
11196 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11197 (cos_upward_test_data): New variable.
11198 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11199 (cosh_test_data): New variable.
11200 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11201 (cosh_tonearest_test_data): New variable.
11202 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11203 (cosh_towardzero_test_data): New variable.
11204 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11205 (cosh_downward_test_data): New variable.
11206 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11207 (cosh_upward_test_data): New variable.
11208 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11209 (erf_test_data): New variable.
11210 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11211 (erfc_test_data): New variable.
11212 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11213 (exp_test_data): New variable.
11214 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11215 (exp_tonearest_test_data): New variable.
11216 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11217 (exp_towardzero_test_data): New variable.
11218 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11219 (exp_downward_test_data): New variable.
11220 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11221 (exp_upward_test_data): New variable.
11222 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11223 (exp10_test_data): New variable.
11224 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11225 (exp2_test_data): New variable.
11226 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11227 (expm1_test_data): New variable.
11228 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11229 (fabs_test_data): New variable.
11230 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11231 (floor_test_data): New variable.
11232 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11233 (j0_test_data): New variable.
11234 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11235 (j1_test_data): New variable.
11236 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11237 (log_test_data): New variable.
11238 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11239 (log10_test_data): New variable.
11240 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11241 (log1p_test_data): New variable.
11242 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11243 (log2_test_data): New variable.
11244 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11245 (logb_test_data): New variable.
11246 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11247 (logb_downward_test_data): New variable.
11248 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11249 (nearbyint_test_data): New variable.
11250 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11251 (rint_test_data): New variable.
11252 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11253 (rint_tonearest_test_data): New variable.
11254 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11255 (rint_towardzero_test_data): New variable.
11256 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11257 (rint_downward_test_data): New variable.
11258 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11259 (rint_upward_test_data): New variable.
11260 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11261 (round_test_data): New variable.
11262 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11263 (sin_test_data): New variable.
11264 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11265 (sin_tonearest_test_data): New variable.
11266 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11267 (sin_towardzero_test_data): New variable.
11268 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11269 (sin_downward_test_data): New variable.
11270 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11271 (sin_upward_test_data): New variable.
11272 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11273 (sinh_test_data): New variable.
11274 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11275 (sinh_tonearest_test_data): New variable.
11276 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11277 (sinh_towardzero_test_data): New variable.
11278 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11279 (sinh_downward_test_data): New variable.
11280 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11281 (sinh_upward_test_data): New variable.
11282 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11283 (sqrt_test_data): New variable.
11284 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11285 (tan_test_data): New variable.
11286 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11287 (tan_tonearest_test_data): New variable.
11288 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11289 (tan_towardzero_test_data): New variable.
11290 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11291 (tan_downward_test_data): New variable.
11292 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11293 (tan_upward_test_data): New variable.
11294 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11295 (tanh_test_data): New variable.
11296 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11297 (tgamma_test_data): New variable.
11298 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11299 (trunc_test_data): New variable.
11300 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11301 (y0_test_data): New variable.
11302 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11303 (y1_test_data): New variable.
11304 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11305 (significand_test_data): New variable.
11306 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11307
7187d844
CG
113082013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11309
11310 [BZ #12387]
11311 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11312
f63fae73
PT
113132013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11314
11315 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11316
8a67a4b3
AJ
113172013-05-10 Andreas Jaeger <aj@suse.de>
11318
11319 [BZ #15448]
11320 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11321 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11322
51df539d
JM
113232013-05-10 Joseph Myers <joseph@codesourcery.com>
11324
11325 * math/gen-libm-test.pl (adjust_arg): New function.
11326 (special_functions): Handle generating output in both functions
11327 and arrays.
11328 (parse_args): Likewise.
11329 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11330 $in_func argument to parse_args.
11331 * math/libm-test.inc (struct test_f_f_data): New type.
11332 (IF_ROUND_INIT_): New macro.
11333 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11334 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11335 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11336 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11337 (ROUND_RESTORE_): Likewise.
11338 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11339 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11340 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11341 (ROUND_RESTORE_FE_UPWARD): Likewise.
11342 (RUN_TEST_LOOP_f_f): New macro.
11343 (acos_test_data): New variable.
11344 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11345 (acos_tonearest_test_data): New variable.
11346 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11347
5c637fe5
SP
113482013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11349
11350 * benchtests/bench-skeleton.c (startup): Fix coding style.
11351
ab2b9461
JM
113522013-05-10 Joseph Myers <joseph@codesourcery.com>
11353
11354 [BZ #6809]
11355 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11356 negative infinity argument.
11357 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11358 negative infinity argument.
11359 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11360 negative infinity argument.
11361 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11362 domain errors.
11363
4c0fe6fe
FW
113642013-05-10 Florian Weimer <fweimer@redhat.com>
11365
11366 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11367 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11368 * iconv/iconv_prog.c (main): Likewise.
11369 * locale/programs/charmap-dir.c (charmap_readdir)
11370 (fopen_uncompressed): Likewise.
11371 * locale/programs/locfile.c (siblings_uncached)
11372 (write_locale_data): Use lstat64 instead of lstat.
11373 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11374 stat.
11375
a3375d29
AJ
113762013-05-10 Andreas Jaeger <aj@suse.de>
11377
11378 [BZ #15395]
11379 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11380 localization.
11381 Include <locale.h>.
11382
36129722
CD
113832013-05-09 Carlos O'Donell <carlos@redhat.com>
11384
11385 * elf/dl-close.c (_dl_close_worker): Add comments.
11386
faa7f811
JM
113872013-05-09 Joseph Myers <joseph@codesourcery.com>
11388
ed41ffef
JM
11389 [BZ #15359]
11390 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11391 high part of pi/2.
11392 (__ieee754_rem_pio2l): Update comments.
11393
d0213cd0
JM
11394 [BZ #15429]
11395 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11396 high part of pi/2.
11397 (__ieee754_rem_pio2l): Update comments.
11398
0d3e777a
JM
11399 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11400 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11401
24f56066
JM
11402 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11403 M_PI_4l.
11404
faa7f811
JM
11405 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11406 (M_PI_34_LOG10El): Likewise.
11407 (M_PI2_LOG10El): Likewise.
11408 (M_PI4_LOG10El): Likewise.
11409 (M_PI_LOG10El): Likewise.
11410
e9a5e0fd
AZ
114112013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11412
11413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11414
d8cd06db
JM
114152013-05-08 Joseph Myers <joseph@codesourcery.com>
11416
a0d9f9d7
JM
11417 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11418 (MINUS_ZERO_INIT): Likewise.
11419 (PLUS_INFTY_INIT): Likewise.
11420 (MINUS_INFTY_INIT): Likewise.
11421 (QNAN_VALUE_INIT): Likewise.
11422 (MAX_VALUE_INIT): Likewise.
11423 (MIN_VALUE_INIT): Likewise.
11424 (MIN_SUBNORM_VALUE_INIT): Likewise.
11425 (plus_zero): Initialize with PLUS_ZERO_INIT.
11426 (minus_zero): Initialize with MINUS_ZERO_INIT.
11427 (plus_infty): Initialize with PLUS_INFTY_INIT.
11428 (minus_infty): Initialize with MINUS_INFTY_INIT.
11429 (qnan_value): Initialize with QNAN_VALUE_INIT.
11430 (max_value): Initialize with MAX_VALUE_INIT.
11431 (min_value): Initialize with MIN_VALUE_INIT.
11432 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11433
ae08db3b
JM
11434 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11435 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11436 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11437 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11438
f44bf14a
JM
11439 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11440 (RUN_TEST_2_f): Likewise.
11441 (RUN_TEST_ff_f): Likewise.
11442 (RUN_TEST_fi_f): Likewise.
11443 (RUN_TEST_fl_f): Likewise.
11444 (RUN_TEST_fff_f): Likewise.
11445 (RUN_TEST_c_f): Likewise.
11446 (RUN_TEST_f_f1): Likewise.
11447 (RUN_TEST_fF_f1): Likewise.
11448 (RUN_TEST_fI_f1): Likewise.
11449 (RUN_TEST_ffI_f1): Likewise.
11450 (RUN_TEST_c_c): Likewise.
11451 (RUN_TEST_cc_c): Likewise.
11452 (RUN_TEST_f_i): Likewise.
11453 (RUN_TEST_f_i_tg): Likewise.
11454 (RUN_TEST_ff_i_tg): Likewise.
11455 (RUN_TEST_f_b): Likewise.
11456 (RUN_TEST_f_b_tg): Likewise.
11457 (RUN_TEST_f_l): Likewise.
11458 (RUN_TEST_f_L): Likewise.
11459 (RUN_TEST_sincos): Likewise.
11460 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11461 whether to show exceptions. Do not include ");\n" in return
11462 value.
11463 (special_functions): Output call to RUN_TEST_sincos instead of
11464 check_float calls. Update calls to new_test.
11465 (parse_args): Output call to single RUN_TEST_* macro instead of
11466 check_* calls and other assignments. Update calls to new_test.
11467
d8cd06db
JM
11468 [BZ #2546]
11469 [BZ #2560]
11470 [BZ #5159]
11471 [BZ #15426]
11472 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11473 input to result for tgamma overflow.
11474 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11475 (gamma_coeff): New variable.
11476 (NCOEFF): New macro.
11477 (gamma_positive): New function.
11478 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11479 underflow here. Use gamma_positive instead of exp (lgamma) for
11480 other arguments.
11481 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11482 (gamma_coeff): New variable.
11483 (NCOEFF): New macro.
11484 (gammaf_positive): New function.
11485 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11486 underflow here. Use gamma_positive instead of exp (lgamma) for
11487 other arguments.
11488 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11489 (gamma_coeff): New variable.
11490 (NCOEFF): New macro.
11491 (gammal_positive): New function.
11492 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11493 underflow here. Use gamma_positive instead of exp (lgamma) for
11494 other arguments.
11495 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11496 (gamma_coeff): New variable.
11497 (NCOEFF): New macro.
11498 (gammal_positive): New function.
11499 (__ieee754_gammal_r): Handle positive infinity, overflow and
11500 underflow here. Handle NaN the same as positive infinity. Remove
11501 check x < 0xffffffff for negative integers. Use gamma_positive
11502 instead of exp (lgamma) for other arguments.
11503 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11504 (gamma_coeff): New variable.
11505 (NCOEFF): New macro.
11506 (gammal_positive): New function.
11507 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11508 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11512 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11513 * sysdeps/generic/math_private.h (__gamma_productf): New
11514 prototype.
11515 (__gamma_product): Likewise.
11516 (__gamma_productl): Likewise.
11517 * math/Makefile (libm-calls): Add gamma_product.
11518 * math/libm-test.inc (tgamma_test): Add more tests.
11519 * sysdeps/i386/fpu/libm-test-ulps: Update.
11520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11521
bb7cf681
OB
115222013-05-08 Ondřej Bílka <neleai@seznam.cz>
11523
11524 * benchtests/bench-skeleton.c (main): Preheat CPU.
11525
ba853947
AJ
115262013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11527
11528 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11529
8347c74c
RM
115302013-05-07 Roland McGrath <roland@hack.frob.com>
11531
11532 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11533 and _dl_skip_args_internal.
11534
e8dd4791
CD
115352013-05-07 Carlos O'Donell <carlos@redhat.com>
11536
11537 * manual/message.texi (Message Translation): Talk about users.
11538 Message to key mapping impacts design.
11539
c7405830
RM
115402013-05-06 Roland McGrath <roland@hack.frob.com>
11541
a9173057
RM
11542 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11543
976e2f03
RM
11544 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11545
9723ffc5
RM
11546 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11547 * sysdeps/wordsize-64/glob64.c: ... here.
11548
962e6658
RM
11549 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11550 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11551 New macros.
11552
ee586a6d
RM
11553 * debug/getlogin_r_chk.c: Moved to ...
11554 * login/getlogin_r_chk.c: ... here.
11555 * debug/Makefile (routines): Move getlogin_r_chk to ...
11556 * login/Makefile (routines): ... here.
11557 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11558 * login/Versions (libc: GLIBC_2.4): ... here.
11559
355f9165
RM
11560 * io/poll.c (__poll): Renamed from poll.
11561 Add libc_hidden_def.
11562 (poll): Define as weak alias.
11563
bd9ffde6
RM
11564 * debug/ptsname_r_chk.c: Moved to ...
11565 * login/ptsname_r_chk.c: ... here.
11566 * debug/Makefile (routines): Move ptsname_r_chk to ...
11567 * login/Makefile (routines): ... here.
11568 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11569 * login/Versions (libc: GLIBC_2.4): ... here.
11570
8fb16a04
RM
11571 * posix/getlogin.c: Moved to ...
11572 * login/getlogin.c: ... here.
11573 * posix/getlogin_r.c: Moved to ...
11574 * login/getlogin_r.c: ... here.
11575 * posix/getlogin_r.c: Moved to ...
11576 * login/getlogin_r.c: ... here.
11577 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11578 * login/Makefile (routines): ... here.
11579 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11580 * login/Versions (libc: GLIBC_2.0): ... here.
11581
b99b892f
RM
11582 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11583 (setrlimit): Define as weak alias.
11584
c7405830
RM
11585 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11586 Call __ names for open, ftruncate, and close.
11587 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11588 (truncate): Define as weak alias.
11589
5bf96de5
JM
115902013-05-06 Joseph Myers <joseph@codesourcery.com>
11591
9ea3513c
JM
11592 * math/gen-libm-test.pl (parse_args): Initialize x before each
11593 test of frexp, modf and remquo.
11594
5bf96de5
JM
11595 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11596 test signgam value.
11597
16e616a7
AZ
115982013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11599
11600 [BZ #15418]
11601 [BZ #15419]
11602 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11603 internal tests.
11604 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11605
d5e82754
RM
116062013-05-06 Roland McGrath <roland@hack.frob.com>
11607
11608 * elf/dl-writev.h: New file.
11609 * elf/dl-misc.c: Include it.
11610 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11611 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11612
a7548d41
JM
116132013-05-04 Joseph Myers <joseph@codesourcery.com>
11614
b7dab1e4
JM
11615 * math/libm-test.inc (noXFails): Remove variable.
11616 (noXPasses): Likewise.
11617 (BUILD_COMPLEX_INT): Remove macro.
11618 (print_screen): Remove xfail argument.
11619 (print_screen_max_error): Likewise.
11620 (update_stats): Likewise.
11621 (print_max_error): Likewise. Update calls to other affected
11622 functions.
11623 (print_complex_max_error): Likewise.
11624 (test_single_exception): Update calls to print_screen.
11625 (test_single_errno): Likewise.
11626 (check_float_internal): Remove xfail argument. Update calls to
11627 other affected functions.
11628 (check_float): Likewise.
11629 (check_complex): Likewise.
11630 (check_int): Likewise.
11631 (check_long): Likewise.
11632 (check_bool): Likewise.
11633 (check_longlong): Likewise.
11634 (main): Don't print noXFails and noXPasses.
11635 * math/gen-libm-test.pl (top level): Don't mention expected
11636 failure handling in comment.
11637 (new_test): Don't handle expected failures.
11638 (parse_args): Don't mention expected failure handling in comment.
11639 (generate_testfile): Don't handle expected failures.
11640 (parse_ulps): Likewise.
11641 (print_ulps_file): Likewise.
11642 (get_failure): Remove function.
11643 (output_test): Don't handle expected failures.
11644 * make/README.libm-test: Don't mention expected failure handling.
11645
a7548d41
JM
11646 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11647 (minus_zero): Likewise.
11648 (plus_infty): Likewise.
11649 (minus_infty): Likewise.
11650 (qnan_value): Likewise.
11651 (max_value): Likewise.
11652 (min_value): Likewise.
11653 (min_subnorm_value): Likewise.
11654 (initialize): Do not initialize those variables dynamically.
11655
60bfd54c
RM
116562013-05-03 Roland McGrath <roland@hack.frob.com>
11657
cc0e6ed8
RM
11658 * io/open.c (__open_2): Moved to ...
11659 * io/open_2.c: ... this new file.
11660 * io/open64.c (__open64_2): Moved to ...
11661 * io/open64_2.c: ... this new file.
11662 * io/openat.c (__openat_2): Moved to ...
11663 * io/openat_2.c: ... this new file.
11664 * io/openat64.c (__openat64_2): Moved to ...
11665 * io/openat64_2.c: ... this new file.
11666 * io/Makefile (routines): Add them.
11667 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11668 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11669 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11670 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11671 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11672 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11673 (__openat64): Add hidden_ver.
11674 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11675 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11676
60bfd54c
RM
11677 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11678 Separately conditionalize setting of GLRO(dl_sysinfo) so
11679 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11680 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11681
83e7640f
AZ
116822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11683
11684 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11685 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11686 definition.
11687 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11688 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11689 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11690 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11691 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11692
d5dc2af3
JM
116932013-05-03 Joseph Myers <joseph@codesourcery.com>
11694
c31a5b1e
JM
11695 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11696 test signgam value.
11697
d5dc2af3
JM
11698 * math/libm-test.inc (hypot_test): Do not use
11699 IGNORE_ZERO_INF_SIGN.
11700
164fd39d
AJ
117012013-05-03 Andreas Jaeger <aj@suse.de>
11702
11703 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11704 Linux 3.9.
11705 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11706 (PF_MAX): Adjust for VSOCK change.
11707
8237f48c
AZ
117082013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11709
11710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11711
9df02941
CD
117122013-05-02 Carlos O'Donell <carlos@redhat.com>
11713
11714 [BZ #15264]
11715 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11716 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11717 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11718
d422395e
DM
117192013-05-02 David S. Miller <davem@davemloft.net>
11720
11721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11722
a07c5731
OB
117232013-05-01 Ondřej Bílka <neleai@seznam.cz>
11724
11725 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11726
1324e37f
RM
117272013-05-01 Roland McGrath <roland@hack.frob.com>
11728
11729 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11730
0695940b
RS
117312013-05-01 Richard Smith <richard@metafoo.co.uk>
11732
bb5f27ad 11733 [BZ #14952]
0695940b
RS
11734 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11735 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11736 Use __attribute__ ((__gnu_inline__)).
11737 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11738 Don't use __attribute__ ((__gnu_inline__)).
11739
10de07f5
JM
117402013-05-01 Joseph Myers <joseph@codesourcery.com>
11741
11742 [BZ #15423]
11743 * math/s_catan.c (__catan): Handle small real or imaginary part of
11744 input specially to avoid spurious underflow.
11745 * math/s_catanf.c (__catanf): Likewise.
11746 * math/s_catanh.c (__catanh): Likewise.
11747 * math/s_catanhf.c (__catanhf): Likewise.
11748 * math/s_catanhl.c (__catanhl): Likewise.
11749 * math/s_catanl.c (__catanl): Likewise.
11750 * math/libm-test.inc (catan_test): Add more tests.
11751 (catanh_test): Likewise.
11752 * sysdeps/i386/fpu/libm-test-ulps: Update.
11753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11754
cb4d5414
AZ
117552013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11756
11757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11758
caf84319
JM
117592013-04-30 Joseph Myers <joseph@codesourcery.com>
11760
11761 [BZ #15416]
11762 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11763 accurately for denominator in atan2.
11764 * math/s_catanf.c (__catanf): Likewise.
11765 * math/s_catanh.c (__catanh): Likewise.
11766 * math/s_catanhf.c (__catanhf): Likewise.
11767 * math/s_catanhl.c (__catanhl): Likewise.
11768 * math/s_catanl.c (__catanl): Likewise.
11769 * math/libm-test.inc (catan_test): Add more tests.
11770 (catanh_test): Likewise.
11771 * sysdeps/i386/fpu/libm-test-ulps: Update.
11772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11773
d569c6ee
SP
117742013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11775
6dbe713d
SP
11776 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11777
f0ee064b
SP
11778 * benchtests/Makefile (bench): Remove slow benchmarks.
11779 * benchtests/atan-inputs: Add slow benchmark inputs.
11780 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11781 (BENCH_FUNC): Accept variant offset.
11782 (VARIANT): Define.
11783 * benchtests/bench-skeleton.c (main): Run benchmark for each
11784 variant.
11785 * benchtests/cos-inputs: Add slow benchmark inputs.
11786 * benchtests/exp-inputs: Likewise.
11787 * benchtests/pow-inputs: Likewise.
11788 * benchtests/sin-inputs: Likewise.
11789 * benchtests/slowatan-inputs: Remove.
11790 * benchtests/slowatan.c: Remove.
11791 * benchtests/slowcos-inputs: Remove.
11792 * benchtests/slowcos.c: Remove.
11793 * benchtests/slowexp-inputs: Remove.
11794 * benchtests/slowexp.c: Remove.
11795 * benchtests/slowpow-inputs: Remove.
11796 * benchtests/slowpow.c: Remove.
11797 * benchtests/slowsin-inputs: Remove.
11798 * benchtests/slowsin.c: Remove.
11799 * benchtests/slowtan-inputs: Remove.
11800 * benchtests/slowtan.c: Remove.
11801 * benchtests/tan-inputs: Add slow benchmark inputs.
11802 * scripts/bench.pl: Parse comments and directives.
11803
d569c6ee
SP
11804 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11805 in CPPFLAGS.
11806 ($(objpfx)bench-%.c): Remove *-ITER.
11807 * benchtests/bench-modf.c: Remove definition of ITER.
11808 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11809 (main): Loop for DURATION seconds instead of fixed number of
11810 iterations.
11811 * scripts/bench.pl: Don't expect iterations in parameters.
11812
a6a242fe
RM
118132013-04-29 Roland McGrath <roland@hack.frob.com>
11814
11815 * io/fchdir.c (__fchdir): Renamed from fchdir.
11816 (fchdir): Define as weak alias.
11817
f2da7793
JM
118182013-04-29 Joseph Myers <joseph@codesourcery.com>
11819
11820 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11821 (ERRNO_EDOM): Likewise.
11822 (ERRNO_ERANGE): Likewise.
11823 (noErrnoTests): New variable.
11824 (init_max_error): Set errno to 0.
11825 (test_single_errno): New function.
11826 (test_errno): Likewise.
11827 (check_float_internal): Call test_errno. Set errno to 0.
11828 (check_complex): Refer to errno tests in comment.
11829 (check_int): Call test_errno. Set errno to 0.
11830 (check_long): Likewise.
11831 (check_bool): Likewise.
11832 (check_longlong): Likewise.
11833 (cos_test): Use ERRNO_* flags for errno tests instead of
11834 check_int.
11835 (expm1_test): Likewise.
11836 (fmod_test): Likewise.
11837 (ilogb_test): Likewise.
11838 (lgamma_test): Likewise.
11839 (pow_test): Likewise.
11840 (remainder_test): Likewise.
11841 (sin_test): Likewise.
11842 (tan_test): Likewise.
11843 (yn_test): Likewise.
11844 (initialize): Set errno to 0.
11845 (main): Print number of errno tests.
11846 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11847
b1a36ceb
AJ
118482013-04-29 Andreas Jaeger <aj@suse.de>
11849
c3ed8088
AJ
11850 [BZ #15084]
11851 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11852 and RES_USEVC.
11853
f1a24198
AJ
11854 [BZ #15085]
11855 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11856 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11857 unimplemented.
11858
9ce3b2cb
AJ
11859 [BZ #15380]
11860 * stdlib/random.c (__initstate): Return NULL if
11861 __initstate fails.
11862
f1a24198 11863 [BZ #15086]
b1a36ceb
AJ
11864 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11865 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11866 RES_SNGLKUPREOP.
11867
7e7b6f36
AZ
118682013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11869
11870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11871
4d14f449
JM
118722013-04-29 Joseph Myers <joseph@codesourcery.com>
11873
11874 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11875 of individual tests.
11876 (casin_test): Likewise.
11877 (casinh_test): Likewise.
11878
5b4217d7
JM
118792013-04-27 Joseph Myers <joseph@codesourcery.com>
11880
11881 [BZ #15409]
11882 * math/s_catan.c (__catan): Handle arguments with large real or
11883 imaginary part separately without squaring.
11884 * math/s_catanf.c (__catanf): Likewise.
11885 * math/s_catanh.c (__catanh): Likewise.
11886 * math/s_catanhf.c (__catanhf): Likewise.
11887 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11888 and redefine.
11889 (__catanhl): Handle arguments with large real or imaginary part
11890 separately without squaring.
11891 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11892 and redefine.
11893 (__catanl): Handle arguments with large real or imaginary part
11894 separately without squaring.
11895 * math/libm-test.inc (catan_test): Add more tests.
11896 (catanh_test): Likewise.
11897 * sysdeps/i386/fpu/libm-test-ulps: Update.
11898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11899
4220c3ef
AJ
119002013-04-27 Andreas Jaeger <aj@suse.de>
11901
11902 [BZ #15007]
11903 * stdlib/stdlib.h: Update guards for qecvt.
11904 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11905 <stdlib.h>.
11906
4721b2d1
AM
119072013-04-27 Allan McRae <allan@archlinux.org>
11908
11909 * sysdeps/i386/fpu/libm-test-ulps: Update.
11910
f0302940
JM
119112013-04-26 Joseph Myers <joseph@codesourcery.com>
11912
9457fd95
JM
11913 [BZ #15406]
11914 * math/s_catan.c: Include <float.h>.
11915 (__catan): Ensure underflow exception occurs for underflowed
11916 result.
11917 * math/s_catanf.c: Include <float.h>.
11918 (__catanf): Ensure underflow exception occurs for underflowed
11919 result.
11920 * math/s_catanh.c: Include <float.h>.
11921 (__catanh): Ensure underflow exception occurs for underflowed
11922 result.
11923 * math/s_catanhf.c: Include <float.h>.
11924 (__catanhf): Ensure underflow exception occurs for underflowed
11925 result.
11926 * math/s_catanhl.c: Include <float.h>.
11927 (__catanhl): Ensure underflow exception occurs for underflowed
11928 result.
11929 * math/s_catanl.c: Include <float.h>.
11930 (__catanl): Ensure underflow exception occurs for underflowed
11931 result.
11932 * math/libm-test.inc (catan_test): Add more tests.
11933 (catanh_test): Likewise.
11934
f0302940
JM
11935 [BZ #15405]
11936 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11937 underflowed result.
11938 * math/s_ccoshf.c (__ccoshf): Likewise.
11939 * math/s_ccoshl.c (__ccoshl): Likewise.
11940 * math/s_csin.c (__csin): Likewise.
11941 * math/s_csinf.c (__csinf): Likewise.
11942 * math/s_csinh.c (__csinh): Likewise.
11943 * math/s_csinhf.c (__csinhf): Likewise.
11944 * math/s_csinhl.c (__csinhl): Likewise.
11945 * math/s_csinl.c (__csinl): Likewise.
11946 * math/libm-test.inc (ccos_test): Add more tests.
11947 (ccosh_test): Likewise.
11948 (csin_test): Likewise.
11949 (csinh_test): Likewise.
11950
aa630f59
AZ
119512013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11952
11953 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11954 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11955 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11956 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11957 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11958 powerpc/power5+/fpu folders.
11959 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11960
11961
1b835983
MT
119622013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11963
11964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11965
73709b26
JM
119662013-04-25 Joseph Myers <joseph@codesourcery.com>
11967
11968 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11969 additions to variable.
11970 [$(config-machine) = x86_64] (modules-names): Likewise.
11971 ($(objpfx)tst-audit3): Remove dependency.
11972 ($(objpfx)tst-audit3.out): Likewise.
11973 ($(objpfx)tst-audit4): Likewise.
11974 ($(objpfx)tst-audit4.out): Likewise.
11975 ($(objpfx)tst-audit5): Likewise.
11976 ($(objpfx)tst-audit5.out): Likewise.
11977 ($(objpfx)tst-audit6): Likewise.
11978 ($(objpfx)tst-audit6.out): Likewise.
11979 ($(objpfx)tst-audit7): Likewise.
11980 ($(objpfx)tst-audit7.out): Likewise.
11981 (tst-audit3-ENV): Remove variable.
11982 (tst-audit4-ENV): Likewise.
11983 (tst-audit5-ENV): Likewise.
11984 (tst-audit6-ENV): Likewise.
11985 (tst-audit7-ENV): Likewise.
11986 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11987 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11988 addition to variable.
11989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11994 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11995 tst-audit3, tst-audit4 and tst-audit5.
11996 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11997 tst-audit6 and tst-audit7.
11998 [$(subdir) = elf] (modules-names): Add audit modules for those
11999 tests.
12000 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12001 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12002 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12003 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12004 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12005 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12006 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12007 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12008 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12009 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12010 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12011 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12012 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12013 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12014 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12015 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12016 Likewise.
12017 [$(subdir) = elf && $(config-cflags-avx) = yes]
12018 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12019 [$(subdir) = elf && $(config-cflags-avx) = yes]
12020 (CFLAGS-tst-auditmod4a.c): Likewise.
12021 [$(subdir) = elf && $(config-cflags-avx) = yes]
12022 (CFLAGS-tst-auditmod4b.c): Likewise.
12023 [$(subdir) = elf && $(config-cflags-avx) = yes]
12024 (CFLAGS-tst-auditmod6b.c): Likewise.
12025 [$(subdir) = elf && $(config-cflags-avx) = yes]
12026 (CFLAGS-tst-auditmod6c.c): Likewise.
12027 [$(subdir) = elf && $(config-cflags-avx) = yes]
12028 (CFLAGS-tst-auditmod7b.c): Likewise.
12029 * elf/tst-audit3.c: Move to ...
12030 * sysdeps/x86_64/tst-audit3.c: ... here.
12031 * elf/tst-audit4.c: Move to ...
12032 * sysdeps/x86_64/tst-audit4.c: ... here.
12033 * elf/tst-audit5.c: Move to ...
12034 * sysdeps/x86_64/tst-audit5.c: ... here.
12035 * elf/tst-audit6.c: Move to ...
12036 * sysdeps/x86_64/tst-audit6.c: ... here.
12037 * elf/tst-audit7.c: Move to ...
12038 * sysdeps/x86_64/tst-audit7.c: ... here.
12039 * elf/tst-auditmod3a.c: Move to ...
12040 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12041 * elf/tst-auditmod3b.c: Move to ...
12042 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12043 * elf/tst-auditmod4a.c: Move to ...
12044 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12045 * elf/tst-auditmod4b.c: Move to ...
12046 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12047 * elf/tst-auditmod5a.c: Move to ...
12048 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12049 * elf/tst-auditmod5b.c: Move to ...
12050 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12051 * elf/tst-auditmod6a.c: Move to ...
12052 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12053 * elf/tst-auditmod6b.c: Move to ...
12054 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12055 * elf/tst-auditmod6c.c: Move to ...
12056 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12057 * elf/tst-auditmod7a.c: Move to ...
12058 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12059 * elf/tst-auditmod7b.c: Move to ...
12060 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12061
1ef74943
PP
120622013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12063
12064 [BZ #15366]
12065 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12066 define unconditionally.
12067 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12068 define unconditionally.
12069 (INT8_C, INT16_C, etc.): Likewise.
12070
93fd48c5
MR
120712013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12072
ae9552cf
MR
12073 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12074 __ehdr_start with hidden visibility.
12075
93fd48c5
MR
12076 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12077
418601aa
CD
120782013-04-24 Carlos O'Donell <carlos@redhat.com>
12079
12080 * math/libm-test.inc (cos_test): Use accurate hex constants.
12081 (sincost_test): Likewise.
12082
2f38fbfe
JM
120832013-04-24 Joseph Myers <joseph@codesourcery.com>
12084
5e221800
JM
12085 * math/libm-test.inc (catan_test): Add more tests.
12086 (catanh_test): Likewise.
12087
77f143fd
JM
12088 * math/s_catanf.c (__catanf): Use suffixed floating-point
12089 constants.
12090 * math/s_catanhf.c (__catanhf): Likewise.
12091 * math/s_catanhl.c (__catanhl): Likewise.
12092 * math/s_catanl.c (__catanl): Likewise.
12093
2f38fbfe
JM
12094 [BZ #15394]
12095 * math/s_catan.c (__catan): Calculate imaginary part of result
12096 with log1p not log unless computing log of number close to 0.
12097 * math/s_catanf.c (__catanf): Likewise.
12098 * math/s_catanl.c (__catanl): Likewise.
12099 * math/s_catanh.c (__catanh): Calculate real part of result with
12100 log1p not log unless computing log of number close to 0.
12101 * math/s_catanhf.c (__catanhf): Likewise.
12102 * math/s_catanhl.c (__catanhl): Likewise.
12103 * math/libm-test.inc (catan_test): Add more tests.
12104 (catanh_test): Likewise.
12105 * sysdeps/i386/fpu/libm-test-ulps: Update.
12106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12107
45d69176
SP
121082013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12109
12110 * benchtests/Makefile: Mention files in which fast and slow
12111 paths of math functions are implemented.
12112
87f51853
RM
121132013-04-23 Roland McGrath <roland@hack.frob.com>
12114
12115 * sysdeps/posix/timespec_get.c: New file.
12116
3c026539
AZ
121172013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12118
12119 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12120 POWER.
12121 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12122 for POWER.
12123 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12124 powerpc/power5/fpu folders.
12125 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12126 * benchtests/Makefile: Add modf testcase.
12127 * benchtests/bench-modf.c: New file: Benchmark test for mo
12128
ff491d14
SP
121292013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12130
12131 [BZ #14888]
12132 * time/Makefile (tests): Add tst-strptime-whitespace.
12133 * time/strptime_l.c (get_number): Use ISSPACE.
12134 (__strptime_internal): Likewise.
12135 * time/tst-strptime-whitespace.c: New test case.
12136
7ed3f4e8
AS
121372013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12138
12139 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12140 member.
12141 (_nss_files_init): Set it here.
12142
5c95f7b6
HC
121432013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12144
12145 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12146 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12147 unsigned.
12148
d34c9158
JBG
121492013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12150
12151 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12152
2169712d
SP
121532013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12154
12155 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12156 size just once.
12157
29c5de99
DM
121582013-04-21 David S. Miller <davem@davemloft.net>
12159
12160 * po/ru.po: Update Russion translation from translation project.
12161
ccdad15d
AC
121622013-04-17 Adam Conrad <adconrad@0c3.net>
12163
12164 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12165 and setfsgid.
12166
0f122b8d
CD
121672013-04-17 Carlos O'Donell <carlos@redhat.com>
12168
5c5b07da 12169 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12170 * configure: Regenerate.
5c5b07da 12171 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12172 Add example to error message.
12173 * sysdeps/i386/configure: Regenerate.
12174
037714dd
SP
121752013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12176
12177 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12178 slowtan.
12179 * benchtests/cos-inputs: New file.
12180 * benchtests/slowcos-inputs: New file.
12181 * benchtests/slowcos.c: New file.
12182 * benchtests/slowtan-inputs: New file.
12183 * benchtests/slowtan.c: New file.
12184 * benchtests/tan-inputs: New file.
12185
e913141d
RM
121862013-04-16 Roland McGrath <roland@hack.frob.com>
12187
12188 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12189 considered kosher.
12190
a2964074
SP
121912013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12192
4856bcd2
SP
12193 * benchtests/Makefile: Include cppflags-iterator.mk to add
12194 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12195
a2964074
SP
12196 * Makefile.in (bench-clean): New target.
12197 * benchtests/Makefile (bench-clean): Likewise.
12198
9fbf9aca
DH
121992013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12200
12201 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12202
207d1e2a
TS
122032013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12204
12205 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12206
306dfba9
AS
122072013-04-15 Andreas Schwab <schwab@suse.de>
12208
12209 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12211 * nscd/pwdcache.c (cache_addpw): Likewise.
12212 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12213 more than recsize.
12214
206a6699
SP
122152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12216
12217 * benchtests/Makefile (bench): Write all output to
12218 bench-out.tmp together.
12219
0582f6b3
AS
122202013-04-15 Andreas Schwab <schwab@suse.de>
12221
12222 * nscd/nscd.c (main): Don't fork again after closing files.
12223
acb4325f
SP
122242013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12225
5cb26d0a
SP
12226 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12227
acb4325f
SP
12228 * benchtests/Rules (bench-deps): Collect dependencies into a
12229 single variable. Add Makefile to dependencies.
12230 ($(objpfx)bench-%.c): Depend on bench-deps.
12231
47792506
RM
122322013-04-12 Roland McGrath <roland@hack.frob.com>
12233 Xavier Roche <roche+kml2@exalead.com>
12234
12235 [BZ #15361]
12236 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12237 just that it's a file descriptor.
12238 * manual/llio.texi (Synchronizing AIO Operations): Update description
12239 for EBADF error from aio_fsync.
12240
8fc1bee5
SP
122412013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12242
12243 * Rules (bench): Move target definition...
12244 * benchtests/Makefile: ... here.
12245
aba5e333
CD
122462013-04-11 Carlos O'Donell <carlos@redhat.com>
12247
12248 * math/libm-test.inc (cos_test): Fix PI/2 test.
12249 (sincos_test): Likewise.
12250 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12251 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12252
273cdee8
AS
122532013-04-11 Andreas Schwab <schwab@suse.de>
12254
6ecec3b6
AS
12255 [BZ #13988]
12256 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12257 accept exponent character only when digits were seen.
12258 * stdio-common/Makefile (tests): Add bug26.
12259 * stdio-common/bug26.c: New file.
12260
273cdee8
AS
12261 [BZ #14293]
12262 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12263 non-freeable.
12264
8da491f5
SP
122652013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12266
01dc6df9
SP
12267 * Makeconfig (rtld-prefix): Define built linker prefix.
12268 * Rules (run-bench): Use it.
12269 * math/Makefile (run-regen-ulps): Likewise.
12270
8da491f5
SP
12271 * Rules (bench): Remove eval.
12272
abe7f530
SP
122732013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12274 Roland McGrath <roland@hack.frob.com>
12275 Ondrej Bilka <neleai@seznam.cz>
12276
12277 [BZ #15346]
12278 * time/getdate.c: Include ctype.h and alloca.h.
12279 (__getdate_r): Trim leading and trailing spaces of input.
12280 * time/tst-getdate.c (tests): Add tests with leading and
12281 trailing spaces.
12282
61c23e62
RM
122832013-04-08 Roland McGrath <roland@hack.frob.com>
12284
12285 [BZ #14280]
12286 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12287 when computing value.
12288
7208a313
CD
122892013-04-06 Carlos O'Donell <carlos@redhat.com>
12290
085b2d41
CD
12291 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12292 Use testrun.sh to run libm tests.
12293
7208a313
CD
12294 [BZ #15309]
12295 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12296
872c0acd
MM
122972013-04-06 Marko Myllynen <myllynen@redhat.com>
12298
12299 [BZ #15264]
12300 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12301
26510bdd
CD
123022013-04-06 Carlos O'Donell <carlos@redhat.com>
12303
12304 * Makefile.in (regen-ulps): New target.
12305 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12306 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12307 [ifneq (no,$(PERL)] (regen-ulps): New target.
12308 [ifeq (no,$(PERL)] (regen-ulps): New target.
12309 * math/libm-test.inc (ulps_file_name): Define.
12310 (output_dir): New variable.
12311 (options): Add "output-dir" option.
12312 (parse_opt): Handle 'o' case.
12313 (main): If output_dir is non-NULL use it as a prefix
12314 otherwise use "".
12315 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12316
a01f19c8
CD
123172013-04-06 Carlos O'Donell <carlos@redhat.com>
12318
12319 [BZ #10060, #10062]
12320 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12321 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12322 fail configure if __sync_val_compare_and_swap is not inlined.
12323 * sysdeps/i386/configure: Regenerate.
12324 * configure.in: Build for i686 when configured for i386.
12325 * configure: Regenerate.
12326 * README: Remove i386 reference.
12327
b7a329a5
CD
123282013-04-06 Carlos O'Donell <carlos@redhat.com>
12329
12330 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12331 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12332
bf0f50df
TS
123332013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12334
ee091edf
TS
12335 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12336 (lmsnanval): New variables.
12337 (F): Add conversion tests.
12338 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12339 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12340
a8b792d6
TS
12341 * stdio-common/tstdiomisc.c (F): Properly collect individual
12342 tests' results.
12343
a1cbf437
TS
12344 [BZ #14686, #15336]
12345 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12346 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12347 Instead, use input NaN values or generate a qNaN by arithmetic
12348 operation. Also fix bugs to comply with the standard.
12349 * math/libm-test.inc (remainder_test): Add more tests.
12350
8b43a0c9
TS
12351 [BZ #15335, #15342]
12352 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12354 input NaN values or generate a qNaN by arithmetic operation.
12355
d91da4ce
TS
12356 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12357 unreachable code.
12358
bf0f50df
TS
12359 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12360 definitions.
12361
05e166c8
JM
123622013-04-03 Joseph Myers <joseph@codesourcery.com>
12363
12364 [BZ #14478]
12365 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12366 underflowed result.
12367 * math/s_cexpf.c (__cexpf): Likewise.
12368 * math/s_cexpl.c (__cexpl): Likewise.
12369 * math/libm-test.inc (cexp_test): Add more tests.
12370
1cef1b19
AS
123712013-04-03 Andreas Schwab <schwab@suse.de>
12372
12373 [BZ #15330]
12374 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12375 order arrays from heap if bigger than alloca cutoff.
12376
74d87055
TS
123772013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12378
12379 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12380 (SNAN_TESTS_double): Refer to GCC PR56831.
12381 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12382 GCC PR56828.
12383
d755bba4
SP
123842013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12385
90d5d5bb
SP
12386 * Rules (bench): Move bench.out after the run is complete.
12387
73e0cd5d
SP
12388 * Rules (bench): Echo currently running benchmark.
12389
64aabd4b
SP
12390 * benchtests/Makefile (bench): Add atan and slowatan.
12391 * benchtests/atan-inputs: New file.
12392 * benchtests/slowatan-inputs: New file.
12393 * benchtests/slowatan.c: New file.
12394
c871eccd
SP
12395 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12396 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12397 its value.
12398
d755bba4
SP
12399 [BZ #15305]
12400 * sysdeps/unix/sysv/linux/kernel-features.h
12401 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12402 __ASSUME_XFS_RESTRICTED_CHOWN.
12403 * sysdeps/unix/sysv/linux/pathconf.c
12404 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12405 Save and restore errno.
12406
52ce4860
JM
124072013-04-02 Joseph Myers <joseph@codesourcery.com>
12408
12409 [BZ #15327]
12410 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12411 arguments using __kernel_casinh.
12412 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12413 arguments using __kernel_casinhf.
12414 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12415 arguments using __kernel_casinhl.
12416 * math/libm-test.inc (cacosh_test): Add more tests.
12417 * sysdeps/i386/fpu/libm-test-ulps: Update.
12418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12419
81f311c2
SP
124202013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12421
e7906a47
SP
12422 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12424
92e3664b
SP
12425 * bench/Makefile (bench): Add sin and slowsin.
12426 * benchtests/sin-inputs: New file.
12427 * benchtests/slowsin-inputs: New file.
12428 * benchtests/slowsin.c: New file.
12429
81f311c2
SP
12430 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12431 (bench): Add slowexp and slowpow.
12432 (exp-ITER): Increase iterations.
12433 (pow-ITER): Likewise.
12434 * benchtests/exp-inputs: Change input.
12435 * benchtests/pow-inputs: Likewise.
12436 * benchtests/slowexp-inputs: New file.
12437 * benchtests/slowexp.c: New file.
12438 * benchtests/slowpow-inputs: New file.
12439 * benchtests/slowpow.c: New file.
12440
ab0f1aa9
AZ
124412013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12442
12443 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12444 instructions.
12445 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12446 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12447 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12448 * benchtests/Makefile: Add rint benchtest.
12449 * benchtests/rint-inputs: Input for rint benchtest.
12450
57267616
TS
124512013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12452
12453 * Versions.def (libm): Add GLIBC_2.18.
12454 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12455 hidden libm prototypes.
12456 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12457 * math/Makefile (libm-calls): Add s_issignaling.
12458 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12459 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12460 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12461 declaration.
12462 * math/math.h [__USE_GNU] (issignaling): New macro.
12463 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12464 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12466 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12467 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12468 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12469 * manual/arith.texi (issignaling): New section.
12470 * manual/libm-err-tab.pl (@all_functions): Update comment.
12471 * math/gen-libm-test.pl (parse_args): Apply special handling for
12472 issignaling.
12473 * math/libm-test.inc (print_float, issignaling_test): New
12474 functions.
12475 (check_float_internal): Add issignaling checks.
12476 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12477 default definition.
12478 * sysdeps/powerpc/math-tests.h: New file.
12479 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12480 tests.
12481 * math/test-snan.c (TEST_FUNC): Likewise.
12482
6142896d
DM
124832013-03-30 David S. Miller <davem@davemloft.net>
12484
12485 * po/de.po: Update from translation team.
12486
ccc8cadf
JM
124872013-03-30 Joseph Myers <joseph@codesourcery.com>
12488
12489 [BZ #10357]
12490 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12491 imaginary part less than 1.0 and real part less than 0.5
12492 specially.
12493 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12494 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12495 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12496 (cacos_test): Add more tests.
12497 (casin_test): Likewise.
12498 (casinh_test): Likewise.
12499 * sysdeps/i386/fpu/libm-test-ulps: Update.
12500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12501
0f6a8d4b
SP
125022013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12503
0d1029de
SP
12504 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12505 ONE with its value.
12506
c2d94018
SP
12507 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12508 (__pow_mp): Replace ONE and MONE with their values.
12509 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12510 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12511 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12512 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12513 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12514 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12515
27ec37f1
SP
12516 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12517
a64d7e0e
SP
12518 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12519 (__pow_mp): Replace ZERO and MZERO with their values.
12520 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12521 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12522 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12524 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12525 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12526 (__sqr): Likewise.
12527
d26dd3eb
SP
12528 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12529
0f6a8d4b
SP
12530 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12531
e57b0c61
RM
125322013-03-28 Roland McGrath <roland@hack.frob.com>
12533
12534 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12535 Declare with __attribute__ ((weak)).
12536 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12537 Call __call_tls_dtors only if it's not NULL.
12538
356b3480
RM
125392013-03-28 Roland McGrath <roland@hack.frob.com>
12540
288f7d79
RM
12541 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12542 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12543 magic __ehdr_start linker symbol if it's defined.
12544 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12545 them up here if it was already done.
12546
dc0a0263
RM
12547 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12548 (_dl_aux_init): Use const in cast when setting it.
12549 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12550 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12551 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12552
3d3436ae
RM
12553 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12554 Declare them here.
12555 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12556 * csu/libc-tls.c: Nor here.
12557 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12558
356b3480
RM
12559 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12560 (__libc_message): Never call vsyslog.
12561
b0f1246a
AM
125622013-03-28 Alan Modra <amodra@gmail.com>
12563
12564 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12565 Define as empty.
12566 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12567 Likewise.
12568
fbbe2b9a
AZ
125692013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12570
12571 [BZ #15214]
12572 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12573 underflow.
12574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12575
1728ab37
SP
125762013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12577
7a86be6e
SP
12578 [BZ #15304]
12579 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12580 Don't add gid passed as argument.
12581
1728ab37
SP
12582 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12583
3a7182a1
JM
125842013-03-27 Joseph Myers <joseph@codesourcery.com>
12585
12586 [BZ #15307]
12587 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12588 imaginary part between 1.0 and 1.5 and real part less than 0.5
12589 specially.
12590 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12591 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12592 * math/libm-test.inc (cacos_test): Add more tests.
12593 (casin_test): Likewise.
12594 (casinh_test): Likewise.
12595 * sysdeps/i386/fpu/libm-test-ulps: Update.
12596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12597
6f2e90e7
SP
125982013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12599
5739f705
SP
12600 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12601 constants.
12602 (norm): Likewise.
12603 (denorm): Likewise.
12604 (__dbl_mp): Likewise.
12605 (add_magnitudes): Likewise.
12606 (sub_magnitudes): Likewise.
12607 (__add): Likewise.
12608 (__sub): Likewise.
12609 (__mul): Likewise.
12610 (__sqr): Likewise.
12611 (__inv): Likewise.
12612 (__dvd): Likewise.
12613
e375e83d
SP
12614 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12615 commented code.
12616 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12617 (__dubcos): Likewise.
12618 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12619 (__ieee754_acos): Likewise.
12620 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12621 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12622 (__exp1): Likewise.
12623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12625 (log1): Likewise.
12626 (my_log2): Likewise.
12627 (checkint): Likewise.
12628 * sysdeps/ieee754/dbl-64/e_remainder.c
12629 (__ieee754_remainder): Likewise.
12630 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12632 (bsloww): Likewise.
12633 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12634
6f2e90e7
SP
12635 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12636 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12637 MANTISSA_STORE_T to store computations on mantissa. Use
12638 macros for rounding and division.
12639 (denorm): Likewise.
12640 (__dbl_mp): Likewise.
12641 (add_magnitudes): Likewise.
12642 (sub_magnitudes): Likewise.
12643 (__mul): Likewise.
12644 (__sqr): Likewise.
12645 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12646 powers of two in terms of TWOPOW macro.
12647 (mp_no): Make type of mantissa as MANTISSA_T.
12648 [!RADIXI]: Define RADIXI.
12649 [!TWO52]: Define TWO52.
12650 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12651
fce14d4e
AZ
126522013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12653
12654 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12655 llroundl symbol when building for PPC32.
12656
9ad027fb
MW
126572013-03-24 Mark H Weaver <mhw@netris.org>
12658
12659 * manual/arith.texi (Normalization Functions): Fix prototypes for
12660 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12661
e42a38dd
AZ
126622013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12663
12664 [BZ #13889]
12665 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12666 high value to check if expl overflow.
12667 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12668 to check for underflow and overflow.
12669 * math/libm-test.inc: Add exp test.
12670
2e0fb521
DL
126712013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12672
12673 [BZ #11120]
12674 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12675 with NOT_IN_libc.
12676
b5784d95
AZ
126772013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12678
12679 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12680 symbol.
12681
5aa4a1a1
TS
126822013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12683
bdef0be7
TS
12684 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12685 wrap blocks consisting of several statements.
12686
5aa4a1a1
TS
12687 * sysdeps/generic/math-tests.h: New file.
12688 * sysdeps/i386/fpu/math-tests.h: Likewise.
12689 * math/test-snan.c: Include it.
12690 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12691
98c48fe5
JM
126922013-03-21 Joseph Myers <joseph@codesourcery.com>
12693
12694 [BZ #15285]
12695 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12696 (__ieee754_j0l): Do not improve calculations using cos of twice
12697 input for inputs above LDBL_MAX / 2.0L.
12698 (__ieee754_y0l): Likewise.
12699 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12700 (__ieee754_j1l): Do not improve calculations using cos of twice
12701 input for inputs above LDBL_MAX / 2.0L.
12702 (__ieee754_y1l): Likewise.
12703 * math/libm-test.inc (j0_test): Add another test.
12704 (j1_test): Likewise.
12705 (y0_test): Likewise.
12706 (y1_test): Likewise.
12707 * sysdeps/i386/fpu/libm-test-ulps: Update.
12708
3775a8bc
SP
127092013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12710
12711 * Rules ($(objpfx)bench-%.c): Include code from a C source
12712 file.
12713
0a1b2ae6
JM
127142013-03-21 Joseph Myers <joseph@codesourcery.com>
12715
12716 [BZ #15287]
12717 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12718 imaginary part 1.0 and real part less than 0.5 specially.
12719 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12720 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12721 * math/libm-test.inc (cacos_test): Add more tests.
12722 (casin_test): Likewise.
12723 (casinh_test): Likewise.
12724 * sysdeps/i386/fpu/libm-test-ulps: Update.
12725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12726
b33d4ce4
SP
127272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12728
12729 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12730 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12731
bef0b507
JM
127322013-03-20 Joseph Myers <joseph@codesourcery.com>
12733
12734 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12735 * config.make.in (config-cflags-sse4): Remove variable.
12736 (config-cflags-avx): Likewise.
12737 (config-cflags-sse2avx): Likewise.
12738 (config-cflags-novzeroupper): Likewise.
12739 (config-asflags-i686): Likewise.
12740 (have-mfma4): Likewise.
12741 (have-as-vis3): Likewise.
12742 (MIG): Likewise.
12743 * configure.in (MIG): Do not AC_SUBST.
12744 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12745 (libc_cv_cc_sse4): Do not AC_SUBST.
12746 (libc_cv_cc_avx): Likewise.
12747 (libc_cv_cc_sse2avx): Likewise.
12748 (libc_cv_cc_novzeroupper): Likewise.
12749 (libc_cv_cc_fma4): Likewise.
12750 (libc_cv_as_i686): Likewise.
12751 (libc_cv_sparc_as_vis3): Likewise.
12752 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12753 LIBC_CONFIG_VAR.
12754 (config-asflags-i686): Likewise.
12755 (config-cflags-avx): Likewise.
12756 (config-cflags-sse2avx): Likewise.
12757 (have-mfma4): Likewise.
12758 (config-cflags-novzeroupper): Likewise.
12759 * sysdeps/mach/configure.in (MIG): Likewise.
12760 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12761 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12762 LIBC_CONFIG_VAR.
12763 (config-cflags-avx): Likewise.
12764 (config-cflags-sse2avx): Likewise.
12765 (have-mfma4): Likewise.
12766 (config-cflags-novzeroupper): Likewise.
12767 * configure: Regenerated.
12768 * sysdeps/i386/configure: Likewise.
12769 * sysdeps/mach/configure: Likewise.
12770 * sysdeps/sparc/configure: Likewise.
12771 * sysdeps/x86_64/configure: Likewise.
12772
912cc4b3
RM
127732013-03-20 Roland McGrath <roland@hack.frob.com>
12774
12775 [BZ #14812]
12776 * locale/programs/localedef.c (options): Put N_ translation marker
12777 on argument names, not just descriptions.
12778
04eed2b0
MS
127792013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12780
12781 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12782
a065ceff
OB
127832013-03-20 Ondřej Bílka <neleai@seznam.cz>
12784
9bb2a810 12785 [BZ #14176]
a065ceff
OB
12786 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12787
a600e5ce
RM
127882013-03-19 Roland McGrath <roland@hack.frob.com>
12789
12790 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12791 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12792 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12793 [!BEFORE_ABORT] (before_abort): New function.
12794 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12795 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12796 (writev_for_fatal): New function.
12797 (WRITEV_FOR_FATAL): New macro; call that.
12798 (backtrace_and_maps): New function.
12799 (BEFORE_ABORT): New macro; call that.
12800 (struct str_list): Type removed.
12801 (__libc_message, __libc_fatal): Functions removed.
12802 Include <sysdeps/posix/libc_fatal.c> instead.
12803
6b18bea6
JM
128042013-03-19 Joseph Myers <joseph@codesourcery.com>
12805
12806 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12807 constants.
12808 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12809 double constants.
12810
aaa8cb4b
AS
128112013-03-19 Andreas Schwab <schwab@suse.de>
12812
44673770
AS
12813 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12814 * sysdeps/gnu/configure: Regenerate.
12815
aaa8cb4b
AS
12816 * configure.in: Substitute libc_cv_rtlddir.
12817 * configure: Regenerate.
12818 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12819 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12820 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12821 * elf/Makefile (install-others, CFLAGS-interp.c)
12822 (ldso_install, common-ldd-rewrite): Likewise.
12823 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12824 $(inst_slibdir)/$(rtld-installed-name).
12825 * scripts/rellns-sh: Add -p option.
12826 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12827 for source.
12828
d3cfc668
SP
128292013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12830
12831 * manual/nptl.texi: Renamed to ...
12832 * manual/threads.texi: ... this.
12833 * manual/Makefile (chapters): Update.
12834
0e2b9cdd
RM
128352013-03-18 Roland McGrath <roland@hack.frob.com>
12836
12837 [BZ #14812]
12838 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12839 on argument names, not just descriptions.
0e2b9cdd
RM
12840 * malloc/memusagestat.c (options): Likewise.
12841 * nss/getent.c (options): Likewise.
63270c24
RM
12842
128432013-03-18 Benno Schulenberg <bensberg@justemail.net>
12844
12845 [BZ #14812]
12846 * iconv/iconv_prog.c (options): Put N_ translation marker
12847 on argument names, not just descriptions.
12848 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 12849
b2e1393c
OB
128502013-03-18 Ondrej Bilka <neleai@seznam.cz>
12851
12852 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12853 implementation which is faster on all x86_64 architectures.
12854 Tested on AMD, Intel Nehalem, SNB, IVB.
12855 * sysdeps/x86_64/strnlen.S: Likewise.
12856
12857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12858 Remove all multiarch strlen and strnlen versions.
12859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12860 Remove strlen and strnlen related parts.
12861
12862 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12863 Inline strlen part.
12864 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12865
12866 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12867 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12868 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12869 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12870 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12871 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12872
ec4ff04d
CD
128732013-03-17 Carlos O'Donell <carlos@redhat.com>
12874
12875 * manual/memory.texi (Malloc Tunable Parameters):
12876 Sort parameters alphabetically. Add comments for missing entries.
12877
cd18e90a
DM
128782013-03-17 David S. Miller <davem@davemloft.net>
12879
12880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12881
2a185d32
JM
128822013-03-16 Joseph Myers <joseph@codesourcery.com>
12883
d2f9799e
JM
12884 [BZ #15283]
12885 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12886 for arguments at most half maximum finite value.
12887 * math/libm-test.inc (j0_test): Add more tests.
12888 (j1_test): Likewise.
12889 (y0_test): Likewise.
12890 (y1_test): Likewise.
12891 * sysdeps/i386/fpu/libm-test-ulps: Update.
12892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12893
2a185d32
JM
12894 [BZ #14155]
12895 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12896 1 / x and functions P and Q for arguments above 0x1p256L.
12897 (__ieee754_y0l): Likewise.
12898 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12899 (__ieee754_y1l): Likewise.
12900 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12901 (j1_test): Likewise.
12902 (y0_test): Likewise.
12903 (y1_test): Likewise.
12904
6cbec759
TS
129052013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12906
12907 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12908 variable.
12909
bc16e260
RM
129102013-03-15 Roland McGrath <roland@hack.frob.com>
12911
aefc9b8c
RM
12912 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12913 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12914 zero since it's initialized to EXEC_PAGESIZE.
12915
bc16e260
RM
12916 * sysdeps/unix/sysv/linux/ldsodefs.h
12917 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12918 * sysdeps/generic/ldsodefs.h: ... here.
12919
a57da955
TS
129202013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12921
af00a34d
TS
12922 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12923
495ded2c
TS
12924 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12925 math/test-snan.c.
12926 * math/test-snan.c: Renamed from
12927 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12928 * math/Makefile (tests): Add test-snan.
12929 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12930 test-powerpc-snan.
12931
777b0332
TS
12932 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12933 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12934 functions.
12935 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12936 __builtin_nan family of functions.
12937 * math/libm-test.inc (initialize): Initialize qnan_value with
12938 __builtin_nan family of functions.
12939 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12940 Remove variables.
12941 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12942 Remove functions.
12943 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12944 storage class. Initialize qNaN_var and sNaN_var with
12945 __builtin_nan and __builtin_nans families of functions,
12946 respectively.
12947
64d063b8
TS
12948 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12949 (sqrt_test): Remove duplicate test with qNaN input.
12950 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12951 (round_test, signbit_test, significand_test): Note missing +/-Inf
12952 as well as qNaN tests.
12953
67e971f1
TS
12954 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12955 qNaN_var. Fix a few strings, too.
12956 * math/libm-test.inc (nan_value): Rename to qnan_value.
12957 * math/gen-libm-test.pl (%beautify): Adjust to that.
12958 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12959 * math/test-misc.c (main): Likewise.
12960 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12961 to __qnan_bytes, and __qnan_union, respectively.
12962 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12963 Likewise.
12964 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12965 and lqnanval, respectively.
12966 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12967 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12968 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12969 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12970
64487e12
TS
12971 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12972 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12973 doubles.
12974
e015e27b
TS
12975 * math/test-misc.c (main): Fix copy'n'pastos.
12976 * misc/tst-efgcvt.c (special): Likewise.
12977
a57da955
TS
12978 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12979 Remove declarations.
12980
1e380345
SP
129812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12982
12983 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12984 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12985 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12986 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12987
ef26eece
AZ
129882013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12989
12990 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12991 macro to return vdso values correctly in IFUNC implementations.
12992 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12993 Optimization by using IFUNC.
12994
8cfdb7e0
SP
129952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12996 Richard Henderson <rth@redhat.com>
12997 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12998
12999 * Makefile.in (bench): New target.
13000 * NEWS: Mention the benchmark framework.
13001 * Rules (bench): Likewise.
13002 (binaries-bench): Generate binaries for functions to
13003 benchmark.
13004 * benchtests/Makefile: New makefile for benchmark tests.
13005 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13006 programs.
13007 * benchtests/exp-inputs: New input file for EXP function.
13008 * benchtests/pow-inputs: New input file for POW function.
13009 * scripts/bench.pl: New script to generate source files for
13010 benchmark programs.
13011
bcda9880
SP
130122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13013
d22ca8cd
SP
13014 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13015 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13016 computations on mantissa. Use macros for rounding and
13017 division.
13018 (denorm): Likewise.
13019 (__dbl_mp): Likewise.
13020 (add_magnitudes): Likewise.
13021 (sub_magnitudes): Likewise.
13022 (__mul): Likewise.
13023 (__sqr): Likewise.
13024 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13025 powers of two in terms of TWOPOW macro.
13026 (mp_no): Make type of mantissa as MANTISSA_T.
13027 [!RADIXI]: Define RADIXI.
13028 [!TWO52]: Define TWO52.
13029 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13030
bcda9880
SP
13031 * manual/nptl.texi (cindex): Modify threads to pthreads.
13032
06d5adfb
JM
130332013-03-15 Joseph Myers <joseph@codesourcery.com>
13034
13035 * sysdeps/x86_64/preconfigure: Regenerated.
13036
41c7328e
JM
130372013-03-14 Joseph Myers <joseph@codesourcery.com>
13038
13039 [BZ #14155]
13040 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13041 0x1p28 and above.
13042 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13043 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13044 0x1p28 and above.
13045 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13046 * math/libm-test.inc (j0_test): Do not allow one spurious
13047 underflow exception.
13048 (y1_test): Likewise.
13049
e25cfa60
SP
130502013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13051
0409959c
SP
13052 * manual/Makefile (chapters): Add nptl.
13053 * manual/debug.texi (Debugging Support): Add link to Threads
13054 chapter.
13055 * manual/nptl.texi: New file.
13056
e25cfa60
SP
13057 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13058
58a1335e
PB
130592013-03-14 Petr Baudis <pasky@ucw.cz>
13060
13061 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13062 for non-NULL pointer before the memory validity test. Pointed
13063 out by Holger Brunck <holger.brunck@keymile.com>.
13064
9dc7c64f
AS
130652013-03-13 Andreas Schwab <schwab@suse.de>
13066
13067 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13068 instead of .os.
13069
54206aa6
JM
130702013-03-13 Joseph Myers <joseph@codesourcery.com>
13071
13072 * timezone/zic.c: Update from tzcode 2013b.
13073
e98cdb38
CD
130742013-03-12 Carlos O'Donell <carlos@redhat.com>
13075
13076 * manual/install.texi (Configuring and compiling):
13077 Mention i686 and i586.
13078 * INSTALL: Regenerate.
13079
9967e003
RM
130802013-03-12 Roland McGrath <roland@hack.frob.com>
13081
13082 * sysdeps/init_array/elf-init.c: New file.
13083 * csu/elf-init.c
13084 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13085 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13086
13087 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13088 __gmon_start__ as global, but as static with a .preinit_array pointer.
13089 * sysdeps/init_array/gmon-start.c: New file. Use that.
13090 * sysdeps/init_array/crti.S: New file, empty except for comments.
13091 * sysdeps/init_array/crtn.S: Likewise.
13092
e6b5a293 130932013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13094
13095 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13096 definining bcopy.
80f844c9
OB
13097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13098 Remove Prefer_SSE_for_memop.
13099 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13100 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13101 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13103 memset-x86-64.
80f844c9 13104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13105 Remove bzero, memset ifunc support.
80f844c9
OB
13106 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13107 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13108 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13109 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13110
fb6b0fcb
AS
131112013-03-11 Andreas Schwab <schwab@suse.de>
13112
13113 [BZ #15234]
13114 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13115 by SHLIB_COMPAT.
13116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13117 (GLIBC_2.16): Remove pthread_atfork.
13118
3e6bd4b1
PP
131192013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13120
13121 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13122 (ptestcases.h): Likewise.
13123
222d7f00
RM
131242013-03-08 Roland McGrath <roland@hack.frob.com>
13125
13126 * Makeconfig ($(common-objpfx)config.status): Depend on
13127 sysdeps/*/preconfigure{,.in} too.
13128
1ba4f030
JM
131292013-03-08 Joseph Myers <joseph@codesourcery.com>
13130
a222d91a
JM
13131 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13132 (__free_hook): Use void * instead of __malloc_ptr_t.
13133 (__malloc_hook): Likewise.
13134 (__realloc_hook): Likewise.
13135 (__memalign_hook): Likewise.
13136 (__after_morecore_hook): Likewise.
13137 * malloc/arena.c (save_malloc_hook): Likewise.
13138 (save_free_hook): Likewise.
13139 * malloc/hooks.c (malloc_hook_ini): Likewise.
13140 (realloc_hook_ini): Likewise.
13141 (memalign_hook_ini): Likewise.
13142 * malloc/malloc.c (malloc_hook_ini): Likewise.
13143 (realloc_hook_ini): Likewise.
13144 (memalign_hook_ini): Likewise.
13145 (__free_hook): Likewise.
13146 (__malloc_hook): Likewise.
13147 (__realloc_hook): Likewise.
13148 (__memalign_hook): Likewise.
13149 (__libc_malloc): Likewise.
13150 (__libc_free): Likewise.
13151 (__libc_realloc): Likewise.
13152 (__libc_memalign): Likewise.
13153 (__libc_valloc): Likewise.
13154 (__libc_pvalloc): Likewise.
13155 (__libc_calloc): Likewise.
13156 (__posix_memalign): Likewise.
13157 * malloc/morecore.c (__sbrk): Likewise.
13158 (__default_morecore): Likewise.
13159
5cc45e10
JM
13160 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13161
dd54b864
JM
13162 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13163 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13164 __malloc_ptrdiff_t.
13165
1ba4f030
JM
13166 * malloc/malloc.h (__malloc_size_t): Remove macro.
13167 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13168 __malloc_size_t.
13169 (old_memalign_hook): Likewise.
13170 (old_realloc_hook): Likewise.
13171 (struct hdr): Likewise.
13172 (flood): Likewise.
13173 (mallochook): Likewise.
13174 (memalignhook): Likewise.
13175 (reallochook): Likewise.
13176 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13177 (tr_old_realloc_hook): Likewise.
13178 (tr_old_memalign_hook): Likewise.
13179 (tr_mallochook): Likewise.
13180 (tr_reallochook): Likewise.
13181 (tr_memalignhook): Likewise.
13182
edf66e57
AZ
131832013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13184
13185 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13186 default_ldbl_pack and using as default implementation.
13187 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13188 implementation.
13189 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13190 redundant definition.
13191 (ldbl_insert_mantissa): Likewise.
13192 (ldbl_canonicalize): Likewise.
13193 (ldbl_nearbyint): Likewise.
13194 (ldbl_pack): Rename to ldbl_pack_ppc.
13195 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13196 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13197 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13198
6d9145d8
SP
131992013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13200
13201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13202 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13203 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13204 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13206 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13207 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13208 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13209
4dd4e157
AJ
132102013-03-07 Andreas Jaeger <aj@suse.de>
13211
13212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13213 bits/mman-linux.h.
13214
adbb8027
SP
132152013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13216
ce544b5b
SP
13217 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13218 Include mpa.h and declare __MPEXP.
13219 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13221 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13222 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13223 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13224 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13225 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13226
4cc149fd
SP
13227 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13228 (__slowpow): Use long double EXPL and LOGL functions to
13229 compute POW.
13230 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13231 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13232 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13233 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13234 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13235 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13236
e6ebd4a7
SP
13237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13238 intermediate variable to calculate exponent.
13239 (__sqr): Likewise.
13240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13241 Likewise.
13242 (__sqr): Likewise.
13243
82a9811d
SP
13244 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13245 [!NO__SQR]: Define __sqr.
13246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13247 and NO__SQR. Remove all code except __mul and __sqr. Include
13248 sysdeps/ieee754/dbl-64/mpa.c.
13249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13250
adbb8027
SP
13251 [BZ #12723]
13252 * posix/Makefile (tests): Add tst-pathconf.
13253 * posix/tst-pathconf.c: New test case.
13254 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13255 _PC_PIPE_BUF.
13256 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13257
39120df9
PF
132582013-03-06 Patsy Franklin <pfrankli@redhat.com>
13259
13260 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13261
67525cb8
AJ
132622013-03-06 Andreas Jaeger <aj@suse.de>
13263
664a9ce4
AJ
13264 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13265 definition via __MAP_ANONYMOUS.
13266
8e39047d
AJ
13267 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13268 it's not part of Linux headers.
13269
67525cb8
AJ
13270 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13271 (MAP_HUGE_MASK): Define.
13272
13273 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13274 Define.
13275 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13276 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13277 Define.
13278 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13279 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13280 Define.
13281 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13282 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13283 Define.
13284 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13285
13286 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13287 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13288 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13289 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13290 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13291 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13292
13293 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13294 Handle f2fs.
13295
13296 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13297 Handle f2fs and efivarfs.
13298
13299 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13300 f2fs.
13301
13302 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13303 (EFIVARFS_MAGIC): Add.
13304 (F2FS_LINK_MAX): Add.
13305
e1b42695
PP
133062013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13307
13308 * stdio-common/vfprintf.c: Replace __builtin_expect with
13309 __glibc_unlikely.
13310
2d67d91a
JM
133112013-03-06 Joseph Myers <joseph@codesourcery.com>
13312
13313 [BZ #13550]
13314 * sysdeps/generic/bp-sym.h: Remove file.
13315 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13316 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13317 <bp-sym.h> and <bp-asm.h>.
13318 (__longjmp): Don't use BP_SYM.
13319 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13320 and <bp-asm.h>.
13321 (memcpy): Don't use BP_SYM.
13322 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13323 <bp-sym.h> and <bp-asm.h>.
13324 (memcpy): Don't use BP_SYM.
13325 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13326 <bp-asm.h>.
13327 (memcpy): Don't use BP_SYM.
13328 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13329 <bp-asm.h>.
13330 (memset): Don't use BP_SYM.
13331 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13332 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13333 (__bzero): Don't use BP_SYM.
13334 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13335 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13336 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13337 <bp-sym.h> and <bp-asm.h>.
13338 (memcmp): Don't use BP_SYM. Remove comment about bounded
13339 pointers.
13340 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13341 <bp-sym.h> and <bp-asm.h>.
13342 (memcpy): Don't use BP_SYM.
13343 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13344 <bp-sym.h> and <bp-asm.h>.
13345 (memset): Don't use BP_SYM.
13346 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13347 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13348 (__bzero): Don't use BP_SYM.
13349 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13350 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13351 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13352 <bp-sym.h> and <bp-asm.h>.
13353 (strncmp): Don't use BP_SYM. Remove comment about bounded
13354 pointers.
13355 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13356 <bp-sym.h> and <bp-asm.h>.
13357 (memcpy): Don't use BP_SYM.
13358 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13359 <bp-sym.h> and <bp-asm.h>.
13360 (memset): Don't use BP_SYM.
13361 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13362 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13363 (__bzero): Don't use BP_SYM.
13364 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13365 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13366 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13367 <bp-sym.h> and <bp-asm.h>.
13368 (__memchr): Don't use BP_SYM.
13369 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13370 <bp-sym.h> and <bp-asm.h>.
13371 (memcmp): Don't use BP_SYM. Remove comment about bounded
13372 pointers.
13373 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13374 <bp-sym.h> and <bp-asm.h>.
13375 (memcpy): Don't use BP_SYM.
13376 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13377 <bp-sym.h> and <bp-asm.h>.
13378 (__mempcpy): Don't use BP_SYM.
13379 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13380 <bp-sym.h> and <bp-asm.h>.
13381 (__memrchr): Don't use BP_SYM.
13382 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13383 <bp-sym.h> and <bp-asm.h>.
13384 (memset): Don't use BP_SYM.
13385 (__bzero): Likewise.
13386 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13387 <bp-sym.h> and <bp-asm.h>.
13388 (__rawmemchr): Don't use BP_SYM.
13389 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13390 <bp-sym.h> and <bp-asm.h>.
13391 (__STRCMP): Don't use BP_SYM.
13392 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13393 <bp-sym.h> and <bp-asm.h>.
13394 (strchr): Don't use BP_SYM.
13395 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13396 <bp-sym.h> and <bp-asm.h>.
13397 (__strchrnul): Don't use BP_SYM.
13398 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13399 <bp-sym.h> and <bp-asm.h>.
13400 (strlen): Don't use BP_SYM.
13401 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13402 <bp-sym.h> and <bp-asm.h>.
13403 (strncmp): Don't use BP_SYM. Remove comment about bounded
13404 pointers.
13405 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13406 <bp-sym.h> and <bp-asm.h>.
13407 (__strnlen): Don't use BP_SYM.
13408 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13409 <bp-sym.h> and <bp-asm.h>.
13410 (__GI__setjmp): Don't use BP_SYM.
13411 (_setjmp): Likewise.
13412 (__sigsetjmp): Likewise.
13413 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13414 (L(start_addresses)): Don't use BP_SYM.
13415 (_start): Likewise.
13416 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13417 <bp-asm.h>.
13418 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13419 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13420 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13421 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13422 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13423 <bp-asm.h>.
13424 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13425 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13426 about bounded pointers.
13427 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13428 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13429 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13430 <bp-asm.h>.
13431 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13432 about bounded pointers. Remove GKM FIXME comments.
13433 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13434 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13435 <bp-asm.h>.
13436 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13437 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13438 Remove GKM FIXME comments.
13439 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13440 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13441 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13442 <bp-asm.h>.
13443 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13444 about bounded pointers. Remove GKM FIXME comment.
13445 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13446 and <bp-asm.h>.
13447 (strncmp): Don't use BP_SYM. Remove comment about bounded
13448 pointers.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13450 <bp-sym.h> and <bp-asm.h>.
13451 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13453 <bp-sym.h> and <bp-asm.h>.
13454 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13455 comment.
13456
cdcf361f
PP
134572013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13458
13459 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13460 call free(NULL).
13461
3c4a2b15
DM
134622013-03-05 David S. Miller <davem@davemloft.net>
13463
13464 * po/es.po: Update from translation team.
13465
cdcf361f 134662013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13467
13468 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13469 <bits/mman-linux.h>.
13470 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13471 is fine.
13472 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13473 <bits/mman-linux.h> to end of file.
13474 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13475 is fine.
13476 * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
13481 <bits/mman-linux.h> to end of file.
13482
13483 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13484 (MCL_CURRENT, MCL_FUTURE): Define here.
13485
5f67c04f
AK
134862013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13487
8a4473cc 13488 [BZ #15232]
5f67c04f
AK
13489 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13490 attribute_hidden.
13491 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13492
c3e94a95
AK
134932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13494
13495 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13496 fourth parameter needed for rt_sigprocmask syscall.
13497 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13498 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13499 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13500 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13501 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13502 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13503
cfb6382a
JM
135042013-03-04 Joseph Myers <joseph@codesourcery.com>
13505
13506 [BZ #13550]
13507 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13508 comment about bounded pointers.
13509 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13510 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13511
539d8e01
AJ
135122013-03-04 Andreas Jaeger <aj@suse.de>
13513
13514 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13515 common definitions.
13516
13517 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13518 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13519 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13520 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13521 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13522 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13523
2e167a70 135242013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13525
13526 [BZ #15055]
13527 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13528 __ieee754_sqrl instead of __sqrl.
13529
68508633
JM
135302013-03-01 Joseph Myers <joseph@codesourcery.com>
13531
13532 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13533 * sysdeps/powerpc/fpu_control.h: ... here.
13534 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13535 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13536 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13537 * sysdeps/powerpc/bits/mathinline.h: ... here.
13538
7775448e
RM
135392013-03-01 Roland McGrath <roland@hack.frob.com>
13540
13541 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13542 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13543 to just [NEED_DL_SYSINFO_DSO].
13544 * elf/dl-support.c: Likewise.
13545 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13546 * elf/rtld.c (dl_main): Likewise.
13547 * elf/setup-vdso.h (setup_vdso): Likewise.
13548 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13549 * sysdeps/unix/sysv/linux/dl-sysdep.c
13550 (_dl_discover_osversion): Likewise.
13551
4e9b5995
CD
135522013-03-01 Carlos O'Donell <carlos@redhat.com>
13553
13554 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13555 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13556
e23872c8
SP
135572013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13558
e5c74c63
SP
13559 * NEWS: Mention libm performance improvements and non-x86 PI
13560 futex support.
13561
e23872c8
SP
13562 * csu/libc-start.c (__pthread_initialize_minimal): Change
13563 function arguments.
13564 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13565
b5510883
JM
135662013-02-28 Joseph Myers <joseph@codesourcery.com>
13567
13568 [BZ #13550]
13569 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13570 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13571 <bp-sym.h> and <bp-asm.h>.
13572 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13573 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13574 and <bp-asm.h>.
13575 (memcpy): Don't use BP_SYM.
13576 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13577 <bp-asm.h>.
13578 (__mpn_add_n): Don't use BP_SYM.
13579 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13580 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13581 and <bp-asm.h>.
13582 (__mpn_addmul_1): Don't use BP_SYM.
13583 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13584 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13585 <bp-sym.h>.
13586 (_setjmp): Don't use BP_SYM.
13587 (__novmx_setjmp): Likewise.
13588 (__GI__setjmp): Likewise.
13589 (__vmx_setjmp): Likewise.
13590 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13591 <bp-sym.h>.
13592 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13593 (__bzero): Don't use BP_SYM.
13594 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13595 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13596 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13597 <bp-sym.h> and <bp-asm.h>.
13598 (memcpy): Don't use BP_SYM.
13599 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13600 <bp-sym.h> and <bp-asm.h>.
13601 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13602 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13603 <bp-sym.h> and <bp-asm.h>.
13604 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13605 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13606 <bp-asm.h>.
13607 (__mpn_lshift): Don't use BP_SYM.
13608 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13609 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13610 <bp-asm.h>.
13611 (memset): Don't use BP_SYM.
13612 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13613 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13614 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13615 <bp-asm.h>.
13616 (__mpn_mul_1): Don't use BP_SYM.
13617 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13618 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13619 <bp-sym.h> and <bp-asm.h>.
13620 (memcmp): Don't use BP_SYM.
13621 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13622 <bp-sym.h> and <bp-asm.h>.
13623 (memcpy): Don't use BP_SYM.
13624 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13625 <bp-sym.h> and <bp-asm.h>.
13626 (memset): Don't use BP_SYM.
13627 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13628 <bp-sym.h> and <bp-asm.h>.
13629 (strncmp): Don't use BP_SYM.
13630 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13631 <bp-sym.h> and <bp-asm.h>.
13632 (memcpy): Don't use BP_SYM.
13633 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13634 <bp-sym.h> and <bp-asm.h>.
13635 (memset): Don't use BP_SYM.
13636 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13637 <bp-sym.h> and <bp-asm.h>.
13638 (__memchr): Don't use BP_SYM.
13639 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13640 <bp-sym.h> and <bp-asm.h>.
13641 (memcmp): Don't use BP_SYM.
13642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13643 <bp-sym.h> and <bp-asm.h>.
13644 (memcpy): Don't use BP_SYM.
13645 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13646 <bp-sym.h> and <bp-asm.h>.
13647 (__mempcpy): Don't use BP_SYM.
13648 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13649 <bp-sym.h> and <bp-asm.h>.
13650 (__memrchr): Don't use BP_SYM.
13651 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13652 <bp-sym.h> and <bp-asm.h>.
13653 (memset): Don't use BP_SYM.
13654 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13655 <bp-sym.h> and <bp-asm.h>.
13656 (__rawmemchr): Don't use BP_SYM.
13657 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13658 <bp-sym.h> and <bp-asm.h>.
13659 (__STRCMP): Don't use BP_SYM.
13660 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13661 <bp-sym.h> and <bp-asm.h>.
13662 (strchr): Don't use BP_SYM.
13663 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13664 <bp-sym.h> and <bp-asm.h>.
13665 (__strchrnul): Don't use BP_SYM.
13666 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13667 <bp-sym.h> and <bp-asm.h>.
13668 (strlen): Don't use BP_SYM.
13669 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13670 <bp-sym.h> and <bp-asm.h>.
13671 (strncmp): Don't use BP_SYM.
13672 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13673 <bp-sym.h> and <bp-asm.h>.
13674 (__strnlen): Don't use BP_SYM.
13675 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13676 <bp-asm.h>.
13677 (__mpn_rshift): Don't use BP_SYM.
13678 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13679 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13680 <bp-sym.h> and <bp-asm.h>.
13681 (__sigsetjmp): Don't use BP_SYM.
13682 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13683 (L(start_addresses)): Don't use BP_SYM.
13684 (_start): Likewise.
13685 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13686 <bp-asm.h>.
13687 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13688 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13689 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13690 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13691 <bp-asm.h>.
13692 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13693 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13694 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13695 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13696 <bp-asm.h>.
13697 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13698 comments.
13699 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13700 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13701 <bp-asm.h>.
13702 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13703 FIXME comments.
13704 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13705 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13706 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13707 <bp-asm.h>.
13708 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13709 comment.
13710 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13711 and <bp-asm.h>.
13712 (strncmp): Don't use BP_SYM,
13713 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13714 <bp-asm.h>.
13715 (__mpn_sub_n): Don't use BP_SYM.
13716 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13717 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13718 and <bp-asm.h>.
13719 (__mpn_submul_1): Don't use BP_SYM.
13720 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13722 <bp-sym.h> and <bp-asm.h>.
13723 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13725 <bp-sym.h> and <bp-asm.h>.
13726 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13727 comment.
13728
8d19fe64
SP
137292013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13730
13731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13732 Use ZK to minimize writes to Z.
13733 (sub_magnitudes): Simplify code a bit.
13734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13735 Use ZK to minimize writes to Z.
13736 (sub_magnitudes): Simplify code a bit.
13737
85bd816a
RM
137382013-02-27 Roland McGrath <roland@hack.frob.com>
13739
13740 * csu/gmon-start.c: Add special exception to license text.
13741
b5977bf2
RH
137422013-02-27 Richard Henderson <rth@redhat.com>
13743
13744 * scripts/config.guess: Update from config.git.
13745 * scripts/config.sub: Likewise.
13746
11d6e2f2
SP
137472013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13748
09c14ed2
SP
13749 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13750
a688864e
SP
13751 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13752
6295157a
SP
13753 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13754
b8de2202
SP
13755 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13756
11d6e2f2
SP
13757 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13758
7e80ddb8
RM
137592013-02-26 Roland McGrath <roland@hack.frob.com>
13760
13761 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13762 [$(build-shared = yes].
7e80ddb8 13763
7da6d9ed
SP
137642013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13765
45f05884
SP
13766 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13767 (__mul): Reduce iterations for calculating mantissa.
13768
2236d359
SP
13769 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13770 MPTWO.
13771 (__mpranred): Likewise.
13772
7da6d9ed
SP
13773 [BZ #15160]
13774 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13775 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13776
b7688c42
PE
137772013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13778
13779 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13780 Define __attribute__.
13781
53a5c423
SP
137822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13783
13784 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13785 unused.
13786 * posix/regex_internal.h (__attribute): Remove.
13787 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13788 (re_string_context_at): Likewise.
13789 (bitset_not): Use __attribute__ and mark function as possibly
13790 unused.
13791 (bitset_merge): Likewise.
13792 (bitset_mask): Likewise.
13793 (re_string_char_size_at): Likewise.
13794 (re_string_wchar_at): Likewise.
13795 (re_string_elem_size_at): Likewise.
13796
60f5a8b5
SP
137972013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13798
2a983a2e
SP
13799 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13800 code.
13801 (cc32): Likewise.
13802
e69804d1
SP
13803 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13804 (__acr): Likewise.
13805 (__cpy): Likewise.
13806 (norm): Likewise.
13807 (denorm): Likewise.
13808 (__dbl_mp): Likewise.
13809 (add_magnitudes): Likewise.
13810 (sub_magnitudes): Likewise.
13811 (__mul): Likewise.
13812 (__inv): Likewise.
13813
2f22a1e8
SP
13814 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13815 style.
13816
8930ddc7
SP
13817 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13818 style.
13819
dc60cb11
SP
13820 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13821 code.
13822
60f5a8b5
SP
13823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13824 up changes with default code.
13825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13826 Likewise.
13827
b4d1fd33
AM
138282013-02-24 Allan McRae <allan@archlinux.org>
13829
faf6f8bc
AM
13830 * manual/socket.texi (The Internet Namespace): Order menu items
13831 to match that in the file.
13832
b4d1fd33
AM
13833 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13834 node listing of the info page menu.
13835
2366713d
JM
138362013-02-21 Joseph Myers <joseph@codesourcery.com>
13837
13838 [BZ #13550]
13839 * sysdeps/i386/bp-asm.h: Remove file.
13840 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13841 (PARMS): Do not use macros from bp-asm.h.
13842 (S1): Likewise.
13843 (S2): Likewise.
13844 (SIZE): Likewise.
13845 (__mpn_add_n): Do not use BP_SYM
13846 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13847 "bp-asm.h".
13848 (PARMS): Do not use macros from bp-asm.h.
13849 (S1): Likewise.
13850 (SIZE): Likewise.
13851 (__mpn_addmul_1): Do not use BP_SYM
13852 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13853 "bp-asm.h".
13854 (PARMS): Do not use macros from bp-asm.h.
13855 (SIGMSK): Likewise.
13856 (_setjmp): Likewise. Do not use BP_SYM.
13857 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13858 "bp-asm.h".
13859 (PARMS): Do not use macros from bp-asm.h.
13860 (SIGMSK): Likewise.
13861 (setjmp): Likewise. Do not use BP_SYM.
13862 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13863 "bp-asm.h".
13864 (PARMS): Do not use macros from bp-asm.h.
13865 (__frexp): Do not use BP_SYM.
13866 (frexp): Likewise.
13867 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13868 "bp-asm.h".
13869 (PARMS): Do not use macros from bp-asm.h.
13870 (__frexpf): Do not use BP_SYM.
13871 (frexpf): Likewise.
13872 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13873 "bp-asm.h".
13874 (PARMS): Do not use macros from bp-asm.h.
13875 (__frexpl): Do not use BP_SYM.
13876 (frexpl): Likewise.
13877 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13878 "bp-asm.h".
13879 (PARMS): Do not use macros from bp-asm.h.
13880 (__remquo): Do not use BP_SYM.
13881 (remquo): Likewise.
13882 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13883 "bp-asm.h".
13884 (PARMS): Do not use macros from bp-asm.h.
13885 (__remquof): Do not use BP_SYM.
13886 (remquof): Likewise.
13887 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13888 "bp-asm.h".
13889 (PARMS): Do not use macros from bp-asm.h.
13890 (__remquol): Do not use BP_SYM.
13891 (remquol): Likewise.
13892 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13893 "bp-asm.h".
13894 (PARMS): Do not use macros from bp-asm.h.
13895 (DEST): Likewise.
13896 (SRC): Likewise.
13897 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13898 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13899 "bp-asm.h".
13900 (PARMS): Do not use macros from bp-asm.h.
13901 (strlen): Do not use BP_SYM.
13902 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13903 "bp-asm.h".
13904 (PARMS): Do not use macros from bp-asm.h.
13905 (S1): Likewise.
13906 (S2): Likewise.
13907 (SIZE): Likewise.
13908 (__mpn_add_n): Do not use BP_SYM.
13909 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13910 "bp-asm.h".
13911 (PARMS): Do not use macros from bp-asm.h.
13912 (S1): Likewise.
13913 (SIZE): Likewise.
13914 (__mpn_addmul_1): Do not use BP_SYM.
13915 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13916 weak_alias.
13917 (bzero): Likewise.
13918 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13919 "bp-asm.h".
13920 (PARMS): Do not use macros from bp-asm.h.
13921 (S): Likewise.
13922 (SIZE): Likewise.
13923 (__mpn_lshift): Do not use BP_SYM.
13924 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13925 "bp-asm.h".
13926 (PARMS): Do not use macros from bp-asm.h.
13927 (DEST): Likewise.
13928 (SRC): Likewise.
13929 (LEN): Likewise.
13930 (memcpy): Likewise. Do not use BP_SYM.
13931 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13932 libc_hidden_def and weak_alias.
13933 (mempcpy): Do not use BP_SYM in weak_alias.
13934 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13935 "bp-asm.h".
13936 (PARMS): Do not use macros from bp-asm.h.
13937 (DEST): Likewise.
13938 (LEN): Likewise.
13939 [!BZERO_P] (CHR): Likewise.
13940 (memset): Likewise. Do not use BP_SYM.
13941 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13942 "bp-asm.h".
13943 (PARMS): Do not use macros from bp-asm.h.
13944 (S1): Likewise.
13945 (SIZE): Likewise.
13946 (__mpn_mul_1): Do not use BP_SYM.
13947 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13948 "bp-asm.h".
13949 (PARMS): Do not use macros from bp-asm.h.
13950 (S): Likewise.
13951 (SIZE): Likewise.
13952 (__mpn_rshift): Do not use BP_SYM.
13953 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13954 "bp-asm.h".
13955 (PARMS): Do not use macros from bp-asm.h.
13956 (STR): Likewise.
13957 (CHR): Likewise.
13958 (strchr): Likewise. Do not use BP_SYM.
13959 (index): Do not use BP_SYM in weak_alias.
13960 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13961 "bp-asm.h".
13962 (PARMS): Do not use macros from bp-asm.h.
13963 (DEST): Likewise.
13964 (SRC): Likewise.
13965 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13966 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13967 "bp-asm.h".
13968 (PARMS): Do not use macros from bp-asm.h.
13969 (strlen): Do not use BP_SYM.
13970 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13971 "bp-asm.h".
13972 (PARMS): Do not use macros from bp-asm.h.
13973 (S1): Likewise.
13974 (S2): Likewise.
13975 (SIZE): Likewise.
13976 (__mpn_sub_n): Do not use BP_SYM.
13977 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13978 "bp-asm.h".
13979 (PARMS): Do not use macros from bp-asm.h.
13980 (S1): Likewise.
13981 (SIZE): Likewise.
13982 (__mpn_submul_1): Do not use BP_SYM.
13983 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13984 "bp-asm.h".
13985 (PARMS): Do not use macros from bp-asm.h.
13986 (S1): Likewise.
13987 (S2): Likewise.
13988 (SIZE): Likewise.
13989 (__mpn_add_n): Do not use BP_SYM.
13990 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13991 weak_alias.
13992 (bzero): Likewise.
13993 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13994 "bp-asm.h".
13995 (PARMS): Do not use macros from bp-asm.h.
13996 (BLK2): Likewise.
13997 (LEN): Likewise.
13998 (memcmp): Do not use BP_SYM.
13999 (bcmp): Do not use BP_SYM in weak_alias.
14000 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14001 "bp-asm.h".
14002 (PARMS): Do not use macros from bp-asm.h.
14003 (DEST): Likewise.
14004 (SRC): Likewise.
14005 (LEN): Likewise.
14006 (memcpy): Likewise. Do not use BP_SYM.
14007 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14008 "bp-asm.h".
14009 (PARMS): Do not use macros from bp-asm.h.
14010 (DEST): Likewise.
14011 (SRC): Likewise.
14012 (LEN): Likewise.
14013 (memmove): Likewise. Do not use BP_SYM.
14014 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14015 "bp-asm.h".
14016 (PARMS): Do not use macros from bp-asm.h.
14017 (DEST): Likewise.
14018 (SRC): Likewise.
14019 (LEN): Likewise.
14020 (__mempcpy): Likewise. Do not use BP_SYM.
14021 (mempcpy): Do not use BP_SYM in weak_alias.
14022 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14023 "bp-asm.h".
14024 (PARMS): Do not use macros from bp-asm.h.
14025 (DEST): Likewise.
14026 (LEN): Likewise.
14027 [!BZERO_P] (CHR): Likewise.
14028 (memset): Likewise. Do not use BP_SYM.
14029 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14030 "bp-asm.h".
14031 (PARMS): Do not use macros from bp-asm.h.
14032 (STR2): Likewise.
14033 (strcmp): Do not use BP_SYM.
14034 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14035 "bp-asm.h".
14036 (PARMS): Do not use macros from bp-asm.h.
14037 (STR): Likewise.
14038 (DELIM): Likewise.
14039 [USE_AS_STRTOK_R] (SAVE): Likewise.
14040 (FUNCTION): Likewise. Do not use BP_SYM.
14041 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14042 aliases.
14043 (strtok_r): Likewise.
14044 (__GI___strtok_r): Likewise.
14045 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14046 (PARMS): Do not use macros from bp-asm.h.
14047 (S): Likewise.
14048 (SIZE): Likewise.
14049 (__mpn_lshift): Do not use BP_SYM.
14050 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14051 (PARMS): Do not use macros from bp-asm.h.
14052 (STR): Likewise.
14053 (CHR): Likewise.
14054 (__memchr): Do not use BP_SYM.
14055 (memchr): Do not use BP_SYM in weak_alias.
14056 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14057 (PARMS): Do not use macros from bp-asm.h.
14058 (BLK2): Likewise.
14059 (LEN): Likewise.
14060 (memcmp): Do not use BP_SYM.
14061 (bcmp): Do not use BP_SYM in weak_alias.
14062 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14063 (PARMS): Do not use macros from bp-asm.h.
14064 (S1): Likewise.
14065 (SIZE): Likewise.
14066 (__mpn_mul_1): Do not use BP_SYM.
14067 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14068 "bp-asm.h".
14069 (PARMS): Do not use macros from bp-asm.h.
14070 (STR): Likewise.
14071 (CHR): Likewise.
14072 (__rawmemchr): Do not use BP_SYM.
14073 (rawmemchr): Do not use BP_SYM in weak_alias.
14074 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14075 (PARMS): Do not use macros from bp-asm.h.
14076 (S): Likewise.
14077 (SIZE): Likewise.
14078 (__mpn_rshift): Do not use BP_SYM.
14079 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14080 (PARMS): Do not use macros from bp-asm.h.
14081 (SIGMSK): Likewise.
14082 (__sigsetjmp): Likewise. Do not use BP_SYM.
14083 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14084 (_start): Do not use BP_SYM.
14085 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14086 (PARMS): Do not use macros from bp-asm.h.
14087 (DEST): Likewise.
14088 (SRC): Likewise.
14089 (__stpcpy): Likewise. Do not use BP_SYM.
14090 (stpcpy): Do not use BP_SYM in weak_alias.
14091 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14092 "bp-asm.h".
14093 (PARMS): Do not use macros from bp-asm.h.
14094 (DEST): Likewise.
14095 (SRC): Likewise.
14096 (LEN): Likewise.
14097 (__stpncpy): Likewise. Do not use BP_SYM.
14098 (stpncpy): Do not use BP_SYM in weak_alias.
14099 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14100 (PARMS): Do not use macros from bp-asm.h.
14101 (STR): Likewise.
14102 (CHR): Likewise.
14103 (strchr): Likewise. Do not use BP_SYM.
14104 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14105 "bp-asm.h".
14106 (PARMS): Do not use macros from bp-asm.h.
14107 (STR): Likewise.
14108 (CHR): Likewise.
14109 (__strchrnul): Likewise. Do not use BP_SYM.
14110 (strchrnul): Do not use BP_SYM in weak_alias.
14111 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14112 "bp-asm.h".
14113 (PARMS): Do not use macros from bp-asm.h.
14114 (STOP): Likewise.
14115 (strcspn): Do not use BP_SYM.
14116 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14117 "bp-asm.h".
14118 (PARMS): Do not use macros from bp-asm.h.
14119 (STR): Likewise.
14120 (STOP): Likewise.
14121 (strpbrk): Likewise. Do not use BP_SYM.
14122 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14123 "bp-asm.h".
14124 (PARMS): Do not use macros from bp-asm.h.
14125 (STR): Likewise.
14126 (CHR): Likewise.
14127 (strrchr): Likewise. Do not use BP_SYM.
14128 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14129 (PARMS): Do not use macros from bp-asm.h.
14130 (SKIP): Likewise.
14131 (strspn): Do not use BP_SYM.
14132 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14133 (PARMS): Do not use macros from bp-asm.h.
14134 (STR): Likewise.
14135 (DELIM): Likewise.
14136 (SAVE): Likewise.
14137 (FUNCTION): Likewise. Do not use BP_SYM.
14138 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14139 aliases.
14140 (strtok_r): Likewise.
14141 (__GI___strtok_r): Likewise.
14142 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14143 (PARMS): Do not use macros from bp-asm.h.
14144 (S1): Likewise.
14145 (S2): Likewise.
14146 (SIZE): Likewise.
14147 (__mpn_sub_n): Do not use BP_SYM.
14148 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14149 "bp-asm.h".
14150 (PARMS): Do not use macros from bp-asm.h.
14151 (S1): Likewise.
14152 (SIZE): Likewise.
14153 (__mpn_submul_1): Do not use BP_SYM.
14154 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14155 <bp-sym.h>.
14156 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14157 and <bp-asm.h>.
14158 (PARMS): Do not use macros from bp-asm.h.
14159 (FLAGS): Likewise.
14160 (PTID): Likewise.
14161 (TLS): Likewise.
14162 (CTID): Likewise.
14163 (__clone): Do not use BP_SYM.
14164 (clone): Do not use BP_SYM in weak_alias.
14165 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14166 and <bp-asm.h>.
14167 (PARMS): Do not use macros from bp-asm.h.
14168 (LEN): Likewise.
14169 (__mmap64): Do not use BP_SYM.
14170 (mmap64): Do not use BP_SYM in weak_alias.
14171 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14172 <bp-sym.h> and <bp-asm.h>.
14173 (PARMS): Do not use macros from bp-asm.h.
14174 (__posix_fadvise64_l64): Do not use BP_SYM.
14175 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14176 (PARMS): Do not use macros from bp-asm.h.
14177 (NSOPS): Likewise.
14178 (semtimedop): Do not use BP_SYM.
14179 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14180 and <bp-asm.h>.
14181
582a3cff
AM
141822013-02-21 Allan McRae <allan@archlinux.org>
14183
14184 * manual/message.texi (Charset conversion in gettext):
14185 Move @end statement to beginning of line.
14186
bab8a695
SP
141872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14188
80945231
SP
14189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14190 static.
14191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14192 Likewise.
14193
bab8a695
SP
14194 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14195 (denorm): Likewise.
14196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14198
e21d7aa7
AK
141992013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14200
14201 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14202 tail-call to the resolved function if pltexit isn't needed.
14203
4c7a4263
SP
142042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14205
14206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14207 or Y being zero as being unlikely.
14208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14209 Likewise.
14210
41f49342
CD
142112013-02-20 Carlos O'Donell <carlos@redhat.com>
14212
14213 * manual/nss.texi (System Databases and Name Service Switch):
14214 Remove frobnicate @pxref.
14215
50022a93
TS
142162013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14217
14218 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14219 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14220
08cbd996
PM
142212013-02-20 Petr Machata <pmachata@redhat.com>
14222
14223 * elf/elf.h (R_ARM_TARGET1): New macro.
14224 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14225 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14226 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14227 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14228 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14229 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14230 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14231 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14232 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14233 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14234 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14235 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14236 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14237 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14238 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14239 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14240 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14241 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14242 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14243 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14244 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14245 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14246 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14247 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14248 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14249 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14250 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14251 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14252 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14253 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14254 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14255 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14256 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14257 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14258 (R_ARM_THM_GOT_BREL12): Likewise.
14259 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14260 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14261 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14262 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14263 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14264 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14265 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14266 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14267 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14268
c7b275d6
TS
142692013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14270
14271 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14272 __attribute_used__ to __attribute__ ((unused)).
14273
20cd7fb3
SP
142742013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14275
14276 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14277 powerpc mpa.c.
14278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14279 comment formatting.
14280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14281
92945b52
JM
142822013-02-19 Joseph Myers <joseph@codesourcery.com>
14283
14284 [BZ #13550]
14285 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14286 Remove macro.
14287 (ENTER): Remove both macro definitions.
14288 (LEAVE): Likewise.
14289 (CHECK_BOUNDS_LOW): Likewise.
14290 (CHECK_BOUNDS_HIGH): Likewise.
14291 (CHECK_BOUNDS_BOTH): Likewise.
14292 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14293 (RETURN_BOUNDED_POINTER): Likewise.
14294 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14295 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14296 (POP_ERRNO_LOCATION_RETURN): Likewise.
14297 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14298 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14299 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14300 macros.
14301 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14302 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14303 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14304 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14305 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14306 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14307 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14308 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14309 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14310 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14311 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14312 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14313 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14314 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14315 removed macros.
14316 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14317 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14318 macros.
14319 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14320 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14321 * sysdeps/i386/i586/memset.S (memset): Likewise.
14322 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14323 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14324 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14325 macros.
14326 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14327 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14328 Change uses of L(2) to L(out).
14329 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14330 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14331 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14332 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14333 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14334 removed macros.
14335 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14336 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14337 macros.
14338 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14339 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14340 (RETURN): Do not use macro LEAVE.
14341 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14342 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14343 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14344 * sysdeps/i386/i686/memset.S (memset): Likewise.
14345 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14346 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14347 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14348 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14349 Likewise.
14350 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14351 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14352 L(1_2) and L(1_3) into L(1).
14353 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14354 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14355 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14356 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14357 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14358 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14359 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14360 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14361 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14362 macros.
14363 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14364 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14365 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14366 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14367 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14368 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14369 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14370 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14371 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14372 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14373 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14374 * sysdeps/i386/strspn.S (strspn): Likewise.
14375 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14376 conditional code.
14377 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14378 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14379 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14380 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14381 L(1_3) into L(1_1).
14382 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14383 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14384 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14385 macros.
14386 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14387
2389741a
JJ
143882013-02-19 Jakub Jelinek <jakub@redhat.com>
14389
14390 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14391 macro.
14392
2016b3cd
SP
143932013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14394
e4f22324
SP
14395 * math/atest-exp.c (exp_mpn): Remove ROUND.
14396 * math/atest-exp2.c (exp_mpn): Likewise.
14397 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14398
2016b3cd
SP
14399 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14400 * stdlib/tst-tls-atexit-lib.c: Likewise.
14401 * stdlib/tst-tls-atexit.c: Likewise.
14402
4be9b544
MF
144032013-02-18 Mike Frysinger <vapier@gentoo.org>
14404
14405 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14406 and __attribute_alloc_size__.
14407
2f62b9ee
MF
144082013-02-18 Mike Frysinger <vapier@gentoo.org>
14409
14410 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14411 __attribute_alloc_size__.
14412 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14413 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14414
6ff444c4
MF
144152013-02-18 Mike Frysinger <vapier@gentoo.org>
14416
14417 * include/programs/xmalloc.h: New file.
14418 * catgets/gencat.c: Include it.
14419 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14420 * elf/pldd.c: Likewise.
14421 * iconv/iconv_charmap.c: Likewise.
14422 * iconv/iconvconfig.c: Likewise.
14423 * iconv/strtab.c: Likewise.
14424 * locale/programs/locale.c: Likewise.
14425 * locale/programs/localedef.h: Likewise.
14426 * locale/programs/simple-hash.c: Likewise.
14427 * nscd/nscd.h: Likewise.
14428 * nss/makedb.c: Likewise.
14429 * sysdeps/generic/ldconfig.h: Likewise.
14430
be179c8a
SP
144312013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14432
ba384f6e
SP
14433 * Versions.def: Add GLIBC_2.18.
14434 * include/link.h (struct link_map): New member l_tls_dtor_count.
14435 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14436 (__call_tls_dtors): Likewise.
14437 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14438 __cxa_thread_atexit_impl.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14440 Likewise.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14442 Likewise.
14443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14444 Likewise.
14445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14446 Likewise.
14447 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14449 Likewise.
14450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14451 Likewise.
14452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14454 Likewise.
14455 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14456 (tests): Add test case tst-tls-atexit.
14457 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14458 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14459 (GLIBC_PRIVATE): Add __call_tls_dtors.
14460 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14461 for libstdc++.
14462 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14463 * stdlib/tst-tls-atexit.c: New test case.
14464 * stdlib/tst-tls-atexit-lib.c: New test case.
14465
ffaa74cf 14466 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14467
be179c8a
SP
14468 * elf/Versions (ld): Add _dl_find_dso_for_object.
14469 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14470 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14471 (dl_open_worker): Use _dl_find_dso_for_object.
14472 * elf/dl-sym.c (do_sym): Likewise.
14473 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14474
f78b5caa
AK
144752013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14476
14477 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14478 Syntactic changes only.
14479 (_dl_runtime_profile): Do a tail-call to the resolved function.
14480
29691210
JM
144812013-02-17 Joseph Myers <joseph@codesourcery.com>
14482
14483 [BZ #13550]
14484 * sysdeps/x86_64/bp-asm.h: Remove file.
14485 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14486 <bp-sym.h> and <bp-asm.h>.
14487 (__clone): Do not use BP_SYM.
14488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14489 <bp-sym.h> and <bp-asm.h>.
14490 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14491 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14492 "bp-asm.h".
14493 (_setjmp): Do not use BP_SYM.
14494 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14495 "bp-asm.h".
14496 (setjmp): Do not use BP_SYM.
14497 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14498 libc_hidden_def.
14499 (mempcpy): Do not use BP_SYM in weak_alias.
14500 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14501 "bp-asm.h".
14502 (strchr): Do not use BP_SYM.
14503 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14504 "bp-asm.h".
14505 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14506 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14507 (_start): Do not use BP_SYM.
14508 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14509 "bp-asm.h".
14510 (strcat): Do not use BP_SYM.
14511 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14512 "bp-asm.h".
14513 (STRCMP): Do not use BP_SYM.
14514 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14515 "bp-asm.h".
14516 (STRCPY): Do not use BP_SYM.
14517 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14518 "bp-asm.h".
14519 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14520 "bp-asm.h".
14521 (FUNCTION): Do not use BP_SYM.
14522 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14523 weak_alias.
14524 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14525
f238fd19
AJ
145262013-02-17 Andreas Jaeger <aj@suse.de>
14527
14528 * time/Versions: Sort entries.
14529 * string/Versions: Likewise.
14530 * resolv/Versions: Likewise.
14531 * posix/Versions: Likewise.
14532 * iconv/Versions: Likewise.
14533 * elf/Versions: Likewise.
14534 * wcsmbs/Versions: Likewise.
14535
bd07f23c 145362013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14537
22af19f9
SP
14538 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14539 loop termination condition.
14540
4709fe76
SP
14541 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14542 variable to calculate EZ.
14543 (__sqr): Likewise.
2d0e0f29
SP
14544
14545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14546 the lower precision input.
14547
daaa7713
JM
145482013-02-15 Joseph Myers <joseph@codesourcery.com>
14549
14550 [BZ #13550]
14551 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14552 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14553 (run-via-rtld-prefix): Do not handle %-bp tests.
14554 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14555 (all-object-suffixes): Remove .ob.
14556 (bppfx): Remove variable.
14557 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14558 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14559 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14560 [$(build-bounded) = yes] (libtype.ob): Likewise.
14561 * Makerules (elide-routines.ob): Remove variable.
14562 (do-tests-clean): Do not handle *-bp.out.
14563 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14564 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14565 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14566 (tests): Do not include $(tests-bp.out).
14567 (xtests): Do not include $(xtests-bp.out).
14568 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14569 [$(build-bounded) = yes] ($(addprefix
14570 $(objpfx),$(binaries-bounded))): Remove rule.
14571 ($(objpfx)%-bp.out): Remove rule.
14572 * config.make.in (build-bounded): Remove variable.
14573 * crypt/Makefile [$(build-bounded) = yes]
14574 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14575 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14576 append to variable.
14577 [$(build-bounded) = yes] (install-lib): Likewise.
14578 [$(build-bounded) = yes] (generated): Likewise.
14579 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14580 Remove rule.
14581 * intl/Makefile [$(build-bounded) = yes]
14582 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14583 * math/Makefile [$(build-bounded) = yes]
14584 ($(tests:%=$(objpfx)%-bp): Likewise.
14585 * misc/Makefile [$(build-bounded) = yes]
14586 ($(objpfx)tst-tsearch-bp): Likewise.
14587 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14588 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14589 Remove dependency.
14590 * string/Makefile (o-objects.ob): Remove variable.
14591 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14592 (CFLAGS-.ob): Remove variable.
14593 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14594 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14595 both definitions of variable.
14596 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14597 (ASFLAGS-.ob): Remove variable.
14598
e97ed6dd
JM
145992013-02-14 Joseph Myers <joseph@codesourcery.com>
14600
2bdd4ca6
JM
14601 [BZ #13550]
14602 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14603 Remove __BOUNDED_POINTERS__ from condition.
14604 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14605 * string/bits/string2.h [!__NO_STRING_INLINES &&
14606 !__BOUNDED_POINTERS__]: Likewise.
14607 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14608 Likewise.
14609 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14610 Remove conditional code.
14611 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14612 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14613 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14614 condition.
14615
e97ed6dd
JM
14616 [BZ #13550]
14617 * csu/libc-start.c: Do not include <bp-sym.h>.
14618 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14619 * elf/dl-open.c: Do not include <bp-sym.h>.
14620 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14621 * math/fegetenv.c: Do not include <bp-sym.h>.
14622 (fegetenv): Do not use BP_SYM in versioned symbols.
14623 * nptl/sysdeps/pthread/bits/libc-lockP.h
14624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14625 <bp-sym.h>.
14626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14627 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14629 (__pthread_mutex_destroy): Likewise.
14630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14631 (__pthread_mutex_lock): Likewise.
14632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14633 (__pthread_mutex_trylock): Likewise.
14634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14635 (__pthread_mutex_unlock): Likewise.
14636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14637 (__pthread_mutexattr_init): Likewise.
14638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14639 (__pthread_mutexattr_destroy): Likewise.
14640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14641 (__pthread_mutexattr_settype): Likewise.
14642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14643 (__pthread_rwlock_init): Likewise.
14644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14645 (__pthread_rwlock_destroy): Likewise.
14646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14647 (__pthread_rwlock_rdlock): Likewise.
14648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14649 (__pthread_rwlock_tryrdlock): Likewise.
14650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14651 (__pthread_rwlock_wrlock): Likewise.
14652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14653 (__pthread_rwlock_trywrlock): Likewise.
14654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14655 (__pthread_rwlock_unlock): Likewise.
14656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14657 (__pthread_key_create): Likewise.
14658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14659 (__pthread_setspecific): Likewise.
14660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14661 (__pthread_getspecific): Likewise.
14662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14663 Likewise.
14664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14665 (_pthread_cleanup_push_defer): Likewise.
14666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14667 (_pthread_cleanup_pop_restore): Likewise.
14668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14669 (pthread_setcancelstate): Likewise.
14670 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14671 <bp-sym.h>.
14672 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14673 (memchr): Do not use BP_SYM in weak_alias.
14674 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14675 (fegetenv): Do not use BP_SYM in versioned symbols.
14676 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14677 (fesetenv): Do not use BP_SYM in versioned symbols.
14678 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14679 (feupdateenv): Do not use BP_SYM in versioned symbols.
14680 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14681 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14682 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14683 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14684 (open64): Do not use BP_SYM in weak_alias.
14685 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14686 (fegetenv): Do not use BP_SYM in versioned symbols.
14687 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14688 (fesetenv): Do not use BP_SYM in versioned symbols.
14689 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14690 (feupdateenv): Do not use BP_SYM in versioned symbols.
14691 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14692 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14693 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14694 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14695 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14696 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14697 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14698 <bp-sym.h>.
14699 (__libc_start_main): Do not use BP_SYM.
14700
d6752ccd
SP
147012013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14702
cb57ce60
SP
14703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14704 redundant return line.
14705 (norm): Likewise.
14706 (denorm): Likewise.
14707 (dbl_mp): Likewise.
14708 (sub_magnitudes): Likewise.
14709 (__add): Likewise.
14710 (__sub): Likewise.
14711 (__mul): Likewise.
14712 (__inv): Likewise.
14713 (__dvd): Likewise.
14714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14715 (norm): Likewise.
14716 (denorm): Likewise.
14717 (dbl_mp): Likewise.
14718 (sub_magnitudes): Likewise.
14719 (__add): Likewise.
14720 (__sub): Likewise.
14721 (__mul): Likewise.
14722 (__inv): Likewise.
14723 (__dvd): Likewise.
14724
f414520d
SP
14725 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14726 instead of __mul.
14727 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14728 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14729 (cc32): Likewise.
14730
d6752ccd
SP
14731 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14732 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14734 of __mul for squares.
14735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14736 function
14737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14738 Likewise.
14739 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14740 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14741
70d9946a
JM
147422013-02-13 Joseph Myers <joseph@codesourcery.com>
14743
14744 [BZ #13550]
14745 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14746 code.
14747 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14748 prototype or function definition. Rename ubp_* variables and
14749 parameters. Remove argv definitions conditional on
14750 [__BOUNDED_POINTERS__].
14751 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14752 * elf/dl-runtime.c (_dl_fixup): Likewise.
14753 * include/set-hooks.h (RUN_HOOK): Likewise.
14754 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14755 definition.
14756 * string/strcpy.c (strcpy): Do not use __unbounded.
14757 * sysdeps/generic/frame.h (struct layout): Likewise.
14758 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14759 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14760 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14761 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14762 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14763 (__backtrace): Likewise.
14764 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14765 use __ptrvalue.
14766 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14767 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14768 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14769 Likewise.
14770 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14771 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14772 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14773 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14774 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14775 Do not use __unbounded.
14776 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14777 Rename __unboundedrlimits parameter to rlimits in prototype.
14778 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14779 Do not use __unbounded.
14780 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14781 not use __ptrvalue.
14782 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14783 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14784 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14785 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14786 __ptrvalue or __unbounded.
14787 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14788 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14789 use __unbounded.
14790 (__new_msgctl): Do not use __ptrvalue.
14791 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14792 __unbounded.
14793 (__libc_msgrcv): Do not use __ptrvalue.
14794 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14795 startup_info): Do not use __unbounded.
14796 (__libc_start_main): Likewise. Rename ubp_* variables and
14797 parameters. Remove argv definitions conditional on
14798 [__BOUNDED_POINTERS__].
14799 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14800 __ptrvalue.
14801 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14802 use __unbounded.
14803 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14804 or __ptrvalue.
14805 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14806 use __unbounded.
14807 (__new_shmctl): Do not use __ptrvalue.
14808 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14809 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14810 Likewise.
14811 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14813 (__libc_sigaction): Likewise.
14814 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14815 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14816 Likewise.
14817 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14818
cc7834d6
OB
148192013-02-13 Ondřej Bílka <neleai@seznam.cz>
14820
ffb1ec7b 14821 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
14822
14823 * string/mempcpy.c: Implement by calling memcpy.
14824
bdf02814
SP
148252013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14826
c2af38aa
SP
14827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14828
4e92d59e
SP
14829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14830 evaluation.
14831
909279a5
SP
14832 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14833 values in the mantissa.
14834
bdf02814
SP
14835 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14836 minimize writes to Z.
14837 (sub_magnitudes): Simplify code a bit.
14838
cd525923
RM
148392013-02-12 Roland McGrath <roland@hack.frob.com>
14840
14841 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14842 from the message. The linker prefixes all warnings with that already.
14843
7e2f0d2d
AS
148442013-02-12 Andreas Schwab <schwab@suse.de>
14845
a445af0b
AS
14846 [BZ #15078]
14847 * posix/regexec.c (extend_buffers): Add parameter min_len.
14848 (check_matching): Pass minimum needed length.
14849 (clean_state_log_if_needed): Likewise.
14850 (get_subexp): Likewise.
14851 * posix/Makefile (tests): Add bug-regex34.
14852 (bug-regex34-ENV): Define.
14853 * posix/bug-regex34.c: New file.
14854
7e2f0d2d
AS
14855 [BZ #11561]
14856 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14857 elements compare against the byte sequence of it, not its name.
14858 * posix/Makefile (tests): Add bug-regex35.
14859 (bug-regex35-ENV): Define.
14860 * posix/bug-regex35.c: New file.
14861
a175b684
TV
148622013-02-11 Tom de Vries <tom@codesourcery.com>
14863
14864 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14865 comment.
14866 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14867 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14868 (CHECK_EOL): Add undef.
14869
310998fe 148702013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
14871
14872 * bits/stdlib-bsearch.h: New file.
14873 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 14874 * stdlib/stdlib.h: Likewise.
41eda41d 14875
8ded91fb
RM
148762013-02-11 Roland McGrath <roland@hack.frob.com>
14877
14878 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14879 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14880 declaration.
14881 * manual/search.texi (Array Search Function): Add missing const in
14882 lfind prototype.
14883 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14884 declaration to use rlim_t.
14885 (Basic Scheduling Functions): Remove erroneous const from
14886 sched_getparam prototype. Remove erroneous * from
14887 sched_get_priority_max and sched_get_priority_min prototypes.
14888 (Resource Usage): Fix summary @comment on vtimes to refer to
14889 sys/vtimes.h rather than vtimes.h.
14890 Add missing *s in vtimes prototype.
14891 (Limits on Resources): Fix ulimit prototype to return long int.
14892 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14893 prototypes to use long int rather than double.
14894 (BSD Random): Fix initstate and setstate to use char *, not void *.
14895 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14896 prototype to make second argument 'struct aiocb64 *const[]'.
14897 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14898 (Status of AIO Operations): Remove erroneous const in aio_return and
14899 aio_return64 prototypes.
14900 (Synchronizing I/O): Fix sync prototype to return void.
14901 * manual/startup.texi (Suboptions): Remove an erroneous const in
14902 getsubopt prototype.
14903 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14904 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14905 use size_t rather than int.
14906 (Scanning All Users): Likewise for getpwent_r.
14907 (Setting Groups): Add missing const to setgroups prototype.
14908 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14909 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14910 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14911 'const void *' rather than 'const char *'.
14912 (Host Address Functions): Likewise for inet_ntop.
14913 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14914 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14915 ssize_t for return value.
14916 (Sending Data): Likewise for send, sendto, sendmsg.
14917 (Socket Option Functions): Add a missing const in setsockopt prototype.
14918 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14919 use wchar_t for the argument.
14920 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14921 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14922 take no arguments.
14923 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14924 double/float/long double for second argument.
14925 Fix return types of significand, significandf, significandl.
14926 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14927 argument in fchmod prototype.
14928 (File Owner): Use uid_t and gid_t in fchown prototype.
14929 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14930 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14931 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14932 use 'const struct dirent **' as argument types to CMP function pointer
14933 argument.
14934 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14935 (File Times): Fix summary magic @comment for struct utimbuf and utime
14936 to refer to utime.h, not time.h.
14937 * manual/string.texi (Argz Functions): Add missing const in
14938 argz_extract and argz_next prototypes.
14939 (Finding Tokens in a String): Likewise for basename.
14940 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14941 (Copying and Concatenation): Fix typo in wmemmove prototype.
14942 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14943 (Signal Stack): Remove erroneous const in sigstack prototype.
14944 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14945 prototype.
14946 (Simple Calendar Time): Likewise for stime.
14947 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14948 prototype.
14949 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14950 say sys/sysctl.h instead.
14951 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14952 and vsyslog prototypes.
14953
fe77fe6d
TV
149542013-02-11 Tom de Vries <tom@codesourcery.com>
14955
14956 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14957 Remove.
14958
3a09b620
RM
149592013-02-11 Roland McGrath <roland@hack.frob.com>
14960
14961 * misc/sys/mman.h: Fix typo in mremap comment.
14962
550a0b89
RM
149632013-02-08 Roland McGrath <roland@hack.frob.com>
14964
14965 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14966 the '\0' terminator.
14967
a2da1673
JM
149682013-02-08 Joseph Myers <joseph@codesourcery.com>
14969
14970 [BZ #13550]
14971 * debug/segfault.c: Don't include <bp-checks.h>.
14972 * sysdeps/generic/bp-checks.h: Remove file.
14973 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14974 (__GETDENTS): Don't use CHECK_N.
14975 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14976 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14977 (__getgroups): Don't use CHECK_N.
14978 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14979 (setgroups): Don't use CHECK_N.
14980 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14981 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14982 (__libc_msgrcv): Don't use CHECK_N.
14983 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14984 (__libc_msgsnd): Don't use CHECK_N.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14986 <bp-checks.h>.
14987 (__libc_pread): Don't use CHECK_N.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14989 include <bp-checks.h>.
14990 (__libc_pread64): Don't use CHECK_N.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14992 include <bp-checks.h>.
14993 (__libc_pwrite): Don't use CHECK_N.
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14995 include <bp-checks.h>.
14996 (__libc_pwrite64): Don't use CHECK_N.
14997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14998 <bp-checks.h>.
14999 (__libc_pread): Don't use CHECK_N.
15000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15001 include <bp-checks.h>.
15002 (__libc_pread64): Don't use CHECK_N.
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15004 include <bp-checks.h>.
15005 (__libc_pwrite): Don't use CHECK_N.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15007 include <bp-checks.h>.
15008 (__libc_pwrite64): Don't use CHECK_N.
15009 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15010 (do_pread): Don't use CHECK_N.
15011 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15012 (do_pread64): Don't use CHECK_N.
15013 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15014 (do_pwrite): Don't use CHECK_N.
15015 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15016 (do_pwrite64): Don't use CHECK_N.
15017 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15018 (__libc_readv): Don't use CHECK_N.
15019 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15020 (semop): Don't use CHECK_N.
15021 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15022 <bp-checks.h>.
15023 (semtimedop): Don't use CHECK_N.
15024 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15025 (__libc_pread): Don't use CHECK_N.
15026 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15027 <bp-checks.h>.
15028 (__libc_pread64): Don't use CHECK_N.
15029 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15030 <bp-checks.h>.
15031 (__libc_pwrite): Don't use CHECK_N.
15032 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15033 <bp-checks.h>.
15034 (__libc_pwrite64): Don't use CHECK_N.
15035 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15036 <bp-checks.h>.
15037 (__libc_msgrcv): Don't use CHECK_N.
15038 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15039 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15040 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15041 (__libc_writev): Don't use CHECK_N.
15042
b84660a8
RM
150432013-02-08 Roland McGrath <roland@hack.frob.com>
15044
7f3e75f8
RM
15045 * string/strcpy.c: Removed unused variable.
15046
b84660a8
RM
15047 * Makeconfig (+sysdep-includes): Define with := rather than =.
15048 Use an existing include/ subdir of each sysdeps dir before it.
15049
471514d3
CD
150502013-02-08 Carlos O'Donell <carlos@redhat.com>
15051
15052 * nscd/connection.c (register_traced_file): Comment function.
15053 [HAVE_INOTIFY] (union __inev): Define.
15054 [HAVE_INOTIFY] (inotify_check_files): New function.
15055 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15056 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15057 clear_db_cache.
15058 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15059
b2d3c3be
CD
150602013-02-08 Carlos O'Donell <carlos@redhat.com>
15061
15062 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15063 loaded if not already and that a failure is permanent.
15064
b39949d2
CD
150652013-02-08 Carlos O'Donell <carlos@redhat.com>
15066
ddacd1db 15067 [BZ #15006]
b39949d2
CD
15068 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15069 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15070
b2c9eff4
JM
150712013-02-08 Joseph Myers <joseph@codesourcery.com>
15072
f3aae3f3
JM
15073 [BZ #13550]
15074 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15075 (CHECK_1_NULL_OK): Likewise.
15076 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15077 (__fxstat): Do not use CHECK_1.
15078 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15079 <bp-checks.h>.
15080 (___fxstat64): Do not use CHECK_1.
15081 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15082 <bp-checks.h>.
15083 (__fxstatat): Do not use CHECK_1.
15084 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15085 <bp-checks.h>.
15086 (__fxstatat64): Do not use CHECK_1.
15087 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15088 <bp-checks.h>.
15089 (__fxstat): Do not use CHECK_1.
15090 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15091 <bp-checks.h>.
15092 (__fxstatat): Do not use CHECK_1.
15093 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15094 <bp-checks.h>.
15095 (__getresgid): Do not use CHECK_1.
15096 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15097 <bp-checks.h>.
15098 (__getresuid): Do not use CHECK_1.
15099 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15100 <bp-checks.h>.
15101 (__lxstat): Do not use CHECK_1.
15102 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15103 <bp-checks.h>.
15104 (__old_msgctl): Do not use CHECK_1.
15105 (__new_msgctl): Likewise.
15106 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15107 <bp-checks.h>.
15108 (__new_setrlimit): Do not use CHECK_1.
15109 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15110 <bp-checks.h>.
15111 (__old_shmctl): Do not use CHECK_1.
15112 (__new_shmctl): Likewise.
15113 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15114 <bp-checks.h>.
15115 (__xstat): Do not use CHECK_1.
15116 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15117 (__lxstat): Do not use CHECK_1.
15118 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15119 <bp-checks.h>.
15120 (___lxstat64): Do not use CHECK_1.
15121 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15122 (__old_msgctl): Do not use CHECK_1.
15123 (__new_msgctl): Likewise.
15124 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15125 <bp-checks.h>.
15126 (__gettimeofday): Do not use CHECK_1.
15127 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15128 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15129 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15130 <bp-checks.h>.
15131 (__gettimeofday): Do not use CHECK_1.
15132 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15133 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15134 (__new_shmctl): Do not use CHECK_1.
15135 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15136 <bp-checks.h>.
15137 (do_sigtimedwait): Do not use CHECK_1.
15138 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15139 <bp-checks.h>.
15140 (do_sigwaitinfo): Do not use CHECK_1.
15141 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15142 <bp-checks.h>.
15143 (msgctl): Do not use CHECK_1.
15144 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15145 <bp-checks.h>.
15146 (shmctl): Do not use CHECK_1.
15147 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15148 (ustat): Do not use CHECK_1.
15149 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15150 <bp-checks.h>.
15151 (__fxstat): Do not use CHECK_1.
15152 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15153 <bp-checks.h>.
15154 (__fxstatat): Do not use CHECK_1.
15155 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15156 <bp-checks.h>.
15157 (__lxstat): Do not use CHECK_1.
15158 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15159 <bp-checks.h>.
15160 (__xstat): Do not use CHECK_1.
15161 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15162 (__xstat): Do not use CHECK_1.
15163 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15164 (___xstat64): Do not use CHECK_1.
15165
b2c9eff4
JM
15166 [BZ #13550]
15167 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15168 definitions.
15169 (CHECK_BOUNDS_HIGH): Likewise.
15170 * string/strcpy.c: Do not include <bp-checks.h>.
15171 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15172
f1d70dad
RM
151732013-02-07 Roland McGrath <roland@hack.frob.com>
15174
15175 * nscd/nscd-client.h (__nscd_drop_map_ref):
15176 Add __attribute__ ((unused)).
15177 * nis/nss-nisplus.h (niserr2nss): Likewise.
15178
15179 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15180 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15181
15182 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15183 Remove inline keyword.
15184 * include/rounding-mode.h (round_away): Likewise.
15185 * libio/wfileops.c (adjust_wide_data): Likewise.
15186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15187 (__m128i_strloadu_tolower): Likewise.
15188 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15189 (__m128i_strloadu_tolower): Likewise.
15190 * time/mktime.c (ydhms_diff): Likewise.
15191 * locale/elem-hash.h (elem_hash): Likewise.
15192 * locale/setlocale.c (setdata): Likewise.
15193 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15194 (re_string_wchar_at): Likewise.
15195 (bitset_not, bitset_merge, bitset_mask): Likewise.
15196 [!(__GNUC__ > 3)] (inline): Remove macro.
15197 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15198 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15199 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15200 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15201 * string/memcmp.c (memcmp_bytes): Likewise.
15202 * locale/programs/locarchive.c (compute_hashval): Likewise.
15203 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15204 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15205 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15206 * nss/getent.c (print_rpc, print_protocols): Likewise.
15207 (print_passwd, print_group, print_aliases): Likewise.
15208 * nis/nss-nisplus.h (niserr2nss): Likewise.
15209 * nscd/connections.c (restart_p): Likewise.
15210 Change return type to bool.
15211
eab55bfb
RM
152122013-02-05 Roland McGrath <roland@hack.frob.com>
15213
7bd642f5
RM
15214 * Makeconfig (all-Depend-files): Add existing
15215 $(sorted-subdirs:=/Depend) files.
15216 (all-subdirs): Remove nss.
15217 * sysdeps/unix/inet/Subdirs: Add it here instead.
15218 * hesiod/Depend: New file.
15219
573c29b2
RM
15220 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15221 instead of calling alloca.
15222
b2e25af0
RM
15223 * io/lseek.c (__lseek): Rename to __libc_lseek.
15224 Define __lseek as an alias.
15225
eab55bfb
RM
15226 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15227
9a0d1941
CD
152282013-02-04 Carlos O'Donell <carlos@redhat.com>
15229
15230 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15231 else clause and remove check for non-standard endianness.
15232
b83bbec4
DM
152332013-02-04 David S. Miller <davem@davemloft.net>
15234
15235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15236
6277fdab
JM
152372013-02-04 Joseph Myers <joseph@codesourcery.com>
15238
15239 [BZ #13550]
15240 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15241 (__ubp_memchr): Remove prototype.
15242 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15243 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15244 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15245 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15246 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15247 Remove alias.
15248 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15249 (__ubp_memchr): Likewise.
15250 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15251 (__ubp_memchr): Likewise.
15252 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15253 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15254 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15255 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15256 CHECK_STRING.
15257 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15258 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15259 (__getcwd): Do not use CHECK_STRING.
15260 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15261 <bp-checks.h>.
15262 (__real_chown): Do not use CHECK_STRING.
15263 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15264 <bp-checks.h>.
15265 (fchownat): Do not use CHECK_STRING.
15266 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15267 CHECK_STRING.
15268 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15269 <bp-checks.h>.
15270 (__lchown): Do not use CHECK_STRING.
15271 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15272 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15273 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15274 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15276 include <bp-checks.h>.
15277 (truncate64): Do not use CHECK_STRING.
15278 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15279 <bp-checks.h>.
15280 (__real_chown): Do not use CHECK_STRING.
15281 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15282 <bp-checks.h>.
15283 (__lchown): Do not use CHECK_STRING.
15284 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15285 <bp-checks.h>.
15286 (__chown): Do not use CHECK_STRING.
15287 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15288 <bp-checks.h>.
15289 (truncate64): Do not use CHECK_STRING.
15290 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15291 Likewise.
15292 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15293 (__xmknod): Do not use CHECK_STRING.
15294 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15295 <bp-checks.h>.
15296 (__xmknodat): Do not use CHECK_STRING.
15297 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15298 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15299
903ae060
AS
153002013-02-04 Andreas Schwab <schwab@suse.de>
15301
15302 [BZ #14142]
15303 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15304 * include/netdb.h: Likewise for h_errno.
15305 * elf/tst-stackguard1.c: Include <tls.h>.
15306
542f9466
JK
153072013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15308
15309 * elf/link.h (struct link_map): Extend the l_addr comment.
15310 * include/link.h (struct link_map): Likewise.
15311
e782a927
JM
153122013-02-01 Joseph Myers <joseph@codesourcery.com>
15313
15314 [BZ #13550]
15315 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15316 (BOUNDED_1): Remove macro.
15317 * debug/backtrace.c: Don't include <bp-checks.h>.
15318 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15319 (__backtrace): Likewise.
15320 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15321 <bp-checks.h>.
15322 (__backtrace): Don't use BOUNDED_1.
15323 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15324 <bp-checks.h>.
15325 (__backtrace): Don't use BOUNDED_1.
15326 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15327 (__backtrace): Don't use BOUNDED_1.
15328 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15329 (shmat): Don't use BOUNDED_N.
15330
8cf28c5e
JM
153312013-01-31 Joseph Myers <joseph@codesourcery.com>
15332
3a7ac8a0
JM
15333 [BZ #13550]
15334 * sysdeps/generic/bp-start.h: Remove file.
15335 * csu/libc-start.c: Don't include <bp-start.h>.
15336 (LIBC_START_MAIN): Set up __environ directly instead of using
15337 INIT_ARGV_and_ENVIRON.
15338 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15339 <bp-start.h>.
15340
f3499f95
JM
15341 [BZ #13550]
15342 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15343 definitions.
15344 (CHECK_FCNTL): Likewise.
15345 (CHECK_N_PAGES): Likewise.
15346
32a45bea
JM
15347 [BZ #13550]
15348 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15349 definitions.
15350 (CHECK_SIGSET_NULL_OK): Likewise.
15351 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15352 <bp-checks.h>.
15353 (sigpending): Don't use CHECK_SIGSET.
15354 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15355 <bp-checks.h>.
15356 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15357 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15358 <bp-checks.h>.
15359 (do_sigsuspend): Don't use CHECK_SIGSET.
15360 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15361 use CHECK_SIGSET.
15362 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15363 (do_sigwait): Don't use CHECK_SIGSET.
15364 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15365 use CHECK_SIGSET.
15366 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15367 include <bp-checks.h>.
15368 (sigpending): Don't use CHECK_SIGSET.
15369 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15370 include <bp-checks.h>.
15371 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15372 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15373 <bp-checks.h>.
15374 (sigpending): Don't use CHECK_SIGSET.
15375 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15376 <bp-checks.h>.
15377 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15378
2e8a5c8c
JM
15379 [BZ #13550]
15380 * sysdeps/generic/bp-semctl.h: Remove file.
15381 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15382 <bp-checks.h> and <bp-semctl.h>.
15383 (__old_semctl): Don't use CHECK_SEMCTL.
15384 (__new_semctl): Likewise.
15385 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15386 and <bp-semctl.h>.
15387 (__old_semctl): Don't use CHECK_SEMCTL.
15388 (__new_semctl): Likewise.
15389 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15390 <bp-checks.h> and <bp-semctl.h>.
15391 (__old_semctl): Don't use CHECK_SEMCTL.
15392 (__new_semctl): Likewise.
15393 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15394 <bp-checks.h> and <bp-semctl.h>.
15395 (semctl): Don't use CHECK_SEMCTL.
15396
c2d54929
JM
15397 [BZ #13550]
15398 * Makerules (elide-bp-thunks): Remove variable.
15399 (elide-routines.oS): Don't use $(elide-bp-thunks).
15400 (elide-routines.os): Likewise.
15401 (elide-routines.o): Likewise.
15402 (elide-routines.op): Likewise.
15403 (elide-routines.og): Likewise.
15404 (objects): Don't use $(bp-thunks).
15405 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15406 include.
15407 (common-generated): Do not add s-proto-bp.d.
15408 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15409 (int): Likewise.
15410 (typ): Likewise.
15411 Do not generate makefile rules for bounded-pointer thunks.
15412 * sysdeps/generic/bp-thunks.h: Remove file.
15413 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15414 * sysdeps/unix/s-proto-bp.S: Likewise.
15415
8cf28c5e
JM
15416 [BZ #15062]
15417 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15418 parts of result separately when argument is not close to line from
15419 -i to i and one part of argument is small.
15420 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15421 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15422 * math/libm-test.inc (cacos_test): Add more tests.
15423 (casin_test): Likewise.
15424 (casinh_test): Likewise.
15425 * sysdeps/i386/fpu/libm-test-ulps: Update.
15426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15427
c4e33b8d
DM
154282013-01-31 David S. Miller <davem@davemloft.net>
15429
15430 * po/de.po: Update from translation team.
15431
3b60b421
MK
154322013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15433
15434 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15435
bb931195
TS
154362013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15437
b5a5da23
TS
15438 * configure.in (_AC_PROG_CC_C89): New definition.
15439 * configure: Regenerate.
15440
bb931195
TS
15441 * configure.in (AC_PROG_CPP): New definition.
15442 * configure: Regenerate.
15443
8c53a12c
JM
154442013-01-23 Joseph Myers <joseph@codesourcery.com>
15445
15446 * debug/tst-backtrace.h: New file.
15447 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15448 (ret): Remove variable.
15449 (x): Likewise.
15450 (FAIL): Remove macro.
15451 (NO_INLINE): Likewise.
15452 (fn1): Use match function instead of strstr.
15453 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15454 (ret): Remove variable.
15455 (x): Likewise.
15456 (FAIL): Remove macro.
15457 (NO_INLINE): Likewise.
15458 (fn): Use match function instead of strstr.
15459 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15460 (ret): Remove variable.
15461 (x): Likewise.
15462 (FAIL): Remove macro.
15463 (NO_INLINE): Likewise.
15464 (handle_signal): Use match function instead of strstr.
15465 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15466 (ret): Remove variable.
15467 (x): Likewise.
15468 (FAIL): Remove macro.
15469 (NO_INLINE): Likewise.
15470 (handle_signal): Use match function instead of strstr.
15471
4858fa2a
RM
154722013-01-23 Roland McGrath <roland@hack.frob.com>
15473
15474 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15475
bae8e7f5
DM
154762013-01-23 David S. Miller <davem@davemloft.net>
15477
15478 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15479 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15480 argument of CAS if possible.
15481 * sysdeps/sparc/sparc64/bits/atomic.h
15482 (__arch_compare_and_exchange_val_32_acq): Likewise.
15483 (__arch_compare_and_exchange_val_64_acq): Likewise.
15484
9cbbc4ae
PT
154852013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15486
15487 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15488 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15489 Include <limits.h>.
67b3f58c 15490 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15491
5655a0b5
AC
154922013-01-23 Adam Conrad <adconrad@0c3.net>
15493
15494 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15495 (LDFLAGS-tst-array5): Likewise.
15496
052aff95
JM
154972013-01-23 Joseph Myers <joseph@codesourcery.com>
15498
15499 [BZ #15036]
15500 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15501 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15502 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15503 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15504
7c1e01aa
DM
155052013-01-21 David S. Miller <davem@davemloft.net>
15506
15507 * sysdeps/sparc/backtrace.c: New file.
15508 * sysdeps/sparc/sparc32/backtrace.h: New file.
15509 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15510 * sysdeps/sparc/sparc64/backtrace.h: New file.
15511 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15512 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15513 -funwind-tables.
15514
ab087e0a
AS
155152013-01-21 Andreas Schwab <schwab@suse.de>
15516
15517 [BZ #15020]
15518 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15519 closed its stdout.
15520
ed689c2f
AS
155212013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15522
15523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15524 "mpa2.h".
15525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15526
31d470ac
JM
155272013-01-18 Joseph Myers <joseph@codesourcery.com>
15528 Mark Mitchell <mark@codesourcery.com>
15529 Tom de Vries <tom@codesourcery.com>
15530 Paul Pluzhnikov <ppluzhnikov@google.com>
15531
15532 * debug/tst-backtrace2.c: New file.
15533 * debug/tst-backtrace3.c: Likewise.
15534 * debug/tst-backtrace4.c: Likewise.
15535 * debug/tst-backtrace5.c: Likewise.
15536 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15537 (CFLAGS-tst-backtrace3.c): Likewise.
15538 (CFLAGS-tst-backtrace4.c): Likewise.
15539 (CFLAGS-tst-backtrace5.c): Likewise.
15540 (LDFLAGS-tst-backtrace2): Likewise.
15541 (LDFLAGS-tst-backtrace3): Likewise.
15542 (LDFLAGS-tst-backtrace4): Likewise.
15543 (LDFLAGS-tst-backtrace5): Likewise.
15544 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15545 tst-backtrace4 and tst-backtrace5.
15546
90567f30 155472013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15548 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15549
15550 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15551 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15552 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15553 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15555 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15556 "+r" and remove output regs list as redundant. Add explicit inline
15557 asm to specify register of return val to work around compiler codegen
15558 bug. Remove (int) cast on return value. Add return type parameter to
15559 use in macro so that this macro does not truncate return value for
15560 64-bit values.
15561 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15562 pass to INTERNAL_VSYSCALL_NCS.
15563 (INLINE_VSYSCALL): Add 'long int' as return type to
15564 INTERNAL_VSYSCALL_NCS macro invocation.
15565 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15566 INTERNAL_VSYSCALL_NCS macro invocation.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15568
d3b9ea61
SP
155692013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15570
0b57daeb
SP
15571 [BZ #14496]
15572 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15573 Fix application of SIMD FP exception mask.
15574
caa99d06
SP
15575 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15576 mp_no from a power of two.
15577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15578 __mpexp_twomm1. Use __pow_mp.
15579
d3b9ea61
SP
15580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15581 multiplication.
15582
1dbaee3c
DM
155832013-01-17 David S. Miller <davem@davemloft.net>
15584
15585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15586
728d7b43
JM
155872013-01-17 Joseph Myers <joseph@codesourcery.com>
15588
15589 [BZ #15023]
15590 * include/complex.h: Condition contents on [!_COMPLEX_H].
15591 (__kernel_casinhf): New prototype.
15592 (__kernel_casinh): Likewise.
15593 (__kernel_casinhl): Likewise.
15594 * math/Makefile (libm_calls): Add k_casinh.
15595 * math/k_casinh.c: New file.
15596 * math/k_casinhf.c: Likewise.
15597 * math/k_casinhl.c: Likewise.
15598 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15599 finite nonzero arguments.
15600 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15601 finite nonzero arguments.
15602 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15603 finite nonzero arguments.
15604 * math/s_casinh.c: Do not include <float.h>.
15605 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15606 * math/s_casinhf.c: Do not include <float.h>.
15607 (__casinhf): Move code for finite nonzero arguments to
15608 k_casinhf.c.
15609 * math/s_casinhl.c: Do not include <float.h>.
15610 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15611 redefine.
15612 (__casinhl): Move code for finite nonzero arguments to
15613 k_casinhl.c.
15614 * math/libm-test.inc (cacos_test): Add more tests.
15615 * sysdeps/i386/fpu/libm-test-ulps: Update.
15616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15617
2a26ef3a
PT
156182013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15619
15620 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15621 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15622 [!HAVE_MREMAP]: Remove [defined linux] case.
15623 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15624
a897655d
SP
156252013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15626
15627 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15628
881ebe89 156292013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15630
15631 * elf/elf.h (R_386_SIZE32): New relocation.
15632 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15633 R_386_SIZE32.
15634 (elf_machine_rela): Likewise.
15635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15636 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15637
59981e9b
JM
156382013-01-17 Joseph Myers <joseph@codesourcery.com>
15639
15640 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15641 (FP_FAST_FMA): Do not define.
15642 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15643 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15644 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15645 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15646 !_SOFT_FLOAT]: Likewise.
15647 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15648 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15649 value.
15650 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15651 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15652 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15653 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15654 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15655 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15656 file.
15657
cfa8054f
AS
156582013-01-16 Andreas Schwab <schwab@suse.de>
15659
15660 [BZ #14327]
15661 * include/stdlib.h (__mktemp): Add declaration.
15662 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15663 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15664
dd930cc5
SP
156652013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15666
881ebe89
SP
15667 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15668 definitions.
15669 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15670 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15671 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15672 definitions here.
15673 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15674 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15675 definitions.
15676 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15677 and ONE.
15678 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15679 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15680 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15681 definitions.
15682 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15683 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15684 definitions.
15685 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15686
dd930cc5
SP
15687 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15688
c19a9f89
DM
156892013-01-15 David S. Miller <davem@davemloft.net>
15690
1aa61767
DM
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15692 trunc{,f} to libm-sysdep_routes.
15693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15695 file.
15696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15698 file.
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15700 file.
15701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15703 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15704 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15705 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15706 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15707 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15708 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15709
c42d5e98
DM
15710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15711 nearbyint{,f} to libm-sysdep_routes.
15712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15714 New file.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15716 file.
15717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15718 New file.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15720 file.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15723 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15724 file.
15725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15726 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15727 file.
15728 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15729 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15730 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15731
c19a9f89
DM
15732 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15733 libc_feholdexcept and libc_fesetenv.
15734
357679d2
MF
157352013-01-15 Mike Frysinger <vapier@gentoo.org>
15736
15737 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15738
65a82e3d
DM
157392013-01-14 David S. Miller <davem@davemloft.net>
15740
8b954ab9
DM
15741 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15742 (SPARC_ASM_VIS2_IFUNC): Likewise.
15743 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15745 use of 'siam' instruction.
15746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15747 Likewise.
15748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15749 Likewise.
15750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15751 Likewise.
15752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15757 file.
15758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15759 file.
15760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15761 file.
15762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15763 file.
15764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15769 new VIS2 routines.
15770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15773 Likewise.
15774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15779 routines to libm-sysdep_routines.
15780 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15781
65a82e3d
DM
15782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15783 fdim/fdimf to libm-sysdep_routines.
15784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15785 file.
15786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15788 file.
15789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15792 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15793 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15794 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15795 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15796
e34ab705
SP
157972013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15798
2a91b573
SP
15799 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15800 to optimize copies.
15801
1066a534
SP
15802 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15805
e34ab705
SP
15806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15807 local variable MPTWO.
15808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15809 Likewise.
15810
aba5e596
MF
158112013-01-13 Mike Frysinger <vapier@gentoo.org>
15812
15813 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15814 GLOB_NOESCAPE.
15815
e557e9e5
MF
158162013-01-13 Mike Frysinger <vapier@gentoo.org>
15817
15818 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15819
0428cec9
MF
158202013-01-13 Mike Frysinger <vapier@gentoo.org>
15821
15822 * manual/pattern.texi (glob_t): Document gl_flags.
15823 (glob64_t): Likewise.
15824
8794a964
DM
158252013-01-11 David S. Miller <davem@davemloft.net>
15826
66438c3f
RM
15827 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15828 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15829 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
15830 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15831 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15832 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15833 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15834 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15835 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15836 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15837 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15838 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15839 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15840
4ae4244d
DM
15841 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15842 sparc V9 rather than using V8 code.
15843 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15844 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15845
8794a964
DM
15846 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15847 Move to...
15848 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15849 Here.
15850
6270516e
RM
158512013-01-11 Roland McGrath <roland@hack.frob.com>
15852
15853 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15854 not in the main loop.
15855 * configure: Regenerated.
15856
6a57d931
JM
158572013-01-11 Joseph Myers <joseph@codesourcery.com>
15858
15859 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15860 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15861 to just #else.
15862 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15863 [!__GLIBC_HAVE_LONG_LONG] case.
15864 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15865 condition to just #else.
15866 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15867 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15868 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15869 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15870 unconditional.
15871 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15872 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15873 #elif condition to just #else.
15874 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15875 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15876 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15877 #elif condition to just #else.
15878
0e8529e9
SE
158792013-01-11 Steve Ellcey <sellcey@mips.com>
15880
15881 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15882 (EF_MIPS_ARCH_64): Fix value.
15883 (EF_MIPS_ARCH_32R2): New.
15884 (EF_MIPS_ARCH_64R2): New.
15885
740b3dbe
L
158862013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15887
15888 * Makeconfig (+link-pie-before-libc): New.
15889 (+link-pie-after-libc): Likewise.
15890 (+link-pie-tests): Likewise.
15891 (+link-pie): Rewritten.
15892 (link-before-libc): Remove $(config-LDFLAGS).
15893 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15894 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15895 (config-LDFLAGS): Renamed to ...
15896 (rtld-LDFLAGS): This.
15897 (rtld-tests-LDFLAGS): New macro.
15898 (link-libc-rpath-link): Likewise.
15899 (link-libc-tests-rpath-link): Likewise.
15900 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15901 (link-libc): Prepand $(link-libc-rpath-link).
15902 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15903 (test-program-prefix): New macro.
15904 (test-via-rtld-prefix): Likewise.
15905 (test-program-cmd): Likewise.
15906 (host-test-program-cmd): Likewise.
15907 * Makefile ($(common-objpfx)testrun.sh): Replace
15908 $(run-program-prefix) with $(test-program-prefix).
15909 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15910 $(rtld-LDFLAGS).
15911 ($(common-objpfx)shlib.lds): Likewise.
15912 (build-module-helper): Likewise.
15913 ($(common-objpfx)format.lds): Likewise.
15914 * Rules (binaries-pie-tests): New.
15915 (binaries-pie-notests): Likewise.
15916 (binaries-pie): Rewritten.
15917 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15918 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15919 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15920 (make-test-out): Replace $(host-built-program-cmd) with
15921 $(host-test-program-cmd).
15922 * config.make.in (build-hardcoded-path-in-tests): New variable.
15923 * configure.in (--enable-hardcoded-path-in-tests): New configure
15924 option.
15925 (hardcoded_path_in_tests): New AC_SUBST.
15926 * configure: Regenerated.
15927 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15928 $(built-program-cmd) with $(test-program-cmd).
15929 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15930 (test_program_cmd): This.
15931 * elf/Makefile ($(objpfx)order.out): Run test with
15932 $(test-program-prefix).
15933 ($(objpfx)order2.out): Likewise.
15934 ($(objpfx)tst-initorder.out): Likewise.
15935 ($(objpfx)tst-initorder2.out): Likewise.
15936 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15937 $(test-program-cmd).
15938 ($(objpfx)tst-array1-static.out): Likewise.
15939 ($(objpfx)tst-array2.out): Likewise.
15940 ($(objpfx)tst-array3.out): Likewise.
15941 ($(objpfx)tst-array4.out): Likewise.
15942 ($(objpfx)tst-array5.out): Likewise.
15943 ($(objpfx)tst-array5-static.out): Likewise.
15944 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15945 $(test-program-cmd).
15946 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15947 $(run-program-prefix) with $(test-program-prefix).
15948 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15949 (test_program_prefix): This.
15950 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15951 $(run-program-prefix) with $(test-program-prefix).
15952 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15953 (test_program_prefix): This.
15954 * iconvdata/tst-tables.sh: Likewise.
15955 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15956 $(run-program-prefix) with $(test-program-prefix).
15957 ($(objpfx)tst-translit.out): Likewise.
15958 ($(objpfx)tst-gettext2.out): Likewise.
15959 ($(objpfx)tst-gettext4.out): Likewise.
15960 ($(objpfx)tst-gettext6.out): Likewise.
15961 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15962 (test_program_prefix): This.
15963 * intl/tst-gettext2.sh: Likewise.
15964 * intl/tst-gettext4.sh Likewise.
15965 * intl/tst-gettext6.sh: Likewise.
15966 * intl/tst-translit.sh: Likewise.
15967 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15968 with $(test-program-cmd).
15969 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15970 $(run-program-prefix) with $(test-program-prefix).
15971 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15972 (test_program_prefix): This.
15973 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15974 $(run-program-prefix) with $(test-program-prefix).
15975 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15976 (test_program_prefix): This.
15977 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15978 * posix/Makefile ($(objpfx)globtest.out): Replace
15979 $(run-via-rtld-prefix) and $(test-wrapper) with
15980 $(test-program-prefix) and $(test-via-rtld-prefix).
15981 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15982 $(test-program-prefix).
15983 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15984 $(host-test-program-cmd).
15985 (tst-spawn-ARGS): Likewise.
15986 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15987 $(test-program-prefix).
15988 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15989 (test_via_rtld_prefix): This.
15990 (test_wrapper): Renamed to ...
15991 (test_program_prefix): This.
15992 (run_program_prefix): Replaced by test_program_prefix.
15993 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15994 (test_program_prefix): This.
15995 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15996 with $(host-test-program-cmd).
15997 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15998 $(run-program-prefix) with $(test-program-prefix).
15999 ($(objpfx)tst-printf.out): Likewise.
16000 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16001 $(test-program-cmd).
16002 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16003 (test_program_prefix): This.
16004 * stdio-common/tst-unbputc.sh: Likewise.
16005 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16006 $(run-program-prefix) with $(test-program-prefix).
16007 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16008 (test_program_prefix): This.
16009 * string/Makefile ($(objpfx)tst-svc.out): Replace
16010 $(built-program-cmd) with $(test-program-cmd).
16011
c6fe55cf
AJ
160122013-01-11 Andreas Jaeger <aj@suse.de>
16013
16014 [BZ #15003]
16015 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16016 value. Sync with Linux 3.7.
16017
9e6919c8
DM
160182013-01-10 David S. Miller <davem@davemloft.net>
16019
16020 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16021 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16022 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16023
1c9f1a02
RM
160242013-01-10 Roland McGrath <roland@hack.frob.com>
16025
16026 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16027 never set.
16028 * configure: Regenerated.
16029
b9de2dde
DM
160302013-01-10 David S. Miller <davem@davemloft.net>
16031
16032 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16033 sparc V9 rather than using V8 code.
16034 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16035 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16036
e7f68ef4
RM
160372013-01-10 Roland McGrath <roland@hack.frob.com>
16038
16039 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16040 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16041 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16042 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16043 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16044 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16045 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16046 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16047 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16048 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16049 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16050 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16051 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16052 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16053 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16054 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16055 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16056 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16057 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16058 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16059 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16060 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16061 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16062 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16063 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16064 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16065 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16066
5a47cc9c
DM
160672013-01-10 David S. Miller <davem@davemloft.net>
16068
16069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16070
4cf8f209
L
160712013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16072
16073 * posix/Makefile (tests-static): New variable.
16074 (tests): Add $(tests-static).
16075 (tst-exec-static-ARGS): New variable.
16076 (tst-spawn-static-ARGS): Likewise.
16077 * posix/tst-exec-static.c: New file.
16078 * posix/tst-spawn-static.c: Likewise.
16079 * posix/tst-exec.c: Support run directly.
16080 * posix/tst-spawn.c: Likewise.
16081
fed0faa1
JM
160822013-01-10 Joseph Myers <joseph@codesourcery.com>
16083
828beb13
JM
16084 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16085 long.
16086 * math/bits/mathcalls.h (llrint): Likewise.
16087 (llround): Likewise.
16088 * stdlib/stdlib.h (struct drand48_data): Likewise.
16089 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16090 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16091 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16092 Likewise.
16093 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16094 Likewise.
16095 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16096 (elf_greg_t): Likewise.
16097 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16098 (__jmp_buf): Likewise.
16099 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16100 definitions.
16101 (llrint): Likewise, for all definitions.
16102 (llrintl): Likewise.
16103
fed0faa1
JM
16104 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16105 Remove [__GNUC__] condition.
16106 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16107 condition to just [__USE_ISOC99].
16108 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16109
1a20cb20
L
161102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16111
16112 [BZ #14200]
16113 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16114 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16115 defined.
16116 (_POSIX_V6_ILP32_OFF32): Likewise.
16117 (_XBS5_ILP32_OFF32): Likewise.
16118 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16119 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16120
751b85f7
SP
161212013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16122
7490eb81
SP
16123 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16124
751b85f7
SP
16125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16126 doubles __mpexp_twomm1. Adjust usage.
16127 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16128 Remove.
16129
988197f0
AS
161302013-01-10 Andreas Schwab <schwab@suse.de>
16131
16132 [BZ #14964]
16133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16134 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16135
e83d7298
DM
161362013-01-09 David S. Miller <davem@davemloft.net>
16137
034ed64b 16138 [BZ #15003]
e83d7298
DM
16139 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16140 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16141 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16142 TCP_FASTOPEN): Define.
16143 (tcp_repair_opt): New structure.
16144 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16145 enum values.
16146 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16147 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16148 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16149 (tcp_cookie_transactions): New structure.
16150
d5e0b9bd
AB
161512013-01-09 Anton Blanchard <anton@samba.org>
16152
16153 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16154 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16155 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16156 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16157
0c07e3ea
JM
161582013-01-09 Joseph Myers <joseph@codesourcery.com>
16159
16160 * include/features.h (__USE_ANSI): Remove.
16161
232f7002
RM
161622013-01-09 Roland McGrath <roland@hack.frob.com>
16163
ad98e30c
RM
16164 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16165
232f7002
RM
16166 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16167
950c99ca
SP
161682013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16169
b5792741
SP
16170 * sysdeps/s390/fpu/libm-test-ulps: Update.
16171
47cf2278
SP
16172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16173
950c99ca
SP
16174 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16175 (__acr): Likewise.
16176 (__cpy): Likewise.
16177 (norm): Likewise.
16178 (denorm): Likewise.
16179 (__mp_dbl): Likewise.
16180 (__dbl_mp): Likewise.
16181 (add_magnitudes): Likewise.
16182 (sub_magnitudes): Likewise.
16183 (__add): Likewise.
16184 (__sub): Likewise.
16185 (__mul): Likewise.
16186 (__inv): Likewise.
16187 (__dvd): Likewise.
16188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16189 (__acr): Likewise.
16190 (__cpy): Likewise.
16191 (norm): Likewise.
16192 (denorm): Likewise.
16193 (__mp_dbl): Likewise.
16194 (__dbl_mp): Likewise.
16195 (add_magnitudes): Likewise.
16196 (sub_magnitudes): Likewise.
16197 (__add): Likewise.
16198 (__sub): Likewise.
16199 (__mul): Likewise.
16200 (__inv): Likewise.
16201 (__dvd): Likewise.
16202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16203 (__acr): Likewise.
16204 (__cpy): Likewise.
16205 (norm): Likewise.
16206 (denorm): Likewise.
16207 (__mp_dbl): Likewise.
16208 (__dbl_mp): Likewise.
16209 (add_magnitudes): Likewise.
16210 (sub_magnitudes): Likewise.
16211 (__add): Likewise.
16212 (__sub): Likewise.
16213 (__mul): Likewise.
16214 (__inv): Likewise.
16215 (__dvd): Likewise.
16216
eede9df9
JM
162172013-01-08 Joseph Myers <joseph@codesourcery.com>
16218
16219 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16220 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16221 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16222 2 && __USE_EXTERN_INLINES]: Likewise.
16223
c40ea3d9
AJ
162242013-01-08 Andreas Jaeger <aj@suse.de>
16225
16226 [BZ# 14985]
16227 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16228 Remove.
16229 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16230 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16231
2ccdea26
AB
162322013-01-07 Anton Blanchard <anton@samba.org>
16233
16234 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16235 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16236 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16237 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16238 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16239 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16240 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16241 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16243 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16245 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16246 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16247 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16248 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16249 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16250 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16251 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16252 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16253 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16254 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16255 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16256 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16257 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16258 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16259 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16260 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16261 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16262 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16263 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16264 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16266 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16267 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16268 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16269 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16270 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16271 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16272 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16273 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16274 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16275 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16276 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16277
a9708fed
JM
162782013-01-07 Joseph Myers <joseph@codesourcery.com>
16279
375607b9
JM
16280 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16281 (__MALLOC_PMT): Likewise.
16282 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16283 [__GNUC__], only on [_LIBC].
16284 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16285 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16286 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16287 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16288 forward declaration.
16289 (realloc_hook_ini): Likewise.
16290 (memalign_hook_ini): Likewise.
16291 (__libc_memalign): Do not use __MALLOC_PMT in variable
16292 declaration.
16293 (__libc_valloc): Likewise.
16294 (__libc_pvalloc): Likewise.
16295 (__libc_calloc): Likewise.
16296 (__posix_memalign): Likewise.
16297
a9708fed
JM
16298 [BZ #14996]
16299 * math/s_casinh.c: Include <float.h>.
16300 (__casinh): Do not do computation with squaring and square root
16301 for large arguments.
16302 * math/s_casinhf.c: Include <float.h>.
16303 (__casinhf): Do not do computation with squaring and square root
16304 for large arguments.
16305 * math/s_casinhl.c: Include <float.h>.
16306 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16307 (__casinhl): Do not do computation with squaring and square root
16308 for large arguments.
16309 * math/libm-test.inc (casin_test): Add more tests.
16310 (casinh_test): Likewise.
16311 * sysdeps/i386/fpu/libm-test-ulps: Update.
16312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16313
afec409a
L
163142013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16315
16316 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16317 (__x86_64_raw_data_cache_size): Likewise.
16318 (__x86_64_data_cache_size_half): Likewise.
16319 (__x86_64_raw_data_cache_size_half): Likewise.
16320 (__x86_64_shared_cache_size): Likewise.
16321 (__x86_64_raw_shared_cache_size): Likewise.
16322 (__x86_64_shared_cache_size_half): Likewise.
16323 (__x86_64_raw_shared_cache_size_half): Likewise.
16324 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16325 to ...
16326 (__x86_data_cache_size): This.
16327 (__x86_64_raw_data_cache_size): Renamed to ...
16328 (__x86_raw_data_cache_size): This.
16329 (__x86_64_data_cache_size_half): Renamed to ...
16330 (__x86_data_cache_size_half): This.
16331 (__x86_64_raw_data_cache_size_half): Renamed to ...
16332 (__x86_raw_data_cache_size_half): This.
16333 (__x86_64_shared_cache_size): Renamed to ...
16334 (__x86_shared_cache_size): This.
16335 (__x86_64_raw_shared_cache_size): Renamed to ...
16336 (__x86_raw_shared_cache_size): This.
16337 (__x86_64_shared_cache_size_half): Renamed to ...
16338 (__x86_shared_cache_size_half): This.
16339 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16340 (__x86_raw_shared_cache_size_half): This.
16341 * sysdeps/x86_64/memcpy.S: Updated.
16342 * sysdeps/x86_64/memset.S: Likewise.
16343 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16344 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16345 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16346
0b3986d0
DM
163472013-01-04 David S. Miller <davem@davemloft.net>
16348
16349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16350
e47686e9
AS
163512013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16352
d643bac1
AS
16353 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16354 1 to avoid redefinition warning.
16355 (__USE_GNU): Don't define.
16356 (init_signaling_nan): Protoize.
16357
e47686e9
AS
16358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16359
b18decba
SP
163602013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16361
fffb407f
SP
16362 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16364 (__cpymn): Likewise.
16365 (norm): Remove commented code.
16366 (denorm): Likewise.
16367 (__mp_dbl): Likewise.
16368 (__inv): Likewise.
16369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16370 (__cpymn): Likewise.
16371 (norm): Remove commented code.
16372 (denorm): Likewise.
16373 (__mp_dbl): Likewise.
16374 (__inv): Likewise.
16375
b18decba
SP
16376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16377 mp_no value for 1.0 and 2.0.
16378 (norm): Use RADIXI instead of radixi.d.
16379 (denorm): Likewise.
16380 (__mul): Use 0.0 instead of zero.d.
16381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16382 mp_no value for 1.0 and 2.0.
16383 (norm): Use RADIXI instead of radixi.d.
16384 (denorm): Likewise.
16385 (__mul): Use 0.0 instead of zero.d.
16386
cdc1c96f
JM
163872013-01-04 Joseph Myers <joseph@codesourcery.com>
16388
16389 [BZ #14994]
16390 * math/s_casinh.c (__casinh): Reduce finite argument to first
16391 quadrant then set signs of results at the end.
16392 * math/s_casinhf.c (__casinhf): Likewise.
16393 * math/s_casinhl.c (__casinhl): Likewise.
16394 * math/libm-test.inc (casin_test): Add more tests.
16395 (casinh_test): Likewise.
16396 * sysdeps/i386/fpu/libm-test-ulps: Update.
16397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16398
302913e1
SP
163992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16400
6420d207
SP
16401 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16402
a9e48ab4
SP
16403 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16404
b7837264
SP
16405 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16406 declarations.
16407 (denorm): Likewise.
16408 (__mp_dbl): Likewise.
16409 (__inv): Likewise.
16410
f8af25d2
SP
16411 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16412 and adjust the header comment.
16413
302913e1
SP
16414 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16415 variable name from declaration.
16416
5d7dd1ca
L
164172013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16418
16419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16420 Initialize COMMON_CPUID_INDEX_7 element.
16421 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16422 (CPUID_RTM): Likewise.
16423 (HAS_RTM): Likewise.
16424 (COMMON_CPUID_INDEX_7): New enum.
16425
2f5f40f4
AS
164262013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16427
16428 [BZ #14981]
16429 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16430 size is zero, record memory as freed.
16431
4056f4a0
AJ
164322013-01-03 Andreas Jaeger <aj@suse.de>
16433
16434 * po/ia.po: Add new Interlingua translation.
16435
ab15736f 164362012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16437
16438 * locale/programs/localedef.c: Fix description of '--posix' flag.
16439
568035b7
JM
164402013-01-02 Joseph Myers <joseph@codesourcery.com>
16441
e6898b8d
JM
16442 * NEWS: Update dates in second copyright notice.
16443 * README: Update copyright dates in example.
16444 * manual/libc.texinfo: Update copyright dates.
16445 * scripts/test-installation.pl: Update copyright date in --version
16446 output.
16447
0e2f9562
JM
16448 * hurd/ctty-input.c: Fix copyright notice formatting.
16449 * hurd/ctty-output.c: Likewise.
16450 * hurd/dtable.c: Likewise.
16451 * hurd/hurd-raise.c: Likewise.
16452 * hurd/hurdprio.c: Likewise.
16453 * hurd/msgportdemux.c: Likewise.
16454 * misc/sys/file.h: Likewise.
16455 * misc/sys/ioctl.h: Likewise.
16456 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16457 * sysdeps/mach/hurd/chdir.c: Likewise.
16458 * sysdeps/mach/hurd/fchdir.c: Likewise.
16459 * sysdeps/mach/hurd/rename.c: Likewise.
16460 * sysdeps/mach/hurd/rmdir.c: Likewise.
16461 * sysdeps/mach/hurd/seekdir.c: Likewise.
16462 * sysdeps/mach/hurd/setsid.c: Likewise.
16463 * sysdeps/posix/wait3.c: Likewise.
16464
568035b7
JM
16465 * All files with FSF copyright notices: Update copyright dates
16466 using scripts/update-copyrights.
16467 * intl/plural.c: Regenerated.
16468 * locale/programs/charmap-kw.h: Likewise.
16469 * locale/programs/locfile-kw.h: Likewise.
16470
da08f647
SP
164712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16472
0f5477af
SP
16473 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16474 four values.
16475
44e0d4c2
SP
16476 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16477 calculation loop and add branch prediction.
16478
4d55b4e5
SP
16479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16480 check access beyond bounds of m1np.
16481
da08f647
SP
16482 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16483 MPTWO.
16484 (__inv): Remove local variable MPTWO to use the global
16485 constant.
16486 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16487 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16488 variable MPTWO.
16489 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16490 MP3HALFS static const.
16491
8e051029
DM
164922013-01-01 David S. Miller <davem@davemloft.net>
16493
16494 * po/ca.po: Update from translation team.
16495
f4cf5f2d
JM
164962013-01-01 Joseph Myers <joseph@codesourcery.com>
16497
16498 * scripts/update-copyrights: New file.
16499 * Makeconfig: Reformat copyright notice.
16500 * ctype/ctype.h: Likewise.
16501 * debug/swprintf_chk.c: Likewise.
16502 * elf/dl-cache.c: Likewise.
16503 * elf/dl-debug.c: Likewise.
16504 * elf/dl-object.c: Likewise.
16505 * grp/initgroups.c: Likewise.
16506 * hurd/Makefile: Likewise.
16507 * hurd/hurd/signal.h: Likewise.
16508 * hurd/hurdfault.c: Likewise.
16509 * hurd/hurdioctl.c: Likewise.
16510 * hurd/hurdlookup.c: Likewise.
16511 * hurd/intr-msg.c: Likewise.
16512 * iconv/gconv_open.c: Likewise.
16513 * libio/swprintf.c: Likewise.
16514 * locale/lc-ctype.c: Likewise.
16515 * locale/nl_langinfo.c: Likewise.
16516 * mach/Machrules: Likewise.
16517 * mach/Makefile: Likewise.
16518 * malloc/obstack.h: Likewise.
16519 * manual/Makefile: Likewise.
16520 * manual/tsort.awk: Likewise.
16521 * misc/bits/stab.def: Likewise.
16522 * nis/nis_print_group_entry.c: Likewise.
16523 * nis/nis_table.c: Likewise.
16524 * nis/nss_compat/compat-pwd.c: Likewise.
16525 * nis/nss_compat/compat-spwd.c: Likewise.
16526 * po/Makefile: Likewise.
16527 * posix/fnmatch.c: Likewise.
16528 * posix/regex.h: Likewise.
16529 * resolv/Makefile: Likewise.
16530 * resolv/nss_dns/dns-network.c: Likewise.
16531 * resolv/res_hconf.c: Likewise.
16532 * scripts/gen-sorted.awk: Likewise.
16533 * soft-fp/soft-fp.h: Likewise.
16534 * stdio-common/printf.h: Likewise.
16535 * stdlib/monetary.h: Likewise.
16536 * stdlib/random.c: Likewise.
16537 * stdlib/random_r.c: Likewise.
16538 * sysdeps/generic/Makefile: Likewise.
16539 * sysdeps/gnu/Makefile: Likewise.
16540 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16549 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16550 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16551 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16552 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16553 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16554 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16555 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16556 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16562 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16563 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16564 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16565 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16566 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16567 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16568 * sysdeps/mach/hurd/errnos.awk: Likewise.
16569 * sysdeps/mach/hurd/fork.c: Likewise.
16570 * sysdeps/mach/hurd/getcwd.c: Likewise.
16571 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16572 * sysdeps/mach/hurd/mmap.c: Likewise.
16573 * sysdeps/mach/hurd/utimes.c: Likewise.
16574 * sysdeps/mach/hurd/xmknod.c: Likewise.
16575 * sysdeps/posix/profil.c: Likewise.
16576 * sysdeps/posix/readdir_r.c: Likewise.
16577 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16578 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16579 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16580 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16582 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16583 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16584 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16586 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16587 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16588 * sysdeps/pthread/lio_listio.c: Likewise.
16589 * sysdeps/sparc/dl-procinfo.h: Likewise.
16590 * sysdeps/unix/i386/sysdep.S: Likewise.
16591 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16592 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16593 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16594 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16596 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16597 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16598 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16599 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16600 * sysdeps/wordsize-32/divdi3.c: Likewise.
16601 * time/sys/time.h: Likewise.
16602 * wcsmbs/Makefile: Likewise.
16603
0549fbba
DM
166042013-01-01 David S. Miller <davem@davemloft.net>
16605
a141f1a7
DM
16606 * po/fr.po: Update from translation team.
16607
0549fbba
DM
16608 * catgets/gencat.c: Update copyright year.
16609 * csu/version.c: Likewise.
16610 * debug/catchsegv.sh: Likewise.
16611 * debug/pcprofiledump.c: Likewise.
16612 * debug/xtrace.sh: Likewise.
16613 * elf/ldconfig.c: Likewise.
16614 * elf/ldd.bash.in: Likewise.
16615 * elf/pldd.c: Likewise.
16616 * elf/sotruss.ksh: Likewise.
16617 * elf/sprof.c: Likewise.
16618 * iconv/iconv_prog.c: Likewise.
16619 * iconv/iconvconfig.c: Likewise.
16620 * locale/programs/locale.c: Likewise.
16621 * locale/programs/localedef.c: Likewise.
16622 * login/programs/pt_chown.c: Likewise.
16623 * malloc/memusage.sh: Likewise.
16624 * malloc/memusagestat.c: Likewise.
16625 * malloc/mtrace.pl: Likewise.
16626 * nscd/nscd.c: Likewise.
16627 * nss/getent.c: Likewise.
16628 * nss/makedb.c: Likewise.
16629 * posix/getconf.c: Likewise.
16630
18ea052c
SP
166312012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16632
16633 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16634 numbers.
16635
9c89fca6
MF
166362012-12-30 Mike Frysinger <vapier@gentoo.org>
16637
16638 * math/bits/mathcalls.h (modf): Use __nonnull.
16639
085ec079
SP
166402012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16641
16642 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16643 (split): Use macro CN instead of the bare value.
16644 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16645 could be used.
16646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16647 instead of the bare value.
16648 (power1): Likewise.
16649
6d9f97e1
SP
166502012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16651
d63f73be
SP
16652 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16653 __ATAN_TWOM.
16654 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16655
6d9f97e1
SP
16656 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16657 their values.
16658 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16659 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16660 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16661 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16662
4c4febf5
AJ
166632012-12-28 Andreas Jaeger <aj@suse.de>
16664
af5843ef
AJ
16665 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16666 values are from Linux 3.7.
16667
4c4febf5
AJ
16668 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16669 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16670
99136f82
SP
166712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16672
2f216c3c 16673 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16674 TRUE case.
16675
99136f82
SP
16676 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16677 (norm): Likewise.
16678 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16679 variables with preprocessor constants.
16680 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16681 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16682 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16683
7fffbdff
BH
166842012-12-27 Bruno Haible <bruno@clisp.org>
16685
16686 [BZ #14317]
16687 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16688 only if needed.
16689
b76eb5f0
SP
166902012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16691
31a7fe5c
SP
16692 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16693 and use variable directly.
16694 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16695
b76eb5f0
SP
16696 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16697 MPONE.
16698 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16699 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16700 variable MPONE.
16701 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16703 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16704 include directive. Remove local variable MPONE.
16705 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16706 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16707 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16708
2c8bfe7d
DM
167092012-12-25 David S. Miller <davem@davemloft.net>
16710
16711 * version.h (RELEASE): Set to "development".
16712 (VERSION): Set to "2.17.90".
16713 * NEWS: Add 2.18 section.
16714
147d03b0
DM
167152012-12-21 David S. Miller <davem@davemloft.net>
16716
16717 * po/hr.po: Update from translation team.
16718
a8ebb2b9
AK
167192012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16720
16721 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16722
95b4f1b6
SE
167232012-12-19 Steve Ellcey <sellcey@mips.com>
16724
b2d94007 16725 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16726
cedb2a90
MS
167272012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16728
16729 * manual/contrib.texi (Contributors): Spelling correction.
16730
bbf527d6
DM
167312012-12-15 David S. Miller <davem@davemloft.net>
16732
16733 * po/ru.po: Update from translation team.
16734
bc38c906
DM
167352012-12-13 David S. Miller <davem@davemloft.net>
16736
85429b1a
DM
16737 * NEWS: Mention IFUNC testsuite enhancements.
16738
d283e353
DM
16739 * po/pl.po: Update from translation team.
16740 * po/bg.po: Likewise.
16741
bc38c906
DM
16742 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16743 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16744
a181b0d7
DM
167452012-12-11 David S. Miller <davem@davemloft.net>
16746
4641d57e
DM
16747 * po/sv.po: Update from translation team.
16748
f7bc6495
DM
16749 * po/vi.po: Update from translation team.
16750
6fc9048f
DM
16751 * po/cs.po: Update from translation team.
16752
a181b0d7
DM
16753 * po/de.po: Update from translation team.
16754 * po/eo.po: Likewise.
16755 * po/nl.po: Likewise.
16756
f70bfe80
SP
167572012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16758
3c8b4190
SP
16759 [BZ #14246]
16760 * manual/argp.texi (Argp Helper Functions): Move node to follow
16761 Argp Parsing State.
16762
f70bfe80
SP
16763 [BZ #14872]
16764 * manual/conf.texi (Limits on File System Capacity): Mention if
16765 terminating null is included in the max size.
16766
188f0adf
AJ
167672012-12-10 Andreas Jaeger <aj@suse.de>
16768
16769 * po/cs.po: Update from translation team.
16770
56e7d3ad
SP
167712012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16772
16773 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16774 void pointer and cast to uintptr_t.
16775 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16776 path.
16777 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16778 * sysdeps/s390/s390-64/memset.S: Likewise.
16779
76f2d2ea 167802012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16781
16782 [BZ #14833]
16783 * menual/message.texi (Message Translation): Fix typos.
16784 (Helper programs for gettext): Likewise.
16785
67cbf9a2
AS
167862012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16787
16788 [BZ #14898]
16789 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16790 Change to -1.
16791
682d0e9a
DM
167922012-12-07 David S. Miller <davem@davemloft.net>
16793
16794 * po/libc.pot: Update.
16795
573cd484
RH
167962012-12-07 Richard Henderson <rth@redhat.com>
16797
7e9da188 16798 [BZ #10114]
573cd484
RH
16799 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16800 normal/normal case to before the switch.
16801 (_FP_DIV): Likewise.
16802
e933a943
MF
168032012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16804 Mike Frysinger <vapier@gentoo.org>
16805
16806 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16807 check for __NR_fadvise64_64.
16808
82123268
CM
168092012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16810
16811 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16812 0, not just to plain "0" as a statement.
16813 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16814 with cw.
16815
d9814526
JM
168162012-12-06 Joseph Myers <joseph@codesourcery.com>
16817
16818 * NEWS: Use sourceware.org in Bugzilla URL.
16819
7728c574
SP
168202012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16821
f16946dd
SP
16822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16823 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16824
5704bbcb
SP
16825 * stdio-common/tst-put-error.c (do_test): Add newline to the
16826 padded test to ensure flush.
16827
17aa0516
JL
168282012-12-05 Jeff Law <law@redhat.com>
16829
16830 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16831
363313b5
JM
168322012-12-05 Joseph Myers <joseph@codesourcery.com>
16833
effbd42a
JM
16834 * README: Don't refer to ports add-on as distributed separately.
16835 Mention AArch64 in list of systems supported in the ports add-on.
16836
87600365
JM
16837 * LICENSES: Add more non-FSF copyright and license notices.
16838
a0d7066a
JM
16839 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16840 ((unused)).
16841
66ca5a5b
JM
16842 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16843
363313b5
JM
16844 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16845 10000 as width of padded output.
16846
b37984ad
JM
168472012-12-04 Joseph Myers <joseph@codesourcery.com>
16848
9003570a
JM
16849 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16850
b37984ad
JM
16851 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16852 variable LX with __attribute__ ((unused)).
16853 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16854 Likewise.
16855 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16857 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16858 with __attribute__ ((unused)).
16859
c8df52ec
DM
168602012-12-04 David S. Miller <davem@abraco.davemloft.net>
16861
16862 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16863
b3b099af
JM
168642012-12-04 Joseph Myers <joseph@codesourcery.com>
16865
c33aa6e3
JM
16866 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16867 (CFLAGS-nldbl-acos.c): New variable.
16868 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16869 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16870 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16871 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16872 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16873 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16874 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16875 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16876 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16877 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16878 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16879 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16880 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16881 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16882 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16883 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16884 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16885 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16886 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16887 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16888 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16889 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16890 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16891 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16892 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16893 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16894 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16895 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16896 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16897 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16898 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16899 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16900 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16901 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16902 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16903 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16904 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16905 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16906 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16907 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16908 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16909 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16910 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16911 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16912 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16913 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16914 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16915 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16916 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16917 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16918 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16919 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16920 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16921 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16922 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16923 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16924 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16925 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16926 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16927 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16928 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16929 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16930 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16931 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16932 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16933 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16934 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16935 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16936 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16937 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16938 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16939 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16940 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16941 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16942 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16943 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16944 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16945 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16946 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16947 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16948 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16949 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16950 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16951 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16952 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16953 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16954 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16955 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16956 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16957 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16958 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16959 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16960 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16961 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16962 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16963 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16964 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16965
20f0018d
JM
16966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16967 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16968
b3b099af
JM
16969 [BZ #14914]
16970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16971 whole low double instead of just low 47 bits when splitting values
16972 into two parts.
16973
029264d1
AM
169742012-12-03 Allan McRae <allan@archlinux.org>
16975
16976 * manual/stdio.texi (Predefined Printf Handlers): Remove
16977 @hsep and @vsep usage.
16978
c9d6789e
MF
169792012-12-03 Mike Frysinger <vapier@gentoo.org>
16980
16981 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16982 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16983
4b7634a5
JL
169842012-12-03 Jeff Law <law@redhat.com>
16985
16986 * time/sys/time.h (settimeofday): Do not mark TV argument
16987 as __nonnull.
16988
eb6cbd24
MF
169892012-12-01 Mike Frysinger <vapier@gentoo.org>
16990
16991 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16992 when currently writing and seek to current position when not.
16993 * libio/Makefile (tests): Remove bug-fclose1.
16994 * libio/bug-fclose1.c: Delete.
16995
f638872a
JM
169962012-12-01 Joseph Myers <joseph@codesourcery.com>
16997
16998 * manual/arith.texi (feenableexcept): Fix typo.
16999 (fedisableexcept): Likewise.
17000
48085d14
RM
170012012-11-30 Roland McGrath <roland@hack.frob.com>
17002
17003 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17004 second, differently-typed declaration, rather than a cast.
17005
1a538b9f
SP
170062012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17007
17008 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17009 * include/rpc/svc.h: ... here.
17010
d07f2ff1 170112012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17012
17013 [BZ #13013]
17014 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17015 depending n and resplen2 to catch cases where answer
17016 equals answerp2.
17017
c93ec1f0
CD
170182012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17019
17020 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17021 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17022
37db69de
MF
170232012-11-29 Mike Frysinger <vapier@gentoo.org>
17024
17025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17026
e10c4e4f
RM
170272012-11-29 Roland McGrath <roland@hack.frob.com>
17028
17029 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17030
2af1b328
JL
170312012-11-28 Jeff Law <law@redhat.com>
17032
17033 [BZ #13761]
17034 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17035 dataset_temporary. Track alloca usage into alloca_used.
17036 If dataset is large allocate and release it via malloc/free.
17037
111db5b1
FW
170382012-06-04 Florian Weimer <fweimer@redhat.com>
17039
f06cc227 17040 [BZ #14197]
111db5b1
FW
17041 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17042
dd694abd
DM
170432012-11-28 David S. Miller <davem@davemloft.net>
17044
17045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17046
9984dd01
JM
170472012-11-28 Joseph Myers <joseph@codesourcery.com>
17048
17049 [BZ #14803]
17050 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17051 of pi/2 rounded to nearest to 64 bits.
17052 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17053 nearest to 64 bits.
17054 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17055 bits.
17056
14bc93a9
JL
170572012-11-28 Jeff Law <law@redhat.com>
17058 Martin Osvald <mosvald@redhat.com>
17059
17060 [BZ #14889]
17061 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17062 * sunrpc/svc.c: Include time.h.
17063 (__svc_accept_failed): New function.
17064 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17065 any reason other than EINTR, call __svc_accept_failed.
17066 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17067 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17068
e3c6aa3a
AS
170692012-11-28 Andreas Schwab <schwab@suse.de>
17070
17071 * scripts/abilist.awk: Also handle indirect functions in .opd
17072 section.
17073
1bead169
JM
170742012-11-28 Joseph Myers <joseph@codesourcery.com>
17075
17076 [BZ #13881]
17077 * sysdeps/x86/fpu/powl_helper.c: New file.
17078 * sysdeps/x86/fpu/Makefile: Likewise.
17079 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17080 (p3): New object.
17081 (__ieee754_powl): Use __powl_helper for finite arguments except
17082 integer exponents below 8.
17083 * sysdeps/x86_64/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 * math/libm-test.inc (pow_test): Add more tests and enable some
17088 previously disabled tests.
17089 * sysdeps/i386/fpu/libm-test-ulps: Update.
17090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17091
0817d63d
SP
170922012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17093 Carlos O'Donell <carlos_odonell@mentor.com>
17094
17095 * nss/makedb.c (is_prime): Assert that input is odd and greater
17096 than 4. Note that fact in a comment too.
17097 (next_prime): Add 4 to input.
17098
de2fd463
SP
170992012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17100
17101 [BZ #11741]
17102 * libio/Makefile (tests): Add test case tst-fwrite-error.
17103 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17104 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17105 * libio/tst-fwrite-error.c: New test case.
17106
c515fb51
L
171072012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17108
17109 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17110 before casting to void *.
17111 * include/libc-internal.h (__pointer_type): New macro.
17112 (__integer_if_pointer_type_sub): Likewise.
17113 (__integer_if_pointer_type): Likewise.
17114 (cast_to_integer): Likewise.
17115 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17116 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17117 before casting to atomic64_t.
17118 (atomic_exchange_acq): Likewise.
17119 (__arch_exchange_and_add_body): Likewise.
17120 (__arch_add_body): Likewise.
17121 (atomic_add_negative): Likewise.
17122 (atomic_add_zero): Likewise.
17123
4cf77aa9
JM
171242012-11-26 Joseph Myers <joseph@codesourcery.com>
17125
17126 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17127 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17128 (add_fdes): Likewise.
17129 (linear_search_fdes): Likewise.
17130 (binary_search_unencoded_fdes): Likewise.
17131
d260b3b4
AS
171322012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17133
17134 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17135
67060746
AC
171362012-11-24 Adam Conrad <adconrad@0c3.net>
17137
17138 * configure.in: Autodetect C++ header directories.
17139 * configure: Regenerated.
17140
800938a1
MF
171412012-11-23 Mike Frysinger <vapier@gentoo.org>
17142
17143 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17144
4e6e34e6
AS
171452012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17146
17147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17148
7c7feb47
JM
171492012-11-22 Joseph Myers <joseph@codesourcery.com>
17150
7184dcdf
JM
17151 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17152 LDBL_MANT_DIG == 106]: Disable some tests.
17153 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17154 Likewise.
17155 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17156 Likewise.
17157
0a42601f
JM
17158 [BZ #14871]
17159 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17160 input for small inputs. Return +/- pi/2 for large inputs.
17161 * math/libm-test.inc (atan_test): Add more tests.
17162
79c9b9fe
JM
17163 * sysdeps/generic/unwind-dw2-fde-glibc.c
17164 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17165 __attribute__ ((unused)).
17166
c60d3bf2
JM
17167 [BZ #14645]
17168 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17169 x * y if x and y are nonzero and z is zero.
17170
ef1e0867
JM
17171 [BZ #14811]
17172 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17173 nonzero exponents with absolute value below 0x1p-117 to +/-
17174 0x1p-117.
17175
1468ded3
JM
17176 [BZ #14869]
17177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17178 up arguments below 2**-450, not just those below 2**-500.
17179 * math/libm-test.inc (hypot_test): Add another test.
17180
8e27e3cc
JM
17181 [BZ #14868]
17182 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17183 Return a+b for ratio over 2**120, not 2**60.
17184 * math/libm-test.inc (hypot_test): Add another test.
17185
c9c0279b
JM
17186 * math/libm-test.inc (clog_test): Use
17187 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17188 (clog10_test): Likewise.
17189
7c7feb47
JM
17190 [BZ #6778]
17191 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17192
fff1530e
AS
171932012-11-22 Andreas Schwab <schwab@suse.de>
17194
17195 * sysdeps/i386/fpu/libm-test-ulps: Update.
17196
94558d30
PT
171972012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17198
17199 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17200 printf output with newline.
17201
7e1be741
L
172022012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17203
6bfea974
L
17204 [BZ #14865]
17205 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17206 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17207 -z nodlopen, -z initfirst and -z execstack support.
17208 * configure: Regenerated.
17209
7e1be741
L
17210 * elf/elf.h (DF_1_NODIRECT): New macro.
17211 (DF_1_IGNMULDEF): Likewise.
17212 (DF_1_NOKSYMS): Likewise.
17213 (DF_1_NOHDR): Likewise.
17214 (DF_1_EDITED): Likewise.
17215 (DF_1_NORELOC): Likewise.
17216 (DF_1_SYMINTPOSE): Likewise.
17217 (DF_1_GLOBAUDIT): Likewise.
17218 (DF_1_SINGLETON): Likewise.
17219 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17220 DT_1_SUPPORTED_MASK bits.
17221 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17222
105ce2ce
CD
172232012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17224
17225 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17226
123be9de
TS
172272012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17228
d072f3f7
TS
17229 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17230 macro.
17231
123be9de
TS
17232 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17233 (sendmmsg): Move declarations...
17234 * socket/sys/socket.h: ... here.
17235 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17236 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17237 include it from...
17238 * socket/recvmmsg.c: ... this new file.
17239 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17240 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17241 definition of __sendmmsg hidden.
17242 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17243 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17244 Move ENOSYS stub into and include it from...
17245 * socket/sendmmsg.c: ... this new file.
17246 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17247 (sysdep_routines): Move recvmmsg and sendmmsg...
17248 * socket/Makefile (routines): ... here.
17249 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17250 (GLIBC_PRIVATE): Add __sendmmsg.
17251 * include/sys/socket.h (__sendmmsg): Add declarations.
17252 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17253 sendmmsg.
17254
cf9a5d18
JM
172552012-11-20 Joseph Myers <joseph@codesourcery.com>
17256
17257 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17258 variable I1 with __attribute__ ((unused)).
17259 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17260
ecd4caf9
JM
172612012-11-19 Joseph Myers <joseph@codesourcery.com>
17262
be14d48f
JM
17263 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17264 DUMMY variables with __attribute__ ((unused)).
17265
ecd4caf9
JM
17266 * bits/byteswap.h: Include <bits/types.h>.
17267 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17268
986cab95
PT
172692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17270
17271 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17272 string_t. Do not manually set errno.
17273 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17274 length with __strnlen. Make sure to both set errno and return it on
17275 failure.
17276
6d33cc9d
DM
172772012-11-19 David S. Miller <davem@davemloft.net>
17278
17279 With help from Joseph Myers.
17280 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17281 very large arguments properly.
17282 * math/libm-test.inc (atan_test): New tests.
17283 (atan2_test): New tests.
17284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17286
ee663277
JM
172872012-11-19 Joseph Myers <joseph@codesourcery.com>
17288
877f2d8e
JM
17289 [BZ #14856]
17290 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17291 Define to 3.
17292
116fc08a
JM
17293 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17294 [POSIX] (EADDRNOTAVAIL): Likewise.
17295 [POSIX] (EAFNOSUPPORT): Likewise.
17296 [POSIX] (EALREADY): Likewise.
17297 [POSIX] (ECONNABORTED): Likewise.
17298 [POSIX] (ECONNREFUSED): Likewise.
17299 [POSIX] (ECONNRESET): Likewise.
17300 [POSIX] (EDESTADDRREQ): Likewise.
17301 [POSIX] (EDQUOT): Likewise.
17302 [POSIX] (EHOSTUNREACH): Likewise.
17303 [POSIX] (EIDRM): Likewise.
17304 [POSIX] (EISCONN): Likewise.
17305 [POSIX] (ELOOP): Likewise.
17306 [POSIX] (EMULTIHOP): Likewise.
17307 [POSIX] (ENETDOWN): Likewise.
17308 [POSIX] (ENETUNREACH): Likewise.
17309 [POSIX] (ENOBUFS): Likewise.
17310 [POSIX] (ENODATA): Likewise.
17311 [POSIX] (ENOLINK): Likewise.
17312 [POSIX] (ENOMSG): Likewise.
17313 [POSIX] (ENOPROTOOPT): Likewise.
17314 [POSIX] (ENOSR): Likewise.
17315 [POSIX] (ENOSTR): Likewise.
17316 [POSIX] (ENOTCONN): Likewise.
17317 [POSIX] (ENOTSOCK): Likewise.
17318 [POSIX] (EOPNOTSUPP): Likewise.
17319 [POSIX] (EOVERFLOW): Likewise.
17320 [POSIX] (EPROTO): Likewise.
17321 [POSIX] (EPROTONOSUPPORT): Likewise.
17322 [POSIX] (EPROTOTYPE): Likewise.
17323 [POSIX] (ESTALE): Likewise.
17324 [POSIX] (ETIME): Likewise.
17325 [POSIX] (ETXTBSY): Likewise.
17326 [POSIX] (EWOULDBLOCK): Likewise.
17327 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17328 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17329 [POSIX] (SEEK_CUR): Likewise.
17330 [POSIX] (SEEK_END): Likewise.
17331 [POSIX || UNIX98] (mode_t): Do not require.
17332 [POSIX] (off_t): Likewise.
17333 [POSIX] (pid_t): Likewise.
17334 [POSIX] (sys/stat.h): Do not allow header.
17335 [POSIX] (unistd.h): Likewise.
17336 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17337 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17338 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17339 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17340 require.
17341 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17342 sigevent): Specify elements.
17343 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17344 entry.
17345 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17346 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17347
a483863f
JM
17348 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17349 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17350 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17351 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17352 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17353 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17354 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17355 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17356 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17357 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17358 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17359 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17360 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17361 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17362 Likewise.
17363 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17364 Likewise.
17365 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17366 Likewise.
17367 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17368 Likewise.
17369 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17370 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17371 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17372 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17373 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17374 Specify lower bound on value.
17375 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17376 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17377 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17378 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17379 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17380 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17381 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17382 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17383 value.
17384 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17385 as optional.
17386 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17387 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17388 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17389 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17390 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17391 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17392 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17393 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17394 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17395 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17396 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17397 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17398 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17399 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17400 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17401 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17402 entry.
17403 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17404 optional.
17405 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17406 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17407 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17408 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17409 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17410 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17411 Likewise.
17412 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17413 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17414 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17415 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17416 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17417 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17418 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17419 as optional.
17420 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17422 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17423 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17424 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17425 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17426 specify as optional.
17427 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17428 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17429 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17430 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17431 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17432 [XPG3] (NL_LANGMAX): Likewise.
17433 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17434 [POSIX || XPG3] (NL_NMAX): Likewise.
17435 [POSIX || XPG3] (NL_SETMAX): Likewise.
17436 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17437 [XPG3] (NZERO): Likewise.
17438 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17439 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17440 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17441 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17442 (REG_ERANGE): Expect.
17443 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17444 optional-constant.
17445 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17446 Use (void) in prototype.
17447 [POSIX] (*_t): Allow.
17448 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17449 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17450 (WRDE_BADVAL): Expect.
17451
5ba924e3
JM
17452 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17453 expect.
17454 [XPG3 || XPG4] (O_RSYNC): Likewise.
17455 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17456 Likewise.
17457 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17458 [XPG3 || XPG4] (sigqueue): Likewise.
17459 [XPG3 || XPG4] (sigtimedwait): Likewise.
17460 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17461 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17462 [XPG3 || XPG4] (vsnprintf): Likewise.
17463 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17464 Likewise.
17465 [XPG3 || XPG4] (blksize_t): Likewise.
17466 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17467 Likewise.
17468 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17469 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17470 [XPG3 || XPG4] (struct itimerspec): Likewise.
17471 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17472 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17473 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17474 [XPG3 || XPG4] (clockid_t): Likewise.
17475 [XPG3 || XPG4] (timer_t): Likewise.
17476 [XPG3 || XPG4] (clock_getres): Likewise.
17477 [XPG3 || XPG4] (clock_gettime): Likewise.
17478 [XPG3 || XPG4] (clock_settime): Likewise.
17479 [XPG3 || XPG4] (nanosleep): Likewise.
17480 [XPG3 || XPG4] (timer_create): Likewise.
17481 [XPG3 || XPG4] (timer_delete): Likewise.
17482 [XPG3 || XPG4] (timer_gettime): Likewise.
17483 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17484 [XPG3 || XPG4] (timer_settime): Likewise.
17485 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17486 [XPG3 || XPG4] (getlogin_r): Likewise.
17487 [XPG3 || XPG4] (pread): Likewise.
17488 [XPG3 || XPG4] (pthread_atfork): Likewise.
17489 [XPG3 || XPG4] (pwrite): Likewise.
17490
ee663277
JM
17491 [BZ #14835]
17492 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17493 <bits/siginfo.h>.
17494
942caa16
PT
174952012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17496
e19af380
PT
17497 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17498 finalizing MALLSTREAM.
17499
942caa16
PT
17500 * sysdeps/mach/hurd/syncfs.c: New file.
17501
cfde9b46
SP
175022012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17503
17504 [BZ #14719]
17505 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17506 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17507 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17508 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17509 (_nss_dns_gethostbyname4_r): Likewise.
17510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17511 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17512
f6da27e5
PH
175132012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17514
17515 [BZ #13763]
17516 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17517
6665d4a2
SM
175182012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17519
1f51ee92
SM
17520 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17521 * elf/cache.c (print_entry): Print ",AArch64" for
17522 FLAG_AARCH64_LIB64
17523
6665d4a2
SM
17524 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17525 * elf/cache.c (print_entry): Print ",hard-float" for
17526 FLAG_ARM_LIBHF.
17527
05b227bd
DM
175282012-11-18 David S. Miller <davem@davemloft.net>
17529
17530 With help from Joseph Myers.
17531 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17532 cutoff to 2**-13.
17533 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17534 cutoff to 2**-25.
17535 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17536 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17537 small.
17538 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17539 * math/libm-test.inc (y0_test): New tests.
17540 (y1_test): New tests.
17541 * sysdeps/i386/fpu/libm-test-ulps: Update.
17542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17544
786b0b67
AS
175452012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17546
17547 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17548 64-bit targets.
17549 * configure: Regenerated.
17550
8e18b86d
DM
175512012-11-17 David S. Miller <davem@davemloft.net>
17552
17553 [BZ #14811]
17554 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17555 nonzero exponents with absolute value below 0x1p-128 to +/-
17556 0x1p-128.
17557
531f1ae0
JM
175582012-11-17 Joseph Myers <joseph@codesourcery.com>
17559
12df29e2
JM
17560 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17561
150dc1a0
JM
17562 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17563
531f1ae0
JM
17564 * posix/getconf-speclist.c: New file.
17565 * posix/posix-envs.def: Likewise.
17566 * posix/confstr.c (START_ENV_GROUP): New macro.
17567 (END_ENV_GROUP): Likewise.
17568 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17569 (KNOWN_PRESENT_ENV_STRING): Likewise.
17570 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17571 (UNKNOWN_ENVIRONMENT): Likewise.
17572 (confstr): Include posix-envs.def instead of handling
17573 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17574 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17575 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17576 (END_ENV_GROUP): Likewise.
17577 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17578 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17579 (UNKNOWN_ENVIRONMENT): Likewise.
17580 (__sysconf): Include posix-envs.def instead of handling associated
17581 cases directly here.
17582 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17583 preprocessing getconf-speclist.c rather than running getconf or
17584 generating empty file.
17585
a93f9cbc
PT
175862012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17587
17588 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17589
d64d9f87
AL
175902012-11-16 Andrej Lajovic <natrij@gmail.com>
17591
17592 [BZ #14672]
17593 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17594
447885eb
DM
175952012-11-16 David S. Miller <davem@davemloft.net>
17596
17597 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17598 smaller than LDBL_EPSILON/2.0L, just return xm1.
17599
bcbf9830
L
176002012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17601
17602 * elf/tst-array1.c (init): Set constructor priority to 1000.
17603 (fini): Set destructor priority to 1000.
17604 * elf/tst-array2dep.c: Likewise.
17605
2b766585
SP
176062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17607
17608 [BZ #11741]
17609 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17610 (_IO_new_file_xsputn): Also return EOF if none of the input
17611 data was written when overflow failed.
17612 * libio/iopadn.c (_IO_padn): Likewise.
17613 * libio/iowpadn.c (_IO_wpadn): Likewise.
17614 * stdio-common/tst-put-error.c: Add copyright notice.
17615 (do_test): Add case for printing padded string.
17616 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17617 _IO_padn returned error.
17618 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17619 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17620 return EOF.
17621
b1848fde
SP
176222012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17623
17624 * libio/libioP.h: Add comment note that the references to C++
17625 bits are now obsolete.
17626
2fd89785
MS
176272012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17628
17629 * math/libm-test.inc (check_complex): Use asprintf.
17630
e3ea5409
JM
176312012-11-14 Joseph Myers <joseph@codesourcery.com>
17632
17633 * debug/pcprofiledump.c (print_version): Update copyright year.
17634 * malloc/memusagestat.c (print_version): Likewise.
17635
2e64d265
L
176362012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17637
17638 [BZ #14831]
17639 * elf/Makefile (tests): Add tst-audit8.
17640 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17641 ($(objpfx)tst-audit8.out): New target.
17642 (tst-audit8-ENV): New variable.
17643 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17644 audit if l_reloc_result is NULL.
17645 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17646 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17647 * elf/tst-audit8.c: New file.
17648
c485e4d2
MS
176492012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17650
17651 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17652 * misc/Makefile (CFLAGS-select.c): Define.
17653 * posix/Makefile (CFLAGS-pause.c): Define.
17654
3a0d900a
DM
176552012-11-13 David S. Miller <davem@davemloft.net>
17656
17657 * crypt/Makefile: Move test targets after toplevel Rules
17658 inclusion. Grab any necessary sysdep routines when linking.
17659 * crypt/md5.c (md5_process_block): Remove define, we will always
17660 name it __md5_process_block.
17661 (md5_finish_ctx): Update md5_process_block call.
17662 (md5_stream): Likewise.
17663 (md5_process_bytes): Likewise.
17664 (md5_process_block): Rename to __md5_process_block and move to ...
17665 * crypt/md5-block.c: ... here.
17666 * crypt/sha256.c (sha256_process_block): Move to ...
17667 * crypt/sha256-block.c: ... here.
17668 * crypt/sha512.c (sha512_process_block): Move to ...
17669 * crypt/sha512-block.c: ... here.
17670 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17671 path.
17672 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17673 * sysdeps/sparc/sparc64/multiarch/Makefile
17674 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17675 crypt subdir.
17676 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17677 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17678 multiarch changes.
17679 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17680 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17681 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17682 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17683 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17684 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17685 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17686 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17687 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17688 file.
17689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17690 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17691 file.
17692 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17693
8ca89318
JM
176942012-11-13 Joseph Myers <joseph@codesourcery.com>
17695
e27d476a
JM
17696 * timezone/tzselect.ksh: Update from tzcode git revision
17697 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17698 * timezone/zdump.c: Likewise.
17699 * timezone/zic.c: Likewise.
17700 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17701 in TZVERSION setting, not $(PKGVERSION).
17702 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17703 REPORT_BUGS_TO settings.
17704
8ca89318
JM
17705 [BZ #14838]
17706 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17707 macro.
17708
47594329
MS
177092012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17710
17711 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17712 detection to immediately after _FP_ROUND().
17713 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17714 bits are 0.
17715
640ac3f1
DM
177162012-11-11 David S. Miller <davem@davemloft.net>
17717
17718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17719 inttypes.h
17720 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17721 __close rather than their public counterparts.
17722
3d2577bb
JM
177232012-11-10 Joseph Myers <joseph@codesourcery.com>
17724
17725 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17726 file.
17727 [UNIX98] (sem_timedwait): Do not expect.
17728 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17729 [XPG4 || UNIX98] (sockatmark): Do not expect.
17730 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17731 (clock_getcpuclockid): Do not expect.
17732 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17733 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17734 Do not expect.
17735 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17736 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17737 [UNIX98] (vwscanf): Likewise.
17738 [UNIX98] (vswscanf): Likewise.
17739
fb1ae1ee
JM
177402012-11-09 Joseph Myers <joseph@codesourcery.com>
17741
9ec6f8bd
JM
17742 * timezone/version.h: Remove file.
17743 * timezone/README: Do not refer to version.h.
17744 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17745 $(objpfx)version.h.
17746 ($(objpfx)zdump.o): Likewise.
c3f81911 17747 ($(objpfx)version.h): New target.
9ec6f8bd 17748
0aa8f8a1
JM
17749 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17750 2012i.
17751 * timezone/README: Don't mention modification to tzselect.ksh.
17752 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17753 work on unmodified tzselect.ksh. Substitute version numbers in
17754 tzselect.ksh.
17755
4e87147f
JM
17756 * Makefile (format-me): Remove.
17757 (INSTALL): Adjust indentation. Use commands directly instead of
17758 using $(format-me).
17759
8b748aed
JM
17760 * aclocal.m4 (ACX_PKGVERSION): New macro.
17761 (ACX_BUGURL): Likewise.
17762 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17763 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17764 (REPORT_BUGS_TO): Likewise.
17765 * configure: Regenerated.
17766 * config.h.in (PKGVERSION): New macro.
17767 (REPORT_BUGS_TO): Likewise.
17768 * config.make.in (PKGVERSION): New variable.
17769 (PKGVERSION_TEXI): Likewise.
17770 (REPORT_BUGS_TO): Likewise.
17771 (REPORT_BUGS_TEXI): Likewise.
17772 * Makefile (format-me): Use -I$(common-objpfx)manual.
17773 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17774 ($(common-objpfx)manual/%): New target.
17775 (manual/%): Remove target.
17776 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17777 (print_version): Use PKGVERSION.
17778 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17779 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17780 and REPORT_BUGS_TO.
17781 ($(objpfx)xtrace): Likewise.
17782 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17783 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17784 (print_version): Use PKGVERSION.
17785 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17786 (do_version): Use PKGVERSION.
17787 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17788 REPORT_BUGS_TO.
17789 (common-ldd-rewrite): Likewise.
17790 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17791 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17792 (print_version): Use PKGVERSION.
17793 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17794 * elf/pldd.c (argp_program_bug_address): Remove variable.
17795 (more_help): New function.
17796 (argp): Use more_help.
17797 (print_version): Use PKGVERSION.
17798 * elf/sln.c (main): Use PKGVERSION.
17799 (usage): Use REPORT_BUGS_TO.
17800 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17801 (top level): Use PKGVERSION.
17802 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17803 (print_version): Use PKGVERSION.
17804 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17805 (print_version): Use PKGVERSION.
17806 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17807 (print_version): Use PKGVERSION.
17808 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17809 (print_version): Use PKGVERSION.
17810 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17811 (print_version): Use PKGVERSION.
17812 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17813 (print_version): Use PKGVERSION.
17814 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17815 and BUGURL.
17816 ($(objpfx)memusage): Likewise.
17817 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17818 (do_version): Use PKGVERSION.
17819 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17820 (print_version): Use PKGVERSION.
17821 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17822 ($PKGVERSION): New variable.
17823 ($REPORT_BUGS_TO): Likewise.
17824 (usage): Use $REPORT_BUGS_TO.
17825 (top level): Use $PKGVERSION.
17826 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17827 ($(objpfx)pkgvers.texi): New rule.
17828 ($(objpfx)stamp-pkgvers): Likewise.
17829 * manual/install.texi: Include pkgvers.texi.
17830 (--with-pkgversion): Document new configure option.
17831 (--with-bugurl): Likewise.
17832 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17833 than necessarily for this particular distribution. Use
17834 REPORT_BUGS_TO for where to report bugs.
17835 * INSTALL: Regenerated.
17836 * manual/libc.texinfo: Include pkgvers.texi.
17837 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17838 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17839 (print_version): Use PKGVERSION.
17840 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17841 (print_version): Use PKGVERSION.
17842 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17843 (print_version): Use PKGVERSION.
17844 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17845 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17846 macro.
17847 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17848 (print_version): Use PKGVERSION.
17849 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17850 (print_version): Use PKGVERSION.
17851 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17852 and PKGVERSION.
17853
92e4b6a9
JM
17854 * timezone/checktab.awk: Update from tzcode 2012i.
17855 * timezone/ialloc.c: Likewise.
17856 * timezone/private.h: Likewise.
17857 * timezone/scheck.c: Likewise.
17858 * timezone/tzfile.h: Likewise.
17859 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17860 (TZVERSION): Hardcode tzcode version number.
17861 * timezone/zdump.c: Update from tzcode 2012i.
17862 * timezone/zic.c: Likewise.
17863 * timezone/version.h: New file.
17864 * timezone/README: Describe version.h. Update upstream location.
17865
9bde902c
JM
17866 [BZ #14824]
17867 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17868 (mktemp): Enable declaration.
17869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17873 Likewise.
17874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17875 Likewise.
17876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17877 Likewise.
17878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17879 Likewise.
17880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17881 Likewise.
17882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17883 Likewise.
17884
fb1ae1ee
JM
17885 [BZ #14821]
17886 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17887 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17888 for copies of such integer values.
17889 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17890 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17891
2c1adbcb
AJ
178922012-11-09 Andreas Jaeger <aj@suse.de>
17893
17894 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17895 definitions and declarations that are provided by
17896 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17897
d0f8457e
AK
178982012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17899
3a235abb 17900 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
17901 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17902 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17903 definition.
17904
57241e26
MS
179052012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17906
17907 * elf/elf.h: Update comment before AArch64 relocations.
17908
60e8270d
DM
179092012-11-07 David S. Miller <davem@davemloft.net>
17910
17911 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17912 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17913 (__start_context): Declare.
17914 (__makecontext_ret): Delete.
17915 (__makecontext): Hook up __start_context instead of
17916 __makecontext_ret.
17917 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17918 (sysdep_routines): Add __start_context when in stdlib.
17919
0fbb0fbc
JM
179202012-11-07 Joseph Myers <joseph@codesourcery.com>
17921
17922 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17923 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17924 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17925 hardcoded "nm".
17926 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17927 (READELF): New variable. Use it instead of hardcoded "readelf".
17928
eb48db7e
L
179292012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17930
17931 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17932 * sysdeps/x86/Makefile: Here.
17933 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17934 * sysdeps/x86/tst-xmmymm.sh: This.
17935
05bcf62a
JM
179362012-11-07 Joseph Myers <joseph@codesourcery.com>
17937
c4b6cf53
JM
17938 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17939 expectations.
17940 [UNIX98] (pthread_barrier_t): Do not expect.
17941 [UNIX98] (pthread_barrierattr_t): Likewise.
17942 [UNIX98] (pthread_spinlock_t): Likewise.
17943 [UNIX98] (pthread_barrier_destroy): Likewise.
17944 [UNIX98] (pthread_barrier_init): Likewise.
17945 [UNIX98] (pthread_barrier_wait): Likewise.
17946 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17947 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17948 [UNIX98] (pthread_barrierattr_init): Likewise.
17949 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17950 [UNIX98] (pthread_getcpuclockid): Likewise.
17951 [UNIX98] (pthread_mutex_timedlock): Likewise.
17952 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17953 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17954 [UNIX98] (pthread_sigmask): Likewise.
17955 [UNIX98] (pthread_spin_destroy): Likewise.
17956 [UNIX98] (pthread_spin_init): Likewise.
17957 [UNIX98] (pthread_spin_lock): Likewise.
17958 [UNIX98] (pthread_spin_trylock): Likewise.
17959 [UNIX98] (pthread_spin_unlock): Likewise.
17960 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17961 Do not expect.
17962 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17963 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17964 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17965 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17966 [XPG3 || XPG4] (pthread_key_t): Likewise.
17967 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17968 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17969 [XPG3 || XPG4] (pthread_once_t): Likewise.
17970 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17971 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17972 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17973 [XPG3 || XPG4] (pthread_t): Likewise.
17974
cbe6e120
JM
17975 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17976 not expect.
17977 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17978
1b126443
JM
17979 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17980 Change function return type to int.
17981
b961a573
JM
17982 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17983 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17984 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17985 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17986 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17987 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17988 [!POSIX] (posix_madvise): Likewise.
17989 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17990 && !UNIX98].
17991 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17992 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17993 (mode_t): Likewise.
17994 (posix_mem_offset): Likewise.
17995 (posix_typed_mem_get_info): Likewise.
17996 (posix_typed_mem_open): Likewise.
17997
9e188909
JM
17998 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17999 Change condition to [XOPEN2K8].
18000
05bcf62a
JM
18001 * conform/conformtest.pl: Preprocess allow-header data with -x c
18002 instead of from stdin.
18003 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18004 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18005 [C99-based standards] (cerfc): Likewise.
18006 [C99-based standards] (cexp2): Likewise.
18007 [C99-based standards] (cexpm1): Likewise.
18008 [C99-based standards] (clog10): Likewise.
18009 [C99-based standards] (clog1p): Likewise.
18010 [C99-based standards] (clog2): Likewise.
18011 [C99-based standards] (clgamma): Likewise.
18012 [C99-based standards] (ctgamma): Likewise.
18013 [C99-based standards] (cerff): Likewise.
18014 [C99-based standards] (cerfcf): Likewise.
18015 [C99-based standards] (cexp2f): Likewise.
18016 [C99-based standards] (cexpm1f): Likewise.
18017 [C99-based standards] (clog10f): Likewise.
18018 [C99-based standards] (clog1pf): Likewise.
18019 [C99-based standards] (clog2f): Likewise.
18020 [C99-based standards] (clgammaf): Likewise.
18021 [C99-based standards] (ctgammaf): Likewise.
18022 [C99-based standards] (cerfl): Likewise.
18023 [C99-based standards] (cerfcl): Likewise.
18024 [C99-based standards] (cexp2l): Likewise.
18025 [C99-based standards] (cexpm1l): Likewise.
18026 [C99-based standards] (clog10l): Likewise.
18027 [C99-based standards] (clog1pl): Likewise.
18028 [C99-based standards] (clog2l): Likewise.
18029 [C99-based standards] (clgammal): Likewise.
18030 [C99-based standards] (ctgammal): Likewise.
18031 * conform/data/inttypes.h-data [C99-based standards]: Include
18032 stdint.h-data. Remove all expectations for stdint.h contents.
18033 [C99-based standards] (PRI*): Do not allow.
18034 [C99-based standards] (SCN*): Likewise.
18035 [C99-based standards] (*_t): Likewise.
18036 [C99-based-standards] (PRId8): Expect macro.
18037 [C99-based-standards] (PRIi8): Likewise.
18038 [C99-based-standards] (PRIo8): Likewise.
18039 [C99-based-standards] (PRIu8): Likewise.
18040 [C99-based-standards] (PRIx8): Likewise.
18041 [C99-based-standards] (PRIX8): Likewise.
18042 [C99-based-standards] (SCNd8): Likewise.
18043 [C99-based-standards] (SCNi8): Likewise.
18044 [C99-based-standards] (SCNo8): Likewise.
18045 [C99-based-standards] (SCNu8): Likewise.
18046 [C99-based-standards] (SCNx8): Likewise.
18047 [C99-based-standards] (PRIdLEAST8): Likewise.
18048 [C99-based-standards] (PRIiLEAST8): Likewise.
18049 [C99-based-standards] (PRIoLEAST8): Likewise.
18050 [C99-based-standards] (PRIuLEAST8): Likewise.
18051 [C99-based-standards] (PRIxLEAST8): Likewise.
18052 [C99-based-standards] (PRIXLEAST8): Likewise.
18053 [C99-based-standards] (SCNdLEAST8): Likewise.
18054 [C99-based-standards] (SCNiLEAST8): Likewise.
18055 [C99-based-standards] (SCNoLEAST8): Likewise.
18056 [C99-based-standards] (SCNuLEAST8): Likewise.
18057 [C99-based-standards] (SCNxLEAST8): Likewise.
18058 [C99-based-standards] (PRIdFAST8): Likewise.
18059 [C99-based-standards] (PRIiFAST8): Likewise.
18060 [C99-based-standards] (PRIoFAST8): Likewise.
18061 [C99-based-standards] (PRIuFAST8): Likewise.
18062 [C99-based-standards] (PRIxFAST8): Likewise.
18063 [C99-based-standards] (PRIXFAST8): Likewise.
18064 [C99-based-standards] (SCNdFAST8): Likewise.
18065 [C99-based-standards] (SCNiFAST8): Likewise.
18066 [C99-based-standards] (SCNoFAST8): Likewise.
18067 [C99-based-standards] (SCNuFAST8): Likewise.
18068 [C99-based-standards] (SCNxFAST8): Likewise.
18069 [C99-based-standards] (PRId16): Likewise.
18070 [C99-based-standards] (PRIi16): Likewise.
18071 [C99-based-standards] (PRIo16): Likewise.
18072 [C99-based-standards] (PRIu16): Likewise.
18073 [C99-based-standards] (PRIx16): Likewise.
18074 [C99-based-standards] (PRIX16): Likewise.
18075 [C99-based-standards] (SCNd16): Likewise.
18076 [C99-based-standards] (SCNi16): Likewise.
18077 [C99-based-standards] (SCNo16): Likewise.
18078 [C99-based-standards] (SCNu16): Likewise.
18079 [C99-based-standards] (SCNx16): Likewise.
18080 [C99-based-standards] (PRIdLEAST16): Likewise.
18081 [C99-based-standards] (PRIiLEAST16): Likewise.
18082 [C99-based-standards] (PRIoLEAST16): Likewise.
18083 [C99-based-standards] (PRIuLEAST16): Likewise.
18084 [C99-based-standards] (PRIxLEAST16): Likewise.
18085 [C99-based-standards] (PRIXLEAST16): Likewise.
18086 [C99-based-standards] (SCNdLEAST16): Likewise.
18087 [C99-based-standards] (SCNiLEAST16): Likewise.
18088 [C99-based-standards] (SCNoLEAST16): Likewise.
18089 [C99-based-standards] (SCNuLEAST16): Likewise.
18090 [C99-based-standards] (SCNxLEAST16): Likewise.
18091 [C99-based-standards] (PRIdFAST16): Likewise.
18092 [C99-based-standards] (PRIiFAST16): Likewise.
18093 [C99-based-standards] (PRIoFAST16): Likewise.
18094 [C99-based-standards] (PRIuFAST16): Likewise.
18095 [C99-based-standards] (PRIxFAST16): Likewise.
18096 [C99-based-standards] (PRIXFAST16): Likewise.
18097 [C99-based-standards] (SCNdFAST16): Likewise.
18098 [C99-based-standards] (SCNiFAST16): Likewise.
18099 [C99-based-standards] (SCNoFAST16): Likewise.
18100 [C99-based-standards] (SCNuFAST16): Likewise.
18101 [C99-based-standards] (SCNxFAST16): Likewise.
18102 [C99-based-standards] (PRId32): Likewise.
18103 [C99-based-standards] (PRIi32): Likewise.
18104 [C99-based-standards] (PRIo32): Likewise.
18105 [C99-based-standards] (PRIu32): Likewise.
18106 [C99-based-standards] (PRIx32): Likewise.
18107 [C99-based-standards] (PRIX32): Likewise.
18108 [C99-based-standards] (SCNd32): Likewise.
18109 [C99-based-standards] (SCNi32): Likewise.
18110 [C99-based-standards] (SCNo32): Likewise.
18111 [C99-based-standards] (SCNu32): Likewise.
18112 [C99-based-standards] (SCNx32): Likewise.
18113 [C99-based-standards] (PRIdLEAST32): Likewise.
18114 [C99-based-standards] (PRIiLEAST32): Likewise.
18115 [C99-based-standards] (PRIoLEAST32): Likewise.
18116 [C99-based-standards] (PRIuLEAST32): Likewise.
18117 [C99-based-standards] (PRIxLEAST32): Likewise.
18118 [C99-based-standards] (PRIXLEAST32): Likewise.
18119 [C99-based-standards] (SCNdLEAST32): Likewise.
18120 [C99-based-standards] (SCNiLEAST32): Likewise.
18121 [C99-based-standards] (SCNoLEAST32): Likewise.
18122 [C99-based-standards] (SCNuLEAST32): Likewise.
18123 [C99-based-standards] (SCNxLEAST32): Likewise.
18124 [C99-based-standards] (PRIdFAST32): Likewise.
18125 [C99-based-standards] (PRIiFAST32): Likewise.
18126 [C99-based-standards] (PRIoFAST32): Likewise.
18127 [C99-based-standards] (PRIuFAST32): Likewise.
18128 [C99-based-standards] (PRIxFAST32): Likewise.
18129 [C99-based-standards] (PRIXFAST32): Likewise.
18130 [C99-based-standards] (SCNdFAST32): Likewise.
18131 [C99-based-standards] (SCNiFAST32): Likewise.
18132 [C99-based-standards] (SCNoFAST32): Likewise.
18133 [C99-based-standards] (SCNuFAST32): Likewise.
18134 [C99-based-standards] (SCNxFAST32): Likewise.
18135 [C99-based-standards] (PRId64): Likewise.
18136 [C99-based-standards] (PRIi64): Likewise.
18137 [C99-based-standards] (PRIo64): Likewise.
18138 [C99-based-standards] (PRIu64): Likewise.
18139 [C99-based-standards] (PRIx64): Likewise.
18140 [C99-based-standards] (PRIX64): Likewise.
18141 [C99-based-standards] (SCNd64): Likewise.
18142 [C99-based-standards] (SCNi64): Likewise.
18143 [C99-based-standards] (SCNo64): Likewise.
18144 [C99-based-standards] (SCNu64): Likewise.
18145 [C99-based-standards] (SCNx64): Likewise.
18146 [C99-based-standards] (PRIdLEAST64): Likewise.
18147 [C99-based-standards] (PRIiLEAST64): Likewise.
18148 [C99-based-standards] (PRIoLEAST64): Likewise.
18149 [C99-based-standards] (PRIuLEAST64): Likewise.
18150 [C99-based-standards] (PRIxLEAST64): Likewise.
18151 [C99-based-standards] (PRIXLEAST64): Likewise.
18152 [C99-based-standards] (SCNdLEAST64): Likewise.
18153 [C99-based-standards] (SCNiLEAST64): Likewise.
18154 [C99-based-standards] (SCNoLEAST64): Likewise.
18155 [C99-based-standards] (SCNuLEAST64): Likewise.
18156 [C99-based-standards] (SCNxLEAST64): Likewise.
18157 [C99-based-standards] (PRIdFAST64): Likewise.
18158 [C99-based-standards] (PRIiFAST64): Likewise.
18159 [C99-based-standards] (PRIoFAST64): Likewise.
18160 [C99-based-standards] (PRIuFAST64): Likewise.
18161 [C99-based-standards] (PRIxFAST64): Likewise.
18162 [C99-based-standards] (PRIXFAST64): Likewise.
18163 [C99-based-standards] (SCNdFAST64): Likewise.
18164 [C99-based-standards] (SCNiFAST64): Likewise.
18165 [C99-based-standards] (SCNoFAST64): Likewise.
18166 [C99-based-standards] (SCNuFAST64): Likewise.
18167 [C99-based-standards] (SCNxFAST64): Likewise.
18168 [C99-based-standards] (PRIdMAX): Likewise.
18169 [C99-based-standards] (PRIiMAX): Likewise.
18170 [C99-based-standards] (PRIoMAX): Likewise.
18171 [C99-based-standards] (PRIuMAX): Likewise.
18172 [C99-based-standards] (PRIxMAX): Likewise.
18173 [C99-based-standards] (PRIXMAX): Likewise.
18174 [C99-based-standards] (SCNdMAX): Likewise.
18175 [C99-based-standards] (SCNiMAX): Likewise.
18176 [C99-based-standards] (SCNoMAX): Likewise.
18177 [C99-based-standards] (SCNuMAX): Likewise.
18178 [C99-based-standards] (SCNxMAX): Likewise.
18179 [C99-based-standards] (PRIdPTR): Likewise.
18180 [C99-based-standards] (PRIiPTR): Likewise.
18181 [C99-based-standards] (PRIoPTR): Likewise.
18182 [C99-based-standards] (PRIuPTR): Likewise.
18183 [C99-based-standards] (PRIxPTR): Likewise.
18184 [C99-based-standards] (PRIXPTR): Likewise.
18185 [C99-based-standards] (SCNdPTR): Likewise.
18186 [C99-based-standards] (SCNiPTR): Likewise.
18187 [C99-based-standards] (SCNoPTR): Likewise.
18188 [C99-based-standards] (SCNuPTR): Likewise.
18189 [C99-based-standards] (SCNxPTR): Likewise.
18190 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18191 allow.
18192 * conform/data/stdint.h-data: Update comments to clarify
18193 requirements.
18194 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18195 type.
18196 [C99-based standards] (INT8_MAX): Likewise.
18197 [C99-based standards] (INT16_MIN): Likewise.
18198 [C99-based standards] (INT16_MAX): Likewise.
18199 [C99-based standards] (INT32_MIN): Likewise.
18200 [C99-based standards] (INT32_MAX): Likewise.
18201 [C99-based standards] (INT64_MIN): Likewise.
18202 [C99-based standards] (INT64_MAX): Likewise.
18203 [C99-based standards] (UINT8_MAX): Likewise.
18204 [C99-based standards] (UINT16_MAX): Likewise.
18205 [C99-based standards] (UINT32_MAX): Likewise.
18206 [C99-based standards] (UINT64_MAX): Likewise.
18207 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18208 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18209 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18210 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18211 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18212 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18213 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18214 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18215 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18216 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18217 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18218 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18219 [C99-based standards] (INT_FAST8_MIN): Likewise.
18220 [C99-based standards] (INT_FAST8_MAX): Likewise.
18221 [C99-based standards] (INT_FAST16_MIN): Likewise.
18222 [C99-based standards] (INT_FAST16_MAX): Likewise.
18223 [C99-based standards] (INT_FAST32_MIN): Likewise.
18224 [C99-based standards] (INT_FAST32_MAX): Likewise.
18225 [C99-based standards] (INT_FAST64_MIN): Likewise.
18226 [C99-based standards] (INT_FAST64_MAX): Likewise.
18227 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18228 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18229 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18230 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18231 [C99-based standards] (INTPTR_MIN): Likewise.
18232 [C99-based standards] (INTPTR_MAX): Likewise.
18233 [C99-based standards] (UINTPTR_MAX): Likewise.
18234 [C99-based standards] (INTMAX_MIN): Likewise.
18235 [C99-based standards] (INTMAX_MAX): Likewise.
18236 [C99-based standards] (UINTMAX_MAX): Likewise.
18237 [C99-based standards] (PTRDIFF_MIN): Likewise.
18238 [C99-based standards] (PTRDIFF_MAX): Likewise.
18239 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18240 [C99-based standards] (SIZE_MAX): Likewise.
18241 [C99-based standards] (WCHAR_MAX): Likewise.
18242 [C99-based standards] (WINT_MAX): Likewise.
18243 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18244 constraint on value.
18245 [C99-based standards] (WCHAR_MIN): Likewise.
18246 [C99-based standards] (WINT_MIN): Likewise.
18247 [C99-based standards] (*_t): Allow.
18248 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18249 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18250 Include math.h-data and complex.h-data. Remove all expectations
18251 of math.h and complex.h contents.
18252 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18253 at end of line.
18254 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18255 (struct tm): Expect tag.
18256 [C99-based-standards] (wcstof): Expect function.
18257 [C99-based-standards] (wcstold): Likewise.
18258 [C99-based-standards] (wcstoll): Likewise.
18259 [C99-based-standards] (wcstoull): Likewise.
18260 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18261 macro-int-constant. Specify type.
18262 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18263 constraint on value.
18264 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18265 Specify type.
18266 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18267 Specify value.
18268 [ISO C standards]: Do not allow headers.
18269 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18270 wcs[abcdefghijklmnopqrstuvwxyz]*.
18271 [ISO C standards] (*_t): Do not allow.
18272 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18273 Expect function.
18274 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18275 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18276 Specify type.
18277 [ISO C standards]: Do not allow headers.
18278 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18279 is[abcdefghijklmnopqrstuvwxyz]*.
18280 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18281 to[abcdefghijklmnopqrstuvwxyz]*.
18282 [ISO C standards] (*_t): Do not allow.
18283 * conform/data/stdalign.h-data: New file.
18284 * conform/data/stdbool.h-data: Likewise.
18285 * conform/data/stdnoreturn.h-data: Likewise.
18286
7514feb8
RM
182872012-11-07 Roland McGrath <roland@hack.frob.com>
18288
18289 [BZ #14815]
18290 * manual/filesys.texi (Directory Entries): Typo fix.
18291 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18292
19b2ecfc
MS
182932012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18294
18295 * elf/elf.h (EM_AARCH64): New macro.
18296 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18297 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18298 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18299 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18300 (R_AARCH64_TLSDESC): Likewise.
18301 (NT_ARM_TLS): Likewise.
18302 (NT_ARM_HW_BREAK): Likewise.
18303 (NT_ARM_HW_WATCH): Likewise.
18304
60e235ee
JM
183052012-11-07 Joseph Myers <joseph@codesourcery.com>
18306
18307 [BZ #14811]
18308 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18309 (__ieee754_powl): Saturate nonzero exponents with absolute value
18310 below 0x1p-79 to +/- 0x1p-79.
18311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18312 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18313 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18314 nonzero exponents with absolute value below 0x1p-32 to +/-
18315 0x1p-32.
18316 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18317 (__ieee754_powl): Saturate nonzero exponents with absolute value
18318 below 0x1p-79 to +/- 0x1p-79.
18319 * math/libm-test.inc (pow_test): Add more tests.
18320
0ab234b7
AK
183212012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18322
18323 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18324 _dl_s390_cap_flags with kernel. Increase string length.
18325 (_dl_s390_platforms): Add z196 and zEC12.
18326
45832f74
JM
183272012-11-07 Joseph Myers <joseph@codesourcery.com>
18328
18329 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18330 Change XOPEN21K to XOPEN2K.
18331
19218757
MK
183322012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18333
18334 * string/memmove.c: Use memcpy when possible.
18335
c5f45721
AJ
183362012-11-06 Andreas Jaeger <aj@suse.de>
18337
18338 * po/eo.po: Update from translation team.
18339
82477c28
JM
183402012-11-06 Joseph Myers <joseph@codesourcery.com>
18341
18342 [BZ #14793]
18343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18344 exponent and small x and y exponents, scale x or y up. Increase
18345 by 2 the exponent used in scaling up.
18346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18348 * math/libm-test.inc (fma_test): Add more tests.
18349 (fma_test_towardzero): Likewise.
18350 (fma_test_downward): Likewise.
18351 (fma_test_upward): Likewise.
18352
99252c8c
JM
183532012-11-05 Joseph Myers <joseph@codesourcery.com>
18354
acfa885f
JM
18355 [BZ #14805]
18356 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18357 fenv_t *.
18358
99252c8c
JM
18359 [BZ #14801]
18360 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18361 namespace for names of struct fields.
18362 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18363 fenv_t fields.
18364 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18365 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18366
d6d98dea
ST
183672012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18368
18369 [BZ #3665]
18370 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18371
e10bb107
TS
183722012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18373
18374 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18375 PTR_DEMANGLE.
18376
18377 [BZ #5246]
18378 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18379 PTR_DEMANGLE.
18380
a0c2940d
JM
183812012-11-04 Joseph Myers <joseph@codesourcery.com>
18382
18383 [BZ #14797]
18384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18385 definitely overflow as x * y not x * y + z.
18386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18387 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18388 * math/libm-test.inc (fma_test): Add more tests.
18389 (fma_test_towardzero): Likewise.
18390 (fma_test_downward): Likewise.
18391 (fma_test_upward): Likewise.
18392
b830319d
TS
183932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18394
18395 [BZ #157]
18396
18397 * include/stub-tag.h: Remove file.
18398 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18399 '#include' of it.
18400 * manual/maint.texi (Porting): Don't reference it.
18401 * Makerules ($(objpfx)stubs): Likewise.
18402 * dirent/closedir.c: Don't include <stub-tag.h>.
18403 * dirent/dirfd.c: Likewise.
18404 * dirent/fdopendir.c: Likewise.
18405 * dirent/getdents.c: Likewise.
18406 * dirent/getdents64.c: Likewise.
18407 * dirent/opendir.c: Likewise.
18408 * dirent/readdir.c: Likewise.
18409 * dirent/readdir64.c: Likewise.
18410 * dirent/readdir64_r.c: Likewise.
18411 * dirent/readdir_r.c: Likewise.
18412 * dirent/rewinddir.c: Likewise.
18413 * dirent/seekdir.c: Likewise.
18414 * dirent/telldir.c: Likewise.
18415 * gmon/profil.c: Likewise.
18416 * grp/setgroups.c: Likewise.
18417 * inet/if_index.c: Likewise.
18418 * io/access.c: Likewise.
18419 * io/chdir.c: Likewise.
18420 * io/chmod.c: Likewise.
18421 * io/chown.c: Likewise.
18422 * io/close.c: Likewise.
18423 * io/dup.c: Likewise.
18424 * io/dup2.c: Likewise.
18425 * io/dup3.c: Likewise.
18426 * io/euidaccess.c: Likewise.
18427 * io/faccessat.c: Likewise.
18428 * io/fchdir.c: Likewise.
18429 * io/fchmod.c: Likewise.
18430 * io/fchmodat.c: Likewise.
18431 * io/fchown.c: Likewise.
18432 * io/fchownat.c: Likewise.
18433 * io/fcntl.c: Likewise.
18434 * io/flock.c: Likewise.
18435 * io/fstatfs.c: Likewise.
18436 * io/fstatfs64.c: Likewise.
18437 * io/fstatvfs.c: Likewise.
18438 * io/fstatvfs64.c: Likewise.
18439 * io/futimens.c: Likewise.
18440 * io/fxstat.c: Likewise.
18441 * io/fxstat64.c: Likewise.
18442 * io/fxstatat.c: Likewise.
18443 * io/fxstatat64.c: Likewise.
18444 * io/getcwd.c: Likewise.
18445 * io/isatty.c: Likewise.
18446 * io/lchmod.c: Likewise.
18447 * io/lchown.c: Likewise.
18448 * io/link.c: Likewise.
18449 * io/linkat.c: Likewise.
18450 * io/lseek.c: Likewise.
18451 * io/lseek64.c: Likewise.
18452 * io/lxstat64.c: Likewise.
18453 * io/mkdir.c: Likewise.
18454 * io/mkdirat.c: Likewise.
18455 * io/mkfifo.c: Likewise.
18456 * io/mkfifoat.c: Likewise.
18457 * io/open.c: Likewise.
18458 * io/open64.c: Likewise.
18459 * io/openat.c: Likewise.
18460 * io/openat64.c: Likewise.
18461 * io/pipe.c: Likewise.
18462 * io/pipe2.c: Likewise.
18463 * io/poll.c: Likewise.
18464 * io/posix_fadvise.c: Likewise.
18465 * io/posix_fadvise64.c: Likewise.
18466 * io/posix_fallocate.c: Likewise.
18467 * io/posix_fallocate64.c: Likewise.
18468 * io/read.c: Likewise.
18469 * io/readlink.c: Likewise.
18470 * io/readlinkat.c: Likewise.
18471 * io/rmdir.c: Likewise.
18472 * io/sendfile.c: Likewise.
18473 * io/sendfile64.c: Likewise.
18474 * io/statfs.c: Likewise.
18475 * io/statfs64.c: Likewise.
18476 * io/statvfs.c: Likewise.
18477 * io/statvfs64.c: Likewise.
18478 * io/symlink.c: Likewise.
18479 * io/symlinkat.c: Likewise.
18480 * io/ttyname.c: Likewise.
18481 * io/ttyname_r.c: Likewise.
18482 * io/umask.c: Likewise.
18483 * io/unlink.c: Likewise.
18484 * io/unlinkat.c: Likewise.
18485 * io/utime.c: Likewise.
18486 * io/utimensat.c: Likewise.
18487 * io/write.c: Likewise.
18488 * io/xmknod.c: Likewise.
18489 * io/xmknodat.c: Likewise.
18490 * io/xstat.c: Likewise.
18491 * io/xstat64.c: Likewise.
18492 * login/getpt.c: Likewise.
18493 * login/grantpt.c: Likewise.
18494 * login/unlockpt.c: Likewise.
18495 * math/e_acoshl.c: Likewise.
18496 * math/e_acosl.c: Likewise.
18497 * math/e_asinl.c: Likewise.
18498 * math/e_atan2l.c: Likewise.
18499 * math/e_atanhl.c: Likewise.
18500 * math/e_coshl.c: Likewise.
18501 * math/e_expl.c: Likewise.
18502 * math/e_fmodl.c: Likewise.
18503 * math/e_gammal_r.c: Likewise.
18504 * math/e_hypotl.c: Likewise.
18505 * math/e_j0l.c: Likewise.
18506 * math/e_j1l.c: Likewise.
18507 * math/e_jnl.c: Likewise.
18508 * math/e_lgammal_r.c: Likewise.
18509 * math/e_log10l.c: Likewise.
18510 * math/e_log2l.c: Likewise.
18511 * math/e_logl.c: Likewise.
18512 * math/e_powl.c: Likewise.
18513 * math/e_rem_pio2l.c: Likewise.
18514 * math/e_sinhl.c: Likewise.
18515 * math/e_sqrtl.c: Likewise.
18516 * math/fclrexcpt.c: Likewise.
18517 * math/fedisblxcpt.c: Likewise.
18518 * math/feenablxcpt.c: Likewise.
18519 * math/fegetenv.c: Likewise.
18520 * math/fegetexcept.c: Likewise.
18521 * math/fegetround.c: Likewise.
18522 * math/feholdexcpt.c: Likewise.
18523 * math/fesetenv.c: Likewise.
18524 * math/fesetround.c: Likewise.
18525 * math/feupdateenv.c: Likewise.
18526 * math/fgetexcptflg.c: Likewise.
18527 * math/fraiseexcpt.c: Likewise.
18528 * math/fsetexcptflg.c: Likewise.
18529 * math/ftestexcept.c: Likewise.
18530 * math/k_cosl.c: Likewise.
18531 * math/k_rem_pio2l.c: Likewise.
18532 * math/k_sinl.c: Likewise.
18533 * math/k_tanl.c: Likewise.
18534 * math/s_asinhl.c: Likewise.
18535 * math/s_atanl.c: Likewise.
18536 * math/s_cbrtl.c: Likewise.
18537 * math/s_erfl.c: Likewise.
18538 * math/s_expm1l.c: Likewise.
18539 * math/s_log1pl.c: Likewise.
18540 * math/s_tanhl.c: Likewise.
18541 * misc/acct.c: Likewise.
18542 * misc/brk.c: Likewise.
18543 * misc/chflags.c: Likewise.
18544 * misc/chroot.c: Likewise.
18545 * misc/fchflags.c: Likewise.
18546 * misc/fgetxattr.c: Likewise.
18547 * misc/flistxattr.c: Likewise.
18548 * misc/fremovexattr.c: Likewise.
18549 * misc/fsetxattr.c: Likewise.
18550 * misc/fsync.c: Likewise.
18551 * misc/ftruncate.c: Likewise.
18552 * misc/futimes.c: Likewise.
18553 * misc/futimesat.c: Likewise.
18554 * misc/getdomain.c: Likewise.
18555 * misc/getdtsz.c: Likewise.
18556 * misc/gethostid.c: Likewise.
18557 * misc/gethostname.c: Likewise.
18558 * misc/getloadavg.c: Likewise.
18559 * misc/getpagesize.c: Likewise.
18560 * misc/getsysstats.c: Likewise.
18561 * misc/getxattr.c: Likewise.
18562 * misc/gtty.c: Likewise.
18563 * misc/ioctl.c: Likewise.
18564 * misc/lgetxattr.c: Likewise.
18565 * misc/listxattr.c: Likewise.
18566 * misc/llistxattr.c: Likewise.
18567 * misc/lremovexattr.c: Likewise.
18568 * misc/lsetxattr.c: Likewise.
18569 * misc/lutimes.c: Likewise.
18570 * misc/madvise.c: Likewise.
18571 * misc/mincore.c: Likewise.
18572 * misc/mlock.c: Likewise.
18573 * misc/mlockall.c: Likewise.
18574 * misc/mmap.c: Likewise.
18575 * misc/mprotect.c: Likewise.
18576 * misc/msync.c: Likewise.
18577 * misc/munlock.c: Likewise.
18578 * misc/munlockall.c: Likewise.
18579 * misc/munmap.c: Likewise.
18580 * misc/preadv.c: Likewise.
18581 * misc/preadv64.c: Likewise.
18582 * misc/ptrace.c: Likewise.
18583 * misc/pwritev.c: Likewise.
18584 * misc/pwritev64.c: Likewise.
18585 * misc/readv.c: Likewise.
18586 * misc/reboot.c: Likewise.
18587 * misc/remap_file_pages.c: Likewise.
18588 * misc/removexattr.c: Likewise.
18589 * misc/revoke.c: Likewise.
18590 * misc/select.c: Likewise.
18591 * misc/setdomain.c: Likewise.
18592 * misc/setegid.c: Likewise.
18593 * misc/seteuid.c: Likewise.
18594 * misc/sethostid.c: Likewise.
18595 * misc/sethostname.c: Likewise.
18596 * misc/setregid.c: Likewise.
18597 * misc/setreuid.c: Likewise.
18598 * misc/setxattr.c: Likewise.
18599 * misc/sstk.c: Likewise.
18600 * misc/stty.c: Likewise.
18601 * misc/swapoff.c: Likewise.
18602 * misc/swapon.c: Likewise.
18603 * misc/sync.c: Likewise.
18604 * misc/syncfs.c: Likewise.
18605 * misc/syscall.c: Likewise.
18606 * misc/truncate.c: Likewise.
18607 * misc/ualarm.c: Likewise.
18608 * misc/usleep.c: Likewise.
18609 * misc/ustat.c: Likewise.
18610 * misc/utimes.c: Likewise.
18611 * misc/vhangup.c: Likewise.
18612 * misc/writev.c: Likewise.
18613 * posix/_exit.c: Likewise.
18614 * posix/alarm.c: Likewise.
18615 * posix/execve.c: Likewise.
18616 * posix/fexecve.c: Likewise.
18617 * posix/fork.c: Likewise.
18618 * posix/fpathconf.c: Likewise.
18619 * posix/getaddrinfo.c: Likewise.
18620 * posix/getegid.c: Likewise.
18621 * posix/geteuid.c: Likewise.
18622 * posix/getgid.c: Likewise.
18623 * posix/getgroups.c: Likewise.
18624 * posix/getlogin.c: Likewise.
18625 * posix/getlogin_r.c: Likewise.
18626 * posix/getpgid.c: Likewise.
18627 * posix/getpid.c: Likewise.
18628 * posix/getppid.c: Likewise.
18629 * posix/getresgid.c: Likewise.
18630 * posix/getresuid.c: Likewise.
18631 * posix/getsid.c: Likewise.
18632 * posix/getuid.c: Likewise.
18633 * posix/glob64.c: Likewise.
18634 * posix/nanosleep.c: Likewise.
18635 * posix/pathconf.c: Likewise.
18636 * posix/pause.c: Likewise.
18637 * posix/posix_madvise.c: Likewise.
18638 * posix/pread.c: Likewise.
18639 * posix/pread64.c: Likewise.
18640 * posix/pwrite.c: Likewise.
18641 * posix/pwrite64.c: Likewise.
18642 * posix/sched_getaffinity.c: Likewise.
18643 * posix/sched_getp.c: Likewise.
18644 * posix/sched_gets.c: Likewise.
18645 * posix/sched_primax.c: Likewise.
18646 * posix/sched_primin.c: Likewise.
18647 * posix/sched_rr_gi.c: Likewise.
18648 * posix/sched_setaffinity.c: Likewise.
18649 * posix/sched_setp.c: Likewise.
18650 * posix/sched_sets.c: Likewise.
18651 * posix/sched_yield.c: Likewise.
18652 * posix/setgid.c: Likewise.
18653 * posix/setlogin.c: Likewise.
18654 * posix/setpgid.c: Likewise.
18655 * posix/setresgid.c: Likewise.
18656 * posix/setresuid.c: Likewise.
18657 * posix/setsid.c: Likewise.
18658 * posix/setuid.c: Likewise.
18659 * posix/sleep.c: Likewise.
18660 * posix/spawni.c: Likewise.
18661 * posix/sysconf.c: Likewise.
18662 * posix/times.c: Likewise.
18663 * posix/wait.c: Likewise.
18664 * posix/wait3.c: Likewise.
18665 * posix/wait4.c: Likewise.
18666 * posix/waitpid.c: Likewise.
18667 * resolv/gai_sigqueue.c: Likewise.
18668 * resource/getpriority.c: Likewise.
18669 * resource/getrlimit.c: Likewise.
18670 * resource/getrusage.c: Likewise.
18671 * resource/nice.c: Likewise.
18672 * resource/setpriority.c: Likewise.
18673 * resource/setrlimit.c: Likewise.
18674 * resource/ulimit.c: Likewise.
18675 * rt/aio_cancel.c: Likewise.
18676 * rt/aio_fsync.c: Likewise.
18677 * rt/aio_read.c: Likewise.
18678 * rt/aio_sigqueue.c: Likewise.
18679 * rt/aio_suspend.c: Likewise.
18680 * rt/aio_write.c: Likewise.
18681 * rt/clock_getres.c: Likewise.
18682 * rt/clock_gettime.c: Likewise.
18683 * rt/clock_nanosleep.c: Likewise.
18684 * rt/clock_settime.c: Likewise.
18685 * rt/lio_listio.c: Likewise.
18686 * rt/mq_close.c: Likewise.
18687 * rt/mq_getattr.c: Likewise.
18688 * rt/mq_notify.c: Likewise.
18689 * rt/mq_open.c: Likewise.
18690 * rt/mq_receive.c: Likewise.
18691 * rt/mq_send.c: Likewise.
18692 * rt/mq_setattr.c: Likewise.
18693 * rt/mq_timedreceive.c: Likewise.
18694 * rt/mq_timedsend.c: Likewise.
18695 * rt/mq_unlink.c: Likewise.
18696 * rt/shm_open.c: Likewise.
18697 * rt/shm_unlink.c: Likewise.
18698 * rt/timer_create.c: Likewise.
18699 * rt/timer_delete.c: Likewise.
18700 * rt/timer_getoverr.c: Likewise.
18701 * rt/timer_gettime.c: Likewise.
18702 * rt/timer_settime.c: Likewise.
18703 * setjmp/__longjmp.c: Likewise.
18704 * setjmp/setjmp.c: Likewise.
18705 * signal/kill.c: Likewise.
18706 * signal/killpg.c: Likewise.
18707 * signal/raise.c: Likewise.
18708 * signal/sigaction.c: Likewise.
18709 * signal/sigaltstack.c: Likewise.
18710 * signal/sigblock.c: Likewise.
18711 * signal/sigignore.c: Likewise.
18712 * signal/sigintr.c: Likewise.
18713 * signal/signal.c: Likewise.
18714 * signal/sigpause.c: Likewise.
18715 * signal/sigpending.c: Likewise.
18716 * signal/sigqueue.c: Likewise.
18717 * signal/sigreturn.c: Likewise.
18718 * signal/sigset.c: Likewise.
18719 * signal/sigsetmask.c: Likewise.
18720 * signal/sigstack.c: Likewise.
18721 * signal/sigsuspend.c: Likewise.
18722 * signal/sigtimedwait.c: Likewise.
18723 * signal/sigvec.c: Likewise.
18724 * signal/sigwait.c: Likewise.
18725 * signal/sigwaitinfo.c: Likewise.
18726 * signal/sysv_signal.c: Likewise.
18727 * socket/accept.c: Likewise.
18728 * socket/accept4.c: Likewise.
18729 * socket/bind.c: Likewise.
18730 * socket/connect.c: Likewise.
18731 * socket/getpeername.c: Likewise.
18732 * socket/getsockname.c: Likewise.
18733 * socket/getsockopt.c: Likewise.
18734 * socket/isfdtype.c: Likewise.
18735 * socket/listen.c: Likewise.
18736 * socket/recv.c: Likewise.
18737 * socket/recvfrom.c: Likewise.
18738 * socket/recvmsg.c: Likewise.
18739 * socket/send.c: Likewise.
18740 * socket/sendmsg.c: Likewise.
18741 * socket/sendto.c: Likewise.
18742 * socket/setsockopt.c: Likewise.
18743 * socket/shutdown.c: Likewise.
18744 * socket/sockatmark.c: Likewise.
18745 * socket/socket.c: Likewise.
18746 * socket/socketpair.c: Likewise.
18747 * stdio-common/ctermid.c: Likewise.
18748 * stdio-common/cuserid.c: Likewise.
18749 * stdio-common/remove.c: Likewise.
18750 * stdio-common/rename.c: Likewise.
18751 * stdio-common/renameat.c: Likewise.
18752 * stdio-common/tempname.c: Likewise.
18753 * stdlib/getcontext.c: Likewise.
18754 * stdlib/makecontext.c: Likewise.
18755 * stdlib/setcontext.c: Likewise.
18756 * stdlib/swapcontext.c: Likewise.
18757 * stdlib/system.c: Likewise.
18758 * streams/fattach.c: Likewise.
18759 * streams/fdetach.c: Likewise.
18760 * streams/getmsg.c: Likewise.
18761 * streams/getpmsg.c: Likewise.
18762 * streams/putmsg.c: Likewise.
18763 * streams/putpmsg.c: Likewise.
18764 * sysdeps/unix/bsd/getpt.c: Likewise.
18765 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18766 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18767 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18769 Likewise.
18770 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18771 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18772 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18773 * sysvipc/msgctl.c: Likewise.
18774 * sysvipc/msgget.c: Likewise.
18775 * sysvipc/msgrcv.c: Likewise.
18776 * sysvipc/msgsnd.c: Likewise.
18777 * sysvipc/semctl.c: Likewise.
18778 * sysvipc/semget.c: Likewise.
18779 * sysvipc/semop.c: Likewise.
18780 * sysvipc/semtimedop.c: Likewise.
18781 * sysvipc/shmat.c: Likewise.
18782 * sysvipc/shmctl.c: Likewise.
18783 * sysvipc/shmdt.c: Likewise.
18784 * sysvipc/shmget.c: Likewise.
18785 * termios/tcdrain.c: Likewise.
18786 * termios/tcflow.c: Likewise.
18787 * termios/tcflush.c: Likewise.
18788 * termios/tcgetattr.c: Likewise.
18789 * termios/tcgetpgrp.c: Likewise.
18790 * termios/tcsendbrk.c: Likewise.
18791 * termios/tcsetattr.c: Likewise.
18792 * termios/tcsetpgrp.c: Likewise.
18793 * time/adjtime.c: Likewise.
18794 * time/clock.c: Likewise.
18795 * time/getitimer.c: Likewise.
18796 * time/gettimeofday.c: Likewise.
18797 * time/setitimer.c: Likewise.
18798 * time/settimeofday.c: Likewise.
18799 * time/stime.c: Likewise.
18800 * time/time.c: Likewise.
18801
188022012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18803
a20492cf
PT
18804 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18805 /usr/old/bin.
18806
72e182e3
PT
18807 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18808 instead of spaces.
18809 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18810
fbeafede
JM
188112012-11-03 Joseph Myers <joseph@codesourcery.com>
18812
5b5b04d6
JM
18813 [BZ #14796]
18814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18815 FE_TONEAREST before applying Dekker multiplication and Knuth
18816 addition. Clear inexact exceptions and check for exact zero
18817 results afterwards.
18818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18819 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18820 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18821 * math/libm-test.inc (fma_test): Add more tests.
18822 (fma_test_towardzero): Likewise.
18823 (fma_test_downward): Likewise.
18824 (fma_test_upward): Likewise.
18825 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18826 function.
18827 (libc_fesetround): New macro.
18828 (libc_fesetroundf): Likewise.
18829 (libc_fesetroundl): Likewise.
18830 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18831 function.
18832 (libc_fesetround_387): Likewise.
18833 (libc_fesetroundf): New macro.
18834 (libc_fesetround): Likewise.
18835 (libc_fesetroundl): Likewise.
18836 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18837 function.
18838 (libc_fesetroundf): New macro.
18839 (libc_fesetround): Likewise.
18840 (libc_fesetroundl): Likewise.
18841 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18842 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18843 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18844 libm_hidden_ver.
18845 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18846 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18847 libm_hidden_def.
18848 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18849 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18850 libm_hidden_ver.
18851 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18852 libm_hidden_def.
18853
fbeafede
JM
18854 [BZ #3439]
18855 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18856 integer constant usable in #if and use that to give value to enum
18857 constant.
18858 (FE_DIVBYZERO): Likewise.
18859 (FE_UNDERFLOW): Likewise.
18860 (FE_OVERFLOW): Likewise.
18861 (FE_INVALID): Likewise.
18862 (FE_INVALID_SNAN): Likewise.
18863 (FE_INVALID_ISI): Likewise.
18864 (FE_INVALID_IDI): Likewise.
18865 (FE_INVALID_ZDZ): Likewise.
18866 (FE_INVALID_IMZ): Likewise.
18867 (FE_INVALID_COMPARE): Likewise.
18868 (FE_INVALID_SOFTWARE): Likewise.
18869 (FE_INVALID_SQRT): Likewise.
18870 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18871 (FE_TONEAREST): Likewise.
18872 (FE_TOWARDZERO): Likewise.
18873 (FE_UPWARD): Likewise.
18874 (FE_DOWNWARD): Likewise.
18875 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18876 (FE_DIVBYZERO): Likewise.
18877 (FE_OVERFLOW): Likewise.
18878 (FE_UNDERFLOW): Likewise.
18879 (FE_INEXACT): Likewise.
18880 (FE_TONEAREST): Likewise.
18881 (FE_DOWNWARD): Likewise.
18882 (FE_UPWARD): Likewise.
18883 (FE_TOWARDZERO): Likewise.
18884 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18885 (FE_UNDERFLOW): Likewise.
18886 (FE_OVERFLOW): Likewise.
18887 (FE_DIVBYZERO): Likewise.
18888 (FE_INVALID): Likewise.
18889 (FE_TONEAREST): Likewise.
18890 (FE_TOWARDZERO): Likewise.
18891 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18892 (FE_OVERFLOW): Likewise.
18893 (FE_UNDERFLOW): Likewise.
18894 (FE_DIVBYZERO): Likewise.
18895 (FE_INEXACT): Likewise.
18896 (FE_TONEAREST): Likewise.
18897 (FE_TOWARDZERO): Likewise.
18898 (FE_UPWARD): Likewise.
18899 (FE_DOWNWARD): Likewise.
18900 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18901 (FE_DIVBYZERO): Likewise.
18902 (FE_OVERFLOW): Likewise.
18903 (FE_UNDERFLOW): Likewise.
18904 (FE_INEXACT): Likewise.
18905 (FE_TONEAREST): Likewise.
18906 (FE_DOWNWARD): Likewise.
18907 (FE_UPWARD): Likewise.
18908 (FE_TOWARDZERO): Likewise.
18909
105ca950
CM
189102012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18911
18912 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18913
a542b389
AS
189142012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18915
18916 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18917 commands. Quote $PWD.
18918 (blacklist_exports): Don't use remove_newlines. Replace "declare
18919 -x" by "export".
18920 (remove_newlines): Remove.
18921
f62c8abc
L
189222012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18923
18924 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18925 * stdlib/stdlib.h (atof): Moved to ...
18926 * include/bits/stdlib-float.h: Here. New file.
18927 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18928 * stdlib/bits/stdlib-float.h: New file.
18929 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18930 -mno-sse -mno-mmx.
18931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18932 <xmmintrin.h>.
18933
0155d5b2
JM
189342012-11-02 Joseph Myers <joseph@codesourcery.com>
18935
a68d0680
JM
18936 * conform/conformtest.pl (@headers): Add fenv.h.
18937 * conform/data/fenv.h-data: New file.
18938 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18939 include of <math/fenv.h>.
18940
caf7f573
JM
18941 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18942 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18943 && !UNIX98]. Enables tests for XOPEN2K8.
18944 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18945 POSIX2008]: Likewise.
18946
6c073ad6
JM
18947 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18948 (struct rusage): Do not expect type or its members.
18949
0155d5b2
JM
18950 [BZ #3439]
18951 * math/math.h (FP_NAN): Define macro to integer constant usable in
18952 #if and use that to give value to enum constant.
18953 (FP_INFINITE): Likewise.
18954 (FP_ZERO): Likewise.
18955 (FP_SUBNORMAL): Likewise.
18956 (FP_NORMAL): Likewise.
18957
b5dcacb4
AS
189582012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18959
18960 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18961 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18962 arguments.
18963
f7934be8
RM
189642012-11-02 Roland McGrath <roland@hack.frob.com>
18965
18966 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18967 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18968 autoconf-time if not.
18969 * configure.in: Remove AC_PREREQ.
18970
d7d08bde
TMQMF
189712012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18972
18973 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18974 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18975 of the internal implementation.
18976
dcdae19a
JM
189772012-11-02 Joseph Myers <joseph@codesourcery.com>
18978
18979 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18980 except include of <misc/sys/syslog.h>.
18981
d6cffd3e
AS
189822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18983
18984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18985 function returns with a NULL context exit with zero.
18986
b3563932
TMQMF
189872012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18988
18989 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18990
b288a93d
L
189912012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18992
18993 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18994 (run_program_cmd): This.
18995 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18996 (tst_langinfo): New variable. Use it.
18997
a2421a68
SAS
189982012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18999
19000 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19001 floating point opcodes.
19002
6f796e1b
TS
190032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19004
7402596b
TS
19005 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19006 variable.
19007
d0d4f868
TS
19008 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19009
6f796e1b
TS
19010 * sysdeps/mach/hurd/powerpc: Remove directory.
19011 * sysdeps/mach/powerpc: Likewise.
19012
4da224a2
AS
190132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19014
19015 * scripts/check-local-headers.sh: Ignore c++ headers.
19016
341dd673
TS
190172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19018
19019 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19020 __libc_cleanup_region_start argument.
19021
473611b2
JM
190222012-11-01 Joseph Myers <joseph@codesourcery.com>
19023
19024 [BZ #14784]
19025 [BZ #14785]
19026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19027 x * y using scaling, not as x * y + z.
19028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19030 * math/libm-test.inc (fma_test): Add more tests.
19031 (fma_test_towardzero): Likewise.
19032 (fma_test_downward): Likewise.
19033 (fma_test_upward): Likewise.
19034
4078da3d
TS
190352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19036
19037 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19038
903252aa
JM
190392012-10-31 Joseph Myers <joseph@codesourcery.com>
19040
19041 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19042 New variable.
19043
cbc818d0
TS
190442012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19045
19046 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19047
5a03cb1e
AS
190482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19049
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19051 Fix sort order.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19053 Likewise.
19054
90aff2ff
TMQMF
190552012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19056
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19058 Fix the order of the list for glibc 2.17.
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19060 Likewise.
19061
1818fcb7
AS
190622012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19063
19064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19065
ef82f4da
JM
190662012-10-31 Joseph Myers <joseph@codesourcery.com>
19067
16a0e2ec
JM
19068 [BZ #14610]
19069 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19070 for low part of x being zero before using __atanl (y).
19071 * math/libm-test.inc (atan2_test): Add another test.
19072
0eb69512
JM
19073 * manual/install.texi (Configuring and compiling): Document
19074 general use of test-wrapper and test-wrapper-env.
19075 * INSTALL: Regenerated.
19076
ef82f4da
JM
19077 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19078 (__fma): Do not extract and scale down low bits on after-rounding
19079 systems when result rounded to normal precision would have normal
19080 exponent.
19081 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19082 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19090 macro.
19091 (fma_test): Add more tests.
19092 (fma_test_towardzero): Likewise.
19093 (fma_test_downward): Likewise.
19094 (fma_test_upward): Likewise.
19095
954ef0d9
L
190962012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19097
19098 * sysdeps/i386/tininess.h: Renamed to ...
19099 * sysdeps/x86/tininess.h: This.
19100 * sysdeps/x86_64/tininess.h: Removed.
19101
df61ffb2
JM
191022012-10-30 Joseph Myers <joseph@codesourcery.com>
19103
19104 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19105 input. Use $(build-program-cmd).
19106 ($(objpfx)tst-array1-static.out): Likewise.
19107 ($(objpfx)tst-array2.out): Likewise.
19108 ($(objpfx)tst-array3.out): Likewise.
19109 ($(objpfx)tst-array4.out): Likewise.
19110 ($(objpfx)tst-array5.out): Likewise.
19111 ($(objpfx)tst-array5-static.out): Likewise.
19112
01767843
CM
191132012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19114
47cc1490
CM
19115 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19116 if defined.
19117
01767843
CM
19118 * nss/nsswitch.h (nss_interface_function): Provide new
19119 macro for use with NSS functions.
19120 * grp/initgroups.c: Use new macro.
19121 * nss/getXXbyYY.c: Likewise.
19122 * nss/getXXbyYY_r.c: Likewise.
19123 * nss/getXXent.c: Likewise.
19124 * nss/getXXent_r.c: Likewise.
19125 * sysdeps/posix/getaddrinfo.c: Likewise.
19126
8321aa97
AJ
191272012-10-30 Andreas Jaeger <aj@suse.de>
19128
19129 * po/ru.po: Update Russion translation from translation project.
19130
2a27fd6d
JM
191312012-10-30 Joseph Myers <joseph@codesourcery.com>
19132
8627a232
JM
19133 [BZ #14152]
19134 [BZ #14783]
19135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19136 result and shift together with sticky bit instead of replicating
19137 round-to-nearest rounding.
19138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19140 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19141 missing underflow exceptions.
19142 (fma_test_towardzero): Add more tests.
19143 (fma_test_downward): Likewise.
19144 (fma_test_upward): Likewise.
19145
2a27fd6d
JM
19146 [BZ #14047]
19147 * sysdeps/generic/tininess.h: New file.
19148 * sysdeps/i386/tininess.h: Likewise.
19149 * sysdeps/sh/tininess.h: Likewise.
19150 * sysdeps/x86_64/tininess.h: Likewise.
19151 * stdlib/tst-strtod-underflow.c: Likewise.
19152 * stdlib/tst-tininess.c: Likewise.
19153 * stdlib/strtod_l.c: Include <tininess.h>.
19154 (round_and_return): Do not set errno for exact underflow cases.
19155 Force an underflow exception when setting errno for underflow.
19156 Determine underflow based on rounding to normal precision if
19157 TININESS_AFTER_ROUNDING.
19158 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19159 ERANGE for exact underflow cases.
19160 * stdlib/Makefile (tests): Add tst-tininess and
19161 tst-strtod-underflow.
19162 ($(objpfx)tst-tininess): Use $(link-libm).
19163 ($(objpfx)tst-strtod-underflow): Likewise.
19164
e7170363
AJ
191652012-10-30 Andreas Jaeger <aj@suse.de>
19166
e5088dc6
AJ
19167 [BZ#14767]
19168 * elf/Makefile (tests): Remove conditional for have-initfini-array
19169 since this is now always required and the variable does not exist
19170 anymore.
19171 (tests-static): Likewise.
19172 (modules-names): Likewise.
19173
e7170363 19174 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19175
19176 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19177 merged with constructor/destructor.
19178 (init_array): Likewise.
19179 * elf/tst-array2dep.c (fini_array): Likewise.
19180 (init_array): Likewise.
19181
60457d8a
MF
191822012-10-29 Mike Frysinger <vapier@gentoo.org>
19183
19184 * manual/message.texi: Delete @cartouche tags.
19185
8bece752
PT
191862012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19187
94ce799f
PT
19188 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19189 EOPNOTSUPP.
19190 * sysdeps/mach/hurd/fsync.c: Likewise.
19191
8bece752
PT
19192 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19193 [_POSIX_REALTIME_SIGNALS]: Change condition to
19194 [_POSIX_REALTIME_SIGNALS > 0].
19195
86ebe6b1
AJ
191962012-10-27 Andreas Jaeger <aj@suse.de>
19197
19198 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19199 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19201 [__WORDSIZE != 64]: Likewise.
19202
54399c08
L
192032012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19204
19205 * iconvdata/tst-table.sh: Remove ${SHELL}.
19206 * iconvdata/tst-tables.sh: Likewise.
19207
e2211bed
DM
192082012-10-25 David S. Miller <davem@davemloft.net>
19209
19210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19211 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19212 of strtoull.
19213
f303f97c
DM
19214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19215 ifunc-impl-list.c
19216 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19217 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19218 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19219 file.
19220
1e9d84cd
RM
192212012-10-25 Roland McGrath <roland@hack.frob.com>
19222
19223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19224 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19225 __getdirentries.
19226
df381762
JM
192272012-10-25 Joseph Myers <joseph@codesourcery.com>
19228 Jim Blandy <jimb@codesourcery.com>
19229
19230 * scripts/cross-test-ssh.sh: New file.
19231 * manual/install.texi (Configuring and compiling): Document use of
19232 cross-test-ssh.sh.
19233 * INSTALL: Regenerated.
19234
bff64913
PT
192352012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19236
19237 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19238 EOPNOTSUPP.
19239
25fe8932
JM
192402012-10-25 Joseph Myers <joseph@codesourcery.com>
19241
19242 * Makeconfig (run-program-prefix): Fix comment.
19243
cc1290d0
JM
192442012-10-24 Joseph Myers <joseph@codesourcery.com>
19245 Jim Blandy <jimb@codesourcery.com>
19246
19247 * Makeconfig (test-wrapper): New variable,
19248 (test-wrapper-env): Likewise.
19249 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19250 (run-built-tests): Define to yes.
19251 (run-program-prefix): Use $(test-wrapper).
19252 (built-program-cmd): Likewise.
19253 * Rules (make-test-out): Use $(test-wrapper-env) and
19254 $(host-built-program-cmd).
19255 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19256 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19257 tst-pathopt.sh.
19258 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19259 $(test-wrapper-env) to tst-rtld-load-self.sh.
19260 ($(objpfx)order2.out): Use $(test-wrapper).
19261 ($(objpfx)tst-initorder.out): Likewise.
19262 ($(objpfx)tst-initorder2.out): Likewise.
19263 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19264 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19265 (test_wrapper_env): New variable. Use it to run ld.so.
19266 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19267 Use it to run ld.so.
19268 (test_wrapper_env): Likewise.
19269 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19270 $(test-wrapper) to run-iconv-test.sh.
19271 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19272 (ICONV): Use $test_wrapper.
19273 * posix/Makefile ($(objpfx)globtest.out): Pass
19274 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19275 globtest.sh, not $(run-program-prefix).
19276 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19277 (test_wrapper): Likewise.
19278 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19279 set together with run_via_rtld_prefix.
19280 (run_program_prefix): Define in terms of test_wrapper and
19281 run_via_rtld_prefix.
19282
6e6249d0
RM
192832012-10-24 Roland McGrath <roland@hack.frob.com>
19284
19285 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19286 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19287 Targets removed.
19288
19289 [BZ #14743]
19290 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19291 Declare __clock_getres, __clock_gettime, __clock_settime,
19292 __clock_nanosleep, and __clock_getcpuclockid.
19293 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19294 Remove librt_hidden_def (clock_gettime).
19295 * sysdeps/unix/clock_gettime.c: Likewise.
19296 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19298 * rt/clock_getres.c: Define __clock_getres as an alias.
19299 * sysdeps/posix/clock_getres.c: Likewise.
19300 * rt/clock_settime.c: Define __clock_settime as an alias.
19301 * sysdeps/unix/clock_settime.c: Likewise.
19302 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19303 * sysdeps/unix/clock_nanosleep.c: Likewise.
19304 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19305 * rt/clock-compat.c: New file.
19306 * rt/Makefile (librt-routines): Add clock-compat and move
19307 $(clock-routines) to ...
19308 (routines): ... here, new variable.
19309 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19310 Don't add get_clockfreq here.
19311 * rt/Versions (libc: GLIBC_2.17): New version set.
19312 Add clock_* symbols here.
19313 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19315 (GLIBC_2.17): Add clock_* symbols.
19316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19318 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19320 Likewise.
19321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19322 Likewise.
19323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19327 * NEWS: Mention the move.
19328
19329 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19330 Use __open, __read, __close rather than their public counterparts.
19331 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19332 (__get_clockfreq_via_cpuinfo): Likewise.
19333 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19334 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19335
19336 * config.h.in (HAVE_IFUNC): New #undef.
19337 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19338 was successful.
19339 * configure: Regenerated.
19340
0cae3f4b
MF
193412012-10-24 Mike Frysinger <vapier@gentoo.org>
19342
19343 * configure.in: Move READELF check to start of file.
19344 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19345 libc_cv_asm_gnu_indirect_function in the process.
19346 * configure: Regenerated.
19347
8175a253
MF
193482012-10-24 Mike Frysinger <vapier@gentoo.org>
19349
19350 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19351 send the output to /dev/null.
19352 (libc_cv_cc_with_libunwind): Likewise.
19353 (libc_cv_as_noexecstack): Likewise.
19354 * configure: Regenerate.
19355
0708a7d1
JM
193562012-10-24 Joseph Myers <joseph@codesourcery.com>
19357
10b40d85
JM
19358 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19359
0708a7d1
JM
19360 * posix/globtest.sh (TMPDIR): Do not set.
19361 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19362 (testout): Likewise.
19363
9fddec1a
AJ
193642012-10-24 Andreas Jaeger <aj@suse.de>
19365
3a8db22f
AJ
19366 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19367 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19368 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19369 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19370 posix_fadvise64, posix_fallocate64.
19371
9fddec1a
AJ
19372 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19373 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19374 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19375 Likewise.
19376 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19377 Likewise.
19378 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19379
19380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19381 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19382 <bits/fcntl-linux.h>.
19383 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19384
19385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19386 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19387 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19388 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19389 [__WORDSIZE != 64]: Likewise.
19390
ebfd1bbd
JM
193912012-10-23 Joseph Myers <joseph@codesourcery.com>
19392
03ac099f
JM
19393 * Makeconfig (run-built-tests): New variable.
19394 * Rules [$(cross-compiling) = yes]: Change condition to
19395 [$(run-built-tests) = no].
19396 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19397 to [$(run-built-tests) = yes].
19398 * elf/Makefile [$(cross-compiling) = no]: Likewise
19399 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19400 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19401 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19402 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19403 * io/Makefile [$(cross-compiling) = no]: Likewise.
19404 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19405 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19406 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19407 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19408 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19409 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19410 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19411 * string/Makefile [$(cross-compiling) = no]: Likewise.
19412
ebfd1bbd
JM
19413 * posix/Makefile ($(objpfx)globtest.out): Pass
19414 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19415 $(rtld-installed-name).
19416 * posix/globtest.sh (elf_objpfx): Remove variable.
19417 (rtld_installed_name): Likewise.
19418 (library_path): Likewise.
19419 (run_program_prefix): New variable. Use for running globtest
19420 binary.
19421
166bca24
JB
194222012-10-23 Jim Blandy <jimb@codesourcery.com>
19423 Joseph Myers <joseph@codesourcery.com>
19424
19425 * Makeconfig (host-built-program-cmd): New variable.
19426 * elf/Makefile (tst-stackguard1-ARGS): Use
19427 $(host-built-program-cmd).
19428 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19429 (tst-spawn-ARGS): Likewise.
19430 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19431
88866099
JM
194322012-10-23 Joseph Myers <joseph@codesourcery.com>
19433 Jim Blandy <jimb@codesourcery.com>
19434
19435 * Makeconfig (run-via-rtld-prefix): New variable.
19436 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19437 (built-program-cmd): Likewise.
19438
b4b4c296
AJ
194392012-10-22 Andreas Jaeger <aj@suse.de>
19440
19441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19442 __O_RSYNC if it exists, otherwise to O_SYNC.
19443
6fb54a22
JB
194442012-10-22 Jim Blandy <jimb@codesourcery.com>
19445 Joseph Myers <joseph@codesourcery.com>
19446
19447 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19448 /dev/null.
19449 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19450 from /dev/null
19451 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19452 /dev/null.
19453
481b90b9
AJ
194542012-10-22 Andreas Jaeger <aj@suse.de>
19455
2a0e2669
AJ
19456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19457 Define always.
19458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19459
76e38f9a
AJ
19460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19461 bits/fcntl-linux.h.
19462
7cd37b43
AJ
19463 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19464 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19465
481b90b9
AJ
19466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19467 to __O_LARGEFILE.
19468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19469 to __O_LARGEFILE.
19470
aba75984
JB
194712012-10-21 Jim Blandy <jimb@codesourcery.com>
19472 Joseph Myers <joseph@codesourcery.com>
19473
19474 * config.make.in (NM): New variable.
19475
88d4247f
AJ
194762012-10-21 Andreas Jaeger <aj@suse.de>
19477
19478 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19479 definitions and declarations that are provided by
19480 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19481
f2eed205
L
194822012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19483
19484 [BZ #14683]
19485 * elf/Makefile (tests-static): Add tst-leaks1-static.
19486 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19487 ($(objpfx)tst-leaks1-static): New rule.
19488 ($(objpfx)tst-leaks1-static-mem): Likewise.
19489 (tst-leaks1-static-ENV): New macro.
19490 * elf/dl-open.c (dl_open_worker): Check the main application
19491 only if SHARED is defined.
19492 * elf/tst-leaks1-static.c: New file.
19493
335e6931
AJ
194942012-10-20 Andreas Jaeger <aj@suse.de>
19495
19496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19497 generic values for Linux.
19498 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19499 and declarations that are provided by <bits/fcntl-linux.h> and
19500 include <bits/fcntl-linux.h>.
19501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19503
ac5c94d3
RM
195042012-10-20 Roland McGrath <roland@hack.frob.com>
19505
19506 * io/fcntl.h: Move include of <bits/types.h> to the top and
19507 include it unconditionally.
19508
de54b33a
L
195092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19510
228cfb01
L
19511 * wcsmbs/Makefile (tests-ifunc): New variable.
19512 (tests): Add $(tests-ifunc).
19513 * wcsmbs/test-wcschr-ifunc.c: New file.
19514 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19515 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19516 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19517 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19518 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19519
69f07e5f
L
19520 * string/Makefile (tests-ifunc): New variable.
19521 (tests): Add $(tests-ifunc).
19522 * string/test-memccpy.c (TEST_NAME): New macro.
19523 * string/test-memchr.c (TEST_NAME): Likewise.
19524 * string/test-memcmp.c (TEST_NAME): Likewise.
19525 * string/test-memcpy.c (TEST_NAME): Likewise.
19526 * string/test-memmem.c (TEST_NAME): Likewise.
19527 * string/test-memmove.c (TEST_NAME): Likewise.
19528 * string/test-memset.c (TEST_NAME): Likewise.
19529 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19530 * string/test-stpcpy.c (TEST_NAME): Likewise.
19531 * string/test-stpncpy.c (TEST_NAME): Likewise.
19532 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19533 * string/test-strcasestr.c (TEST_NAME): Likewise.
19534 * string/test-strcat.c (TEST_NAME): Likewise.
19535 * string/test-strchr.c (TEST_NAME): Likewise.
19536 * string/test-strcmp.c(TEST_NAME): Likewise.
19537 * string/test-strcpy.c (TEST_NAME): Likewise.
19538 * string/test-strcspn.c (TEST_NAME): Likewise.
19539 * string/test-strlen.c (TEST_NAME): Likewise.
19540 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19541 * string/test-strncmp.c (TEST_NAME): Likewise.
19542 * string/test-strncpy.c (TEST_NAME): Likewise.
19543 * string/test-strnlen.c (TEST_NAME): Likewise.
19544 * string/test-strpbrk.c (TEST_NAME): Likewise.
19545 * string/test-strrchr.c (TEST_NAME): Likewise.
19546 * string/test-strspn.c (TEST_NAME): Likewise.
19547 * string/test-strstr.c (TEST_NAME): Likewise.
19548 * string/test-bcopy-ifunc.c: New file.
19549 * string/test-bzero-ifunc.c: Likewise.
19550 * string/test-memccpy-ifunc.c: Likewise.
19551 * string/test-memchr-ifunc.c: Likewise.
19552 * string/test-memcmp-ifunc.c: Likewise.
19553 * string/test-memcpy-ifunc.c: Likewise.
19554 * string/test-memmem-ifunc.c: Likewise.
19555 * string/test-memmove-ifunc.c: Likewise.
19556 * string/test-mempcpy-ifunc.c: Likewise.
19557 * string/test-memset-ifunc.c: Likewise.
19558 * string/test-rawmemchr-ifunc.c: Likewise.
19559 * string/test-stpcpy-ifunc.c: Likewise.
19560 * string/test-stpncpy-ifunc.c: Likewise.
19561 * string/test-strcasecmp-ifunc.c: Likewise.
19562 * string/test-strcasestr-ifunc.c: Likewise.
19563 * string/test-strcat-ifunc.c: Likewise.
19564 * string/test-strchr-ifunc.c: Likewise.
19565 * string/test-strchrnul-ifunc.c: Likewise.
19566 * string/test-strcmp-ifunc.c: Likewise.
19567 * string/test-strcpy-ifunc.c: Likewise.
19568 * string/test-strcspn-ifunc.c: Likewise.
19569 * string/test-strlen-ifunc.c: Likewise.
19570 * string/test-strncasecmp-ifunc.c: Likewise.
19571 * string/test-strncat-ifunc.c: Likewise.
19572 * string/test-strncmp-ifunc.c: Likewise.
19573 * string/test-strncpy-ifunc.c: Likewise.
19574 * string/test-strnlen-ifunc.c: Likewise.
19575 * string/test-strpbrk-ifunc.c: Likewise.
19576 * string/test-strrchr-ifunc.c: Likewise.
19577 * string/test-strspn-ifunc.c: Likewise.
19578 * string/test-strstr-ifunc.c: Likewise.
19579
de54b33a
L
19580 * debug/Makefile (tests-ifunc): New variable.
19581 (tests): Add $(tests-ifunc).
19582 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19583 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19584 * debug/test-stpcpy_chk-ifunc.c: New file.
19585 * debug/test-strcpy_chk-ifunc.c: Likewise.
19586
88481c16
SP
195872012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19588
19589 [BZ #13601]
19590 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19591 header is not read in.
19592
135948bd
JM
195932012-10-19 Joseph Myers <joseph@codesourcery.com>
19594
89f1c388
JM
19595 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19596 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19597 directly. Pass built executable to script as
19598 $(built-program-cmd).
19599 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19600 $testprogram without using LD_LIBRARY_PATH and $ldso.
19601
e40a0d21
JM
19602 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19603 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19604 $(rtld-installed-name).
19605 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19606 (rtld_installed_name): Likewise.
19607 (library_path): Likewise.
19608 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19609 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19610 $(run-program-prefix) to tst-tables.sh.
19611 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19612 it to run tst-table-from and tst-table-to.
19613 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19614 Pass it to tst-table.sh.
19615 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19616 $(run-program-prefix) to tst-gettext.sh.
19617 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19618 tst-translit.sh.
19619 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19620 tst-gettext2.sh.
19621 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19622 to run tst-gettext.
19623 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19624 to run tst-gettext2.
19625 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19626 to run tst-translit.
19627 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19628 $(run-program-prefix) to tst-mtrace.sh.
19629 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19630 to run tst-mtrace.
19631 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19632 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19633 $(rtld-installed-name).
19634 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19635 (rtld_installed_name): Likewise.
19636 (run_program_prefix): New variable. Use it to run wordexp-test.
19637
728e272a
JM
19638 * Makeconfig (ARCH): Remove all definitions.
19639 (machine): Likewise.
19640 [ARCH]: Remove conditional code.
19641 [!objdir]: Give error.
19642 [!objdir] (objpfx): Remove.
19643 [!objdir] (common-objpfx): Likewise.
19644 [!objdir] (common-objdir): Likewise.
19645 * configure.in (config_makefile): Remove. Hardcode Makefile in
19646 AC_CONFIG_FILES call.
19647 * configure: Regenerated.
19648
d528cdcf
JM
19649 [BZ #13888]
19650 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19651 or TMPDIR.
19652 (testout): Likewise.
19653
135948bd
JM
19654 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19655 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19656 $(rtld-installed-name).
19657 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19658 (rtld_installed_name): Likwise.
19659 (runit): Remove function.
19660 (run_getconf): New variable, Use it for running getconf binary.
19661
38c78296
L
196622012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19663
19664 [BZ #14716]
19665 * string/test-memmem.c (check_result): New function.
19666 (do_one_test): Use it.
19667 (check1): New function.
19668 (test_main): Use it.
19669
d077f65f
MT
196702012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19671
19672 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19673
ced52c71
JM
196742012-10-18 Joseph Myers <joseph@codesourcery.com>
19675
19676 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19677 (_G_LSEEK64): Likewise.
19678 (_G_MMAP64): Likewise.
19679 (_G_FSTAT64): Likewise.
19680 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19681 (_G_LSEEK64): Likewise.
19682 (_G_MMAP64): Likewise.
19683 (_G_FSTAT64): Likewise.
19684 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19685 unconditional. Call __mmap64 directly.
19686 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19687 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19688 __lseek64 directly.
19689 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19690 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19691 __mmap64 directly.
19692 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19693 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19694 __lseek64 directly.
19695 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19696 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19697 __lseek64 directly.
19698 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19699 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19700 __lseek64 directly.
19701 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19702 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19703 __fxstat64 directly.
19704 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19705 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19706 unconditional.
19707 (freopen64) [!_G_OPEN64]: Remove conditional code.
19708 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19709 unconditional.
19710 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19711 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19712 unconditional.
19713 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19714 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19715 unconditional.
19716 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19717 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19718 unconditional.
19719 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19720 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19721 unconditional.
19722 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19723 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19724 unconditional.
19725 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19726 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19727 unconditional.
19728 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19729
b741de23
SP
197302012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19731
19732 [BZ #12140]
19733 * manual/memory.texi (Malloc Tunable Parameters): Add note
19734 about free list pointers overwriting some perturb bytes.
19735 Wording suggested by Roland McGrath.
19736
f9b9d9c9
JM
197372012-10-17 Joseph Myers <joseph@codesourcery.com>
19738
19739 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19740 (lgamma_test): Likewise.
19741 (tgamma_test): Likewise.
19742
172a631a
FW
197432012-10-16 Florian Weimer <fweimer@redhat.com>
19744
19745 [BZ #14700]
19746 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19747 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19748
e9f37252
MK
197492012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19750
19751 * NEWS: Mention BZ #14716.
19752 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19753 when removing AVAILABLE1_USES_J macro.
19754
d394eb74
L
197552012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19756
19757 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19758 (__bswap_64): __uint64_t for unsigned 64-bit int.
19759
ca38dc17
AS
197602012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19761
19762 * include/string.h (memmem): Declare libc hidden alias.
19763 * string/memmem.c (memmem): Define libc hidden alias.
19764 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19765 __read, __close instead of open, read, close.
19766
9a387d1f
L
197672012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19768
ac49ecaf
L
19769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19770 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19771 global and hidden.
19772 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19773 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19774 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19775 Likewise.
19776 (__rawmemchr_sse2): Likewise.
19777 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19778 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19779 (__strchr_sse2): Likewise.
19780 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19781 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19782 (__strcasecmp_sse2): Likewise.
19783 (__strncasecmp_sse2): Likewise.
19784 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19785 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19786 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19787 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19788 (__strrchr_sse2): Likewise.
19789 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19790 ifunc-impl-list.c.
19791 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19792 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19793 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19794 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19795 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19796 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19797 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19798 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19799 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19800 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19801 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19802 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19803 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19804 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19805 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19806 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19807 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19808 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19809 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19810 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19811 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19812 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19813 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19814 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19815 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19816 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19817 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19818 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19819 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19820 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19821
b090e8ea
L
19822 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19823 global and hidden.
19824 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19825 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19826 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19827 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19828 Likewise.
19829 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19830 Likewise.
19831 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19832 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19833 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19834 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19835 ifunc-impl-list.c.
19836 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19837 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19838 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19839 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19840 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19841 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19842 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19843 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19844 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19845 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19846 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19847 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19848 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19849 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19850 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19851 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19852 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19853 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19854 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19855 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19856 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19857 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19858 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19859 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19860 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19861 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19862 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19863 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19864 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19865 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19866 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19867 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19868 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19869 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19870 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19871 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19872 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19873 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19874 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19875 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19876 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19877
11dd4af6
L
19878 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19879 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19880 * include/ifunc-impl-list.h: New file.
19881 * misc/ifunc-impl-list.c: Likewise.
19882 * misc/Makefile (routines): Add ifunc-impl-list.
19883 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19884 * string/test-string.h: Include <ifunc-impl-list.h>.
19885 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19886 impl_array): New variables.
19887 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19888 are defined.
19889 (test_init): Call __libc_ifunc_impl_list to initialize
19890 func_list if TEST_IFUNC and TEST_NAME are defined.
19891
9a387d1f
L
19892 * string/Makefile (strop-tests): Add bcopy and bzero.
19893 * string/test-bcopy.c: New file.
19894 * string/test-bzero.c: Likewise.
19895 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19896 defined.
19897 * string/test-memset.c: Support bzero test if TEST_BZERO is
19898 defined.
19899 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19900 __libc_memmove.
19901 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19902 __libc_memset.
19903 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19904 of memset.
19905
472371b9
JM
199062012-10-10 Joseph Myers <joseph@codesourcery.com>
19907
1e4a9536
JM
19908 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19909 * configure: Regenerated.
19910
d173d12e
JM
19911 * Makeconfig (+link-static-before-libc): Don't include
19912 $(link-static-libc).
19913
472371b9
JM
19914 * libio/libio.h (_IO_pos_t): Remove.
19915
89a3ad0b
AO
199162012-10-10 Alexandre Oliva <aoliva@redhat.com>
19917
19918 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19919 McGrath.
19920
e7451425
AO
199212012-10-10 Alexandre Oliva <aoliva@redhat.com>
19922
19923 * crypt/crypt-entry.c: Include fips-private.h.
19924 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19925 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19926 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19927 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19928
4ba74a35
AO
199292012-10-10 Alexandre Oliva <aoliva@redhat.com>
19930
19931 * crypt/crypt-private.h: Include stdbool.h.
19932 (_ufc_setup_salt_r): Return bool.
19933 * crypt/crypt-entry.c: Include errno.h.
19934 (__crypt_r): Return NULL with EINVAL for bad salt.
19935 * crypt/crypt_util.c (bad_for_salt): New.
19936 (_ufc_setup_salt_r): Check that salt is long enough and within
19937 the specified alphabet.
19938 * crypt/badsalttest.c: New file.
19939 * crypt/Makefile (tests): Add it.
19940 ($(objpfx)badsalttest): New.
19941
f96f1242
MK
199422012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19943
19944 * NEWS: Add entry for BZ #14602.
19945
0e8e0c1c
JM
199462012-10-09 Joseph Myers <joseph@codesourcery.com>
19947
19948 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19949 type-generic.
19950 * math/libm-test.inc: Update comment listing what functions and
19951 macros are tested.
19952 (isgreater_test): New function.
19953 (isgreaterequal_test): Likewise.
19954 (isless_test): Likewise.
19955 (islessequal_test): Likewise.
19956 (islessgreater_test): Likewise.
19957 (isunordered_test): Likewise.
19958 (main): Call the new functions.
19959
273edc5e
RM
199602012-10-09 Roland McGrath <roland@hack.frob.com>
19961
b8493de0
RM
19962 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19963 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19964 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19965 * sysdeps/i386/configure: Regenerated.
19966 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19967 * sysdeps/mach/configure: Regenerated.
19968 * sysdeps/mach/hurd/configure: Regenerated.
19969 * sysdeps/powerpc/configure: Regenerated.
19970 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19971 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19972 * sysdeps/s390/s390-32/configure: Regenerated.
19973 * sysdeps/s390/s390-64/configure: Regenerated.
19974 * sysdeps/sh/configure: Regenerated.
19975 * sysdeps/sparc/configure: Regenerated.
19976 * sysdeps/unix/sysv/linux/configure: Regenerated.
19977 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19978 * sysdeps/x86_64/configure: Regenerated.
19979
273edc5e
RM
19980 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19981 defined. Don't check if MAP is NULL.
19982
c8450f70
JM
199832012-10-09 Joseph Myers <joseph@codesourcery.com>
19984
19985 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19986 (_G_stat64): Likewise.
19987 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19988 (_G_stat64): Likewise.
19989 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19990 instead of struct _G_stat64.
19991 * libio/fileops.c (mmap_remap_check): Likewise.
19992 (decide_maybe_mmap): Likewise.
19993 (_IO_new_file_seekoff): Likewise.
19994 (_IO_file_stat): Likewise.
19995 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19996 _G_off64_t.
19997 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19998 instead of struct _G_stat64.
19999 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20000
57e605ba
MK
200012012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20002
20003 [BZ #14602]
20004 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20005 Replace with ...
20006 (CHECK_EOL): New macro.
20007 (two_way_short_needle): Check beginning of haystack for EOL. Use
20008 CHECK_EOL.
20009 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20010 Replace with CHECK_EOL.
20011 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20012 Replace with CHECK_EOL.
20013
ef1bb361
JM
200142012-10-08 Joseph Myers <joseph@codesourcery.com>
20015
20016 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20017 type-generic.
20018 * math/libm-test.inc: Update comment listing what functions and
20019 macros are tested.
20020 (finite_test): New function.
20021 (isinf_test): Likewise.
20022 (isnan_test): Likewise.
20023 (fpclassify_test): Test subnormal input.
20024 (isfinite_test): Likewise.
20025 (isnormal_test): Likewise.
20026 (main): Call the new functions.
20027
55f11534
JN
200282012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20029
20030 [BZ #14660]
20031 * Makerules (%.dynsym): Force C locale when running
20032 $(OBJDUMP) --dynamic-syms.
20033
1ab29350
AS
200342012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20035
20036 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20037 <stdint.h>.
20038
f1ecb7ef
DM
200392012-10-06 David S. Miller <davem@davemloft.net>
20040
20041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20042 upper 32-bits of the length value in %o2 since we use branch-on-register
20043 tests which consider the entire 64-bit register.
20044
5d41d91a
L
200452012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20046
20047 * string/test-strstr.c (check2): Add a test for page boundary.
20048
3baddb72
DM
200492012-10-05 David S. Miller <davem@davemloft.net>
20050
20051 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20052 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20053 file.
20054 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20055 sysdep_routines.
20056 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20057 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20058 and bzero when HWCAP_SPARC_CRYPTO is present.
20059
9cee5585
L
200602012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20061
d7e0dab9
L
20062 [BZ #14602]
20063 * string/test-strstr.c (check2): New function.
20064 (test_main): Call check2.
20065
03759f47
L
20066 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20067 and bug-strchr1.
20068 * string/bug-strcasestr1.c (do_test): Moved to ...
20069 * string/test-strcasestr.c (check1): Here. New function.
20070 (do_one_test): Break out result checking code into ...
20071 (check_result): This. New function.
20072 (do_one_test): Call check_result.
20073 (test_main): Call check1.
20074 * string/bug-strchr1.c (do_test): Moved to ...
20075 * string/test-strchr.c (check1): Here. New function.
20076 (do_one_test): Break out result checking code into ...
20077 (check_result): This. New function.
20078 (do_one_test): Call check_result.
20079 (test_main): Call check1.
20080 * string/bug-strstr1.c (main): Moved to ...
046f153e 20081 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20082 (do_one_test): Break out result checking code into ...
20083 (check_result): This. New function.
20084 (do_one_test): Call check_result.
20085 (test_main): Call check1.
20086 * string/bug-strcasestr1.c: Removed.
20087 * string/bug-strchr1.c: Likewise.
20088 * string/bug-strstr1.c: Likewise.
20089
53cea63e
L
20090 * elf/Makefile (dl-routines): Add hwcaps.
20091 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20092 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20093 (_dl_important_hwcaps): Moved to ...
20094 * elf/dl-hwcaps.c: Here. New file.
20095 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20096
9cee5585 20097 [BZ #14557]
bb859b06
L
20098 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20099 if IS_IN_rtld isn't defined.
20100
9cee5585
L
20101 * elf/dl-support.c (_dl_sysinfo_map): New.
20102 Include "get-dynamic-info.h" and "setup-vdso.h".
20103 (_dl_non_dynamic_init): Call setup_vdso.
20104 * elf/dynamic-link.h: Don't include <assert.h>.
20105 (elf_get_dynamic_info): Moved to ...
20106 * elf/get-dynamic-info.h: Here. New file.
20107 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20108 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20109 * elf/setup-vdso.h: Here. New file.
20110 * elf/rtld.c: Include "setup-vdso.h".
20111 (dl_main): Call setup_vdso.
20112
23c31b76
JM
201132012-10-05 Joseph Myers <joseph@codesourcery.com>
20114
28234b07
JM
20115 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20116 creal in comment listing functions tested. List finite, isinf,
20117 isnan, isless, islessequal, isgreater, isgreaterequal,
20118 islessgreater, isunordered, lgamma_r and pow10 as functions and
20119 macros not tested. Mention which functions not tested are aliases
20120 for other functions. Fix typo. Note that signs of NaNs are not
20121 tested.
20122
23c31b76
JM
20123 * scripts/config.guess: Update from config.git.
20124 * scripts/config.sub: Likewise.
20125
9043e228
RM
201262012-10-04 Roland McGrath <roland@hack.frob.com>
20127
20128 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20129 * misc/madvise.c (madvise): Renamed to __madvise.
20130 Make madvise a weak alias.
20131 * include/sys/mman.h: Declare __madvise.
20132 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20133 * sysdeps/unix/syscalls.list
20134 (madvise): Make __madvise the strong name, and madvise a weak alias.
20135 * sysdeps/unix/sysv/linux/syscalls.list
20136 (madvise, mmap): Remove redundant entries.
20137 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20138 * malloc/malloc.c (mtrim): Likewise.
20139 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20140
f57f8055
RM
201412012-10-03 Roland McGrath <roland@hack.frob.com>
20142
20143 * sysdeps/mach/hurd/dl-cache.c: File removed.
20144 * config.h.in (USE_LDCONFIG): New #undef.
20145 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20146 * configure: Regenerated.
20147 * elf/Makefile (dl-routines): Add dl-cache only under
20148 [$(use-ldconfig) = yes].
20149 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20150 cache on [USE_LDCONFIG].
20151 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20152 [USE_LDCONFIG].
20153 * elf/rtld.c (dl_main): Likewise.
20154
5bb0c10a
PT
201552012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20156
20157 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20158 _SC_LEVEL4_CACHE_LINESIZE.
20159
010188c6
RM
201602012-10-03 Roland McGrath <roland@hack.frob.com>
20161
20162 * sysdeps/unix/bsd/confstr.h: File removed.
20163
b6c5ec07
AO
201642012-10-02 Alexandre Oliva <aoliva@redhat.com>
20165
20166 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20167 sys/sdt-config.h.
20168
408223d4
RM
201692012-10-02 Roland McGrath <roland@hack.frob.com>
20170
20171 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20172 Make 'mapoff' field ElfW(Off) rather than off_t.
20173
bb9510dc
DL
201742012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20175
fc997c6e
DL
20176 * nscd/Makefile: Remove nscd-cflags and all its users.
20177 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20178 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20179
bb9510dc
DL
20180 [BZ #10631]
20181 * malloc.c (malloc_printerr): Clarify error message.
20182
05699367
L
201832012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20184
20185 [BZ #14648]
20186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20187 Set bit_FMA_Usable if FMA is supported.
20188 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20189 macro.
20190 (bit_FMA4_Usable): Updated.
20191 (index_FMA_Usable): New macro.
20192 (CPUID_FMA): Likewise
20193 (HAS_FMA): Defined with bit_FMA_Usable.
20194
51367701
RM
201952012-10-01 Roland McGrath <roland@hack.frob.com>
20196
20197 * bits/types.h (__swblk_t): Type removed.
20198 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20199 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20201 (__SWBLK_T_TYPE): Likewise.
20202 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20203 (__SWBLK_T_TYPE): Likewise.
20204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20205 (__SWBLK_T_TYPE): Likewise.
20206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20207 (__SWBLK_T_TYPE): Likewise.
20208
4d57bf63 202092012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20210 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20211
20212 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20213 (xdr_mapname): Use YPMAXMAP as maxsize.
20214 (xdr_peername): Use YPMAXPEER as maxsize.
20215 (xdr_keydat): Use YPAXRECORD as maxsize.
20216 (xdr_valdat): Use YPMAXRECORD as maxsize.
20217
93c65d43
RM
202182012-10-01 Roland McGrath <roland@hack.frob.com>
20219
497a03d6
RM
20220 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20221
93c65d43
RM
20222 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20223 * csu/init-first.c: ... here.
20224 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20225 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20226 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20227 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20228 * sysdeps/i386/init-first.c: File removed.
20229 * sysdeps/sh/init-first.c: File removed.
20230
bec749fd
JM
202312012-10-01 Joseph Myers <joseph@codesourcery.com>
20232
20233 [BZ #14645]
20234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20235 if x * y might underflow to zero and z is zero.
20236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20237 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20238 * math/libm-test.inc (min_subnorm_value): New variable.
20239 (fma_test): Add more tests.
20240 (fma_test_towardzero): Likewise.
20241 (fma_test_downward): Likewise
20242 (fma_test_upward): Likewise.
20243 (initialize): Set min_subnorm_value.
20244
8ec5b013
JM
202452012-09-29 Joseph Myers <joseph@codesourcery.com>
20246
20247 [BZ #14638]
20248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20249 0 + 0.
20250 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20251 mode for addition resulting in exact zero.
20252 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20254 exact 0 + 0.
20255 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20257 * math/libm-test.inc (fma_test): Add more tests.
20258 (fma_test_towardzero): New function.
20259 (fma_test_downward): Likewise.
20260 (fma_test_upward): Likewise.
20261 (main): Call the new functions.
20262
b1fa802e
DM
202632012-09-28 David S. Miller <davem@davemloft.net>
20264
20265 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20266
d3b9fd9e
RM
202672012-09-28 Roland McGrath <roland@hack.frob.com>
20268
ea4d37b3
RM
20269 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20270 instead of SIGALRM.
20271
ac51c949
RM
20272 * sysdeps/gnu/_G_config.h: Moved to ...
20273 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20274 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20275 * sysdeps/generic/_G_config.h: ... here.
20276
28c195f7
RM
20277 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20278
848917f9
RM
20279 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20280
6bacf05b
RM
20281 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20282 Conditionalize target on [libnss_test1.so-version].
20283
91363dbb
RM
20284 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20285
cc87f7d8
RM
20286 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20287 (elfobjdir): Move out of conditionals.
20288
b1c608fe
RM
20289 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20290 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20291 (__nss_lookup_function): Conditionalize label remove_from_tree on
20292 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20293
1d9a6d96
DM
202942012-09-28 David S. Miller <davem@davemloft.net>
20295
20296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20297 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20298 file.
20299 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20300 sysdep_routines.
20301 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20303 when HWCAP_SPARC_CRYPTO is present.
20304
72581615
PT
203052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20306
20307 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20308
715a900c
JL
203092012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20310
20311 [BZ #6530]
20312 * stdio-common/vfprintf.c (process_string_arg): Revert
20313 2000-07-22 change.
20314
203152011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20316
20317 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20318 for testcase.
20319 * stdio-common/tst-sprintf.c: Include <locale.h>
20320 (main): Test sprintf's handling of incomplete multibyte
20321 characters.
20322
9bac1d86
L
203232012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20324
20325 * elf/dl-runtime.c (VERSYMIDX): Removed.
20326 * elf/dl-version.c (VERSYMIDX): Likewise.
20327 * elf/do-rel.h (VERSYMIDX): Likewise.
20328 (VALIDX): Likewise.
20329 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20330 * elf/rtld.c (VALIDX): Likewise.
20331 (ADDRIDX): Likewise.
9bac1d86
L
20332 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20333 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20334 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20335 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20336 (VALIDX): Likewise.
20337 (ADDRIDX): Likewise.
9bac1d86 20338
b31606c0
PT
203392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20340
20341 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20342
11541177
JL
203432012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20344
20345 [BZ #11438]
20346 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20347 to global scope.
20348 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20349 addresses are in the same scope as 192.0.2/24.
20350 * posix/gai.conf: Document new scope table defaults.
20351
adb26fae
SP
203522012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20353
20354 [BZ #5298]
20355 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20356 for ftell. Compute offsets from write pointers instead.
20357 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20358
4573c6b0
SP
203592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20360
20361 [BZ #14543]
20362 * libio/Makefile (tests): New test case tst-fseek.
20363 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20364 combination works in wide mode.
20365 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20366 state when the external buffer state changes.
20367
aa9bbfe6
DM
203682012-09-27 David S. Miller <davem@davemloft.net>
20369
20370 [BZ #14376]
20371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20372 pass reloc->r_addend in as the 'high' argument to
20373 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20374
784421e7
DM
20375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20376
c39bc8b8
PT
203772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20378
20379 * rt/tst-aio2.c: Include <pthread.h>.
20380 * rt/tst-aio3.c: Likewise.
20381
1ccc2399
SE
203822012-09-27 Steve Ellcey <sellcey@mips.com>
20383
20384 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20385
31ed4153
L
203862012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20387
25f5f885
L
20388 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20389 contents on [SHARED].
31ed4153 20390
b7bfe116
MP
203912012-09-26 Marek Polacek <polacek@redhat.com>
20392
20393 [BZ #14530]
20394 [BZ #13741]
20395 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20396 for C++ and GCC <4.3 as well as for non GCC compilers.
20397
43c4edba
MT
203982012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20399
20400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20401
6a1bf82f
RM
204022012-09-25 Roland McGrath <roland@hack.frob.com>
20403
20404 * Makefile.in (all, install): Declare with .PHONY.
20405 Reported by Michael Hope <michael.hope@linaro.org>.
20406
8ad11b9a
TMQMF
204072012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20408
20409 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20410 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20411 system header.
20412 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20413 Likewise.
20414 (sydep_routines): Add the new and the internal functions.
20415 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20416 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20418 (GLIBC_2.17): Add the new function.
20419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20420 (GLIBC_2.17): Likewise.
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20422 (GLIBC_2.17): Likewise.
20423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20424 (GLIBC_2.17): Likewise.
20425 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20426
7e2fca8d
AM
204272012-09-25 Alan Modra <amodra@gmail.com>
20428
20429 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20430 Add release barrier before setting once_control to say
20431 initialisation is done. Add hints on lwarx. Use macro in
20432 place of isync.
20433 (clear_once_control): Add release barrier.
20434
b87c4b24
JM
204352012-09-25 Joseph Myers <joseph@codesourcery.com>
20436
d032e0d2
JM
20437 [BZ #13629]
20438 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20439 specially.
20440 * math/s_clog10.c (__clog10): Likewise.
20441 * math/s_clog10f.c (__clog10f): Likewise.
20442 * math/s_clog10l.c (__clog10l): Likewise.
20443 * math/s_clogf.c (__clogf): Likewise.
20444 * math/s_clogl.c (__clogl): Likewise.
20445 * math/Makefile (libm-calls): Add x2y2m1.
20446 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20447 (__x2y2m1): Likewise.
20448 (__x2y2m1l): Likewise.
20449 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20450 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20453 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20454 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20455 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20456 * sysdeps/i386/fpu/libm-test-ulps: Update.
20457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20458
b87c4b24
JM
20459 [BZ #14621]
20460 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20461 int as type of variable DEPTH.
20462 (glob): Use size_t instead of int as type of variables NEWCOUNT
20463 and OLD_PATHC.
20464
6d3bf199
LD
204652012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20466
22bf5c17
LD
20467 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20468 Add s_sincosf-sse2.
20469 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20470 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20471 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20472 macros for using routine as __sincosf_ia32.
20473 Use macro for function declaration and weak_alias.
20474 * sysdeps/i386/fpu/libm-test-ulps: Update.
20475
20476 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20478
20479 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20480 subnormal argument.
20481 * math/s_cexpf.c (__cexpf): Likewise.
20482 * math/s_csinf.c (__csinf): Likewise.
20483 * math/s_csinhf.c (__csinhf): Likewise.
20484 * math/s_ctanf.c (__ctanf): Likewise.
20485 * math/s_ctanhf.c (__ctanhf): Likewise.
20486 * math/s_ccosh.c (__ccoshf): Likewise.
20487 * math/s_cexp.c (__cexpl): Likewise.
20488 * math/s_csin.c (__csin): Likewise.
20489 * math/s_csinh.c (__csinh): Likewise.
20490 * math/s_ctan.c (__ctan): Likewise.
20491 * math/s_ctanh.c (ctanh): Likewise.
20492 * math/s_ccoshl.c (__ccoshl): Likewise.
20493 * math/s_cexpl.c (__cexpl): Likewise.
20494 * math/s_csinl.c (__csinl): Likewise.
20495 * math/s_csinhl.c (__csinhl): Likewise.
20496 * math/s_ctanl.c (__ctanl): Likewise.
20497 * math/s_ctanhl.c (__ctanhl): Likewise.
20498
203e5603
JM
204992012-09-25 Joseph Myers <joseph@codesourcery.com>
20500
20501 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20502 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20503 (_IO_off_t): Define to __off_t, not _G_off_t.
20504 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20505 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20506 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20507 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20508 type of __dummy and __dummy2 fields.
20509 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20510 (_G_ssize_t): Likewise.
20511 (_G_off_t): Likewise.
20512 (_G_pid_t): Likewise.
20513 (_G_uid_t): Likewise.
20514 (_G_wchar_t): Likewise.
20515 (_G_wint_t): Likewise.
20516 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20517 (_G_ssize_t): Likewise.
20518 (_G_off_t): Likewise.
20519 (_G_pid_t): Likewise.
20520 (_G_uid_t): Likewise.
20521 (_G_wchar_t): Likewise.
20522 (_G_wint_t): Likewise.
20523 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20524 (_G_ssize_t): Likewise.
20525 (_G_off_t): Likewise.
20526 (_G_pid_t): Likewise.
20527 (_G_uid_t): Likewise.
20528 (_G_wchar_t): Likewise.
20529 (_G_wint_t): Likewise.
20530
9fab36eb
SP
205312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20532
20533 * malloc/arena.c: Include malloc-sysdep.h.
20534 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20535 is sufficient to shrink the heap or an unmap is needed.
20536 * sysdeps/generic/malloc-sysdep.h: New file. Define
20537 new function check_may_shrink_heap.
20538 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20539 new function check_may_shrink_heap.
20540
2b4f00d1
SP
205412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20542
20543 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20544 comments.
20545
9a9028b1
DL
205462012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20547
57c69bef
DL
20548 * catgets/test-gencat.sh: Add "set -e".
20549 * elf/tst-pathopt.sh: Likewise.
20550 * grp/tst_fgetgrent.sh: Likewise.
20551 * iconvdata/run-iconv-test.sh: Likewise.
20552 * intl/tst-gettext.sh: Likewise.
20553 * intl/tst-gettext2.sh: Likewise.
20554 * intl/tst-gettext4.sh: Likewise.
20555 * intl/tst-gettext6.sh: Likewise.
20556 * intl/tst-translit.sh: Likewise.
20557 * io/ftwtest-sh: Likewise.
20558 * libio/test-freopen.sh: Likewise.
20559 * malloc/tst-mtrace.sh: Likewise.
20560 * posix/globtest.sh: Likewise.
20561 * posix/tst-getconf.sh: Likewise.
20562 * posix/wordexp-tst.sh: Likewise.
20563 * stdio-common/tst-printf.sh: Likewise.
20564 * stdio-common/tst-unbputc.sh: Likewise.
20565 * stdlib/tst-fmtmsg.sh: Likewise.
20566 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20567 * catgets/Makefile: Do not specify -e option when running
20568 testsuite shell scripts.
20569 * elf/Makefile: Likewise.
20570 * grp/Makefile: Likewise.
20571 * iconvdata/Makefile: Likewise.
20572 * intl/Makefile: Likewise.
20573 * io/Makefile: Likewise.
20574 * libio/Makefile: Likewise.
20575 * malloc/Makefile: Likewise.
20576 * posix/Makefile: Likewise.
20577 * stdio-common/Makefile: Likewise.
20578 * stdlib/Makefile: Likewise.
20579 * sysdeps/x86_64/Makefile: Likewise.
20580
9a9028b1
DL
20581 * io/ftwtest-sh: Add copyright header.
20582 * posix/globtest.sh: Likewise.
20583 * posix/tst-getconf.sh: Likewise.
20584 * posix/wordexp-tst.sh: Likewise.
20585 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20586
ced6f16e
L
205872012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20588
94b32c39
L
20589 [BZ #13679]
20590 * Makeconfig (+link): Defined as $(+link-static) if
20591 $(build-shared) isn't yes.
20592 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20593 isn't yes.
20594 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20595
189e935b
L
20596 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20597
ced6f16e
L
20598 [BZ #14562]
20599 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20600 new chunk size with MALLOC_ALIGN_MASK.
20601
a9f8e53a
JM
206022012-09-24 Joseph Myers <joseph@codesourcery.com>
20603
20604 [BZ #5044]
20605 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20606 <rounding-mode.h>.
20607 (__printf_fphex): Determine rounding using get_rounding_mode and
20608 round_away.
20609 * stdio-common/tst-printf-round.c (struct hex_test): New
20610 structure.
20611 (hex_tests): New variable.
20612 (test_hex_in_one_mode): New function.
20613 (do_test): Also run tests for hex float output.
20614
43153109
JM
206152012-09-21 Joseph Myers <joseph@codesourcery.com>
20616
20617 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20618 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20619 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20620 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20621 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20622 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20623 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20624 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20625
8a26625d
JM
206262012-09-20 Joseph Myers <joseph@codesourcery.com>
20627
20628 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20629 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20630 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20631 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20632
f3fd569c
DL
206332012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20634
20635 [BZ #14579]
20636 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20637 mode only.
20638 * elf/tst-rtld-load-self.sh: New test.
20639 * elf/Makefile: Run it.
20640
63bbedd4
JM
206412012-09-18 Joseph Myers <joseph@codesourcery.com>
20642
20643 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20644 (tst-writev-ENV): Remove.
20645 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20646
626f8b6a
CM
206472012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20648
20649 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20650
b7aaa4d6
JM
206512012-09-17 Joseph Myers <joseph@codesourcery.com>
20652
20653 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20654 unconditional.
20655 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20656 Likewise.
20657 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20658 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20659 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20660 Likewise.
20661
65513990
L
206622012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20663
20664 [BZ #14587]
20665 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20666 * config.make.in (have-cpp-asm-debuginfo): Removed.
20667 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20668 * configure: Regenerated.
20669
784761be
JM
206702012-09-14 Joseph Myers <joseph@codesourcery.com>
20671
20672 [BZ #5044]
20673 * stdio-common/printf_fp.c: Include <stdbool.h> and
20674 <rounding-mode.h>.
20675 (___printf_fp): Determine rounding using get_rounding_mode and
20676 round_away.
20677 * stdio-common/tst-printf-round.c: New file.
20678 * stdio-common/Makefile (tests): Add tst-printf-round.
20679 (link-libm): New variable.
20680 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20681
9503345f
L
206822012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20683
20684 [BZ #14576]
20685 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20686 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20687 Likewise.
20688 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20689 Likewise.
20690
ad35fc00
JM
206912012-09-13 Joseph Myers <joseph@codesourcery.com>
20692
20693 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20694 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20695 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20696 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20697
6c9b0f68
JM
206982012-09-12 Joseph Myers <joseph@codesourcery.com>
20699
20700 [BZ #14518]
20701 * include/rounding-mode.h: New file.
20702 * sysdeps/generic/get-rounding-mode.h: Likewise.
20703 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20704 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20705 (MAX_VALUE): New macro.
20706 (MIN_VALUE): Likewise.
20707 (overflow_value): New function.
20708 (underflow_value): Likewise.
20709 (round_and_return): Use overflow_value and underflow_value to
20710 determine return values in overflow and underflow cases. Use
20711 round_away to determine rounding depending on rounding mode.
20712 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20713 determine return values in overflow and underflow cases.
20714 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20715 (struct test_results): New structure.
20716 (struct test): Use struct test_results to store expected results
20717 for all rounding modes.
20718 (TEST): Include expected results for all rounding modes.
20719 (test_in_one_mode): New function.
20720 (do_test): Use test_in_one_mode to compute and check results.
20721 Check results for all rounding modes.
20722 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20723 $(link-libm).
20724
19fcedd5
AM
207252012-12-09 Allan McRae <allan@archlinux.org>
20726
1e9d84cd 20727 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20728
8bbfd2f1
JM
207292012-09-11 Joseph Myers <joseph@codesourcery.com>
20730
20731 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20732 (_G_int32_t): Likewise.
20733 (_G_uint16_t): Likewise.
20734 (_G_uint32_t): Likewise.
20735 (_G_HAVE_BOOL): Likewise.
20736 (_G_HAVE_ATEXIT): Likewise.
20737 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20738 (_G_HAVE_IO_FILE_OPEN): Likewise.
20739 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20740 (_G_int32_t): Likewise.
20741 (_G_uint16_t): Likewise.
20742 (_G_uint32_t): Likewise.
20743 (_G_HAVE_BOOL): Likewise.
20744 (_G_HAVE_ATEXIT): Likewise.
20745 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20746 (_G_HAVE_IO_FILE_OPEN): Likewise.
20747 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20748 (_G_int32_t): Likewise.
20749 (_G_uint16_t): Likewise.
20750 (_G_uint32_t): Likewise.
20751 (_G_HAVE_BOOL): Likewise.
20752 (_G_HAVE_ATEXIT): Likewise.
20753 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20754 (_G_HAVE_IO_FILE_OPEN): Likewise.
20755
b1dc5912
L
207562012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20757
20758 * csu/libc-tls.c: Update copyright years.
20759
0e886ef9
JM
207602012-09-10 Joseph Myers <joseph@codesourcery.com>
20761
28361c5e
JM
20762 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20763 [!_G_USING_THUNKS]: Remove conditional code.
20764 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20765 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20766
0e886ef9
JM
20767 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20768 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20769 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20770 (_G_VTABLE_LABEL_PREFIX): Likewise.
20771 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20772 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20773 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20774 (_G_VTABLE_LABEL_PREFIX): Likewise.
20775 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20776 * sysdeps/mach/hurd/_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
bcba7aa2
L
207812012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20782
20783 * libio/Makefile: Include ../Makeconfig before tests.
20784 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20785 only if $(build-shared) is yes.
20786
06585ee8
L
20787 * iconv/gconv_db.c: Update copyright years.
20788
80ccd52c
LD
207892012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20790
20791 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20792 unwind info if defined PIC. Fix special cases description.
20793 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20794
20795 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20796 DP_HI_MASK entry.
20797 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20798
691bc9c1
L
207992012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20800
3d9b46b3
L
20801 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20802
de2139a9
L
20803 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20804 is NULL.
20805
5ca78dd0
L
20806 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20807 (LDLIBS-tst-chk4): This.
20808 (LDFLAGS-tst-chk5): Renamed to ...
20809 (LDLIBS-tst-chk5): This.
20810 (LDFLAGS-tst-chk6): Renamed to ...
20811 (LDLIBS-tst-chk6): This.
20812 (LDFLAGS-tst-lfschk4): Renamed to ...
20813 (LDLIBS-tst-lfschk4): This.
20814 (LDFLAGS-tst-lfschk5): Renamed to ...
20815 (LDLIBS-tst-lfschk5): This.
20816 (LDFLAGS-tst-lfschk6): Renamed to ...
20817 (LDLIBS-tst-lfschk6): This.
20818
691bc9c1
L
20819 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20820 on $(common-objpfx)soversions.mk.
20821
65cafb1c
JM
208222012-09-07 Joseph Myers <joseph@codesourcery.com>
20823
20824 [BZ #10014]
20825 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20826 example host name.
20827
c78ab094
SP
208282012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20829
20830 * malloc/arena.c (arena_get_retry): New function that gets
20831 another arena for the caller to try its request on.
20832 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20833 current arena cannot fulfill the request.
20834 (__libc_memalign): Likewise.
20835 (__libc_memalign): Likewise.
20836 (__libc_pvalloc): Likewise.
20837 (__libc_calloc): Likewise.
20838
01f49f59
JT
208392012-09-05 John Tobey <john.tobey@gmail.com>
20840
20841 [BZ #13542]
20842 * manual/arith.texi (Operations on Complex): Fix description
20843 of carg branch cut.
20844
4c23fed5
JM
208452012-09-06 Joseph Myers <joseph@codesourcery.com>
20846
1d3c8572
JM
20847 [BZ #10014]
20848 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20849 host name.
20850
4c23fed5
JM
20851 [BZ #10038]
20852 * manual/memory.texi (Memory): Make order of menu items match
20853 order of sections.
20854
04570aaa
L
208552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20856
20857 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20858 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20859 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20860
b80af2f4
L
208612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20862
20863 * csu/libc-tls.c (static_dtv): Renamed to ...
20864 (_dl_static_dtv): This. Make it global.
20865 (_dl_initial_dtv): Removed.
20866 (__libc_setup_tls): Updated.
20867 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20868 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20869 DL_INITIAL_DTV.
20870
2abe9f15
PM
208712012-09-06 Petr Machata <pmachata@redhat.com>
20872
20873 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20874 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20875 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20876 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20877
0948c3af
L
208782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20879
20880 [BZ #14545]
20881 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20882 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20883 freeing dtv[-1].
20884
a5055ad1
L
208852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20886
20887 [BZ #14544]
20888 * Makeconfig (link-static-before-libc): Replace $(+prector)
20889 with $(+prectorT).
20890 (link-static-after-libc): Replace $(+postctor) with
20891 $(+postctorT).
20892 (link-bounded): Replace $(+prector)/$(+postctor) with
20893 $(+prectorT)/$(+postctorT).
20894 (+prectorT): New macro.
20895 (+postctorT): Likewise.
20896
ed8c2ecd
JM
208972012-09-06 Joseph Myers <joseph@codesourcery.com>
20898
20899 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20900 (round_str): Handle values above the maximum for IBM long double
20901 as inexact.
20902 * stdlib/tst-strtod-round.c (tests): Regenerated.
20903
14c996c8
AK
209042012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20905
20906 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20907 assembler flag.
20908 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20909 zarch_nohighgprs around the zarch optimized routines.
20910 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20911 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20912 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20913 for zarch.
20914
430d6ce6
DM
209152012-09-05 David S. Miller <davem@davemloft.net>
20916
20917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20918
ff04dda4
DM
20919 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20920 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20921 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20922 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20923 entries.
20924
24d4e01b
AO
209252012-09-05 Alexandre Oliva <aoliva@redhat.com>
20926
20927 * malloc/arena.c: Fold copyright years.
20928 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20929
61d58174
AO
209302012-09-05 Alexandre Oliva <aoliva@redhat.com>
20931
20932 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20933
20196a5e
AO
209342012-09-05 Alexandre Oliva <aoliva@redhat.com>
20935
20936 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20937
5c447383
AO
209382012-09-05 Alexandre Oliva <aoliva@redhat.com>
20939
20940 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20941 change internal state upon failure.
20942
fad64255
AO
209432012-09-05 Alexandre Oliva <aoliva@redhat.com>
20944
20945 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20946 * malloc/memusage.c (mmap): Likewise.
20947 (mmap64, mremap): Likewise. Adjust name in comment.
20948
1ffb8c90
SP
209492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20950
20951 * libio/fileops.c: Fix typos in comments.
20952 * libio/oldfileops.c: Likewise.
20953 * libio/wfileops.c: Likewise.
20954
6ef9cc37
SP
209552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20956
20957 [BZ #1349]
20958 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20959 (tst-malloc-usable-ENV): Set environment for test case.
20960 * malloc/hooks.c (malloc_check_get_size): New function to get
20961 requested size.
20962 * malloc/malloc.c (musable): Use malloc_check_get_size.
20963 * malloc/tst-malloc-usable.c: New test case.
20964
4d038ae3
AS
209652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20966
20967 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20968
c4e85184
AM
209692012-09-05 Allan McRae <allan@archlinux.org>
20970
b9dafc56 20971 [BZ #13966]
c4e85184
AM
20972 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20973 determine header location.
20974 * configure: Regenerated.
20975
e1343020
AS
209762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20977
20978 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20979 float format.
20980 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
20981 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20982 format.
e1343020
AS
20983 (test): Regenerate.
20984
0a9f1987
DM
209852012-09-04 David S. Miller <davem@davemloft.net>
20986
20987 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20988 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20989 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20990
29237804
FW
209912012-09-04 Florian Weimer <fweimer@redhat.com>
20992
20993 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20994 failures.
20995
edb3cb88
FW
20996 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20997
60160d83
JM
209982012-09-04 Joseph Myers <joseph@codesourcery.com>
20999
21000 [BZ #9914]
21001 * libio/iogetdelim.c: Include <limits.h>.
21002 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21003 + len + 1 would overflow.
21004
bcd6c8dc
AJ
210052012-09-03 Andreas Jaeger <aj@suse.de>
21006
21007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21008 * sysdeps/i386/fpu/libm-test-ulps: Update.
21009
4ffffbd2
LD
210102012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21011
21012 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21013 Add s_sinf-sse2, s_conf-sse2.
21014
21015 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21016 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21017 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21018 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21019
21020 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21021 for using routine as __sinf_ia32.
21022 Use macro for function declaration and weak_alias.
21023 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21024 for using routine as __cosf_ia32.
21025 Use macro for function declaration and weak_alias.
21026
21027 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21028 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21029
21030 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21031 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21033
21034 * math/libm-test.inc (cos_test): Add more test cases.
21035 (sin_test): Likewise.
21036 (sincos_test): Likewise.
21037
511fa286
AK
210382012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21039
21040 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21041 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21042 hidden.
21043 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21044
5f30cfec
L
210452012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21046
21047 [BZ #14538]
21048 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21049 first element of the GOT.
21050 (elf_machine_load_address): Return the difference between
21051 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21052
0786794f
AM
210532012-09-01 Allan McRae <allan@archlinux.org>
21054
5f30cfec
L
21055 [BZ #13412]
21056 * configure.in (AWK): Require gawk version 3.0 or later.
21057 * configure: Regenerated.
0786794f 21058
26889eac
JM
210592012-09-01 Joseph Myers <joseph@codesourcery.com>
21060
21061 * sysdeps/unix/sysv/linux/kernel-features.h
21062 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21063 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21064 [__NR_clock_getres]: Make code unconditional.
21065 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21066 (clock_getcpuclockid): Remove code left unreachable by removal of
21067 conditionals.
21068 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21069 code unconditional.
21070 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21071 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21072 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21073 Make code unconditional.
21074 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21075 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21076 * sysdeps/unix/sysv/linux/clock_settime.c
21077 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21078 conditional code.
21079 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21080 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21081
d22e28b0
L
210822012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21083
21084 [BZ #14476]
21085 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21086 scripts/test-installation.pl.
21087
21088 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21089 and $ld_so_version if it is set.
21090
050af9c4
SP
210912012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21092
21093 [BZ #14516]
21094 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21095 failure if reading from procfs failed.
21096 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21097
ad845c0b
JM
210982012-08-27 Joseph Myers <joseph@codesourcery.com>
21099
21100 * sysdeps/unix/sysv/linux/kernel-features.h
21101 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21102 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21103 Remove conditional code.
21104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21105 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21106 Remove conditional code.
21107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21108 * sysdeps/unix/sysv/linux/i386/fxstat.c
21109 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21111 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21112 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21114 * sysdeps/unix/sysv/linux/i386/lxstat.c
21115 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21116 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21117 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21118 Remove conditional code.
21119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21120 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21121 Remove conditional code.
21122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21123 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21124 <kernel-features.h>.
21125 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21126 Remove.
21127 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21128 Remove conditional code.
21129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21130 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21131 Remove conditional.
21132
5dbf56af
MF
211332012-08-27 Mike Frysinger <vapier@gentoo.org>
21134
21135 [BZ #5400]
21136 * NEWS: Add fixed bug number.
21137
d6e70f43
JM
211382012-08-27 Joseph Myers <joseph@codesourcery.com>
21139
7efb4737
JM
21140 [BZ #14519]
21141 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21142 underflowing exponent in case of negative sign.
21143 * stdlib/tst-strtod-round-data: Add more tests.
21144 * stdlib/tst-strtod-round.c (tests): Regenerated.
21145
af92131a
JM
21146 [BZ #3479]
21147 * stdlib/strtod_l.c (NDIG): Remove.
21148 (HEXNDIG): Likewise.
21149 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21150 smallest representable value.
21151 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21152 lie within an exact representation of 1/2 ulp of the result.
21153 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21154 unconditionally.
21155 (TENS_P9_IDX): Define unconditionally.
21156 (TENS_P9_SIZE): Likewise.
21157 (TENS_P10_IDX): Likewise.
21158 (TENS_P10_SIZE): Likewise.
21159 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21160 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21161 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21162 entries for 10^2^13 and 10^2^14.
21163 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21164 (TENS_P13_IDX): Define.
21165 (TENS_P13_SIZE): Likewise.
21166 (TENS_P14_IDX): Likewise.
21167 (TENS_P14_SIZE): Likewise.
21168 (_fpioconst_pow10): Change array size to
21169 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21170 unconditional.
21171 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21172 1024]: Add entries for 10^2^13 and 10^2^14.
21173 [LAST_POW10 > _LAST_POW10]: Remove #error.
21174 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21175 (_fpioconst_pow10): Change array size to
21176 FPIOCONST_POW10_ARRAY_SIZE.
21177 * stdlib/gen-fpioconst.c: New file.
21178 * stdlib/gen-tst-strtod-round.c: Likewise.
21179 * stdlib/tst-strtod-round-data: Likewise.
21180 * stdlib/tst-strtod-round.c: Likewise.
21181 * stdlib/Makefile (tests): Add tst-strtod-round.
21182
d6e70f43
JM
21183 [BZ #14459]
21184 * stdlib/strtod_l.c: Include <stdint.h>.
21185 (NDEBUG): Do not define.
21186 (round_and_return): Change EXPONENT parameter to type intmax_t.
21187 Rearrange calculations to avoid internal overflow possibilities.
21188 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21189 Rearrange calculations to avoid internal overflow possibilities.
21190 Assert that number fits inside MPNSIZE limbs.
21191 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21192 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21193 calculations and add assertions to avoid internal overflow
21194 possibilities. Add casts to avoid signed/unsigned operations.
21195 * stdlib/tst-strtod-overflow.c: New file.
21196 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21197
1f529f7d
MP
211982012-08-25 Marek Polacek <polacek@redhat.com>
21199
21200 * time/time.h: Fix some typos in comments.
21201
59a629f1
RM
212022012-08-23 Roland McGrath <roland@hack.frob.com>
21203
21204 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21205 * posix/tst-rfc3484-2.c: Likewise.
21206 * posix/tst-rfc3484-3.c: Likewise.
21207
d3bafbc9
SM
212082012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21209
21210 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21211 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21212
4efcc022
JM
212132012-08-23 Joseph Myers <joseph@codesourcery.com>
21214
21215 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21216 #include of fxstatat64.c.
21217
3cc3ef96
RM
212182012-08-22 Roland McGrath <roland@hack.frob.com>
21219
f04e2132
RM
21220 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21221 * shadow/getspent_r.c: Likewise.
21222 * shadow/getspnam.c: Likewise.
21223 * shadow/getspnam_r.c: Likewise.
21224 * gshadow/getsgent.c: Likewise.
21225 * gshadow/getsgent_r.c: Likewise.
21226 * gshadow/getsgnam.c: Likewise.
21227 * gshadow/getsgnam_r.c: Likewise.
21228 * inet/getnetbyad.c: Likewise.
21229 * inet/getnetbyad_r.c: Likewise.
21230 * inet/getnetbynm.c: Likewise.
21231 * inet/getnetbynm_r.c: Likewise.
21232 * inet/getnetent.c: Likewise.
21233 * inet/getnetent_r.c: Likewise.
21234 * inet/getproto.c: Likewise.
21235 * inet/getproto_r.c: Likewise.
21236 * inet/getprtent.c: Likewise.
21237 * inet/getprtent_r.c: Likewise.
21238 * inet/getprtname.c: Likewise.
21239 * inet/getprtname_r.c: Likewise.
21240 * inet/getrpcbyname.c: Likewise.
21241 * inet/getrpcbyname_r.c: Likewise.
21242 * inet/getrpcbynumber.c: Likewise.
21243 * inet/getrpcbynumber_r.c: Likewise.
21244 * inet/getrpcent.c: Likewise.
21245 * inet/getrpcent_r.c: Likewise.
21246 * inet/getaliasent.c: Likewise.
21247 * inet/getaliasent_r.c: Likewise.
21248 * inet/getaliasname.c: Likewise.
21249 * inet/getaliasname_r.c: Likewise.
21250 * nscd/getgrgid_r.c: Likewise.
21251 * nscd/getgrnam_r.c: Likewise.
21252 * nscd/gethstbyad_r.c: Likewise.
21253 * nscd/gethstbynm3_r.c: Likewise.
21254 * nscd/getpwnam_r.c: Likewise.
21255 * nscd/getpwuid_r.c: Likewise.
21256 * nscd/getsrvbynm_r.c: Likewise.
21257 * nscd/getsrvbypt_r.c: Likewise.
21258 * nscd/gai.c: Likewise.
21259
c53d909c
RM
21260 * configure.in (build_nscd): New substituted variable, set
21261 by --disable-build-nscd and defaults to $use_nscd.
21262 * configure: Regenerated.
21263 * config.make.in (build-nscd): New substituted variable.
21264 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21265 Change conditional to require [$(build-nscd) = yes] as well.
21266 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21267
3cc3ef96
RM
21268 [BZ# 13696]
21269 * configure.in (use_nscd): New substituted variable, set by
21270 --disable-nscd. If enabled, define USE_NSCD.
21271 * configure: Regenerated.
21272 * config.h.in: Add USE_NSCD.
21273 * config.make.in (use-nscd): New substituted variable.
21274 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21275 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21276 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21277 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21278 (CFLAGS-getgrnam_r.c): Likewise.
21279 (CFLAGS-initgroups.c): Likewise.
21280 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21281 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21282 Variables removed.
21283 * inet/getnetgrent_r.c
21284 (nscd_setnetgrent): New function, broken out of ...
21285 (setnetgrent): ... here. Call it.
21286 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21287 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21288 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21289 * nscd/Makefile (routines, aux): Move definitions after include of
21290 Makeconfig. Conditionalize on [$(use-nscd) != no].
21291 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21292 Conditionalize on [USE_NSCD].
21293 (is_nscd, nscd_init_cb): Likewise.
21294 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21295 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21296 * nss/nss_db/db-init.c: Likewise.
21297 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21298 [USE_NSCD].
21299 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21300 (make_request): Use it.
21301 (cache_valid_p): New function.
21302 (__check_pf): Use it.
21303 * NEWS: Add item for --disable-nscd.
21304
07e51550
DL
213052012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21306
21307 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21308 to support sed >= 4.2.1-20-ga9bf076.
21309 * configure: Regenerated.
21310
35a5b08b
RM
213112012-08-22 Roland McGrath <roland@hack.frob.com>
21312
21313 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21314 Conditionalize whole body on [IREL].
21315
8479f23a
JL
213162012-08-22 Jeff Law <law@redhat.com>
21317
21318 [BZ #14505]
21319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21320 if the family is PF_UNSPEC.
21321
48da0b21
MF
213222012-08-22 Mike Frysinger <vapier@gentoo.org>
21323
21324 * Makerules (lib-version): Rename from V.
21325 (install-lib-nosubdir): Change V to lib-version.
21326
15d0da8c
WS
213272012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21328
21329 [BZ #14252]
21330 * powerpc32/power6/wcschr.c: New file.
21331 * powerpc32/power6/wcscpy.c: New file.
21332 * powerpc32/power6/wcsrchr.c: New file.
21333 * powerpc64/power6/wcschr.c: New file.
21334 * powerpc64/power6/wcscpy.c: New file.
21335 * powerpc64/power6/wcsrchr.c: New file.
21336
bcca0895
MK
213372012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21338
21339 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21340 (two_way_short_needle): Use it.
5a4aaa33
RM
21341 * string/strstr.c (AVAILABLE1_USES_J): Define.
21342 * string/strcasestr.c: Likewise.
99677e57
MK
21343
21344 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21345 array references.
21346 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21347
400726de
MK
21348 [BZ #11607]
21349 * NEWS: Add an entry.
21350 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21351 define their defaults.
21352 (two_way_short_needle): Detect end-of-string on-the-fly.
21353 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21354 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21355 * string/bug-strcasestr1.c: New test.
21356 * string/Makefile: Run it.
21357
20a71f2c
MK
213582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21359
21360 [BZ #11607]
21361 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21362 the first character.
21363
21ad0558
RM
213642012-08-21 Roland McGrath <roland@hack.frob.com>
21365
21366 * csu/elf-init.c (__libc_csu_irel): Function removed.
21367 * csu/libc-start.c (apply_irel): New function.
21368 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21369
0e1d9911
JM
213702012-08-21 Joseph Myers <joseph@codesourcery.com>
21371
21372 * sysdeps/unix/sysv/linux/kernel-features.h
21373 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21374 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21375 <kernel-features.h>.
21376 [__NR_fadvise64_64]: Make code unconditional.
21377 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21378 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21379 !__NR_fadvise64_64)]: Likewise.
21380 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21381 !__NR_fadvise64_64))]: Likewise.
21382 [__NR_fadvise64]: Make code unconditional.
21383 [!__NR_fadvise64]: Remove conditional code.
21384 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21385 <kernel-features.h>.
21386 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21387 unconditional.
21388 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21389 conditional code.
21390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21391 not include <kernel-features.h>.
21392 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21393 unconditional.
21394 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21395 conditional code.
21396 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21397 include <kernel-features.h>.
21398 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21399 unconditional.
21400 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21401 conditional code.
21402
14a50c9d
WS
214032012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21404
21405 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21406 slight instruction rearrangements per scrollpipe analysis.
21407 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21408
c0f4faf0
RM
214092012-08-20 Roland McGrath <roland@hack.frob.com>
21410
696da859
RM
21411 * manual/syslog.texi (syslog; vsyslog, closelog):
21412 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21413 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21414
c0f4faf0
RM
21415 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21416 DSOCAPS to match condition on defining it.
21417
348363b2
JM
214182012-08-20 Joseph Myers <joseph@codesourcery.com>
21419
a35cbf28
JM
21420 * sysdeps/unix/sysv/linux/kernel-features.h
21421 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21423 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21424 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21426 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21427 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21429 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21430 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21431
445f7ecd
JM
21432 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21433 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21434
348363b2
JM
21435 * sysdeps/unix/sysv/linux/kernel-features.h
21436 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21437 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21438 unconditional.
21439 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21440 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21441 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21442 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21443 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21444 Make code unconditional.
21445 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21446 (__mmap64) [!__NR_mmap2]: Likewise.
21447 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21448 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21449 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21450 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21451 [__NR_mmap2]: Make code unconditional.
21452 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21453 (__mmap64) [!__NR_mmap2]: Likewise.
21454
bc5bc0e5
AK
214552012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21456
21457 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21458
88d506de
AJ
214592012-08-18 Andreas Jaeger <aj@suse.de>
21460
21461 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21462
493387d2
MF
214632012-08-18 Mike Frysinger <vapier@gentoo.org>
21464
21465 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21466 * include/unistd.h (__have_sock_cloexec): Likewise.
21467 (__have_pipe2): Likewise.
21468 (__have_dup3): Likewise.
21469
a277af22
MF
214702012-08-18 Mike Frysinger <vapier@gentoo.org>
21471
21472 [BZ #9685]
21473 * include/unistd.h (__have_pipe2): Change define into an extern int.
21474 (__have_dup3): Likewise.
21475 * socket/have_sock_cloexec.c: Include fcntl.h.
21476 (__have_pipe2): New variable.
21477 (__have_dup3): Likewise.
21478
fdab8fd3
MF
214792012-08-17 Mike Frysinger <vapier@gentoo.org>
21480
21481 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21482
31035e80
MP
214832012-08-17 Marek Polacek <polacek@redhat.com>
21484
21485 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21486 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21487
3bd9e993
RM
214882012-08-17 Roland McGrath <roland@hack.frob.com>
21489
c91c505f
RM
21490 * configure.in: Add AC_SUBST for sysheaders.
21491 * configure: Regenerated.
21492 * config.make.in (sysheaders): New substituted variable.
21493
7c6f9d53
RM
21494 * sysdeps/unix/mkfifo.c: Moved ...
21495 * sysdeps/posix/mkfifo.c: ... here.
21496 * sysdeps/unix/mkfifoat.c: Moved ...
21497 * sysdeps/posix/mkfifoat.c: ... here.
21498
21499 * sysdeps/unix/utime.c: Moved ...
21500 * sysdeps/posix/utime.c: ... here.
21501
21502 * sysdeps/unix/time.c: Moved ...
21503 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21504 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21505 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21506
21507 * sysdeps/unix/nice.c: Moved ...
21508 * sysdeps/posix/nice.c: ... here.
21509
21510 * sysdeps/unix/alarm.c: Moved ...
21511 * sysdeps/posix/alarm.c: ... here.
21512
3bd9e993
RM
21513 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21514
d1f09384
JL
215152012-08-17 Jeff Law <law@redhat.com>
21516
21517 * intl/Makefile (codeset_mo): New variable.
21518 ($(codeset_mo)): New target.
21519 (tst-codeset.out): Depend on that. Remove explicit rule.
21520 (tst-gettext3.out, tst-gettext5.out): Likewise.
21521 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21522 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21523 * intl/tst-codeset.sh: Remove.
21524 * intl/tst-gettext3.sh: Likewise.
21525 * intl/tst-gettext5.sh: Likewise.
21526
2ae1ae5c
RM
215272012-08-17 Roland McGrath <roland@hack.frob.com>
21528
c31fdb83
RM
21529 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21530 * sysdeps/unix/syscalls.list: ... here.
21531
a0844057
RM
21532 * sysdeps/posix/getaddrinfo.c
21533 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21534 (gaiconf_init, gaiconf_reload): Use them.
21535 [!_STATBUF_ST_NSEC]
21536 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21537 Define using time_t rather than struct timespec.
21538
750c1f2a
RM
21539 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21540 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21541 Macros removed.
21542 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21543 [!NO_THREADS].
21544 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21545 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21546 Likewise.
21547
2ae1ae5c
RM
21548 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21549 __libc_cleanup_push argument.
21550
e66a42f5
RM
21551 * bits/param.h: New file.
21552 * misc/sys/param.h: New file.
21553 * include/sys/param.h: New file.
21554 * misc/Makefile (headers): Add bits/param.h.
21555 * sysdeps/generic/sys/param.h: File removed.
21556 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21557 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21558 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21559 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21560
b7c08a66
RM
21561 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21562 last change.
21563
b2e1c562
RM
21564 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21565 [_IO_MTSAFE_IO].
21566 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21567 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21568 New macros.
21569
c75ccd4c
RM
21570 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21571 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21572 rather than -D_IO_MTSAFE_IO conditionally.
21573 * stdio-common/Makefile (CPPFLAGS): Likewise.
21574 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21575 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21576 Use $(libio-mtsafe).
21577 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21578 of -D_IO_MTSAFE_IO.
21579 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21580 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21581 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21582 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21583 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21584 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21585 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21586 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21587 (CFLAGS-fread_u_chk.c): Likewise.
21588 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21589 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21590 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21591 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21592 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21593 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21594 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21595 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21596 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21597
21598 * libio/Makefile: Test [$(libc-reentrant) = yes]
21599 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21600
21601 * Makeconfig
21602 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21603 * sysdeps/pthread/configure: File removed.
21604 * sysdeps/pthread/Makeconfig: New file.
21605 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21606 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21607
d9195db8
GB
216082012-08-16 Gary Benson <gbenson@redhat.com>
21609
21610 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21611 unmapping the first object in a namespace.
21612
86466cd9
RM
216132012-08-16 Roland McGrath <roland@hack.frob.com>
21614
21615 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21616 (__internal_setnetgrent): ... this. Add internal_function to
21617 definition. Add libc_hidden_def.
21618 (setnetgrent): Update caller.
21619 (internal_endnetgrent): Renamed to ...
21620 (__internal_endnetgrent): ... this. Add internal_function to
21621 definition. Add libc_hidden_def.
21622 (endnetgrent): Update caller.
21623 (internal_getnetgrent_r): Renamed to ...
21624 (__internal_getnetgrent_r): ... this. Add internal_function to
21625 definition. Add libc_hidden_def.
21626 (__getnetgrent_r): Update caller.
21627 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21628
c3c8283c
JM
216292012-08-16 Joseph Myers <joseph@codesourcery.com>
21630
21631 * stdlib/longlong.h: Update from GCC.
21632
db1ee0a8
RM
216332012-08-16 Roland McGrath <roland@hack.frob.com>
21634
21635 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21636 on _QL, which is set by umul_ppmm but never used.
21637 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21638 variables, which are set by GMP macros but never used.
21639 * stdio-common/_itowa.c (_itowa): Likewise.
21640 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21641 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21642
30f69637
CD
216432012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21644
21645 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21646 struct La_sh_regs is not constant.
21647 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21648 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21649 and struct La_sparc64_regs are not constant.
21650
93a78ac4
JM
216512012-08-16 Joseph Myers <joseph@codesourcery.com>
21652
21653 * sysdeps/unix/sysv/linux/kernel-features.h
21654 (__ASSUME_POSIX_TIMERS): Remove.
21655 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21657 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21658 Make code unconditional.
21659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21660 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21661 Make code unconditional.
21662 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21663 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21664 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21665 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21666 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21667 Make code unconditional.
21668 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21669 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21670 (__libc_missing_posix_timers): Remove.
21671
dd924cd7
RM
216722012-08-15 Roland McGrath <roland@hack.frob.com>
21673
4b4f2771
RM
21674 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21675 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21676
601c888b
RM
21677 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21678
176790a7
RM
21679 * elf/dl-sym.c: Include <stdlib.h>.
21680
329bc018
RM
21681 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21682 constants, which avoids warnings in 32-bit builds.
21683
e04e272d
RM
21684 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21685 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21686
952bf94a
RM
21687 * misc/lseek.c: File moved to ...
21688 * io/lseek.c: ... here.
21689
7c99b50a
RM
21690 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21691
dd924cd7
RM
21692 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21693 shifting LEN more than 31 bits at once.
21694
b3f479a8
LD
216952012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21696
21697 [BZ #14195]
8c4ae0d4
RM
21698 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21699 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21700 * string/test-strncasecmp.c (check1): Renamed to...
21701 (bz12205): ...this.
21702 (bz14195): Add new testcase for two empty input strings and N > 0.
21703 (test_main): Call new testcase, adapt for renamed function.
21704
9c55864e
AJ
217052012-08-15 Andreas Jaeger <aj@suse.de>
21706
21707 [BZ #14090]
21708 * crypt/md5test2.c: New test, based on test supplied by Serge
21709 Belyshev <belyshev@depni.sinp.msu.ru>.
21710 * crypt/Makefile (xtests): Add md5test-giant..
21711 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21712
02dcb6c5
PE
217132012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21714
21715 [BZ #14090]
21716 * crypt/md5.c (md5_process_block): Don't assume the buffer
21717 length is less than 2**32.
21718 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21719 length is less than 2**64.
21720
a3f95dcc
RM
217212012-08-15 Roland McGrath <roland@hack.frob.com>
21722
be75d758
RM
21723 * string/str-two-way.h: Include <sys/param.h>.
21724 (MAX): Macro removed.
21725
7312ca90
RM
21726 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21727 Move #define and #undef of memmove to just before and after
21728 including <string.h>.
21729
9a0a5486
RM
21730 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21731 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21732 and after including <string.h>. Move declarations of
21733 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21734 to before #include "string/memmove.c".
21735
67cc348d
RM
21736 * include/dirent.h: Declare __getdirentries.
21737
a3f95dcc
RM
21738 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21739 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21740
ca98e171
MF
217412012-08-14 Mike Frysinger <vapier@gentoo.org>
21742
21743 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21744 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21745 * sysdeps/i386/configure: Regenerated.
21746 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21747 STABS_CURRENT_FILE, and STABS_FUN.
21748 (END): Remove call to STABS_FUN_END.
21749 (STABS_CURRENT_FILE1): Delete.
21750 (STABS_CURRENT_FILE): Likewise.
21751 (STABS_FUN): Likewise.
21752 (STABS_FUN_END): Likewise.
21753 (STABS_FUN2): Likewise.
21754 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21755 * sysdeps/x86_64/configure: Regenerated.
21756
5908bf46
RM
217572012-08-14 Roland McGrath <roland@hack.frob.com>
21758
21759 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21760 * elf/dl-lookup.c: Likewise.
5908bf46 21761
f2c05b9e
JM
217622012-08-14 Joseph Myers <joseph@codesourcery.com>
21763
21764 * sysdeps/unix/sysv/linux/kernel-features.h
21765 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21766 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21767 unconditionally.
21768 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21769 unconditionally.
21770 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21771 condition on __ASSUME_CLONE_THREAD_FLAGS.
21772
e11f5155
AJ
217732012-08-14 Andreas Jaeger <aj@suse.de>
21774
21775 * sysdeps/i386/fpu/libm-test-ulps: Update.
21776
51a9ba86
MK
217772012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21778
2fdd4f78
AJ
21779 * include/atomic.h (atomic_exchange_and_add): Split into ...
21780 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21781 New atomic macros.
51a9ba86 21782
ba6cba9e
MT
217832012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21784
21785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21786
42443a47
JL
217872012-08-13 Jeff Law <law@redhat.com>
21788
21789 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21790 null byte in the output string.
21791
121dce05
JM
217922012-08-10 Joseph Myers <joseph@codesourcery.com>
21793
21794 * sysdeps/unix/sysv/linux/kernel-features.h
21795 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21796 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21797 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21798 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21799 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21800 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21801 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21802
bf51f568
JL
218032012-08-09 Jeff Law <law@redhat.com>
21804
21805 [BZ #13939]
21806 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21807 When avoid_arena is set, don't retry in the that arena. Pick the
21808 next one, whatever it might be.
21809 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21810 (arena_lock): Pass in new parameter to arena_get2.
21811 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21812 arena_get2.
21813 (__libc_malloc): Unify retrying after main arena failure with
21814 __libc_memalign version.
21815 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21816
f85fa270
L
218172012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21818
21819 [BZ #14166]
21820 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21821 to __redirect_strstr.
21822 (__strstr_sse42): Use typeof __redirect_strstr.
21823 (__strstr_ia32): Likewise.
21824 (__libc_strstr): New prototype.
21825 (strstr): Renamed to ...
21826 (__libc_strstr): This.
21827 (strstr): New strong alias of __libc_strstr.
21828 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21829 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21830 __redirect_time.
21831 Include <time.h>.
21832 (__libc_time): New prototype.
21833 (time_ifunc): Replace time with __libc_time.
21834 (time): New strong alias and hidden definition of __libc_time.
21835 (__GI_time): Remove strong alias.
21836 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21837 Include <stddef.h>.
21838 (memmove): Redefined to __redirect_memmove.
21839 (__memmove_sse2): Use typeof __redirect_memmove.
21840 (__memmove_ssse3): Likewise.
21841 (__memmove_ssse3_back): Likewise.
21842 (__libc_memmove): New prototype.
21843 (memmove): Renamed to ...
21844 (__libc_memmove): This.
21845 (memmove): New strong alias of __libc_memmove.
21846
33b4a91e
MS
218472012-08-08 Mark Salter <msalter@redhat.com>
21848
21849 * elf/elf.h
21850 (R_MN10300_TLS_GD): Define.
21851 (R_MN10300_TLS_LD): Likewise.
21852 (R_MN10300_TLS_LDO): Likewise.
21853 (R_MN10300_TLS_GOTIE): Likewise.
21854 (R_MN10300_TLS_IE): Likewise.
21855 (R_MN10300_TLS_LE): Likewise.
21856 (R_MN10300_TLS_DTPMOD): Likewise.
21857 (R_MN10300_TLS_DTPOFF): Likewise.
21858 (R_MN10300_TLS_TPOFF): Likewise.
21859 (R_MN10300_SYM_DIFF): Likewise.
21860 (R_MN10300_ALIGN): Likewise.
21861 (R_MN10300_NUM): Update.
21862
b36137f1
JM
218632012-08-08 Joseph Myers <joseph@codesourcery.com>
21864
21865 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21866 Remove.
21867
cdd915fd
RM
218682012-08-08 Roland McGrath <roland@hack.frob.com>
21869
a2433aac
RM
21870 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21871
cdd915fd
RM
21872 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21873 sysdeps/unix -> sysdeps/posix move.
21874 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21875
bf9b740a
AM
218762012-08-07 Allan McRae <allan@archlinux.org>
21877
21878 [BZ #14303]
21879 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21880 (SUNOS_CPP): Likewise.
21881 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21882 not found.
21883 (open_input): Call CPP using execvp.
21884
93df14ee
JM
218852012-08-07 Joseph Myers <joseph@codesourcery.com>
21886
21887 * sysdeps/unix/sysv/linux/kernel-features.h
21888 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21889 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21890 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21891 (__ASSUME_WAITID_SYSCALL): Likewise.
21892 * sysdeps/unix/sysv/linux/dl-execstack.c
21893 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21894 code unconditional.
21895 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21896 conditional code.
21897 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21898 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21899 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21900 code.
21901 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21902 unconditional.
21903 [__ASSUME_WAITID_SYSCALL]: Likewise.
21904 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21905
d34689de
RM
219062012-08-07 Roland McGrath <roland@hack.frob.com>
21907
a281decc
RM
21908 * sysdeps/unix/closedir.c: Renamed to ...
21909 * sysdeps/posix/closedir.c: ... here.
21910 * sysdeps/unix/dirfd.c: Renamed to ...
21911 * sysdeps/posix/dirfd.c: ... here.
21912 * sysdeps/unix/dirstream.h: Renamed to ...
21913 * sysdeps/posix/dirstream.h: ... here.
21914 * sysdeps/unix/fdopendir.c: Renamed to ...
21915 * sysdeps/posix/fdopendir.c: ... here.
21916 * sysdeps/unix/opendir.c: Renamed to ...
21917 * sysdeps/posix/opendir.c: ... here.
21918 * sysdeps/unix/readdir.c: Renamed to ...
21919 * sysdeps/posix/readdir.c: ... here.
21920 * sysdeps/unix/readdir_r.c: Renamed to ...
21921 * sysdeps/posix/readdir_r.c: ... here.
21922 * sysdeps/unix/rewinddir.c: Renamed to ...
21923 * sysdeps/posix/rewinddir.c: ... here.
21924 * sysdeps/unix/seekdir.c: Renamed to ...
21925 * sysdeps/posix/seekdir.c: ... here.
21926 * sysdeps/unix/telldir.c: Renamed to ...
21927 * sysdeps/posix/telldir.c: ... here.
21928 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21929 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21930 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21931 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21932
22895b47
RM
21933 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21934 * bits/fcntl.h: ... here.
21935
707a53b6
RM
21936 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21937 not 0.
21938 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21939 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21940 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21941 (struct flock): Move l_start, l_len to the beginning.
21942 Use __pid_t for l_pid.
21943 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21944 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21945 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21946 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21947 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21948 [__USE_LARGEFILE64] (struct flock64): New type.
21949 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21950
f0bd3e25
RM
21951 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21952 * bits/dirent.h: ... here.
21953
d34689de
RM
21954 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21955 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21956
6dad2c06
JM
219572012-08-07 Joseph Myers <joseph@codesourcery.com>
21958
21959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21960 Change from 2.6.0 to 2.6.16.
21961 * sysdeps/unix/sysv/linux/configure: Regenerated.
21962 * sysdeps/unix/sysv/linux/kernel-features.h
21963 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21964 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21965 version.
21966 (__ASSUME_UTIMES): Likewise.
21967 (__ASSUME_CLONE_STOPPED): Remove.
21968 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21969 architectures, not kernel version.
21970 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21971 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21972 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21973 (__ASSUME_WAITID_SYSCALL): Likewise.
21974 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21975 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21976 * README: State 2.6.16 as minimum Linux kernel version. Do not
21977 refer to older versions.
21978
03af9520
RM
219792012-08-06 Roland McGrath <roland@hack.frob.com>
21980
8e49df1d
RM
21981 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21982 Define alphasort64 as an alias.
21983 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21984 Define versionsort64 as an alias.
21985 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21986 Define scandir64 as an alias.
21987 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21988 Define scandirat64 as an alias.
21989 * dirent/alphasort64.c (alphasort64):
21990 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21991 * dirent/versionsort64.c: Likewise.
21992 * dirent/scandir64.c: Likewise.
21993 * dirent/scandirat64.c: Likewise.
21994 * sysdeps/wordsize-64/alphasort.c: File removed.
21995 * sysdeps/wordsize-64/alphasort64.c: File removed.
21996 * sysdeps/wordsize-64/scandir.c: File removed.
21997 * sysdeps/wordsize-64/scandir64.c: File removed.
21998 * sysdeps/wordsize-64/scandirat.c: File removed.
21999 * sysdeps/wordsize-64/scandirat64.c: File removed.
22000 * sysdeps/wordsize-64/versionsort.c: File removed.
22001 * sysdeps/wordsize-64/versionsort64.c: File removed.
22002 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22003 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22004 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22005 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22006 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22007 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22009 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22010
22011 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22013 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22015 [defined __arch64__ || defined __sparcv9]
22016 (__INO_T_MATCHES_INO64_T): New macro.
22017 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22018 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22019 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22020 * sysdeps/unix/sysv/linux/bits/dirent.h
22021 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22022 (_DIRENT_MATCHES_DIRENT64): New macro.
22023
03af9520
RM
22024 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22025 Define lockf64 as an alias.
22026 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22027 Define fseeko64 as an alias.
22028 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22029 Define ftello64 as an alias.
22030 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22031 Define _IO_fgetpos64 and fgetpos64 as aliases.
22032 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22033 Define _IO_fsetpos64 and fsetpos64 as aliases.
22034 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22035 Conditionalize body on this.
22036 * libio/fseeko64.c: Likewise.
22037 * libio/ftello64.c: Likewise.
22038 * libio/iofgetpos64.c: Likewise.
22039 * libio/iofsetpos64.c: Likewise.
22040 * sysdeps/wordsize-64/lockf.c: File removed.
22041 * sysdeps/wordsize-64/lockf64.c: File removed.
22042 * sysdeps/wordsize-64/fseeko.c: File removed.
22043 * sysdeps/wordsize-64/fseeko64.c: File removed.
22044 * sysdeps/wordsize-64/ftello.c: File removed.
22045 * sysdeps/wordsize-64/ftello64.c: File removed.
22046 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22047 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22048 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22049 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22050 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22051 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22056 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22057 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22059 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22060
22061 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22063 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22065 [defined __arch64__ || defined __sparcv9]
22066 (__OFF_T_MATCHES_OFF64_T): New macro.
22067 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22068 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22070 (__OFF_T_MATCHES_OFF64_T): New macro.
22071
c5757acd
L
220722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22073
22074 * stdlib/secure-getenv.c (__secure_getenv): Replace
22075 GLIBC_2_16 with GLIBC_2_17.
22076
3a31811e
L
220772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22081
faa2bccb
DM
220822012-08-03 David S. Miller <davem@davemloft.net>
22083
22084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22085
85fe1997
JM
220862012-08-03 Joseph Myers <joseph@codesourcery.com>
22087
22088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22089 Remove.
22090 (__ASSUME_CORRECT_SI_PID): Likewise.
22091 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22092 (__ASSUME_TMPFS_NAME): Likewise.
22093 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22094 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22095 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22096 (HAVE_AUX_SECURE): Make definition unconditional.
22097 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22098 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22099
4f75b7a0
RM
221002012-08-03 Roland McGrath <roland@hack.frob.com>
22101
22102 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22103 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22104 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22105 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22106 __eloop_threshold instead of SYMLOOP_MAX.
22107
22108 * sysdeps/generic/eloop-threshold.h: New file.
22109 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22110 of MAXSYMLINKS.
22111 * elf/chroot_canon.c (chroot_canon): Likewise.
22112
7aab07e4
JM
221132012-08-03 Joseph Myers <joseph@codesourcery.com>
22114
22115 [BZ #13717]
22116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22117 Change to 2.6.0 everywhere.
22118 * sysdeps/unix/sysv/linux/configure: Regenerated.
22119 * sysdeps/unix/sysv/linux/kernel-features.h
22120 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22121 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22122 kernel versions.
22123 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22124 (__ASSUME_FUTEX_REQUEUE): Remove.
22125 (__ASSUME_STATFS64): Define unconditionally.
22126 (__ASSUME_AT_SECURE): Likewise.
22127 (__ASSUME_CORRECT_SI_PID): Likewise.
22128 (__ASSUME_TGKILL): Define without depending on kernel version for
22129 i386.
22130 (__ASSUME_UTIMES): Likewise.
22131 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22132 kernel version.
22133 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22134 (__ASSUME_TMPFS_NAME): Likewise.
22135 * README: Update reference to Linux kernel versions.
22136
b67e9372
MP
221372012-08-02 Marek Polacek <polacek@redhat.com>
22138
1f529f7d 22139 [BZ# 14150]
b67e9372
MP
22140 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22141 libc_cv_asm_type_prefix with %.
22142 * configure: Regenerated.
d2441631
RM
22143 * include/libc-symbols.h: Remove comment about
22144 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22145 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22146 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22147 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22148 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22149 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22150 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22151 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22152 * elf/tst-unique2mod1.c: Likewise.
22153 * elf/tst-unique1mod2.c: Likewise.
22154 * elf/tst-unique1mod1.c: Likewise.
22155 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22156 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22157 Replace ASM_TYPE_DIRECTIVE with .type.
22158 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22159 * sysdeps/i386/sysdep.h: Likewise.
22160 * sysdeps/x86_64/sysdep.h: Likewise.
22161 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22163 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22164 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22165 * sysdeps/powerpc/powerpc32/sysdep.h:
22166 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22167 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22168 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22169 * sysdeps/i386/fpu/e_powf.S: Likewise.
22170 * sysdeps/i386/fpu/e_expl.S: Likewise.
22171 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22172 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22173 * sysdeps/i386/fpu/e_pow.S: Likewise.
22174 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22175 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22176 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22177 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22178 * sysdeps/i386/fpu/e_log2.S: Likewise.
22179 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22180 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22181 * sysdeps/i386/fpu/e_powl.S: Likewise.
22182 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22183 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22184 * sysdeps/i386/fpu/e_logl.S: Likewise.
22185 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22186 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22187 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22188 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22189 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22190 * sysdeps/i386/fpu/e_log.S: Likewise.
22191 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22192 * sysdeps/i386/fpu/e_logf.S: Likewise.
22193 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22194 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22195 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22196 * sysdeps/i386/fpu/e_log10.S: Likewise.
22197 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22198 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22199 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22200 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22201 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22202 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22203 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22204 * sysdeps/i386/i686/strtok.S: Likewise.
22205 * sysdeps/i386/i386-mcount.S: Likewise.
22206 * sysdeps/i386/strtok.S: Likewise.
22207 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22208 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22209 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22211 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22212 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22213 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22214 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22215 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22216 * sysdeps/x86_64/_mcount.S: Likewise.
22217 * sysdeps/x86_64/strtok.S: Likewise.
22218 * sysdeps/sh/_mcount.S: Likewise.
22219
2747bf9a
RM
222202012-08-01 Roland McGrath <roland@hack.frob.com>
22221
22222 * libio/iofopen.c: Include <fcntl.h>.
22223 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22224 (_IO_fopen64, fopen64): Define as aliases.
22225 * libio/iofopen64.c: Include <fcntl.h>.
22226 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22227 Conditionalize body on this.
22228 * sysdeps/wordsize-64/iofopen.c: File removed.
22229 * sysdeps/wordsize-64/iofopen64.c: File removed.
22230
3fb791b8
MP
222312012-08-01 Marek Polacek <polacek@redhat.com>
22232
22233 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22234 Use dlfcn directly instead of a variable.
22235 (binfmt-subdir): Do not define.
22236 (dlfcn): Likewise.
22237
a9f1039f
JM
222382012-08-01 Joseph Myers <joseph@codesourcery.com>
22239
23bddc06
JM
22240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22241 Remove all definitions.
22242 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22243 <kernel-features.h>.
22244 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22245 (miss_F_GETOWN_EX): Remove all definitions.
22246 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22247 macro definition.
22248 [!__ASSUME_FCNTL64]: Remove conditional code.
22249 [__ASSUME_FCNTL64]: Make code unconditional.
22250 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22251 <kernel-features.h>.
22252 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22253 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22254 (lockf64) [__NR_fcntl64]: Make code unconditional.
22255 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22256
a9f1039f
JM
22257 * sysdeps/unix/sysv/linux/kernel-features.h
22258 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22259 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22260 Make code unconditional.
22261 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22262 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22264 [__NR_vfork]: Make code unconditional.
22265 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22266 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22268 [__NR_vfork]: Make code unconditional.
22269 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22270 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22271
09c0ee5f
RM
222722012-08-01 Roland McGrath <roland@hack.frob.com>
22273
48aec5b9
RM
22274 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22275 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22276
cd97c966
RM
22277 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22278 Define mkstemp64 as an alias.
3f55550c
RM
22279 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22280 Define mkstemps64 as an alias.
cd97c966
RM
22281 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22282 Define mkostemp64 as an alias.
b8625cfc
RM
22283 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22284 Define mkostemps64 as an alias.
cd97c966
RM
22285 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22286 Conditionalize body on this.
22287 * misc/mkostemp64.c: Likewise.
b8625cfc 22288 * misc/mkostemps64.c: Likewise.
3f55550c 22289 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22290 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22291 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22292 * sysdeps/wordsize-64/mkostemp.c: File removed.
22293 * sysdeps/wordsize-64/mkstemp.c: File removed.
22294 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22295 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22296 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22297 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22298
09c0ee5f
RM
22299 [BZ #14138]
22300 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22301 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22302 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22303 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22304
22305 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22306 compat_symbol macros from <shlib-compat.h> rather than the underlying
22307 default_symbol_version and symbol_version macros, so that DEFAULT
22308 lines in shlib-versions are respected.
22309 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22310
7e66ee51
FW
223112012-08-01 Florian Weimer <fweimer@redhat.com>
22312
22313 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22314 Declare with warn_unused_result.
22315 (setgid, setregid, setegid, setresgid): Likewise.
22316 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22317 Likewise.
22318 * WUR-REPORT: Remove set*id functions.
22319
d2a54255
PT
223202012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22321
22322 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22323
7ecdb005
RM
223242012-07-31 Roland McGrath <roland@hack.frob.com>
22325
b4180a5e 22326 [BZ #10191]
789bd351
RM
22327 * include/sys/socket.h (__libc_accept, __libc_accept4):
22328 Add attribute_hidden.
22329 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22330
40ce302d
RM
22331 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22332 use of PTR_MANGLE.
22333 * inet/getnetgrent_r.c (setup): Likewise.
22334
7ecdb005
RM
22335 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22336
e2eabb2c
DM
223372012-07-31 David S. Miller <davem@davemloft.net>
22338
22339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22340
d0419dbf
JM
223412012-07-31 Joseph Myers <joseph@codesourcery.com>
22342
22343 [BZ #13629]
22344 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22345 value between 1.0 and 2.0 and smaller part has absolute value less
22346 than 1.0.
22347 * math/s_clog10.c (__clog10): Likewise.
22348 * math/s_clog10f.c (__clog10f): Likewise.
22349 * math/s_clog10l.c (__clog10l): Likewise.
22350 * math/s_clogf.c (__clogf): Likewise.
22351 * math/s_clogl.c (__clogl): Likewise.
22352 * math/libm-test.inc (clog_test): Add more tests.
22353 (clog10_test): Likewise.
22354 * sysdeps/i386/fpu/libm-test-ulps: Update.
22355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22356
2bc13872
FW
223572012-07-31 Florian Weimer <fweimer@redhat.com>
22358
22359 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22360 Exit with zero in case no suitable GID is found, and write a
22361 message to standard error.
22362
bea9b193
RM
223632012-07-30 Roland McGrath <roland@hack.frob.com>
22364
22365 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22366 rather than to 1.
22367 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22368 (MAXPATHLEN): Removed.
22369 (NOGROUP, NODEV): New macros.
22370 (setbit, clrbit, isset, isclr): New macros.
22371 (howmany, roundup, powerof2): New macros.
22372 (DEV_BSIZE): New macro.
22373
22374 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22375 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22376
22377 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22378 definition on [!__NO_LONG_DOUBLE_MATH].
22379
22380 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22381 PTR_MANGLE and PTR_DEMANGLE.
22382
22383 * socket/accept4.c (accept4): Rename to __libc_accept4.
22384 Define accept4 as a weak alias.
22385
22386 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22387 on [_DIRENT_HAVE_D_TYPE].
22388 * io/ftw.c (ftw_dir): Likewise.
22389
22390 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22391
22392 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22393
22394 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22395 Use the BSD numbers rather than the arbitrary ones we had.
22396 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22397 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22398 (SIGXCPU, SIGXFSZ): New macros.
22399 (_NSIG): Now 32.
22400
22401 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22402 initializer on [_LIBC_REENTRANT].
22403
22404 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22405 definitions inside [_POSIX_MAPPED_FILES].
22406
22407 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22408
22409 * dirent/opendir.c: Include <fcntl.h>.
22410
22411 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22412 (__libc_getspecific): Likewise.
22413 (__libc_key_create): Likewise.
22414
22415 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22416 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22417 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22418 (tmpfile64): Define as alias.
22419 * sysdeps/wordsize-64/tmpfile.c: File removed.
22420 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22421 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22422 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22423
22424 * stdio-common/vfscanf.c: Include <stdbool.h>.
22425 * nss/makedb.c: Likewise.
22426 * stdio-common/_i18n_number.h: Likewise.
22427 * argp/argp-help.c: Likewise.
22428 * posix/wordexp.c: Likewise.
22429 * sysdeps/posix/spawni.c: Likewise.
22430 * nss/nss_files/files-initgroups.c: Likewise.
22431 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22432 * nss/nss_files/files-initgroups.c: Likewise.
22433 * nss/nss_db/db-netgrp.c: Likewise.
22434 * nss/nss_db/db-initgroups.c: Likewise.
22435 * io/fchmodat.c: Include <sys/stat.h>.
22436
22437 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22438 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22439
22440 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22441 [HAVE_MMAP].
22442
22443 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22444 Add multiple inclusion protection.
22445
e5abc686
DM
224462012-07-27 David S. Miller <davem@davemloft.net>
22447
22448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22449
815e6fa3
GB
224502012-07-27 Gary Benson <gbenson@redhat.com>
22451
22452 [BZ #14298]
22453 * elf/rtld.c: Include <stap-probe.h>.
22454 (dl_main): Added static probes "init_start" and "init_complete".
22455 * elf/dl-load.c: Include <stap-probe.h>.
22456 (lose): Take new parameter "nsid".
22457 Added static probe "map_failed".
22458 (_dl_map_object_from_fd): Pass namespace id to lose.
22459 Added static probe "map_start".
22460 (open_verify): Pass namespace id to lose.
22461 * elf/dl-open.c: Include <stap-probe.h>.
22462 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22463 and "reloc_complete".
22464 * elf/dl-close.c: Include <stap-probe.h>.
22465 (_dl_close_worker): Added static probes "unmap_start" and
22466 "unmap_complete".
22467 * elf/rtld-debugger-interface.txt: New file documenting the above.
22468
9f98c16c
RM
224692012-07-26 Roland McGrath <roland@hack.frob.com>
22470
22471 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22472 rather than a string variable.
22473 * sunrpc/rpc_main.c (h_output): Likewise.
22474 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22475
f3c22df3
PT
224762012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22477
22478 * inet/check_native.c: New file.
22479
3129cfc6
JM
224802012-07-26 Joseph Myers <joseph@codesourcery.com>
22481
da865e95
JM
22482 [BZ #13629]
22483 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22484 if larger part has absolute value 1.0.
22485 * math/s_clog10.c (__clog10): Likewise.
22486 * math/s_clog10f.c (__clog10f): Likewise.
22487 * math/s_clog10l.c (__clog10l): Likewise.
22488 * math/s_clogf.c (__clogf): Likewise.
22489 * math/s_clogl.c (__clogl): Likewise.
22490 * math/libm-test.inc (clog_test): Add more tests.
22491 (clog10_test): Likewise.
22492 * sysdeps/i386/fpu/libm-test-ulps: Update.
22493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22494
3129cfc6
JM
22495 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22496 (pltexit): Likewise.
22497 (La_regs): Likewise.
22498 (La_retval): Likewise.
22499 (int_retval): Likewise.
22500 Update #error for removed macros to refer only to definitions in
22501 tst-audit.h.
22502 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22503 macro.
22504 (pltexit): Likewise.
22505 (La_regs): Likewise.
22506 (La_retval): Likewise.
22507 (int_retval): Likewise.
22508 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22509 macro.
22510 (pltexit): Likewise.
22511 (La_regs): Likewise.
22512 (La_retval): Likewise.
22513 (int_retval): Likewise.
22514 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22515 macro.
22516 (pltexit): Likewise.
22517 (La_regs): Likewise.
22518 (La_retval): Likewise.
22519 (int_retval): Likewise.
22520 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22521 macro.
22522 (pltexit): Likewise.
22523 (La_regs): Likewise.
22524 (La_retval): Likewise.
22525 (int_retval): Likewise.
22526 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22527 macro.
22528 (pltexit): Likewise.
22529 (La_regs): Likewise.
22530 (La_retval): Likewise.
22531 (int_retval): Likewise.
22532 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22533 macro.
22534 (pltexit): Likewise.
22535 (La_regs): Likewise.
22536 (La_retval): Likewise.
22537 (int_retval): Likewise.
22538 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22539 macro definitions in tst-audit.h.
22540 * sysdeps/i386/tst-audit.h: New file.
22541 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22542 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22543 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22544 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22545 * sysdeps/sh/tst-audit.h: Likewise.
22546 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22547 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22548 * sysdeps/x86_64/tst-audit.h: Likewise.
22549
bfc07087
AJ
225502012-07-26 Andreas Jaeger <aj@suse.de>
22551
b1b2aaf8
AJ
22552 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22553 ptrace.
22554
22555 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22556 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22557 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22558 PTRACE_O_MASK.
22559 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22560 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22561 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22562
bfc07087
AJ
22563 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22564 value.
22565
22566 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22567 _sigsys.
22568 (si_call_addr, si_syscall, si_arch): Define new macro.
22569 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22570 _sigsys.
22571 (si_call_addr, si_syscall, si_arch): Define new marcro.
22572 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22573 _sigsys.
22574 (si_call_addr, si_syscall, si_arch): Define new macro.
22575 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22576 _sigsys.
22577 (si_call_addr, si_syscall, si_arch): Define new macro.
22578
89b4b02f
JM
225792012-07-25 Joseph Myers <joseph@codesourcery.com>
22580
22581 [BZ #13717]
22582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22583 Change to 2.4.21 where previously 2.4.1.
22584 * sysdeps/unix/sysv/linux/configure: Regenerated.
22585 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22586 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22587 Linux kernel version.
22588 (__ASSUME_STD_AUXV): Remove.
22589 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22590 kernel version.
22591 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22592 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22593 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22594 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22595 (__ASSUME_NETLINK_SUPPORT): Likewise.
22596 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22597 (__no_netlink_support): Remove conditional definition.
22598 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22599 Remove.
22600 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22601 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22602 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22603 (if_nameindex_ioctl): Remove.
22604 (if_nameindex_netlink): Do not handle __no_netlink_support.
22605 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22606 code.
22607 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22608 Remove conditional code.
22609 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22610 code.
22611 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22612 unconditional.
22613 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22614 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22615 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22616 Remove.
22617 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22618 [!__ASSUME_STD_AUXV]: Remove conditional code.
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22620 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22621 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22623 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22624 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22625 code.
22626 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22628 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22629 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22630 conditional code.
22631 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22633 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22634 code.
22635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22636 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22637 conditional code.
22638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22639 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22640 code unconditional.
22641 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22642 conditional code.
22643 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22644 unconditional.
22645 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22646 conditional code.
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22648 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22649 unconditional.
22650 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22651 conditional code.
22652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22653 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22654 code unconditional.
22655 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22656 conditional code.
22657 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22658 unconditional.
22659 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22660 conditional code.
22661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22662 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22663 code unconditional.
22664 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22665 conditional code.
22666 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22667 unconditional.
22668 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22669 conditional code.
22670
842a39cd
AS
226712012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22672
22673 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22674 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22675 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22676 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22677 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22678 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22679 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22680 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22681 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22682 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22683 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22684 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22685 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22686 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22687 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22688 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22689 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22690 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22691 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22693 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22694 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22695 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22696
84b3fd84
FW
226972012-07-25 Florian Weimer <fweimer@redhat.com>
22698
22699 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22700 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22701 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22702 Introduce __libc_secure_getenv.
0c7936d5
FW
22703 * stdlib/Versions (2.17): Add secure_getenv
22704 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22705 * stdlib/secure-getenv.c: Rename __secure_getenv to
22706 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22707 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22708 * stdlib/tst-secure-getenv.c: New.
22709 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22710 * manual/startup.texi (Environment Access): Document
22711 secure_getenv.
84b3fd84
FW
22712 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22713 __libc_secure_getenv.
22714 * inet/ruserpass.c (ruserpass): Likewise.
22715 * malloc/mtrace.c (mtrace): Likewise.
22716 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22717 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22718 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22719 * sysdeps/posix/tempname.c: Likewise. Evaluate
22720 HAVE_SECURE_GETENV.
22721 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22722 __secure_getenv to __libc_secure_getenv.
84b3fd84 22723 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22725 Likewise.
22726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22727 Likewise.
22728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22735
56e49b71
JM
227362012-07-25 Joseph Myers <joseph@codesourcery.com>
22737
22738 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22739 (struct La_i86_retval): Likewise.
22740 (struct La_x86_64_regs): Likewise.
22741 (struct La_x86_64_retval): Likewise.
22742 (struct La_x32_regs): Likewise.
22743 (struct La_x32_retval): Likewise.
22744 (struct La_ppc32_regs): Likewise.
22745 (struct La_ppc32_retval): Likewise.
22746 (struct La_ppc64_regs): Likewise.
22747 (struct La_ppc64_retval): Likewise.
22748 (struct La_sh_regs): Likewise.
22749 (struct La_sh_retval): Likewise.
22750 (struct La_s390_32_regs): Likewise.
22751 (struct La_s390_32_retval): Likewise.
22752 (struct La_s390_64_regs): Likewise.
22753 (struct La_s390_64_retval): Likewise.
22754 (struct La_sparc32_regs): Likewise.
22755 (struct La_sparc32_retval): Likewise.
22756 (struct La_sparc64_regs): Likewise.
22757 (struct La_sparc64_retval): Likewise.
22758 (struct audit_ifaces): Remove architecture-specific pltenter and
22759 pltexit members.
22760 * sysdeps/i386/ldsodefs.h: New file.
22761 * sysdeps/powerpc/ldsodefs.h: Likewise.
22762 * sysdeps/s390/ldsodefs.h: Likewise.
22763 * sysdeps/sh/ldsodefs.h: Likewise.
22764 * sysdeps/sparc/ldsodefs.h: Likewise.
22765 * sysdeps/x86_64/ldsodefs.h: Likewise.
22766
354691b7
MP
227672012-07-25 Marek Polacek <polacek@redhat.com>
22768
22769 [BZ #6808]
22770 * math/libm-test.inc (yn_test): Add another test.
22771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22772 to ERANGE when the result is +-Inf.
22773 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22774 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22775 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22776 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22777
bf9e2071
JM
227782012-07-24 Joseph Myers <joseph@codesourcery.com>
22779
22780 * conform/data/time.h-data (NULL): Use macro-constant. Require
22781 equal to 0.
22782 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22783 clock_t.
22784 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22785
57633811
TS
227862012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22787
22788 * configure.in <sysdeps resolving>: Correct printing
22789 Implies_before.
22790 * configure: Regenerate.
22791
c23c33b0
TS
227922012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22793
22794 * math/w_ilogb.c: Include <limits.h>.
22795 * math/w_ilogbl.c: Likewise.
22796
b5982523
JM
227972012-07-20 Joseph Myers <joseph@codesourcery.com>
22798
22799 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22800 va_copy. Document allowing for unavailable va_copy only as
22801 pre-C99 compatibility.
22802 * manual/string.texi (Copying and Concatenation): Use va_copy
22803 instead of __va_copy in concat example.
22804
ac4ea442
PT
228052012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22806
22807 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22808 (__sendto): Use create_address_port. Initialize APORT and deallocate
22809 it if not null.
22810
f98eafbd
PT
22811 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22812 with O_NOLINK passed to __file_name_lookup.
22813
898c7aab
PT
22814 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22815 with O_NOLINK passed to __file_name_lookup.
22816
0ced335a
PT
22817 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22818 negative N or less than NGIDS.
22819
b3404dbd
PT
22820 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22821 type to string_t. Set ERANGE as errno and return it if NAME is not big
22822 enough. Use memcpy instead of strncpy.
22823
0f48659e
JM
228242012-07-20 Joseph Myers <joseph@codesourcery.com>
22825
22826 * elf/Makefile (check-data): Remove.
22827 (localplt.data): New vpath directive.
22828 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22829 instead of $(check-data).
22830 * scripts/data/localplt-generic.data: Move to ...
22831 * sysdeps/generic/localplt.data: ... here.
22832 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22833 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22834 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22836 ... here.
22837 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22839 ... here.
22840 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22842 ... here.
22843 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22845 ... here.
22846 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22848 ... here.
22849 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22851 ... here.
22852
d37cbdaa
AZ
228532012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22854
22855 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22856 PPC32 and PPC64 files.
22857 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22858 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22859
46f85fc2
AK
228602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22861
22862 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22863 __makecontext_ret to ...
22864 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22865 ... here and call exit if uc_link is NULL. New file.
22866 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22867 __makecontext_ret.S.
22868 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22869 __makecontext_ret to ...
22870 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22871 ... here and call exit if uc_link is NULL. New file.
22872 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22873 __makecontext_ret.S.
22874
08f43f9b
AK
228752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22876
22877 * elf/elf.h (R_390_IRELATIVE): New definition.
22878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22879 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22880 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22881 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22882 (elf_machine_lazy_rel): Likewise.
22883 * sysdeps/s390/dl-irel.h: New file.
22884 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22885 * sysdeps/s390/s390-64/memset.S: New asm code.
22886 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22887 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22888 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22889 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22890 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22891 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22892 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22893 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22894 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22895 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22896 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22897 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22898 * sysdeps/s390/s390-32/memset.S: New asm code.
22899 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22900
3b05db33
MP
229012012-07-17 Marek Polacek <polacek@redhat.com>
22902
22903 [BZ #14349]
22904 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22905 * sysdeps/s390/s390-64/configure.in: Likewise.
22906 * sysdeps/sparc/configure.in: Likewise.
22907 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22908 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22909 * sysdeps/i386/configure.in: Likewise.
22910 * sysdeps/x86_64/configure.in: Likewise.
22911 * sysdeps/sh/configure.in: Likewise.
22912 * sysdeps/s390/s390-32/configure: Regenerated.
22913 * sysdeps/s390/s390-64/configure: Likewise.
22914 * sysdeps/x86_64/configure: Likewise.
22915 * sysdeps/sh/configure: Likewise.
22916 * sysdeps/powerpc/powerpc64/configure: Likewise.
22917 * sysdeps/powerpc/powerpc32/configure: Likewise.
22918 * sysdeps/sparc/configure: Likwise.
22919 * sysdeps/i386/configure: Likewise.
22920
a66877c6
MP
22921 * elf/dl-open.c: Comment fixes.
22922
cfc82fd8
JM
229232012-07-17 Joseph Myers <joseph@codesourcery.com>
22924
bd29910a
JM
22925 * Makefile [CXX] (check-data): Remove.
22926 [CXX] (c++-types.data): New vpath directive.
22927 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22928 vpath. Do not allow for C++ type data being missing.
22929 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22930 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22931 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22932 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22933 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22934 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22935 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22937 ... here.
22938 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22940 ... here.
22941 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22943 ... here.
22944 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22946 ... here.
22947 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22949 ... here.
22950 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22952 ... here.
22953 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22955 ... here.
22956 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22958
cfc82fd8
JM
22959 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22960 definitions to architecture-specific files.
22961 (TLS_IE): Likewise.
22962 (TLS_LD): Likewise.
22963 (TLS_GD): Likewise.
22964 * sysdeps/i386/tls-macros.h: New file.
22965 * sysdeps/powerpc/tls-macros.h: Likewise.
22966 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22967 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22968 * sysdeps/sh/tls-macros.h: Likewise.
22969 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22970 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22971 * sysdeps/x86_64/tls-macros.h: Likewise.
22972
f7db3170
TS
229732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22974
07cbfc23
TS
22975 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22976 zero value for regular exit case.
22977
f7db3170
TS
22978 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22979 (__start_context): Preserve zero value for regular exit case.
22980
dc97c227
TS
229812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22982 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22983
22984 * manual/setjmp.texi (setcontext): Clarify normal process
22985 termination when uc_link is the null pointer.
22986 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22987 exit call.
22988
d0cd7d02
AS
229892012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22990
22991 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22992 preprocessor. Test for each exception mask separately.
22993
dd318934
AJ
229942012-07-16 Andreas Jaeger <aj@suse.de>
22995
22996 * po/ru.po: Update from translation team.
22997
8048311a
JM
229982012-07-15 Joseph Myers <joseph@codesourcery.com>
22999
23000 * conform/data/string.h-data (NULL): Use macro-constant. Require
23001 equal to 0.
23002 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23003 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23004 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23005 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23007
b637d46e
AJ
230082012-07-13 Andreas Jaeger <aj@suse.de>
23009
23010 * po/fr.po: Update from translation team.
23011
541428fe
MP
230122012-07-12 Marek Polacek <polacek@redhat.com>
23013
23014 [BZ #14173]
23015 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23016 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23017 loop condition.
23018
ec332e94
JM
230192012-07-12 Joseph Myers <joseph@codesourcery.com>
23020
23021 [BZ #13717]
23022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23023 Change to 2.4.1 where previously 2.4.0.
23024 * sysdeps/unix/sysv/linux/configure: Regenerated.
23025 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23026 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23027 version.
23028 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23029 (__ASSUME_AT_CLKTCK): Remove.
23030 (__ASSUME_AT_PAGESIZE): Likewise.
23031 (__ASSUME_AT_XID): Likewise.
23032 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23033 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23034 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23035 unconditionally.
23036 (HAVE_AUX_PAGESIZE): Likewise.
23037 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23038 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23039 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23040
7b6e99be
JB
230412012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23042
23043 [BZ #14307]
23044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23045 the temporary buffer used to invoke __gethostbyname2_r,
23046 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23047 host_data / struct gaih_addrtuple.
23048 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23049 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23050 header file nss/nsswitch.h.
23051 * nss/nsswitch.h (global scope): Add definition of implementation
23052 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23053 resolv/nss_dns/dns-host.c).
23054
608404eb
AJ
230552012-07-11 Andreas Jaeger <aj@suse.de>
23056
23057 * po/fr.po: Update from translation team.
23058
71220aca
AJ
23059 * po/sv.po: Update from translation team
23060 * po/fr.po: Another update from translation team.
23061
28cfe843
AZ
230622012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23063
23064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23065 for subnormals or multiply small sinh result by itself.
23066 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23068
6b90f981
DM
230692012-07-11 David S. Miller <davem@davemloft.net>
23070
23071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23072
c6825772
AS
230732012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23074
23075 [BZ #14347]
23076 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23077 (INTERNAL_MARK): Shift it here.
23078
7b8e0d49
MP
230792012-07-10 Marek Polacek <polacek@redhat.com>
23080
23081 [BZ #14151]
23082 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23083 libc_cv_asm_global_directive with .globl.
23084 * configure: Regenerated.
23085 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23086 with .globl.
23087 * sysdeps/i386/configure: Regenerated.
23088 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23089 with .globl.
23090 * sysdeps/x86_64/configure: Regenerated.
23091 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23092 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23093 * elf/tst-unique2mod2.c: Likewise.
23094 * elf/tst-unique2mod1.c: Likewise.
23095 * elf/tst-unique1mod2.c: Likewise.
23096 * elf/tst-unique1mod1.c: Likewise.
23097 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23098 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23099 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23100 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23101 * sysdeps/mach/sysdep.h: Likewise.
23102 * sysdeps/i386/sysdep.h: Likewise.
23103 * sysdeps/i386/i386-mcount.S: Likewise.
23104 * sysdeps/x86_64/_mcount.S: Likewise.
23105 * sysdeps/x86_64/sysdep.h: Likewise.
23106 * sysdeps/sh/_mcount.S: Likewise.
23107 * sysdeps/sh/sysdep.h: Likewise.
23108 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23109 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23110 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23111 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23112 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23113 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23114 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23115 * locale/localeinfo.h: Likewise.
23116 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23117 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23118
6c55cda3
RM
231192012-07-09 Roland McGrath <roland@hack.frob.com>
23120
23121 [BZ #14336]
23122 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23123 system".
23124 * manual/message.texi (The Uniforum approach): Likewise.
23125 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23126 (glibc iconv Implementation): Likewise.
23127
638a572e
JM
231282012-07-09 Joseph Myers <joseph@codesourcery.com>
23129
23130 [BZ #14337]
23131 * math/s_clog.c (__clog): Avoid scaling a value down where that
23132 could result in underflow.
23133 * math/s_clog10.c (__clog10): Likewise.
23134 * math/s_clog10f.c (__clog10f): Likewise.
23135 * math/s_clog10l.c (__clog10l): Likewise.
23136 * math/s_clogf.c (__clogf): Likewise.
23137 * math/s_clogl.c (__clogl): Likewise.
23138 * math/libm-test.inc (clog_test): Add more tests.
23139 (clog10_test): Likewise.
23140 * sysdeps/i386/fpu/libm-test-ulps: Update.
23141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23142
261f4859
AS
231432012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23144
0abaf3e4
AS
23145 [BZ #14283]
23146 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23147 by 7 not 8 to examine high bit of fractional part.
23148
261f4859
AS
23149 [BZ #14042]
23150 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23151 for call to __mcount_internal.
23152 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23153 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23154 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23155
f17ac40d
JM
231562012-07-06 Joseph Myers <joseph@codesourcery.com>
23157
9ad63c23
JM
23158 [BZ #14154]
23159 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23160 approximation for values within 0x1p-13f of an odd multiple of
23161 pi/4.
23162 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23163 exception. Add more tests.
23164 * sysdeps/i386/fpu/libm-test-ulps: Update.
23165
f17ac40d
JM
23166 [BZ #6778]
23167 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23168 inputs and return -1 for them. Do not check for +Inf in case not
23169 reachable for +Inf.
23170 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23171 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23172 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23173 and return -1 for them. Do not check for +Inf in case not
23174 reachable for +Inf.
23175 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23176 define.
23177 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23178 and return -1 for them. Do not check for +Inf in case not
23179 reachable for +Inf.
23180 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23181 spurious underflow.
23182 * sysdeps/i386/fpu/libm-test-ulps: Update.
23183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23184
fb21f89b
MF
231852012-07-06 Mike Frysinger <vapier@gentoo.org>
23186
23187 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23188
cdfe2c5e
JM
231892012-07-05 Joseph Myers <joseph@codesourcery.com>
23190
23191 [BZ #14157]
23192 [BZ #14331]
23193 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23194 could result in spurious underflow. Scale down values above
23195 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23196 * math/s_csqrtf.c (__csqrtf): Likewise.
23197 * math/s_csqrtl.c (__csqrtl): Likewise.
23198 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23199 spurious underflow.
23200 * sysdeps/i386/fpu/libm-test-ulps: Update.
23201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23202
70d35b67
AS
232032012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23204
704bc459
AS
23205 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23206 xopen-msg.sed.
23207 * catgets/xopen-msg.awk: New file.
23208 * catgets/xopen-msg.sed: Removed.
23209
70d35b67
AS
23210 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23211 po2text.sed.
23212 * intl/po2test.awk: New file.
23213 * intl/po2test.sed: Removed.
23214
ca61cf32
JM
232152012-07-04 Joseph Myers <joseph@codesourcery.com>
23216
23217 [BZ #14328]
23218 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23219 or multiply small sinh result by itself.
23220 * math/s_ctanf.c (__ctanf): Likewise.
23221 * math/s_ctanh.c (__ctanh): Likewise.
23222 * math/s_ctanhf.c (__ctanhf): Likewise.
23223 * math/s_ctanhl.c (__ctanhl): Likewise.
23224 * math/s_ctanl.c (__ctanl): Likewise.
23225 * math/libm-test.inc (ctan_test_tonearest): New function.
23226 (ctan_test_towardzero): Likewise.
23227 (ctan_test_downward): Likewise.
23228 (ctan_test_upward): Likewise.
23229 (ctanh_test_tonearest): Likewise.
23230 (ctanh_test_towardzero): Likewise.
23231 (ctanh_test_downward): Likewise.
23232 (ctanh_test_upward): Likewise.
23233 (main): Call these new functions.
23234 * sysdeps/i386/fpu/libm-test-ulps: Update.
23235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23236
ca48a46a
MF
232372012-07-03 Mike Frysinger <vapier@gentoo.org>
23238
23239 * .gitignore: Delete /ports entry.
23240
9d63d37d
AJ
232412012-07-03 Andreas Jaeger <aj@suse.de>
23242
23243 * po/bg.po: Update from translation team.
23244 * po/cs.po: Likewise.
23245 * po/de.po: Likewise.
23246 * po/hr.po: Likewise.
23247 * po/nl.pl: Likewise.
23248 * po/pl.po: Likewise.
23249 * po/vi.po: Likewise.
23250
370ca3d2
JM
232512012-07-03 Joseph Myers <joseph@codesourcery.com>
23252
95f5a9a8
JM
23253 * Makeconfig [!+link] (+link-before-libc): New variable.
23254 [!+link] (+link-after-libc): Likewise.
23255 [!+link] (+link-tests): Likewise.
23256 [!+link] (+link): Define in terms of $(+link-before-libc) and
23257 $(+link-after-libc).
23258 [!+link-static] (+link-static-before-libc): New variable.
23259 [!+link-static] (+link-static-after-libc): Likewise.
23260 [!+link-static] (+link-static-tests): Likewise.
23261 [!+link-static] (+link-static): Define in terms of
23262 $(+link-static-before-libc) and $(+link-static-after-libc).
23263 [build-shared] (link-libc-before-gnulib): New variable.
23264 [build-shared] (link-libc-tests): Likewise.
23265 [build-shared] (link-libc): Define in terms of
23266 $(link-libc-before-gnulib).
23267 [!build-shared] (link-libc-tests): New variable.
23268 (link-libc-static-tests): New variable.
23269 [!gnulib] (gnulib-arch): New variable.
23270 [!gnulib] (gnulib-tests): Likewise.
23271 [!gnulib] (static-gnulib-arch): Likewise.
23272 [!gnulib] (static-gnulib-tests): Likewise.
23273 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23274 Define with "=" instead of ":=".
23275 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23276 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23277 * Rules (binaries-all-notests): New variable.
23278 (binaries-all-tests): Likewise.
23279 (binaries-static-notests): Likewise.
23280 (binaries-static-tests): Likewise.
23281 (binaries-all): Define using $(binaries-all-notests) and
23282 $(binaries-all-tests).
23283 (binaries-static): Define using $(binaries-static-notests) and
23284 $(binaries-static-tests).
23285 (binaries-shared-tests): New variable.
23286 (binaries-shared-notests): Likewise.
23287 (binaries-shared): Remove variable.
23288 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23289 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23290 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23291 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23292 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23293 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23294 * elf/Makefile (sln-modules): New variable.
23295 (extra-objs): Add $(sln-modules:=.o).
23296 (ldconfig-modules): Add static-stubs.
23297 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23298 * elf/static-stubs.c: New file.
23299
7a845b2c
JM
23300 [BZ #14283]
23301 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23302 by 7 not 8 to examine high bit of fractional part. Use volatile
23303 variables when splitting into final array of floats if
23304 __FLT_EVAL_METHOD__ != 0.
23305 * math/libm-test.inc (cos_test): Add another test.
23306 (sin_test): Likewise.
23307 * sysdeps/i386/fpu/libm-test-ulps: Update.
23308
e2283f38
JM
23309 [BZ #14273]
23310 * math/libm-test.inc (cosh_test): Add more tests.
23311
370ca3d2
JM
23312 * version.h (RELEASE): Set to "development".
23313 (VERSION): Set to "2.16.90".
23314
ee9247c3
CD
233152012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23316
23317 * NEWS: Update copyright. Remove last-updated date.
23318 Mention math library bug fixes and timezone data changes.
23319 * README: Mention GNU/Hurd, x32, and HPPA support status.
23320
4648c381
TS
233212012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23322
23323 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23324
aac78a43
AJ
233252012-06-27 Andreas Jaeger <aj@suse.de>
23326
23327 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23328
ed3dbfad
AJ
233292012-06-25 Andreas Jaeger <aj@suse.de>
23330
23331 * sysdeps/s390/fpu/libm-test-ulps: Update.
23332
4d0ee855
AS
233332012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23334 Thomas Schwinge <thomas@codesourcery.com>
23335
23336 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23337 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23339 fanotify_mark.
23340
af1bce34
TS
233412012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23342
a9fa33ba
TS
23343 * sysdeps/mach/start.c: Remove file.
23344 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23345 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23346 * sysdeps/sh/init-first.c: Likewise.
23347
58f902b8
TS
23348 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23349 registers for frame unwinding purposes, add CFI directives.
23350 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23351 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23352 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23353 Likewise.
23354
1518f58b
TS
23355 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23356 __fortify_fail returning.
23357 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23358
db9b5059
TS
23359 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23360 sysdeps/sh/____longjmp_chk.S.
23361 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23362 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23363 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23364 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23365
967705fe
TS
23366 * sysdeps/sh/abort-instr.h: New file.
23367 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23368 process in case exit returns.
23369
a9def8c4
TS
23370 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23371 initialize the GOT register before use.
23372
2a649725
TS
23373 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23374 calculation of ARGC > 4.
23375
af1bce34
TS
23376 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23377 meaningful names to some local labels.
23378
d230f50a
KK
233792012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23380 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23381
23382 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23383 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23384 (__arch_compare_and_exchange_val_16_acq): Likewise.
23385 (__arch_compare_and_exchange_val_32_acq): Likewise.
23386 (atomic_exchange_and_add): Fix gUSA sequence.
23387 (atomic_add): Likewise.
23388 (atomic_add_negative): Likewise.
23389 (atomic_add_zero): Likewise.
23390 (atomic_bit_test_set): Likewise.
23391
0479b305
AS
233922012-06-22 Andreas Schwab <schwab@redhat.com>
23393
23394 [BZ #13579]
23395 * include/link.h (struct link_map): Add l_free_initfini.
23396 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23397 l_initfini.
23398 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23399 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23400 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23401 set.
23402
0e3933b9
CD
234032012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23404
23405 * configure.in: Use AC_LANG_SOURCE.
23406 * configure: Regenerate.
23407
4248b1b1
RM
234082012-06-22 Roland McGrath <roland@hack.frob.com>
23409
23410 * configure.in (libc_cv_localstatedir): New substituted variable.
23411 * configure: Regenerated.
23412 * config.make.in (localstatedir): New variable, substituted from
23413 libc_cv_localstatedir.
23414 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23415 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23416 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23417 * sysdeps/gnu/configure: Regenerated.
23418
006dd861
JL
234192012-06-21 Jeff Law <law@redhat.com>
23420
23421 [BZ #14277]
23422 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23423 free. Simplify list management for _LIBC case.
23424
79662d42
JM
234252012-06-21 Joseph Myers <joseph@codesourcery.com>
23426
b7abb4bf
JM
23427 [BZ #14273]
23428 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23429 Clear sign bit of 64-bit integer value before comparing against
23430 overflow value.
23431
79662d42
JM
23432 * sysdeps/mach/configure: Regenerated.
23433
1f150908
L
234342012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23435
23436 [BZ #14278]
23437 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23438
28363bbf
JL
234392012-06-21 Jeff Law <law@redhat.com>
23440
23441 [BZ #13882]
23442 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23443 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23444 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23445 * elf/dl-open.c (dl_open_worker): Likewise.
23446
09615db4
CD
234472012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23448
23449 * scripts/list-sources.sh: Scan PORTS for translations.
23450 * po/libc.pot: Regenerated.
23451
2174c6dd
AJ
234522012-06-21 Andreas Jaeger <aj@suse.de>
23453
23454 [BZ #12194]
23455 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23456 warning.
23457 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23458 * bits/byteswap-16.h (__bswap_16): Likewise.
23459 * bits/byteswap.h (__bswap_constant_16): Likewise.
23460
3ee947b1
L
234612012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23462
23463 [BZ #14117]
a2f34833
L
23464 * sysdeps/i386/fpu_control.h: Removed.
23465 * sysdeps/x86_64/fpu_control.h: Moved to ...
23466 * sysdeps/x86/fpu_control.h: Here.
23467
3ee947b1
L
23468 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23469 (_FPU_SETCW): Likewise.
23470
ed1825f8
L
234712012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23472
25f1282a
L
23473 [BZ #14117]
23474 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23475 * sysdeps/x86/fpu/bits/mathinline.h: This.
23476 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23477
ed1825f8
L
23478 [BZ #14050]
23479 [BZ #14117]
23480 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23481 functions if __x86_64__ is defined.
23482
36d54b74
CLT
234832012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23484
23485 * string/endian.h: Add !__ASSEMBLER__ condition for including
23486 conversion interfaces.
23487
10285c21
JM
234882012-06-15 Joseph Myers <joseph@codesourcery.com>
23489
23490 [BZ #14241]
23491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23492 of ABS(x) in calculating zero to negative powers other than odd
23493 integers.
23494 * math/libm-test.inc (pow_test): Add more tests.
23495
06c5abbd
AJ
234962012-06-15 Andreas Jaeger <aj@suse.de>
23497
23498 * manual/contrib.texi (Contributors): Update entry of Liubov
23499 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23500 Machado Filho.
23501
a3aeac40
CH
235022012-06-15 Cyril Hrubis <metan@ucw.cz>
23503
23504 * string/string.h: Add __wur to GNU version of strerror_r.
23505
49bdf4c1
L
235062012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23507
23508 [BZ #14229]
23509 * string/Makefile (tests): Add tst-strtok_r.
23510 * string/tst-strtok_r.c: New file.
23511 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23512 RAX_LP/RDX_LP on SAVE_PTR.
23513
834f9b8d
RM
235142012-06-14 Roland McGrath <roland@hack.frob.com>
23515
23516 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23517
75fa1921
JM
235182012-06-14 Joseph Myers <joseph@codesourcery.com>
23519
23520 * libm_test.inc (csqrt_test): Allow more spurious underflow
23521 exceptions.
23522 (j0_test): Likewise.
23523 (j1_test): Likewise.
23524 (y0_test): Likewise.
23525 (y1_test): Likewise.
23526
771766df
CD
235272012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23528
23529 * po/Makefile (libc.pot): Use UTF-8 charset.
23530
ceb9e56b
PP
235312012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23532
23533 [BZ #14210]
23534 Suppress sign-conversion warning from FD_SET.
23535 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23536 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23537 not unsigned long int.
23538 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23539
ddb28975
L
235402012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23541
23542 [BZ #14050]
23543 [BZ #14117]
23544 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23545 __extern_always_inline instead of __extern_inline.
23546 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23547 (__signbit): Likewise.
23548 (__signbitl): Support C++ namespace.
23549 (lrintf): New inline function.
23550 (lrint): Likewise.
23551 (llrintf): Likewise.
23552 (llrint): Likewise.
23553 (fmaxf): Likewise.
23554 (fmax): Likewise.
23555 (fminf): Likewise.
23556 (fmin): Likewise.
23557 (rint): Likewise.
23558 (rintf): Likewise.
23559 (ceil): Likewise.
23560 (ceilf): Likewise.
23561 (floor): Likewise.
23562 (floorf): Likewise.
23563 (nearbyint): Likewise.
23564 (nearbyintf): Likewise.
23565
d7b4fb26
TS
235662012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23567
23568 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23569 non-default versions.
23570
eb55f5c2
RM
235712012-06-11 Roland McGrath <roland@hack.frob.com>
23572
23573 [BZ #14218]
23574 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23575
366af02c
TS
235762012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23577
99ff6e5c
TS
23578 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23579 (FE_UPWARD, FE_DOWNWARD): Don't define.
23580 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23581 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23582
366af02c
TS
23583 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23584 reading it.
23585 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23586 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23587
793ea851
KK
235882012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23589
23590 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23591 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23592 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23593 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23594
a728a38f
L
235952012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23596
23597 [BZ #14117]
c08010c7
L
23598 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23599 * sysdeps/i386/fpu/Implies: New file.
23600 * sysdeps/x86_64/fpu/Implies: Likewise.
23601 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23602 * sysdeps/x86/fpu/bits/fenv.h: This.
23603
a728a38f
L
23604 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23605 __SSE_MATH__.
23606
6e230d11
SP
236072012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23608
23609 [BZ #14134]
23610 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23611 character 0xffff that matches the last element of the
23612 conversion table.
23613
1b671feb
AZ
236142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23615
23616 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23617 fmodl commit.
23618
6043738b
AZ
236192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23620
23621 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23622 values higher than 25.6283.
23623
34ae0b32
AZ
236242012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23625
23626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23627 subnormal exponent extraction and add some __builtin_expect.
23628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23629 Fix for subnormal mantissa calculation.
23630
1214ec8f
MF
236312012-06-04 Mike Frysinger <vapier@gentoo.org>
23632
23633 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23634 cpu2 is -1 and errno is not ENOSYS.
23635
f3d1f93c
L
236362012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23637
23638 [BZ #14117]
0e4a3cd7
L
23639 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23640 * sysdeps/x86/bits/string.h: This.
23641 * sysdeps/x86_64/bits/string.h: Removed.
23642
6704c645
L
23643 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23644 if not compiling for x86-64, but compiling for >= i486.
23645
48495318
L
23646 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23647 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23648
14adcbfc
L
23649 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23650 New macro from Linux kernel 3.4.0.
23651 (FP_XSTATE_MAGIC2): Likewise.
23652 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23653 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23654 (struct _fpx_sw_bytes): New struct.
23655 (struct _xsave_hdr): Likewise.
23656 (struct _ymmh_state): Likewise.
23657 (struct _xstate): Likewise.
23658
68e408ab
L
23659 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23660 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23661 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23662 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23663 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23664 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23665
f3d1f93c
L
23666 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23667 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23668 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23669 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23670 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23671 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23672
d9dc34cd
TMQMF
236732012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23674
23675 [BZ #13743]
23676 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23677 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23678 (sysdep_headers): Include sys/platform/ppc.h.
23679 * sysdeps/powerpc/test-gettimebase.c: Test for
23680 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23681 * manual/Makefile (appendices): Include platform.texi.
23682 * manual/contrib.texi (Contributors): Update @node pointers.
23683 * manual/maint.texi (Maintenance): Likewise.
23684 (Platform): New node.
23685 * manual/platform.texi: New file. Document the new features.
23686
4af3879c
SP
236872012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23688 Jakub Jelinek <jakub@redhat.com>
23689
23690 [BZ #14188]
23691 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23692 where __builtin_expect is unavailable.
23693
2fd6ff13
DM
236942012-06-03 David S. Miller <davem@davemloft.net>
23695
23696 * stdlib/longlong.h: Updated from GCC.
23697
173f7220
AS
236982012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23699
23700 [BZ #14042]
23701 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23702 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23703 __mcount_internal.
23704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23705 (GLIBC_2.16): Likewise.
23706
f34a1c6f
L
237072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23708
23709 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23710
88a4576f
JM
237112012-06-01 Joseph Myers <joseph@codesourcery.com>
23712
ea32bcdd
JM
23713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23714 (default-abi): New variable.
23715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23716 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23717 variable.
23718 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23719 Likewise.
23720 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23721 Likewise.
23722 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23723 Likewise.
23724
88a4576f
JM
23725 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23726 definition. Document in comment.
23727
402fe938
DM
237282012-06-01 David S. Miller <davem@davemloft.net>
23729
23730 * stdlib/longlong.h: Updated from GCC.
23731
3553723f
L
237322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23733
23734 [BZ #14117]
3bd872c4
L
23735 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23736 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23737 sys/debugreg.h sys/io.h here.
23738 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23739 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23740 sys/io.h.
23741 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23742 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23743 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23744 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23745 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23746 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23747
3553723f
L
23748 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23749 Define only if __x86_64__ is defined.
23750
4842e4fe
JM
237512012-06-01 Joseph Myers <joseph@codesourcery.com>
23752
c5bfe3d5
JM
23753 [BZ #14048]
23754 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23755 Use int64_t for variable i.
23756 * math/libm-test.inc (fmod_test): Add more tests.
23757
4842e4fe
JM
23758 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23759 z computation is not scheduled after fetestexcept.
23760 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23761 Use math_force_eval instead of asm to ensure calculation scheduled
23762 before exception test.
23763 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23764 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23765
efb73488
AJ
237662012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23767
23768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23769 computation is not scheduled after fetestexcept.
23770
29bcce7c
L
237712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23772
23773 [BZ #14117]
23774 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23775 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23776
73a68f94
AZ
237772012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23778
23779 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23780 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23781
67b6df78
L
237822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23783
edf2933a 23784 [BZ #14117]
ebc64a18
L
23785 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23786 <bits/wordsize.h>.
23787 (__WCHAR_MIN): Support __WORDSIZE == 64.
23788 (__WCHAR_MAX): Likewise.
23789
edf2933a
L
23790 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23791 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23792
57c6cf40
L
23793 [BZ #14183]
23794 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23795 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23796
67b6df78 23797 [BZ #14117]
8eb6281e
L
23798 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23799 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23800
aac639f4
L
23801 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23802 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23803
67b6df78
L
23804 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23805 Defined to 1 if __x86_64__ isn't defined.
23806 (_STAT_VER_LINUX_OLD): New.
23807 (st_atime): Remove duplicate.
23808 (st_mtime): Likewise.
23809 (st_ctime): Likewise.
23810
1c2cfe81
DM
238112012-05-31 David S. Miller <davem@davemloft.net>
23812
23813 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23814 entries.
23815
5be8418c
AS
238162012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23817
e7725326
AS
23818 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23819 gen-libm-test.pl.
23820
5be8418c
AS
23821 [BZ #14132]
23822 * elf/dl-reloc.c: Include <_itoa.h>.
23823 (_dl_reloc_bad_type): Remove use of INTUSE.
23824 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23825 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23826 * stdio-common/psiginfo.c (psiginfo): Likewise.
23827 * stdio-common/psignal.c (psignal): Likewise.
23828 * string/strsignal.c (strsignal): Likewise.
23829 * include/signal.h (_sys_siglist): Declare hidden proto.
23830 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23831 INTVARDEF with libc_hidden_data_def.
23832 * stdio-common/itoa-udigits.c: Likewise.
23833 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23834 (_itoa_lower_digits_internal): Remove declaration.
23835 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23836 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23837 (_sys_sigabbrev_internal): Remove aliases.
23838 (_sys_siglist): Define hidden alias.
23839
507352f1
MT
238402012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23841
23842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23843 bits/sysctl.h.
23844
42bbb1c3
L
238452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23846
23847 [BZ #14117]
6bd784b6
L
23848 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23849 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23850
8bca20f0
L
23851 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23852 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23853 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23854 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23855 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23856 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23857
f9e890a9
L
23858 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23859 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23860 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23861
471101a1
L
23862 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23863 with __addr.
23864 (insw): Likewise.
23865 (insl): Likewise.
23866 (outsb): Likewise.
23867 (outsw): Likewise.
23868 (outsl): Likewise.
23869
6451c862
L
23870 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23871 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23872 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23873
a254b8c9
L
23874 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23875 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23876 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23877 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23878 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23879 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23880
b8dfdd92
L
23881 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23882 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23883
578cd270
L
23884 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23885 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23886
de662f5f
L
23887 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23888 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23889 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23890
25653439
L
23891 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23892 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23893 to ...
23894 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23895
6bad24a0
L
23896 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23897 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23898 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23899
42bbb1c3
L
23900 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23901 for x86-64.
23902 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23903
2d10d547
JM
239042012-05-31 Joseph Myers <joseph@codesourcery.com>
23905
23906 * math/math.h (M_El): Use two more decimal places.
23907 (M_LOG2El): Likewise.
23908 (M_LOG10El): Likewise.
23909 (M_LN2l): Likewise.
23910 (M_LN10l): Likewise.
23911 (M_PIl): Likewise.
23912 (M_PI_2l): Likewise.
23913 (M_PI_4l): Likewise.
23914 (M_1_PIl): Likewise.
23915 (M_2_PIl): Likewise.
23916 (M_2_SQRTPIl): Likewise.
23917 (M_SQRT2l): Likewise.
23918 (M_SQRT1_2l): Likewise.
23919
f230c29b
DM
239202012-05-31 David S. Miller <davem@davemloft.net>
23921
23922 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23923 values between float registers.
23924 * sysdeps/sparc/sparc64/memset.S: Likewise.
23925 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23926
fed806c3
MF
239272012-05-31 Mike Frysinger <vapier@gentoo.org>
23928
23929 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23930 -D_FORTIFY_SOURCE=1.
23931 (CPPFLAGS-tst-longjmp_chk.c): Define.
23932 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23933 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23934 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23935 CFLAGS-tst-wchar-h.c.
23936
30917259
MP
239372012-05-31 Marek Polacek <polacek@redhat.com>
23938
23939 [BZ #14132]
23940 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23941 __endmntent_internal): Remove declaration.
23942 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23943 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23944 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23945
1c58d5dc
DM
239462012-05-30 David S. Miller <davem@davemloft.net>
23947
23948 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23949 (___Q_simulate_exceptions): Use real FP ops rather than writing
23950 into the %fsr.
23951 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23952 Likewise.
23953
7dc00e0d
L
239542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 [BZ #14117]
0bd53985
L
23957 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23958 * sysdeps/x86/bits/xtitypes.h: This.
23959
3a257e66
L
23960 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23961 * sysdeps/x86/bits/wordsize.h: This.
23962
62f62904
L
23963 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23964 * sysdeps/x86/bits/huge_vall.h: This.
23965
404fe9d9
L
23966 * sysdeps/i386/bits/select.h: Removed.
23967 * sysdeps/x86_64/bits/select.h: Renamed to ...
23968 * sysdeps/x86/bits/select.h: This.
23969
d48d0446
L
23970 * sysdeps/i386/bits/setjmp.h: Removed.
23971 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23972 * sysdeps/x86/bits/setjmp.h: This.
23973
7dc00e0d
L
23974 * sysdeps/i386/bits/mathdef.h: Removed.
23975 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23976 * sysdeps/x86/bits/mathdef.h: This.
23977
03277f8f
AS
239782012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23979
23980 [BZ #14132]
23981 * include/sys/socket.h (__connect_internal)
23982 (__libc_sa_len_internal): Remove declaration.
23983 (__connect, __libc_sa_len): Declare hidden_proto.
23984 (SA_LEN): Remove use of INTUSE.
23985 * socket/connect.c: Add libc_hidden_def.
23986 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23987 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23988 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23989 alias.
23990 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23991 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23992 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23993 of adding _internal alias.
23994
13764867
L
239952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23996
23997 [BZ #14117]
6bd97696
L
23998 * sysdeps/i386/bits/link.h: Removed.
23999 * sysdeps/i386/bits/linkmap.h: Likewise.
24000 * sysdeps/x86_64/bits/link.h: Renamed to ...
24001 * sysdeps/x86/bits/link.h: This.
24002 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24003 * sysdeps/x86/bits/linkmap.h: This.
24004
f726f0bb
L
24005 * sysdeps/i386/bits/endian.h: Removed.
24006 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24007 * sysdeps/x86/bits/endian.h: This.
24008
13764867
L
24009 * sysdeps/i386/bits/byteswap.h: Removed.
24010 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24011 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24012 * sysdeps/x86/bits/byteswap.h: This.
24013 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24014 * sysdeps/x86/bits/byteswap-16.h: This.
24015 * sysdeps/i386/Implies: Add x86.
24016 * sysdeps/x86_64/Implies: Likewise.
24017
ae251b0b
DM
240182012-05-30 David S. Miller <davem@davemloft.net>
24019
24020 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24021 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24022 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24023 (FP_TRAPPING_EXCEPTIONS): Define.
24024 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24025 (FP_TRAPPING_EXCEPTIONS): Define.
24026 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24027 subnormals only when inexact has been signalled or underflow
24028 exceptions are enabled.
24029 (_FP_PACK_CANONICAL): Likewise.
24030
d5c90867
L
240312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24032
24033 [BZ #14183]
24034 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24035 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24036
63f1549e
RH
240372012-05-30 Richard Henderson <rth@twiddle.net>
24038
8d8f2279
RH
24039 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24040 with #ifndef NOT_IN_libc.
24041
63f1549e
RH
24042 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24043 marked to avoid plt entry.
24044
0ab0291b
L
240452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24046
24047 [BZ #14112]
24048 * Makeconfig (default-abi): New macro.
24049 (abi-includes): Likewise.
24050 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24051 $(abi-$(default-abi)-lib-soname) for soname if defined.
24052 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24053 abi-variants.
24054 * Makefile (installed-stubs): Likewise.
24055 * include/stubs-biarch.h: Removed.
24056 * scripts/lib-names.awk: Only handle one library at a time.
24057 * scripts/soversions.awk: Remove WORDSIZE support.
24058 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24059 entries.
24060 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24061 Removed.
24062 (syscall-list-default-condition): Likewise.
24063 (syscall-list-default-condition): Likewise.
24064 (syscall-list-includes): Likewise.
24065 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24066 syscall-list-* with abi-*. Handle undefined abi-variants.
24067 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24068 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24069 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24070 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24071 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24072 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24073 Removed.
24074 (syscall-list-32-options): Likewise.
24075 (syscall-list-32-condition): Likewise.
24076 (syscall-list-64-options): Likewise.
24077 (syscall-list-64-condition): Likewise.
24078 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24079 macro.
24080 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24081 Renamed to ...
24082 (abi-*): This.
24083 (abi-64-ld-soname): New macro.
24084 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24085 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24086 Renamed to ...
24087 (abi-*): This.
24088 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24089 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24090
4da0431d
JM
240912012-05-30 Joseph Myers <joseph@codesourcery.com>
24092
3a85279c
JM
24093 * sysdeps/unix/sysv/linux/kernel-features.h
24094 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24095 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24096 include <kernel-features.h>.
24097 [!__NR_ftruncate64]: Remove conditional code.
24098 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24099 [__NR_ftruncate64]: Make code unconditional.
24100 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24101 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24102 include <kernel-features.h>.
24103 [!__NR_ftruncate64]: Remove conditional code.
24104 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24105 [__NR_ftruncate64]: Make code unconditional.
24106 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24108 include <kernel-features.h>.
24109 [!__NR_ftruncate64]: Remove conditional code.
24110 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24111 [__NR_ftruncate64]: Make code unconditional.
24112 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24114 include <kernel-features.h>.
24115 [!__NR_ftruncate64]: Remove conditional code.
24116 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24117 [__NR_ftruncate64]: Make code unconditional.
24118 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24119
4da0431d
JM
24120 * configure.in (libc_cv_fpie): Weaken to a compile test using
24121 LIBC_TRY_CC_OPTION.
24122 * configure: Regenerated.
24123
11ef492c
AK
241242012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24125
24126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24130 Refreshed.
24131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24137 Refreshed.
24138
d66ef399
DM
241392012-05-27 David S. Miller <davem@davemloft.net>
24140
24141 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24142 (___Q_zero): New.
24143 (__Q_simulate_exceptions): Return void. Change to simulate
24144 exceptions by writing into the %fsr.
24145 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24146 (__Qp_handle_exceptions): Likewise.
24147 (numbers): Delete.
24148 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24149 __Qp_handle_exceptions.
24150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24151 __Qp_handle_exceptions.
24152 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24153 as unused and give dummy FP_RND_NEAREST initializer.
24154 (FP_INHIBIT_RESULTS): Define.
24155 (___Q_simulate_exceptions): Update declaration.
24156 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24157 formatting.
24158 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24159 as unused and give dummy FP_RND_NEAREST initializer.
24160 (__Qp_handle_exceptions): Update declaration.
24161 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24162 formatting.
24163
04fb54b5
TS
241642012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24165
24166 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24167 the temporary FPU control word.
24168 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24169 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24170 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24171 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24172 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24173 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24174 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24175 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24176 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24177 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24178 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24179
3f99608f
KK
241802012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24181
24182 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24183 fields.
24184
65a4de4e
CLT
241852012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24186
24187 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24188 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24189 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24190 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24191 Likewise.
24192 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24193 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24194 Likewise.
24195
15749d40
UD
241962012-05-27 Ulrich Drepper <drepper@gmail.com>
24197
24198 * po/h.po: Update from translation team.
24199
25dbcb27
AS
242002012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24201
3d3f8e55
AS
24202 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24203
25dbcb27
AS
24204 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24205 handling of denormals.
24206 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24207 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24208 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24209 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24210 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24213 Likewise.
24214
7ad47a80 242152012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24216
24217 [BZ #14152]
24218 * math/libm-test.inc (fma_test): Don't always expect underflow
24219 exception.
24220
9c6ea9fa
SP
242212012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24222
24223 [BZ #12416]
24224 * elf/tst-execstack.c: Include stackinfo.h.
24225 (do_test): Adjust test case to ensure that pthread_getattr_np
24226 behaviour remains the same after marking stack executable.
24227
a8239222
JM
242282012-05-25 Joseph Myers <joseph@codesourcery.com>
24229
24230 * sysdeps/unix/sysv/linux/kernel-features.h
24231 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24232 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24233 kernel-features.h.
24234 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24235 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24236 * sysdeps/unix/sysv/linux/i386/setrlimit.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
918b5606
L
242412012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24242
24243 * configure.in: Define the default includes to being none.
24244 * configure: Regenerated.
24245
3a097cc7
RM
242462012-05-25 Roland McGrath <roland@hack.frob.com>
24247
8422c9a5
RM
24248 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24249 * sysdeps/x86_64/setjmp.S: Likewise.
24250 * sysdeps/i386/bsd-setjmp.S: Likewise.
24251 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24252 * sysdeps/i386/setjmp.S: Likewise.
24253 * sysdeps/i386/__longjmp.S: Likewise.
24254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24255 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24256
3a097cc7
RM
24257 * include/stap-probe.h: New file.
24258 * configure.in: Handle --enable-systemtap.
24259 * configure: Regenerated.
24260 * config.h.in (USE_STAP_PROBE): New #undef.
24261 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24262 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24263 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24264
21708942
JM
242652012-05-25 Joseph Myers <joseph@codesourcery.com>
24266
24267 [BZ #13717]
24268 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24269 to 2.4.0 where earlier.
24270 * sysdeps/unix/sysv/linux/configure: Regenerated.
24271 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24272 <kernel-features.h>.
24273 [__ASSUME_32BITUIDS]: Make code unconditional.
24274 [!__ASSUME_32BITUIDS]: Remove conditional code.
24275 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
24280 [__ASSUME_32BITUIDS]: Make code unconditional.
24281 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24282 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24283 <kernel-features.h>.
24284 [__ASSUME_32BITUIDS]: Make code unconditional.
24285 [!__ASSUME_32BITUIDS]: Remove conditional code.
24286 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
24323 <kernel-features.h>.
24324 [__NR_setresgid] (__setresgid): Do not declare.
24325 [__ASSUME_32BITUIDS]: Make code unconditional.
24326 [!__ASSUME_32BITUIDS]: Remove conditional code.
24327 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24328 <kernel-features.h>.
24329 [__NR_setresuid] (__setresuid): Do not declare.
24330 [__ASSUME_32BITUIDS]: Make code unconditional.
24331 [!__ASSUME_32BITUIDS]: Remove conditional code.
24332 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24333 <kernel-features.h>.
24334 [__ASSUME_32BITUIDS]: Make code unconditional.
24335 [!__ASSUME_32BITUIDS]: Remove conditional code.
24336 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
24373 (__ASSUME_SETRESUID_SYSCALL): Remove.
24374 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24375 (__ASSUME_32BITUIDS): Likewise.
24376 (__ASSUME_LDT_WORKS): Likewise.
24377 (__ASSUME_O_DIRECTORY): Likewise.
24378 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24379 architecture but not kernel version.
24380 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24381 (__ASSUME_MMAP2_SYSCALL): Likewise.
24382 (__ASSUME_STAT64_SYSCALL): Likewise.
24383 (__ASSUME_IPC64): Likewise.
24384 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24385 <kernel-features.h>.
24386 [__ASSUME_32BITUIDS]: Make code unconditional.
24387 [!__ASSUME_32BITUIDS]: Remove conditional code.
24388 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24389 <kernel-features.h>.
24390 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24391 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24392 132096]: Remove conditional code.
24393 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24394 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24395 <kernel-features.h>.
24396 [__ASSUME_32BITUIDS]: Make code unconditional.
24397 [!__ASSUME_32BITUIDS]: Remove conditional code.
24398 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
24403 <kernel-features.h>.
24404 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24405 unconditional.
24406 (__setresgid): Do not declare.
24407 [__ASSUME_32BITUIDS]: Make code unconditional.
24408 [!__ASSUME_32BITUIDS]: Remove conditional code.
24409 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24410 <kernel-features.h>.
24411 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24412 unconditional.
24413 (__setresuid): Do not declare.
24414 [__ASSUME_32BITUIDS]: Make code unconditional.
24415 [!__ASSUME_32BITUIDS]: Remove conditional code.
24416 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24417 <kernel-features.h>.
24418 [__ASSUME_32BITUIDS]: Make code unconditional.
24419 [!__ASSUME_32BITUIDS]: Remove conditional code.
24420 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24421 <kernel-features.h>.
24422 [__ASSUME_32BITUIDS]: Make code unconditional.
24423 [!__ASSUME_32BITUIDS]: Remove conditional code.
24424
a386f1cc
RH
244252012-05-25 Richard Henderson <rth@twiddle.net>
24426
24427 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24428 dl_hwcap to ifunc resolver.
24429 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24430 elf_ifunc_invoke.
24431 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24432 dl_hwcap to ifunc resolver.
24433 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24434
b6550497
JM
244352012-05-24 Joseph Myers <joseph@codesourcery.com>
24436
24437 [BZ #14153]
24438 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24439 for |x| <= 2**-26, not 2**-57.
24440 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24441 exception.
24442
b0bc23a1
JL
244432012-05-24 Jeff Law <law@redhat.com>
24444
24445 * stdio-common/Makefile (tests): Add bug25.
24446 * stdio-common/bug25.c: New test.
24447
347c92e9
L
244482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24449
24450 [BZ #13576]
24451 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24452 multiple of MALLOC_ALIGNMENT in size.
24453 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24454
6bcc8b3f
JM
244552012-05-24 Joseph Myers <joseph@codesourcery.com>
24456
24457 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24458 Require >= 256.
24459 (FILENAME_MAX): Use macro-int-constant.
24460 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24461 (_IOFBF): Use macro-int-constant.
24462 (_IOLBF): Likewise.
24463 (_IONBF): Likewise.
24464 (SEEK_CUR): Likewise.
24465 (SEEK_END): Likewise.
24466 (SEEK_SET): Likewise.
24467 (TMP_MAX): Likewise.
24468 (EOF): Use macro-int-constant. Require < 0.
24469 (NULL): Use macro-constant. Require == 0.
24470 (stdin): Require type to be FILE *.
24471 (stdout): Likewise.
24472 (stderr): Likewise.
24473 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24474 macro-int-constant.
24475 (EXIT_SUCCESS): Likewise.
24476 (NULL): Use macro-constant. Require == 0.
24477 (RAND_MAX): Use macro-int-constant.
24478 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24479 [C99-based standards] (strtof): Require function.
24480 [C99-based standards] (strtold): Likewise.
24481 [C99-based standards] (strtoll): Likewise.
24482 [C99-based standards] (strtoull): Likewise.
24483 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24484 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24485 [ISO || ISO99 || ISO11] (math.h): Likewise.
24486 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24487 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24488 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24489
d18ea0c5
AS
244902012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24491
24492 [BZ #14132]
56d25bb8
AS
24493 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24494 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24495 * intl/dgettext.c (DCGETTEXT): Likewise.
24496 * intl/gettext.c (DCGETTEXT): Likewise.
24497 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24498 * posix/regex_internal.h (gettext): Likewise.
24499 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24500 Remove declaration.
24501 * include/argz.h (__argz_count_internal)
24502 (__argz_stringify_internal): Remove declaration.
24503 (__argz_count, __argz_stringify): Declare hidden proto.
24504 * intl/dcgettext.c: Remove use of INTDEF.
24505 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24506 * string/argz-stringify.c: Likewise.
24507 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24508 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24509 Declare hidden proto.
d18ea0c5
AS
24510 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24511 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24512 Declare hidden proto.
24513 * include/stdio.h (__asprintf_internal): Don't declare.
24514 (__asprintf): Don't define as macro. Declare hidden proto.
24515 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24516 (__fsetlocking): Declare hidden proto.
24517 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24518 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24519 hidden proto.
24520 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24521 (_IO_setlinebuf): Remove use of INTUSE.
24522 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24523 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24524 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24525 Remove declaration.
24526 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24527 (_IO_do_flush): Remove use of INTUSE.
24528 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24529 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24530 (_IO_adjust_column, _IO_least_wmarker)
24531 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24532 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24533 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24534 (_IO_default_doallocate, _IO_wdefault_doallocate)
24535 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24536 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24537 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24538 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24539 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24540 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24541 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24542 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24543 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24544 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24545 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24546 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24547 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24548 proto.
24549 (_IO_flush_all_internal, _IO_adjust_column_internal)
24550 (_IO_default_uflow_internal, _IO_default_finish_internal)
24551 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24552 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24553 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24554 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24555 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24556 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24557 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24558 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24559 (_IO_file_close_internal, _IO_file_close_it_internal)
24560 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24561 (_IO_file_init_internal, _IO_file_attach_internal)
24562 (_IO_file_fopen_internal, _IO_file_read_internal)
24563 (_IO_file_sync_internal, _IO_file_seek_internal)
24564 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24565 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24566 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24567 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24568 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24569 (_IO_list_all_internal, _IO_link_in_internal)
24570 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24571 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24572 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24573 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24574 (_IO_do_write_internal, _IO_padn_internal)
24575 (_IO_getline_info_internal, _IO_getline_internal)
24576 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24577 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24578 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24579 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24580 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24581 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24582 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24583 with libc_hidden_ver, remove use of INTUSE.
24584 * libio/genops.c: Likewise.
24585 * libio/freopen.c: Likewise.
24586 * libio/freopen64.c: Likewise.
24587 * libio/iofclose.c: Likewise.
24588 * libio/iofdopen.c: Likewise.
24589 * libio/iofflush.c: Likewise.
24590 * libio/iofflush_u.c: Likewise.
24591 * libio/iofgets.c: Likewise.
24592 * libio/iofgets_u.c: Likewise.
24593 * libio/iofopen.c: Likewise.
24594 * libio/iofopncook.c: Likewise.
24595 * libio/iofread.c: Likewise.
24596 * libio/iofread_u.c: Likewise.
24597 * libio/ioftell.c: Likewise.
24598 * libio/iofwrite.c: Likewise.
24599 * libio/iogetline.c: Likewise.
24600 * libio/iogets.c: Likewise.
24601 * libio/iogetwline.c: Likewise.
24602 * libio/iopadn.c: Likewise.
24603 * libio/iopopen.c: Likewise.
24604 * libio/ioseekoff.c: Likewise.
24605 * libio/ioseekpos.c: Likewise.
24606 * libio/iosetbuffer.c: Likewise.
24607 * libio/iosetvbuf.c: Likewise.
24608 * libio/ioungetc.c: Likewise.
24609 * libio/ioungetwc.c: Likewise.
24610 * libio/iovdprintf.c: Likewise.
24611 * libio/iovsprintf.c: Likewise.
24612 * libio/iovsscanf.c: Likewise.
24613 * libio/memstream.c: Likewise.
24614 * libio/obprintf.c: Likewise.
24615 * libio/oldfileops.c: Likewise.
24616 * libio/oldiofclose.c: Likewise.
24617 * libio/oldiofdopen.c: Likewise.
24618 * libio/oldiofopen.c: Likewise.
24619 * libio/oldiopopen.c: Likewise.
24620 * libio/oldstdfiles.c: Likewise.
24621 * libio/putc.c: Likewise.
24622 * libio/setbuf.c: Likewise.
24623 * libio/setlinebuf.c: Likewise.
24624 * libio/stdfiles.c: Likewise.
24625 * libio/strops.c: Likewise.
24626 * libio/vasprintf.c: Likewise.
24627 * libio/vscanf.c: Likewise.
24628 * libio/vsnprintf.c: Likewise.
24629 * libio/vswprintf.c: Likewise.
24630 * libio/wfiledoalloc.c: Likewise.
24631 * libio/wfileops.c: Likewise.
24632 * libio/wgenops.c: Likewise.
24633 * libio/wmemstream.c: Likewise.
24634 * libio/wstrops.c: Likewise.
24635 * libio/__fpurge.c: Likewise.
24636 * libio/__fsetlocking.c: Likewise.
24637 * assert/assert.c: Likewise.
24638 * debug/fgets_chk.c: Likewise.
24639 * debug/fgets_u_chk.c: Likewise.
24640 * debug/fread_chk.c: Likewise.
24641 * debug/fread_u_chk.c: Likewise.
24642 * debug/gets_chk.c: Likewise.
24643 * debug/obprintf_chk.c: Likewise.
24644 * debug/vasprintf_chk.c: Likewise.
24645 * debug/vdprintf_chk.c: Likewise.
24646 * debug/vsnprintf_chk.c: Likewise.
24647 * debug/vsprintf_chk.c: Likewise.
24648 * malloc/mtrace.c: Likewise.
24649 * misc/error.c: Likewise.
24650 * misc/syslog.c: Likewise.
24651 * stdio-common/asprintf.c: Likewise.
24652 * stdio-common/fxprintf.c: Likewise.
24653 * stdio-common/getw.c: Likewise.
24654 * stdio-common/isoc99_fscanf.c: Likewise.
24655 * stdio-common/isoc99_scanf.c: Likewise.
24656 * stdio-common/isoc99_vfscanf.c: Likewise.
24657 * stdio-common/isoc99_vscanf.c: Likewise.
24658 * stdio-common/isoc99_vsscanf.c: Likewise.
24659 * stdio-common/printf-prs.c: Likewise.
24660 * stdio-common/printf_fp.c: Likewise.
24661 * stdio-common/printf_fphex.c: Likewise.
24662 * stdio-common/printf_size.c: Likewise.
24663 * stdio-common/putw.c: Likewise.
24664 * stdio-common/scanf.c: Likewise.
24665 * stdio-common/sprintf.c: Likewise.
24666 * stdio-common/tmpfile.c: Likewise.
24667 * stdio-common/vfprintf.c: Likewise.
24668 * stdio-common/vfscanf.c: Likewise.
24669 * stdlib/strfmon_l.c: Likewise.
24670 * sunrpc/openchild.c: Likewise.
24671 * sunrpc/xdr_stdio.c: Likewise.
24672 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24673 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24674
d6c33fda
RM
246752012-05-24 Roland McGrath <roland@hack.frob.com>
24676
c1487492
RM
24677 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24678
24679 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24680 in the third column, to generate for the shared library an IFUNC
24681 that uses _dl_vdso_vsym.
24682 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24683 * Makeconfig (object-suffixes-noshared): New variable.
24684
24685 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24686 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24687 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24688 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24689
d6c33fda
RM
24690 [BZ #14132]
24691 * include/sys/time.h (__gettimeofday): Remove macro.
24692 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24693 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24694 Remove INTDEF.
24695 (__gettimeofday): Add libc_hidden_def.
24696 (gettimeofday): Add libc_hidden_weak.
24697 * sysdeps/mach/gettimeofday.c: Likewise.
24698 * sysdeps/posix/gettimeofday.c: Likewise.
24699 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24700 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24702 (__gettimeofday_internal): Remove strong_alias.
24703 (__gettimeofday): Add libc_hidden_def.
24704 (gettimeofday): Add libc_hidden_weak.
24705 * sysdeps/unix/syscalls.list (gettimeofday):
24706 Remove __gettimeofday_internal alias.
24707
b5a2bbe6
L
247082012-05-24 Daniel Jacobowitz <drow@false.org>
24709 H.J. Lu <hongjiu.lu@intel.com>
24710
24711 [BZ #12495]
24712 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24713 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24714 (largebin_index_32_big): New.
24715 (largebin_index): Use it for 16-byte alignment.
24716 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24717 correction with front_misalign.
24718
cfba4fda
L
247192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24720
7f907421
L
24721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24723 Likewise.
24724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24725 Likewise.
24726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24727 Likewise.
24728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24729 Likewise.
24730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24731 Likewise.
24732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24733 Likewise.
24734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24735 Likewise.
24736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24737 Likewise.
24738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24739 Likewise.
24740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24741 Likewise.
24742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24743 Likewise.
24744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24745 Likewise.
24746
cfba4fda
L
24747 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24748 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24749
80bad0cc
JM
247502012-05-24 Joseph Myers <joseph@codesourcery.com>
24751
7a25eb06
JM
24752 [BZ #10846]
24753 [BZ #14036]
24754 * math/libm-test.inc (exp_test): Add test from bug 14036.
24755 (pow_test): Add test from bug 10846.
24756
795405f9
JM
24757 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24758 and other flags.
24759 (special_function): Do not include flags in test name.
24760 (parse_args): Likewise.
24761 * sysdeps/i386/fpu/libm-test-ulps: Update.
24762 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24763 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24764 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24766
80bad0cc
JM
24767 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24768 exceptions.
24769 * math/libm-test.inc ("Philosophy"): Update comment about
24770 exception testing.
24771 (UNDERFLOW_EXCEPTION): New macro.
24772 (UNDERFLOW_EXCEPTION_OK): Likewise.
24773 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24774 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24775 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24776 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24777 (INVALID_EXCEPTION_OK): Update value.
24778 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24779 (OVERFLOW_EXCEPTION_OK): Likewise.
24780 (IGNORE_ZERO_INF_SIGN): Likewise.
24781 (test_exceptions): Handle underflow exceptions.
24782 (acos_test): Update for underflow exception expectations.
24783 (cexp_test): Likewise.
24784 (clog_test): Likewise.
24785 (clog10_test): Likewise.
24786 (csqrt_test): Likewise.
24787 (ctan_test): Likewise.
24788 (ctanh_test): Likewise.
24789 (exp_test): Likewise.
24790 (exp10_test): Likewise.
24791 (exp2_test): Likewise.
24792 (expm1_test): Likewise.
24793 (fma_test): Likewise.
24794 (j0_test): Likewise.
24795 (jn_test): Likewise.
24796 (nexttoward_test): Likewise.
24797 (pow_test): Likewise.
24798 (scalbn_test): Likewise.
24799 (scalbln_test): Likewise.
24800 (tan_test): Likewise.
24801 (y1_test): Likewise.
24802 * sysdeps/i386/fpu/libm-test-ulps: Update.
24803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24804
9e0e3d0b
DM
248052012-05-23 David S. Miller <davem@davemloft.net>
24806
24807 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24808 (__libc_sigaction): Remove unused local variables.
24809
ccd0a08f
L
248102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24811
24812 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24813
62bdf9a6
PE
248142012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24815
f8591f80
PE
24816 mktime: avoid signed integer overflow
24817 * time/mktime.c (__mktime_internal): Do not mishandle the case
24818 where diff == INT_MIN.
24819
94c7d826
PE
24820 mktime: simplify computation of average
24821 * time/mktime.c (ranged_convert): Use new time_t_avg function
24822 instead of rolling our own (probably-slower) code.
24823
ce73d683
PE
24824 mktime: do not assume signed right shift propagates sign bit
24825 * time/mktime.c (isdst_differ): New static function.
24826 (__mktime_internal): No need to normalize tm_isdst now.
24827 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24828 tm_isdst values.
24829
72a22e59
PE
24830 mktime: merge another wrapv change from gnulib
24831 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24832 from some compilers.
24833
68605433
PE
24834 mktime: remove incorrect attempt at unusual arithmetics
24835 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24836 The code didn't really work on such machines anyway.
24837 (TYPE_MINIMUM): Assume two's complement.
24838 (twos_complement_arithmetic): Verify that long_int and time_t
24839 are two's complement (or unsigned, in the latter case).
24840
03cf7fe3
PE
24841 mktime: check signed shifts on long_int and time_t, too
24842 * time/mktime.c (SHR): Check that shifts work as desired
24843 on the types long_int and time_t too, as SHR is used on
24844 such types.
24845
f04dfbc2
PE
24846 mktime: do not assume 'long' is wide enough
24847 * time/mktime.c (verify): Move decl up.
24848 (long_int): New type.
24849 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24850 to remove assumption in the code that 'long' is wide enough to
24851 store year values. This assumption is not true on x32 and on
24852 some non-glibc platforms.
24853
62bdf9a6
PE
24854 mktime: merge wrapv change from gnulib
24855 * time/mktime.c (WRAPV): New macro.
24856 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24857 (guess_time_tm, __mktime_internal): Do not assume that signed
24858 integer overflow wraps around; modern compilers generate code
24859 where this assumption is no longer valid.
24860
5e292e4f
L
248612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24862
24863 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24864 Replace "jmp L(pseudo_end)" with "ret".
24865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24866 Likewise.
24867
8caf8c87
AJ
248682012-05-23 Andreas Jaeger <aj@suse.de>
24869
24870 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24871 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24872
1a09dc56
AJ
248732012-05-23 Andreas Jaeger <aj@suse.de>
24874 Maximilian Attems <max@stro.at>
24875
24876 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24877 New macros.
24878
1c87aba0
L
248792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24880
24881 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24882 code so that pseudo_end is just ret and the stack pointer is
24883 correct also for static library in error case.
24884
40e45bd5
JM
248852012-05-23 Joseph Myers <joseph@codesourcery.com>
24886
c2670533
JM
24887 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24888 move to syscalls.list.
24889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24893
40e45bd5
JM
24894 * manual/install.texi (Running make install): Do not mention Linux
24895 kernel version for which pt_chown is not needed.
24896 (Linux): Do not mention problems with nscd with 2.0 kernels.
24897 * INSTALL: Regenerated.
24898
be08eda5
AJ
248992012-05-23 Andreas Jaeger <aj@suse.de>
24900
24901 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24902 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24903 macro.
24904 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24905 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24906 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24907 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24908 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24909 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24910 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24911 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24912 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24913 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24914 * sysdeps/unix/sysv/linux/bits/in.h
24915 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24916
a6a056bb
RM
249172012-05-22 Roland McGrath <roland@hack.frob.com>
24918
24919 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24920 (PREPARE_VERSION): Just use assert instead, it will be elided
24921 under [NDEBUG] anyway.
24922
c9009328
L
249232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24924
24925 * sysdeps/unix/sysv/linux/Makefile: Include
24926 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 24927 (sysdep_routines): Remove sysctl.
c9009328
L
24928 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24929 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24930 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24931 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24932 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24933
73338355
AJ
249342012-05-22 Andreas Jaeger <aj@suse.de>
24935
24936 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24937 that pseudo_end is just ret and the stack pointer is correct also
24938 for static library in error case.
24939
d44638b0
PP
249402012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24941
24942 [BZ #14122]
24943 * nss/nsswitch.c (defconfig_entries): New variable.
24944 (__nss_database_lookup): Don't leak defconfig entries.
24945 (nss_parse_service_list): Don't leak on error paths.
24946 (free_database_entries): New function.
24947 (free_defconfig): New function.
24948 (free_mem): Move common code to free_database_entries.
24949
31a39bd8
L
249502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24951
da0331a8
L
24952 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24953 Add arch_prctl.
24954 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24955
31a39bd8
L
24956 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24957 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24959 New macro.
24960 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24961 (INTERNAL_SYSCALL_TYPES): Likewise.
24962 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24963 (LOAD_REGS_TYPES_[1-6]): Likewise.
24964 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24965 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24966
45470df3
AZ
249672012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24968
24969 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24970 copysignl for GLIBC_2_0.
24971 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24972 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24973 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24974 logbl for GLIBC_2_0.
24975 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24976 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24977
98a61bcb
L
249782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24979
a4f6e481
L
24980 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24981 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24982
f63d5db6
L
24983 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24984 Use "neg %eax".
24985
98a61bcb
L
24986 * time/mktime.c: Update copyright years.
24987
95770f14
PE
249882012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24989
6226efbd
PE
24990 mktime: merge comment-quoting-style change from gnulib
24991 * time/mktime.c: Quote 'like this' in comments.
24992 The GNU coding standards suggest that we no longer quote `like this',
24993 as "`" and "'" are typically rendered asymmetrically nowadays.
24994 The typical gnulib style is to quote 'like this' when quoting
24995 code, and "like this" when quoting English.
24996
b99e4f78
PE
24997 * time/mktime.c (compile-command): Add "-I.".
24998
643e01e6
PE
24999 mktime: merge mktime-internal.h change from gnulib
25000 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25001
2554247d
PE
25002 mktime: merge time_r change from gnulib
25003 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25004
826dd0ab
PE
25005 mktime: merge DEBUG change from gnulib
25006 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25007 case system <time.h> has a #define.
25008
bd83aabe
PE
25009 mktime: merge <sys/types.h> change from gnulib
25010 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25011 since <time.t> is now guaranteed to define time_t.
25012
95770f14
PE
25013 mktime: merge HAVE_CONFIG_H change from gnulib
25014 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25015
5e1a27a9
L
250162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25017
0e44a77e
L
25018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25019 Use "neg %eax".
25020
5e1a27a9
L
25021 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25022 __rlim_t cast.
25023 (struct rusage): Use anonymous union to pad each field to
25024 __syscall_slong_t.
25025
46259bec
DM
250262012-05-21 David S. Miller <davem@davemloft.net>
25027
25028 * Makefules (o-iterator): Remove .s cases.
25029 (compile-command.s): Delete.
25030 (COMPILE.s): Delete.
25031 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25032
59f0c22e
JM
250332012-05-21 Joseph Myers <joseph@codesourcery.com>
25034
25035 * configure.in (libc_cv_predef_stack_protector): Only consider
25036 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25037 * configure: Regenerated.
25038
20c07380
L
250392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25040
bbb3154b
L
25041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25042 New macro. Use R*LP on int and pointer.
25043 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25044 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25045 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25046 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25047
20c07380
L
25048 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25049 [__WORDSIZE_TIME64_COMPAT32] instead of
25050 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25051 (struct utmp): Likewise.
25052 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25053 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25054 Renamed to ...
25055 (__WORDSIZE_TIME64_COMPAT32): This.
25056 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25057 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25058 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25059 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25060 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25061 (__WORDSIZE_TIME64_COMPAT32): New macro.
25062
d8d1017e
AJ
250632012-05-21 Andreas Jaeger <aj@suse.de>
25064
25065 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25066 only if [SHARED]. Add prototype for __wcschr_ia32.
25067
6c7fb145
RM
250682012-05-21 Roland McGrath <roland@hack.frob.com>
25069
25070 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25071 of %rbp unmolested in the jmp_buf while mangling the low bits.
25072 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25073 unmolested high bits of %rbp while demangling the low bits.
25074 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25075
66274218
AJ
250762012-05-21 Andreas Jaeger <aj@suse.de>
25077
07c58f8f
AJ
25078 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25079 * sunrpc/svc_simple.c: Use it for registerrpc.
25080 * sunrpc/xcrypt.c: Use it for passwd2des.
25081
66274218
AJ
25082 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25083
61f65140
L
250842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25085
25086 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25087 Don't define if [__SYSCALL_WORDSIZE != 32].
25088 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25089 New macro.
25090
5fefb436
AJ
250912012-05-21 Bruno Haible <bruno@clisp.org>
25092 Andreas Jaeger <aj@suse.de>
25093
25094 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25095 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25096 inptr and inend for must_buffer_ch.
25097 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25098 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25099 * stdio-common/Makefile (tests): Remove bug15.
25100 (bug15-ENV): Remove macro.
25101 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25102 anymore.
25103
d8e272ab
AJ
251042012-05-19 Andreas Jaeger <aj@suse.de>
25105 Roland McGrath <roland@hack.frob.com>
25106
25107 * manual/contrib.texi: Completely rewritten. It contains now an
25108 alphabetical list of contributors and their contributions.
25109
4a56a162
RH
251102012-05-21 Richard Henderson <rth@twiddle.net>
25111
25112 * misc/getauxval.c (__getauxval): Use unsigned long int.
25113 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25114 (getauxval): Use unsigned long int.
25115
d024d23c
L
251162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25117
25118 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25119
cbc00a03
RM
251202012-05-21 Roland McGrath <roland@hack.frob.com>
25121
25122 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25123 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25124 __alignof__ (long double).
25125
478143fa
AZ
251262012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25127
25128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25129
c7683a6d
RH
251302012-05-20 Richard Henderson <rth@twiddle.net>
25131
25132 * misc/getauxval.c: New file.
25133 * misc/sys/auxv.h: New file.
25134 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25135 (routines): Add getauxval.
25136 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25137 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25138 * elf/dl-sysdep.c (_dl_auxv): Remove.
25139 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25140 * elf/dl-support.c (_dl_auxv): New variable.
25141 (_dl_aux_init): Initialize it.
25142 * manual/startup.texi (Auxiliary Vector): New node.
25143 * sysdeps/generic/bits/hwcap.h: New file.
25144 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25145 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25146 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25147 * sysdeps/sparc/sysdep.h: ... here. Include it.
25148 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25149 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25151 Update.
c7683a6d
RH
25152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25155 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25160
a6f1845d
AZ
251612012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25162
25163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25164
cbcbe830
DM
251652012-05-19 David S. Miller <davem@davemloft.net>
25166
25167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25168
e0b16cc2
JM
251692012-05-19 Joseph Myers <joseph@codesourcery.com>
25170
25171 [BZ #14123]
25172 * math/s_ccosh.c: Include <float.h>
25173 (__ccosh): Avoid internal overflow calculating sinh and cosh
25174 values before multiplying by sin and cos values.
25175 * math/s_ccoshf.c: Likewise.
25176 * math/s_ccoshl.c: Likewise.
25177 * math/s_csin.c: Likewise.
25178 * math/s_csinf.c: Likewise.
25179 * math/s_csinl.c: Likewise.
25180 * math/s_csinh.c: Likewise.
25181 * math/s_csinhf.c: Likewise.
25182 * math/s_csinhl.c: Likewise.
25183 * math/libm-test.inc (ccos_test): Add more tests.
25184 (ccosh_test): Likewise.
25185 (csin_test): Likewise.
25186 (csinh_test): Likewise.
25187 * sysdeps/i386/fpu/libm-test-ulps: Update.
25188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25189
6ad13e08
L
251902012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25191
f66f0ce8
L
25192 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25193 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25194
6ad13e08
L
25195 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25196
b1d072a7
JM
251972012-05-19 Joseph Myers <joseph@codesourcery.com>
25198
25199 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25200 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25201 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25202 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25203 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25204 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25205 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25206 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25207 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25208 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25209 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25210 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25211 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25212 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25213 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25214 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25215 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25216 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25217 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25218 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25219 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25220 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25221 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25222 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25223 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25224 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25225 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25226 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25227 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25228 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25229 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25230
9eae47cb
AJ
252312012-05-18 Andreas Jaeger <aj@suse.de>
25232
25233 * csu/.gitignore: Delete.
25234
bb07f69f
L
252352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25236
25237 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25238 (timex): Use __syscall_slong_t.
25239
e6bdb741
AJ
252402012-05-18 Andreas Jaeger <aj@suse.de>
25241 Carlos O'Donell <carlos_odonell@mentor.com>
25242
25243 * manual/install.texi (Configuring and compiling): Update
25244 description about files modified in the source directory.
d6c33fda 25245 * INSTALL: Regenerated.
e6bdb741 25246
1b74487e
L
252472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25248
25249 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25250 value. Use "or" to set return value to -1.
25251 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25252 negate return value.
25253
a88b64b9
TMQMF
252542012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25255
25256 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25257 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25258 failure if the compiler has Graphite support disabled.
25259 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25260 Likewise.
25261 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25262 CFLAGS-memmove.c): Likewise.
25263 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25264 Likewise.
25265
3707636e
L
252662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25267
610b8622
L
25268 * sysdeps/x86_64/x32/_itoa.h: New file.
25269
7cd195df
L
25270 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25271 getdents system call only if kernel and user dirents have the
25272 same d_ino and d_off.
25273
94b07d20
L
25274 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25275 LLONG_MAX != LONG_MAX.
25276 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25277 (_fitoa_word): Likewise.
25278
18298070
L
25279 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25280 years.
25281 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25282 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25283 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25284
553c7ea4
L
25285 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25286 include <bits/wordsize.h>. Check __x86_64__ instead of
25287 __WORDSIZE.
25288 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25289 if __x86_64__ is defined. Use anonymous union on fpstate.
25290
3707636e
L
25291 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25292 anonymous union.
25293
b53ef01a
AS
252942012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25295
37fb1dc0
AS
25296 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25297 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25298 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25299 Refer to _rtld_local_ro instead of _rtld_global_ro.
25300 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25301 Likewise.
25302 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25303 Likewise.
25304 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25305 Likewise.
25306 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25307 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25308 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25309
b53ef01a
AS
25310 * sysdeps/powerpc/powerpc32/dl-machine.c
25311 (__elf_machine_runtime_setup) [PROF]: Don't reference
25312 _dl_prof_resolve.
25313
7a185db2
AJ
253142012-05-18 Andreas Jaeger <aj@suse.de>
25315
25316 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25317 function only available for GCCs before 3.4 since GCC 3.4
25318 introduced a builtin.
25319 (lrint): Likewise.
25320 (llrintf): Likewise.
25321 (llrint): Likewise.
25322 (fmaxf): Likewise.
25323 (fmax): Likewise.
25324 (fminf): Likewise.
25325 (fmin): Likewise.
25326 (rint): Likewise.
25327 (rintf): Likewise.
25328 (nearbyint): Likewise.
25329 (nearbyintf): Likewise.
25330 (ceil): Likewise.
25331 (ceilf): Likewise.
25332 (floor): Likewise.
25333 (floorf): Likewise.
25334
3e5aef87
L
253352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25336
428bd707
L
25337 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25338 on both fields and cast pointer to __syscall_ulong_t.
25339
3e5aef87
L
25340 * bits/types.h (__fsword_t): New type.
25341 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25342 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25344 (__FSWORD_T_TYPE): Likewise.
25345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25346 (__FSWORD_T_TYPE): Likewise.
25347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25348 (__FSWORD_T_TYPE): Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25350 (__FSWORD_T_TYPE): Likewise.
25351 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25352 __SWORD_TYPE with __fsword_t.
25353 (statfs64): Likewise.
25354
1ba7c3dc
DM
253552012-05-17 David S. Miller <davem@davemloft.net>
25356
25357 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25358
59910343
AJ
253592012-05-17 Andreas Jaeger <aj@suse.de>
25360
25361 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25362 warning.
25363
2e4c1e9e
L
253642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25365
25366 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25367
de7f5ce7
AJ
253682012-05-17 Andreas Jaeger <aj@suse.de>
25369
25370 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25371 when it is used.
25372
286abc3d
CM
253732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25374
25375 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25376
477cc68e
L
253772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25378
25379 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25380 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25381
1a0994f5
CD
253822012-05-17 Andreas Jaeger <aj@suse.de>
25383 Carlos O'Donell <carlos_odonell@mentor.com>
25384
25385 [BZ #14059]
25386 * sysdeps/x86_64/multiarch/init-arch.h
25387 (bit_YMM_Usable): Rename to...
25388 (bit_AVX_Usable): ... this.
25389 (bit_FMA4_Usable): New macro.
25390 (bit_XMM_state): New macro.
25391 (bit_YMM_state): New macro.
25392 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25393 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25394 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25395 (CPUID_OSXSAVE): New macro.
25396 (CPUID_AVX): New macro.
25397 (CPUID_FMA4): New macro.
25398 (index_YMM_Usable): Rename to...
25399 (index_AVX_Usable): ... this.
25400 (HAS_AVX): Use HAS_ARCH_FEATURE.
25401 (HAS_FMA4): Likewise.
25402 (HAS_YMM_USABLE): Remove.
25403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25404 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25405 are present.
25406 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25407 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25408 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25409 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25410 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25411
0af797de
CM
254122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25413
25414 * math/libm-test.c: Support platforms without multiple rounding modes.
25415 * math/bug-nextafter.c: Support platforms without FP exceptions.
25416 * math/bug-nexttoward.c: Likewise.
25417 * math/test-fenv.c: Likewise.
25418 * math/test-misc.c: Likewise.
25419 * stdlib/bug-getcontext.c: Likewise.
25420
e39745ff
AJ
254212012-05-17 Andreas Jaeger <aj@suse.de>
25422
25423 * manual/examples/search.c (critter_cmp): Change signature to
25424 avoid warnings.
25425 * manual/string.texi (Collation Functions): Likewise.
25426
48970aba
L
254272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25428
25429 * bits/types.h: Fold copyright years.
25430 * bits/typesizes.h: Likewise.
25431 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25435 * time/time.h: Likewise.
25436
bedee953
PP
254372012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25438
25439 [BZ #208]
25440 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25441 in instead of returning them. Return void.
25442 (__libc_mallinfo): Accumulate over all arenas.
25443 (__malloc_stats): Adjust for change in int_mallinfo interface.
25444
61653dfb
RM
254452012-05-16 Roland McGrath <roland@hack.frob.com>
25446
30b99d79
RM
25447 [BZ #10375]
25448 * configure.in (NM): Add AC_CHECK_TOOL for it.
25449 (libc_extra_cflags): New substituted variable.
25450 Check for -fstack-protector being used implicitly.
25451 * configure: Regenerated.
25452 * config.make.in (config-extra-cflags): New variable,
25453 gets @libc_extra_cflags@.
25454 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25455
61653dfb
RM
25456 [BZ #10375]
25457 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25458 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25459 * configure: Regenerated.
25460 * config.make.in (CPPUNDEFS): New substituted variable.
25461 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25462 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25463 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25464
661768bb
L
254652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25466
25467 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25468 (mq_attr): Use __syscall_slong_t.
25469
d4261567
L
254702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25471
25472 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25473 Check __x86_64__ instead of __WORDSIZE.
25474 (_STAT_VER_LINUX): Likewise.
25475 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25476 __syscall_ulong_t and __syscall_slong_t.
25477 (stat64): Likewise.
25478
cf3ff365
L
254792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25480
25481 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25482
76cf3e4d
L
254832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25484
25485 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25486
a637753a
L
254872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25488
25489 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25490 __syscall_ulong_t.
25491
d5e05119
L
25492 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25493 include <bits/wordsize.h>. Check __x86_64__ instead of
25494 __WORDSIZE.
25495 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25496 defined.
25497 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25498
f62ee380
L
25499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25500 include <bits/wordsize.h>. Check __x86_64__ instead of
25501 __WORDSIZE.
25502 (user_regs_struct): Use "__extension__ unsigned long long"
25503 instead of "unsigned long" if __x86_64__ is defined.
25504 (user): Likewise. Pad after pointer field if __ILP32__ is
25505 defined.
25506
4e124ced
JM
255072012-05-16 Joseph Myers <joseph@codesourcery.com>
25508
6a3951a0
JM
25509 * configure.in (makeinfo): Require version 4.5 or later. Allow
25510 versions 5 to 9.
25511 * configure: Regenerated.
25512 * manual/install.texi (texinfo): Increase version requirement to
25513 4.5 or later.
25514 * INSTALL: Regenerated.
25515
4e124ced
JM
25516 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25517
953ca31a
L
255182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25519
25520 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25521
617aca05
L
25522 * sysdeps/x86_64/x32/ffs.c: New file.
25523
5762f7ae
L
25524 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25525 __syscall_ulong_t.
25526 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25527 defined. Use __syscall_ulong_t.
25528 (shminfo): Use __syscall_ulong_t.
25529 (shm_info): Likewise.
25530
a26b6856
L
25531 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25532 __syscall_ulong_t.
25533
cb2b9ef7
L
25534 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25535 <bits/wordsize.h>.
25536 (msgqnum_t): Use __syscall_ulong_t.
25537 (msglen_t): Likewise.
25538 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25539 __syscall_ulong_t.
25540
34683bb0
L
25541 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25542 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25543
84a68786
L
25544 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25545
48baa5f1
L
25546 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25547 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25548
180be88b
L
25549 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25550 __syscall_slong_t.
25551
5e90c8ad
L
25552 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25553 include <bits/wordsize.h>. Check __x86_64__ instead of
25554 __WORDSIZE.
25555
23dfb58b
L
25556 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25557 "unsigned long long int" if __x86_64__ is defined.
25558 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25559
ce5d54b0
L
25560 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25561 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25562 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25563
13dc9eac
L
25564 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25565 <stdint.h>.
25566 (GET_PC): Cast to uintptr_t first.
25567 (GET_FRAME): Likewise.
25568 (GET_STACK): Likewise.
25569
a7895d15
L
25570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25571 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25572 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25574 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25576 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25577 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25578 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25580 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25581 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25582 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25585 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25588 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25589 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25590 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25595 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25599
656416c9
AS
256002012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25601
5bd66283
AS
25602 * Makerules (+depfiles): Also collect depfiles from .oS in
25603 $(extra-objs).
25604 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25605 .oS, $(libnldbl-routines)).
25606
656416c9
AS
25607 * Makerules (native-compile-mkdep-flags): Define.
25608 * sunrpc/Makefile (extra-objs): Add $(addprefix
25609 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25610 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25611 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25612 calling $(make-target-directory).
25613
a46f2169
L
256142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25615
25616 * bits/types.h (__snseconds_t): Removed.
25617 * time/time.h (struct timespec): Replace __snseconds_t with
25618 __syscall_slong_t.
25619 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25620 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25621 Likewise.
25622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25623 (__SNSECONDS_T_TYPE): Likewise.
25624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25625 (__SNSECONDS_T_TYPE): Likewise.
25626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25627 (__SNSECONDS_T_TYPE): Likewise.
25628
6af6528b
L
256292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25630
25631 * sysdeps/mach/hurd/bits/typesizes.h
25632 (__SYSCALL_SLONG_TYPE): New macro.
25633 (__SYSCALL_ULONG_TYPE): Likewise.
25634
de986b56
L
256352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25636
25637 * bits/types.h (__syscall_slong_t): New type.
25638 (__syscall_ulong_t): Likewise.
25639
25640 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25641 (__SYSCALL_ULONG_TYPE): Likewise.
25642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25643 (__SYSCALL_SLONG_TYPE): Likewise.
25644 (__SYSCALL_ULONG_TYPE): Likewise.
25645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25646 (__SYSCALL_SLONG_TYPE): Likewise.
25647 (__SYSCALL_ULONG_TYPE): Likewise.
25648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25649 (__SYSCALL_SLONG_TYPE): Likewise.
25650 (__SYSCALL_ULONG_TYPE): Likewise.
25651
85736dc7
L
256522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25653
25654 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25655 Add sigaltstack-offsets.sym.
25656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25657 <sigaltstack-offsets.h>.
25658 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25659 longjmp_msg pointer.
25660 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25661 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25662 signal stack.
25663 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25664
cc03b296
JM
256652012-05-15 Joseph Myers <joseph@codesourcery.com>
25666
a9538892
JM
25667 * elf/stackguard-macros.h: Remove file.
25668 * sysdeps/generic/stackguard-macros.h: New file.
25669 * sysdeps/i386/stackguard-macros.h: Likewise.
25670 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25671 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25672 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25673 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25674 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25675 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25676 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25677 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25678 <elf/stackguard-macros.h>.
25679
cc03b296
JM
25680 [BZ #14109]
25681 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25682 __aligned__ in attribute.
25683 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25684 (gregset_t): Likewise.
25685
93171016
L
256862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25687
25688 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25689 * sysdeps/x86_64/64/Implies-after: Here. New file.
25690 * sysdeps/x86_64/x32/Implies-after: New file.
25691
d86813a0
L
256922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25693
25694 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25695 and access return value for _dl_profile_fixup. Use R10_LP to
25696 load frame size.
25697
2953ec75
L
256982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25699
25700 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25701
3b550e9e
L
257022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25703
25704 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25705 * sysdeps/x86_64/x32/sysdep.h: New file.
25706
eda41706
L
257072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25708
25709 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25710 * sysdeps/x86_64/setjmp.S: Likewise.
25711
9ea01d93
AZ
257122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25713
25714 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25715 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25716 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25717 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25718 remove unused global constant.
25719
02a91938
CM
257202012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25721
25722 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25723 include of <not-cancel.h>.
25724
6540185f
RM
257252012-05-15 Roland McGrath <roland@hack.frob.com>
25726
25727 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25728
509072a0
AJ
257292012-05-15 Jeff Law <law@redhat.com>
25730 Andreas Jaeger <aj@suse.de>
25731
25732 [BZ #13594]
25733 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25734 out from...
25735 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25736 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25737 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25738 code changing __hst_map_handle.map.
25739
ba75122d
RM
257402012-05-15 Roland McGrath <roland@hack.frob.com>
25741
25742 * configure.in (sysnames): Look for Implies-before and Implies-after
25743 files.
25744 * configure: Regenerated.
25745
890d8bd8
L
257462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25747
25748 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25749 8-byte data alignment with LP_SIZE alignment.
25750
f6ee6623
L
257512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25752
25753 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25754 into R10_LP.
25755
ea2626f6
L
257562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25757
25758 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25759
085f715e
L
257602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25761
25762 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25765 Likewise.
25766 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25767
be8498fc
L
257682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25769
25770 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25771 (stackinfo_sub_sp): Likewise.
25772
70bc83b9
L
257732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25774
25775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25776 RAX_LP.
25777
9bc0b730
L
257782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25779
25780 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25781 into R*_LP.
25782
6d2850e7
L
257832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25784
25785 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25786 sizes into R*_LP.
25787
3cb84561
L
257882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25789
25790 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25791
54e2ed81
L
257922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25793
25794 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25795 into R11_LP and load __x86_64_shared_cache_size_half into
25796 R8_LP.
25797
8a17f349
L
257982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25799
25800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25801 R8_LP.
25802
777b1eea
AZ
258032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25804
25805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25806 logb for POWER7.
25807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25808 logbf for POWER7.
25809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25810 logbl for POWER7.
25811 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25812 powerpc32/power7/fpu/s_logb.c via #include.
25813 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25814 powerpc32/power7/fpu/s_logbf.c via #include.
25815 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25816 powerpc32/power7/fpu/s_logbl.c via #include.
25817
d20d4ac2
JM
258182012-05-15 Joseph Myers <joseph@codesourcery.com>
25819
25820 * README.libm: Remove file.
25821
6cdef1ab
L
258222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25823
25824 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25825 count for x32. Use R*_LP and omit operand-size suffix.
25826
0b254d8f
L
258272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25828
25829 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25830 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25831 * sysdeps/x86_64/x32/shlib-versions: New file.
25832
ceb809dc
RM
258332012-05-14 Roland McGrath <roland@hack.frob.com>
25834
25835 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25836 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25837 Use _dl_fatal_printf instead.
25838
37f1abd4
JM
258392012-05-14 Joseph Myers <joseph@codesourcery.com>
25840
25841 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25842 set if not set by the user. Do not allow for being unset.
25843 * sysdeps/unix/sysv/linux/configure: Regenerated.
25844
11de3a33
L
258452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25846
25847 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25848 the `q' suffix from lea and replace .quad with ASM_ADDR.
25849
e02f153a
L
258502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25851
25852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25853 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25854 instead of $17.
25855 (PTR_DEMANGLE): Likewise.
25856
520ae0fd
L
258572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25858
25859 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25860 (LP_OP): Likewise.
25861 (ASM_ADDR): Likewise.
25862 (RAX_LP): Likewise.
25863 (RBP_LP): Likewise.
25864 (RBX_LP): Likewise.
25865 (RCX_LP): Likewise.
25866 (RDI_LP): Likewise.
25867 (RSI_LP): Likewise.
25868 (RSP_LP): Likewise.
25869 (R8_LP): Likewise.
25870 (R9_LP): Likewise.
25871 (R10_LP): Likewise.
25872 (R10_LP): Likewise.
25873 (R11_LP): Likewise.
25874 (R12_LP): Likewise.
25875 (R13_LP): Likewise.
25876 (R14_LP): Likewise.
25877 (R15_LP): Likewise.
25878
b985be81
L
258792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 * sysdeps/x86_64/x32/dl-machine.h: New file.
25882
6a4888ff
AJ
258832012-05-14 Andreas Jaeger <aj@suse.de>
25884
25885 * manual/Makefile (subdir): Remove export of subdir.
25886 (all): Remove target.
25887 (.PHONY): Remove all from list.
25888 (mkinstalldirs): Remove.
25889 (.PHONY): Remove installdirs from list.
25890 ($(inst_infodir)/libc.info): Use make-target-directory.
25891 (installdirs): Remove.
25892 (subdir_%): Remove.
25893 (glibc-targets): Remove.
25894 (lib): Remove.
25895 (stubs): Remove.
25896 ($(objpfx)stubs ../po/manual.pot): Remove.
25897 ($(objpfx)stamp%): Remove.
25898 (make-target-directory): Remove.
25899 (subdir_install): Remove.
25900 (routines): Remove.
25901 (aux): Remove.
25902 (sources): Remove.
25903 (objects): Remove.
25904 (headers): Remove.
25905
25906 [BZ #13750]
25907 * manual/.gitignore: Remove, it's not needed anymore.
25908 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25909 all files in it.
25910 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25911 directory.
25912 (texis): Renamed to $(objpfx)texis.
25913 (texis-path): New, contains path to generated files.
25914 (chapters.%): Use texis-path for complete path, add extra argument
25915 libc-texinfo.sh.
25916 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25917 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25918 (summary,texi, stamp-summary): Use complete path of
25919 files. Generate files in build dir.
25920 (dir-add.texi): Build in build dir.
25921 (libm-err.texi,stamp-libm-err): Likewise.
25922 (version.texi, stamp-version): Likewise.
25923 (.%c.texi): Likewise.
25924 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25925 (mostlyclean): Remove target.
25926 (realclean): Remove target.
25927 (generated): Add new variable with contents from mostlyclean and
25928 realclean, remove entries duplicated in common-mostlyclean, add
25929 stamp-libm-err and stamp-version.
25930 (generated-dirs): Add libc directory.
25931 ($(inst_infodir)/libc.info): Install files from build dir.
25932
25933 * manual/install.texi (Configuring and compiling): Adjust since
25934 the info files are not part of the tar ball anymore.
25935
7ac77294
AJ
259362012-05-14 Andreas Jaeger <aj@suse.de>
25937
25938 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25939 variable.
25940
ffb7875d
JM
259412012-05-14 Joseph Myers <joseph@codesourcery.com>
25942
25943 [BZ #13717]
25944 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25945 to 2.2.0 where earlier.
25946 * sysdeps/unix/sysv/linux/configure: Regenerated.
25947 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25948 Remove conditional code.
25949 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25950 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25951 Remove conditional code.
25952 [!__NR_lchown]: Likewise.
25953 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25954 [__NR_lchown]: Likewise.
25955 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25956 comment referencing __ASSUME_LCHOWN_SYSCALL.
25957 * sysdeps/unix/sysv/linux/i386/sigaction.c
25958 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25959 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25960 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25961 Remove conditional code.
25962 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25963 (__protocol_available): Remove #if 0 code.
25964 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25965 conditional code.
25966 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25967 * sysdeps/unix/sysv/linux/kernel-features.h
25968 (__ASSUME_GETCWD_SYSCALL): Don't define.
25969 (__ASSUME_REALTIME_SIGNALS): Likewise.
25970 (__ASSUME_PREAD_SYSCALL): Likewise.
25971 (__ASSUME_PWRITE_SYSCALL): Likewise.
25972 (__ASSUME_POLL_SYSCALL): Likewise.
25973 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25974 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25975 non-SPARC.
25976 (__ASSUME_SIOCGIFNAME): Don't define.
25977 (__ASSUME_MSG_NOSIGNAL): Likewise.
25978 (__ASSUME_SENDFILE): Define unconditionally.
25979 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25980 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25981 conditional code.
25982 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25983 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25984 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25985 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25986 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25987 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25988 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25990 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25993 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25996 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26002 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26003 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26005 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26008 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26009 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26011 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26013 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26014 Remove conditional code.
26015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26016 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26017 Remove conditional code.
26018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26019 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26020 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26021 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26022 Remove conditional code.
26023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26024 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26025 Remove conditional code.
26026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26027 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26028 Remove conditional code.
26029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26030 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26031 Remove conditional code.
26032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26033 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26034 Remove conditional code.
26035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26036 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26037 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26039 * sysdeps/unix/sysv/linux/sigaction.c
26040 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26041 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26042 * sysdeps/unix/sysv/linux/sigpending.c
26043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26045 * sysdeps/unix/sysv/linux/sigprocmask.c
26046 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26047 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26048 * sysdeps/unix/sysv/linux/sigsuspend.c
26049 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26050 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26051 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26052 (__libc_missing_rt_sigs): Remove.
26053 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26054 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26055 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26056 Remove conditional code.
26057 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26058 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26059 return 1.
26060 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26061 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26062 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26063 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26064
1bfb7291
AJ
260652012-05-14 Andreas Jaeger <aj@suse.de>
26066
caae5a81
AJ
26067 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26068 it's not used in glibc.
26069 (__coshm1): Likewise.
26070 (__acosh1p): Likewise.
26071 (__sgn): Likewise.
26072
1bfb7291
AJ
26073 * manual/string.texi (Copying and Concatenation): Add missing
26074 variable in concat example.
26075 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26076
c044d724
L
260772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26078
144c5467 26079 [BZ #14103]
c044d724
L
26080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26081 __builtin_clzl with __builtin_clzll.
26082
2523c62b
L
260832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26084
26085 [BZ #14104]
26086 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26087 libc_freeres_ptr.
26088
d7bb4c42
LD
260892012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26090
26091 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26092 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26093 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26094 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26095
9dc4e1fb
MF
260962012-05-14 Mike Frysinger <vapier@gentoo.org>
26097
26098 * NEWS: Update ia64 info.
26099
c7df0112
AS
261002012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26101
26102 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26103 used as bcopy.
26104
dc70356c
TS
261052012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26106
26107 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26108 * sysdeps/unix/syscalls.list (dup3): Likewise.
26109 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26110 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26111
9fb1a21f
L
261122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26113
26114 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26115 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26116
4822a2a5
L
261172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26118
26119 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26120 thread pointer.
26121 (TLS_IE): Use mov/add instead of movq/addq to load thread
26122 pointer.
26123 (TLS_GD_PREFIX): New.
26124 (TLS_GD): Use it.
26125
842b81d6
DM
261262012-05-11 David S. Miller <davem@davemloft.net>
26127
26128 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26129 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26130 (_FPU_SETCW): Likewise.
26131
1cf463cd
L
261322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26133
26134 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26135 is 32-byte aligned.
26136
60cc4a18
AS
261372012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26138
26139 [BZ #11837]
26140 * iconvdata/gb18030.c: Update tables.
26141 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26142 characters specially.
26143 (BODY for TO_LOOP): Add encoding of missing ranges.
26144
febb44a4
TS
261452012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26146
26147 [BZ #13673]
26148 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26149 * sysdeps/mach/hurd/dup3.c: Likewise.
26150 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26151 * sysdeps/powerpc/memmove.c:: Likewise.
26152
0a10fb9e
L
261532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26154
26155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26156 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26157
df8a552f
L
261582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26159
26160 * elf/elf.h (R_X86_64_RELATIVE64): New.
26161 (R_X86_64_NUM): Updated.
26162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26163 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26164 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26165 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26166 tst-quad1pie tst-quad2pie
26167 (modules-names): Add tst-quadmod1 tst-quadmod2.
26168 ($(objpfx)tst-quad1): New dependency.
26169 ($(objpfx)tst-quad2): Likewise.
26170 ($(objpfx)tst-quad1pie): Likewise.
26171 ($(objpfx)tst-quad2pie): Likewise.
26172 * sysdeps/x86_64/tst-quad1.c: New file.
26173 * sysdeps/x86_64/tst-quad1pie.c: New file.
26174 * sysdeps/x86_64/tst-quad2.c: Likewise.
26175 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26176 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26177 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26178 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26179 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26180
f34d6f84
ST
261812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26182
f42d41d1
ST
26183 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26184 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26185 * streams/stropts.h (t_scalar_t): Define type.
26186
3c3571fc
ST
26187 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26188 (_PATH_PRESERVE): Set to "/var/lib".
26189 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26190
61f06bd3
ST
26191 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26192 instead of int.
26193
918d4d71
ST
26194 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26195 if __dir_mkfile succeeded.
26196
f34d6f84
ST
26197 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26198 checking for _hurd_dtablesize. Unlock it right after having
26199 finished _hurd_dtable allocation.
26200
10589b4a
TS
262012012-05-10 Thomas Schwinge <thomas@schwinge.name>
26202
674cdbc7
TS
26203 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26204 * sysdeps/mach/hurd/configure: Regenerated.
26205 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26206 special-casing to...
26207 * sysdeps/gnu/configure.in: ... this new file.
26208 * sysdeps/unix/sysv/linux/configure: Regenerated.
26209 * sysdeps/gnu/configure: New generated file.
26210
8e41b99f
TS
26211 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26212 for Linux: use nsec instead of usec, as well as:
26213 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26214 members of type struct timespec.
26215 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26216 New macros.
26217 (struct stat64): Likewise.
26218 (_STATBUF_ST_NSEC): New macro.
26219 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26220
10589b4a
TS
26221 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26222 __strtoul_internal rather than strtoul.
26223
63643c85
PT
262242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26225
26226 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26227 and reject them.
26228
3faebe6a
ST
262292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26230
26231 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26232 which preserves existing values.
26233 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26234
c6474b07
PT
262352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26236
26237 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26238 TIMEOUT values. Return EINVAL for NFDS values either negative or
26239 greater than FD_SETSIZE.
26240
1043890b
ST
262412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26242
26243 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26244 allocated, call __vm_protect to finish enabling the existing space, and
26245 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26246 allocate the remainder.
26247
37ed8b9b
PT
262482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26249
26250 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26251 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26252
db653660
ST
262532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26254
37ed8b9b
PT
26255 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26256 sysdeps/mach/hurd/readlink.c.
b29d4053 26257
db653660
ST
26258 * posix/tst-sysconf.c (posix_options): Only use
26259 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26260 _POSIX_SYNCHRONIZED_IO when they are defined
26261 * sysdeps/mach/hurd/bits/posix_opt.h:
26262 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26263 (_XOPEN_REALTIME): Undefine macro.
26264 (_XOPEN_REALTIME_THREADS): Undefine macro.
26265 (_XOPEN_SHM): Undefine macro.
26266 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26267 macro to -1.
26268 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26269 macro to -1.
26270 (_POSIX_ASYNC_IO): Undefine macro.
26271 (_POSIX_PRIORITIZED_IO): Undefine macro.
26272 (_POSIX_SPIN_LOCKS): Define macro to -1.
26273
ee16e894
ST
26274 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26275 SA_NODEFER, SA_RESETHAND.
26276 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26277 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26278 F_DUPFD_CLOEXEC.
26279
6103ae3b
TS
262802012-05-10 Thomas Schwinge <thomas@schwinge.name>
26281
26282 * elf/Makefile (pldd-modules): Define unconditionally.
26283
80b4e5f3
TS
262842012-05-10 Thomas Schwinge <thomas@schwinge.name>
26285
26286 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26287
edadcbd6
ST
262882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26289
26290 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26291 Return ENOENT when name is empty.
26292 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26293
80694780
TS
262942012-05-10 Thomas Schwinge <thomas@schwinge.name>
26295
1792c087
TS
26296 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26297
80694780
TS
26298 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26299
6b645f0d
ST
263002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26301
80694780
TS
26302 Fix mlock in all cases except non-readable pages.
26303 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26304 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26305
6b645f0d
ST
26306 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26307 (__mkdir): When path is `/', just fail with EEXIST.
26308 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26309
e468f8a3
TS
263102012-05-10 Thomas Schwinge <thomas@schwinge.name>
26311
26312 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26313 <sys/uio.h> (for writev).
26314 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26315 and <sys/param.h> (for MIN).
26316
a4186cff
PT
263172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26318
26319 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26320 REQUESTED_TIME. Properly set the remaining time and return EINTR
26321 if interrupted.
26322
510bbf14
TS
263232012-05-10 Thomas Schwinge <thomas@schwinge.name>
26324
26325 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26326 Depend on against $(link-rpcuserlibs).
26327
5d5722e8
ST
263282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26329
a4186cff
PT
26330 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26331 (__libc_stack_end): Do not use attribute_relro.
26332 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26333 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26334 to libthread-provided value.
a4186cff
PT
26335 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26336 attribute_relro.
5d5722e8 26337
37233df9
TS
263382012-05-10 Thomas Schwinge <thomas@schwinge.name>
26339
be971a2b
TS
26340 [BZ #3748]
26341 * bits/libc-lock.h (__libc_once_get): New macro.
26342 * sysdeps/mach/bits/libc-lock.h: Likewise.
26343 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26345 instead of using implementation details.
26346
37233df9
TS
26347 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26348 * libio/freopen.c: Likewise.
26349 * libio/freopen64.c: Likewise.
26350 * misc/syslog.c: Likewise.
26351 * nscd/connections.c: Likewise.
26352 * nscd/netgroupcache.c: Likewise.
26353 * sysdeps/posix/getcwd.c: Likewise.
26354
38de94a5
RM
263552012-05-10 Roland McGrath <roland@hack.frob.com>
26356
26357 * math/w_ilogbf.c: Add #include <limits.h>.
26358
67530489
ST
263592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26360
a4186cff 26361 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26362 path instead of returning without unlocking.
26363
67530489
ST
26364 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26365 immediate-write ioctls.
26366 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26367
5aa3a74a
TS
263682012-05-10 Thomas Schwinge <thomas@schwinge.name>
26369
18bad2ae
TS
26370 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26371 __builtin_frame_address instead of making assumptions about the
26372 location of the return address relative to DATA. Force early load of
26373 the return address.
26374 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26375 __builtin_frame_address.
26376
5aa3a74a
TS
26377 dup3 for GNU Hurd.
26378 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26379 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26380 implement dup3 and do some further code clean-ups.
26381 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26382 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26383
ecd0de9a
ST
263842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26385
cd9fa985
ST
26386 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26387
a4186cff
PT
26388 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26389 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26390 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26391 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26392 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26393 d->port.lock.
802ca5a5 26394
a4186cff
PT
26395 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26396 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26397 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26398
bcf55240
TS
263992012-05-10 Thomas Schwinge <thomas@schwinge.name>
26400
6960eb42
TS
26401 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26402 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26403 definitions.
26404
eb43375f
TS
26405 accept4 for GNU Hurd.
26406 * include/sys/socket.h (__libc_accept4): New prototype.
26407 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26408 to implement __libc_accept4.
26409 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26410 __libc_accept4.
26411 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26412
bcf55240
TS
26413 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26414 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26415 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26416 signal-defines.sym.
26417
6178c55b
ST
264182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26419
a4186cff 26420 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26421
6f080c2f
TS
264222012-05-10 Thomas Schwinge <thomas@schwinge.name>
26423
26424 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26425 assertion on O_CLOEXEC flag.
26426 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26427 * hurd/intern-fd.c: Likewise.
26428 * hurd/port2fd.c: Likewise.
26429
bcfe3a54
ST
264302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26431
26432 [BZ #3906]
26433 * bits/in.h (IPV6_PKTINFO): Define new macro.
26434 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26435
89c9aa49
AZ
264362012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26437
26438 [BZ #13954]
26439 [BZ #13955]
26440 [BZ #13956]
26441 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26442 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26443 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26444 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26446 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26447 * math/libm-test.inc (logb_test) : Additional logb tests.
26448
021db4be
AJ
264492012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26450 Andreas Jaeger <aj@suse.de>
26451
26452 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26453 * configure: Regenerated.
26454 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26455 * config.make.in (link-obsolete-rpc): New substituted variable.
26456 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26457 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26458 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26459 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26460 so that libc.a contains the symbols.
26461 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26462 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26463 * sunrpc/auth_none.c: Likewise.
26464 * sunrpc/auth_unix.c: Likewise.
26465 * sunrpc/authdes_prot.c: Likewise.
26466 * sunrpc/authuxprot.c: Likewise.
26467 * sunrpc/clnt_gen.c: Likewise.
26468 * sunrpc/clnt_perr.c: Likewise.
26469 * sunrpc/clnt_raw.c: Likewise.
26470 * sunrpc/clnt_simp.c: Likewise.
26471 * sunrpc/clnt_tcp.c: Likewise.
26472 * sunrpc/clnt_udp.c: Likewise.
26473 * sunrpc/clnt_unix.c: Likewise.
26474 * sunrpc/des_crypt.c: Likewise.
26475 * sunrpc/des_soft.c: Likewise.
26476 * sunrpc/get_myaddr.c: Likewise.
26477 * sunrpc/key_call.c: Likewise.
26478 * sunrpc/key_prot.c: Likewise.
26479 * sunrpc/netname.c: Likewise.
26480 * sunrpc/pm_getmaps.c: Likewise.
26481 * sunrpc/pm_getport.c: Likewise.
26482 * sunrpc/pmap_clnt.c: Likewise.
26483 * sunrpc/pmap_prot.c: Likewise.
26484 * sunrpc/pmap_prot2.c: Likewise.
26485 * sunrpc/pmap_rmt.c: Likewise.
26486 * sunrpc/publickey.c: Likewise.
26487 * sunrpc/rpc_cmsg.c: Likewise.
26488 * sunrpc/rpc_common.c: Likewise.
26489 * sunrpc/rpc_dtable.c: Likewise.
26490 * sunrpc/rpc_prot.c: Likewise.
26491 * sunrpc/rpc_thread.c: Likewise.
26492 * sunrpc/rtime.c: Likewise.
26493 * sunrpc/svc.c: Likewise.
26494 * sunrpc/svc_auth.c: Likewise.
26495 * sunrpc/svc_raw.c: Likewise.
26496 * sunrpc/svc_run.c: Likewise.
26497 * sunrpc/svc_tcp.c: Likewise.
26498 * sunrpc/svc_udp.c: Likewise.
26499 * sunrpc/svc_unix.c: Likewise.
26500 * sunrpc/svcauth_des.c: Likewise.
26501 * sunrpc/xcrypt.c: Likewise.
26502 * sunrpc/xdr.c: Likewise.
26503 * sunrpc/xdr_array.c: Likewise.
26504 * sunrpc/xdr_float.c: Likewise.
26505 * sunrpc/xdr_intXX_t.c: Likewise.
26506 * sunrpc/xdr_mem.c: Likewise.
26507 * sunrpc/xdr_rec.c: Likewise.
26508 * sunrpc/xdr_ref.c: Likewise.
26509 * sunrpc/xdr_sizeof.c: Likewise.
26510 * sunrpc/xdr_stdio.c: Likewise.
26511
b5c086a2
RM
265122012-05-10 Roland McGrath <roland@hack.frob.com>
26513
26514 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26515 change. Update copyright years.
26516
6d74dd09
JM
265172012-05-10 Joseph Myers <joseph@codesourcery.com>
26518
26519 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26520
28e72501
MK
265212012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26522 Joseph Myers <joseph@codesourcery.com>
26523 Paul Pluzhnikov <ppluzhnikov@google.com>
26524
26525 [BZ #14012]
26526 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26527 requiring rpcgen.
26528 [cross-compiling] (extra-libs): Likewise.
26529 [cross-compiling] (extra-libs-others): Likewise.
26530 [cross-compiling] (librpcsvc-routines): Likewise.
26531 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26532 [cross-compiling] (omit-deps): Likewise.
26533 (sunrpc-CPPFLAGS): New variable.
26534 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26535 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26536 (cross-rpcgen-objs): New variable.
26537 (extra-objs): Append $(cross-rpcgen-objs).
26538 ($(cross-rpcgen-objs)): New rule.
26539 ($(objpfx)cross-rpcgen): Likewise.
26540 (rpcgen-cmd): Define to use $(built-program-file). Expand
26541 comment.
26542 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26543 ($(objpfx)x%.stmp): Likewise.
26544 * sunrpc/proto.h [IS_IN_build] (_): Define.
26545 [IS_IN_build] (_libc_intl_domainname): Likewise.
26546
c8c59454
L
265472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26548
26549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26550 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26551 and R_X86_64_TPOFF64.
26552
6f27cd16
JM
265532012-05-10 Joseph Myers <joseph@codesourcery.com>
26554
26555 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26556 sysdeps/unix/sysv/syscalls.list.
26557 (stime): Likewise.
26558 (utime): Likewise.
26559 * sysdeps/unix/sysv/syscalls.list: Remove file.
26560
02467e1c
PE
265612012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26562
26563 [BZ #3440]
26564 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26565 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26566 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26567 (__LC_IDENTIFICATION): Make these macros useful in #if
26568 expressions, as required by C99.
26569
da392631
AS
265702012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26571
26572 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26573 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26574 after this.
26575
8115f29b
L
265762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26577
26578 * stdlib/longlong.h: Updated from GCC.
26579
bdd74070
AJ
265802012-05-09 Andreas Jaeger <aj@suse.de>
26581
edfe0dbe
AJ
26582 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26583 default is first entry.
26584 (run_mode): Set type.
26585 (main): Remove informal message about syslog.
26586 (options): Fix typo.
26587
bcfe3a54
ST
26588 [BZ #14053]
26589 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26590 to asm.
bcfe3a54
ST
26591 (lrint): Likewise.
26592 (llrintf): Likewise.
26593 (llrint): Likewise.
26594 (rint): Likewise.
26595 (rintf): Likewise.
26596 (nearbyint): Likewise.
26597 (nearbyintf): Likewise.
bdd74070 26598
91d8d69e
AJ
265992012-05-09 Andreas Jaeger <aj@suse.de>
26600 Pedro Alves <palves@redhat.com>
26601
26602 * nscd/nscd.c (run_mode): Use enum.
26603 (main): Cleanup coding style issue.
26604
bb90b80b
AJ
266052012-05-09 Alexandre Oliva <aoliva@redhat.com>
26606 Andreas Jaeger <aj@suse.de>
26607
bcfe3a54
ST
26608 * nscd/nscd.c (go_background): Replaced with...
26609 (run_mode): ... this.
bb90b80b 26610 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26611 (options): Add -F --foreground.
26612 (main): Implement it.
26613 (parse_opt): Parse it.
bb90b80b 26614
1a4b75a1
AJ
266152012-05-09 Andreas Jaeger <aj@suse.de>
26616
26617 [BZ #14083]
26618 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26619 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26620 -Wconversion warning.
26621 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26622 Likewise.
26623
b1cc2472
JM
266242012-05-09 Joseph Myers <joseph@codesourcery.com>
26625
26626 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26627 == 0.
26628 (LC_ALL): Use macro-int-constant.
26629 (LC_COLLATE): Likewise.
26630 (LC_CTYPE): Likewise.
26631 (LC_MESSAGES): Likewise.
26632 (LC_MONETARY): Likewise.
26633 (LC_NUMERIC): Likewise.
26634 (LC_TIME): Likewise.
26635 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26636 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26638 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26639 Specify type.
26640 [C99-based standards] (float_t): Expect type.
26641 [C99-based standards] (double_t): Expect type.
26642 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26643 type.
26644 [C99-based standards] (HUGE_VALL): Likewise.
26645 [C99-based standards] (INFINITY): Likewise.
26646 [C99-based standards] (NAN): Likewise.
26647 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26648 [C99-based standards] (FP_NAN): Likewise.
26649 [C99-based standards] (FP_NORMAL): Likewise.
26650 [C99-based standards] (FP_SUBNORMAL): Likewise.
26651 [C99-based standards] (FP_ZERO): Likewise.
26652 [C99-based standards] (FP_FAST_FMA): Use
26653 optional-macro-int-constant. Specify type. Require == 1.
26654 [C99-based standards] (FP_FAST_FMAF): Likewise.
26655 [C99-based standards] (FP_FAST_FMAL): Likewise.
26656 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26657 [C99-based standards] (FP_ILOGBNAN): Likewise.
26658 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26659 Specify type.
26660 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26661 [C99-based standards] (math_errhandling): Specify type.
26662 [ISO99 || ISO11] (signgam): Do not allow.
26663 [non-C99-based standards] (copysignf): Do not allow.
26664 [non-C99-based standards] (exp2f): Likewise.
26665 [non-C99-based standards] (log2f): Likewise.
26666 [non-C99-based standards] (modff): Allow.
26667 [non-C99-based standards] (erff): Do not allow.
26668 [non-C99-based standards] (erfcf): Likewise.
26669 [non-C99-based standards] (gammaf): Likewise.
26670 [non-C99-based standards] (hypotf): Likewise.
26671 [non-C99-based standards] (j0f): Likewise.
26672 [non-C99-based standards] (j1f): Likewise.
26673 [non-C99-based standards] (jnf): Likewise.
26674 [non-C99-based standards] (lgammaf): Likewise.
26675 [non-C99-based standards] (tgammaf): Likewise.
26676 [non-C99-based standards] (y0f): Likewise.
26677 [non-C99-based standards] (y1f): Likewise.
26678 [non-C99-based standards] (ynf): Likewise.
26679 [non-C99-based standards] (isnanf): Likewise.
26680 [non-C99-based standards] (acoshf): Likewise.
26681 [non-C99-based standards] (asinhf): Likewise.
26682 [non-C99-based standards] (atanhf): Likewise.
26683 [non-C99-based standards] (cbrtf): Likewise.
26684 [non-C99-based standards] (expm1f): Likewise.
26685 [non-C99-based standards] (ilogbf): Likewise.
26686 [non-C99-based standards] (log1pf): Likewise.
26687 [non-C99-based standards] (logbf): Likewise.
26688 [non-C99-based standards] (nextafterf): Likewise.
26689 [non-C99-based standards] (remainderf): Likewise.
26690 [non-C99-based standards] (rintf): Likewise.
26691 [non-C99-based standards] (scalbf): Likewise.
26692 [non-C99-based standards] (copysignl): Likewise.
26693 [non-C99-based standards] (exp2l): Likewise.
26694 [non-C99-based standards] (log2l): Likewise.
26695 [non-C99-based standards] (modfl): Allow.
26696 [non-C99-based standards] (erfl): Do not allow.
26697 [non-C99-based standards] (erfcl): Likewise.
26698 [non-C99-based standards] (gammal): Likewise.
26699 [non-C99-based standards] (hypotl): Likewise.
26700 [non-C99-based standards] (j0l): Likewise.
26701 [non-C99-based standards] (j1l): Likewise.
26702 [non-C99-based standards] (jnl): Likewise.
26703 [non-C99-based standards] (lgammal): Likewise.
26704 [non-C99-based standards] (tgammal): Likewise.
26705 [non-C99-based standards] (y0l): Likewise.
26706 [non-C99-based standards] (y1l): Likewise.
26707 [non-C99-based standards] (ynl): Likewise.
26708 [non-C99-based standards] (isnanl): Likewise.
26709 [non-C99-based standards] (acoshl): Likewise.
26710 [non-C99-based standards] (asinhl): Likewise.
26711 [non-C99-based standards] (atanhl): Likewise.
26712 [non-C99-based standards] (cbrtl): Likewise.
26713 [non-C99-based standards] (expm1l): Likewise.
26714 [non-C99-based standards] (ilogbl): Likewise.
26715 [non-C99-based standards] (log1pl): Likewise.
26716 [non-C99-based standards] (logbl): Likewise.
26717 [non-C99-based standards] (nextafterl): Likewise.
26718 [non-C99-based standards] (remainderl): Likewise.
26719 [non-C99-based standards] (rintl): Likewise.
26720 [non-C99-based standards] (scalbl): Likewise.
26721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26722 [non-C99-based standards] (FP_*): Do not allow.
26723 [C99-based standards] (FP_*): Change to
26724 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26725 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26726 allow.
26727 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26728 (SIG_ERR): Likewise.
26729 [X/Open-based standards] (SIG_HOLD): Likewise.
26730 (SIG_IGN): Likewise.
26731 (SIGABRT): Use macro-int-constant. Specify type. Require
26732 positive value.
26733 (SIGFPE): Likewise.
26734 (SIGILL): Likewise.
26735 (SIGINT): Likewise.
26736 (SIGSEGV): Likewise.
26737 (SIGTER): Likewise.
26738 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26739 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26740 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26741 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26742 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26743 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26744 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26745 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26746 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26747 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26748 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26749 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26750 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26751 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26752 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26753 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26754 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26755 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26756 [X/Open-based standards] (SIGTRAP): Likewise.
26757 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26758 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26759 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26760 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26761 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26762 allow.
26763
b9f1922d
IW
267642012-05-08 Ian Wienand <ianw@vmware.com>
26765
26766 [BZ #14080]
26767 * time/tzset.c (__tzset_parse_tz): Update default rules for
26768 daylight time changes in the Energy Policy Act of 2005.
26769
1db86e88
AJ
267702012-05-09 Andreas Jaeger <aj@suse.de>
26771
26772 [BZ #13983]
26773 * elf/ldconfig.c (parse_conf): Change string to make clear that
26774 ldconfig only issued a warning if ld.so.conf does not exist.
26775
dee4a4e3
DM
267762012-05-08 David S. Miller <davem@davemloft.net>
26777
ee0db190
DM
26778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26779 movxtod instead of popping the value on the stack.
26780
dee4a4e3
DM
26781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26782
6a43ec98
CD
267832012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26784
26785 * config.h.in: Add HAVE_ARM_PCS_VFP.
26786
05c2c961
RMG
267872012-05-08 Roland Mc Grath <roland@hack.frob.com>
26788
bcfe3a54
ST
26789 [BZ #13979]
26790 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26791 checking but the checks are disabled for any reason.
05c2c961 26792
4b30f61a
L
267932012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26794
26795 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26796 and ELF64_R_TYPE with ELFW(R_TYPE).
26797
eee2bc67
JM
267982012-05-08 Joseph Myers <joseph@codesourcery.com>
26799
7ea5391a
JM
26800 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26801 (ulimit): Likewise.
26802
eee2bc67
JM
26803 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26804 (settimeofday): Likewise.
26805
abb66a67
MF
268062012-05-08 Mike Frysinger <vapier@gentoo.org>
26807
26808 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26809 a struct th_u2 inside the union, and move tu_block/tu_code into
26810 a new th_u3 union of tu_block/tu_code inside of that. Move
26811 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26812 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26813 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26814 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26815 (th_stuff): Change to th_u1.tu_stuff.
26816 (th_data): Define.
26817 (th_msg): Change to th_u1.th_u2.tu_data.
26818
7f18b530
DM
268192012-05-07 David S. Miller <davem@davemloft.net>
26820
05760585
DM
26821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26822
7f18b530
DM
26823 [BZ #14074]
26824 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26825 (SETUP_PIC_REG): Use it.
26826 (SETUP_PIC_REG_LEAF): Use it.
26827
495fd99f
JM
268282012-05-07 Joseph Myers <joseph@codesourcery.com>
26829
26830 [BZ #13885]
26831 [BZ #13923]
26832 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26833 USE_AS_EXPM1L.
26834 (EXPL_FINITE): Likewise.
26835 (FLDLOG): Likewise.
26836 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26837 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26838 e_expl.S.
26839 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26840 USE_AS_EXPM1L.
26841 (EXPL_FINITE): Likewise.
26842 (FLDLOG): Likewise.
26843 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26844 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26845 e_expl.S.
26846 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26847 test of -max_value argument for long double.
26848 * sysdeps/i386/fpu/libm-test-ulps: Update.
26849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26850
6693d694
DM
268512012-05-06 David S. Miller <davem@davemloft.net>
26852
26853 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26854 quad soft-float symbols whose references which are compiler
26855 generated.
26856 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26857
6c23e11c
JM
268582012-05-06 Joseph Myers <joseph@codesourcery.com>
26859
d8b82cad
JM
26860 [BZ #13884]
26861 [BZ #13914]
26862 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26863 USE_AS_EXP10L.
26864 (EXPL_FINITE): Likewise.
26865 (FLDLOG): Likewise.
26866 (c0): Likewise.
26867 (c1): Likewise.
26868 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26869 Adjust comments for base varying.
26870 (__expl_finite): Change alias to EXPL_FINITE.
26871 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26872 e_expl.S.
26873 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26874 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26875 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26876 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26877 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26878 USE_AS_EXP10L.
26879 (EXPL_FINITE): Likewise.
26880 (FLDLOG): Likewise.
26881 (c0): Likewise.
26882 (c1): Likewise.
26883 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26884 Adjust comments for base varying.
26885 (__expl_finite): Change alias to EXPL_FINITE.
26886 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26887 tests for bugs.
26888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26889
6c23e11c
JM
26890 [BZ #14064]
26891 * math/libm-test.inc (check_float_internal): Correct ulp
26892 calculation for subnormal expected results.
26893
29ba805c
AJ
268942012-05-06 Andreas Jaeger <aj@suse.de>
26895
26896 * Makeconfig (+math-flags): New, set to -frounding-math.
26897 (+cflags): Add +math-flags so that all of glibc gets compiled with
26898 it.
26899
26900 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26901
7b17aeda
JM
269022012-05-05 Joseph Myers <joseph@codesourcery.com>
26903
5779f134
JM
26904 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26905 Disable one test.
26906
41498f4d
JM
26907 [BZ #13787]
26908 [BZ #13922]
26909 [BZ #14036]
26910 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26911 (__ieee754_expl): Allow for and saturate large arguments.
26912 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26913 (u_threshold): Likewise.
26914 (__exp): Call __ieee754_exp before checking for overflow and
26915 underflow.
26916 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26917 (u_threshold): Likewise.
26918 (__expf): Call __ieee754_expf before checking for overflow and
26919 underflow.
26920 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26921 (u_threshold): Likewise.
26922 (__expl): Call __ieee754_expl before checking for overflow and
26923 underflow.
26924 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26925 (__ieee754_expl): Allow for and saturate large arguments.
26926 * math/libm-test.inc (exp_test): Add another test. Do not allow
26927 missing overflow exception on overflow.
26928 (expm1_test): Do not allow missing overflow exception on overflow.
26929
6698b8bf
JM
26930 * sysdeps/i386/fpu/e_expl.c: Move to ...
26931 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26932 rather than using inline asm.
26933 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26934 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26935 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26936
7b17aeda
JM
26937 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26938 (nice): Likewise.
26939 (poll): Likewise.
26940 (signal): Likewise.
26941 (time): Likewise.
26942 (times): Likewise.
26943
f7c85819
JM
269442012-05-04 Joseph Myers <joseph@codesourcery.com>
26945
26946 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26947 sysdeps/unix/common/syscalls.list.
26948 (fchmod): Likewise.
26949 (fchown): Likewise.
26950 (ftruncate): Likewise.
26951 (getrusage): Likewise.
26952 (gettimeofday): Likewise.
26953 (setpgid): Likewise.
26954 (setregid): Likewise.
26955 (setreuid): Likewise.
26956 (sigaction): Likewise.
26957 (truncate): Likewise.
26958 (vhangup): Likewise.
26959 * sysdeps/unix/common/syscalls.list: Remove file.
26960 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26961 * sysdeps/unix/sysv/linux/Implies: Likewise.
26962
336270d0
L
269632012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26964
26965 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26967 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26968 Moved to ...
26969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26970 Here.
26971 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26972 to ...
26973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26974 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26975 to ...
26976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26977 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26978 to ...
26979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26980 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26981 to ...
26982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26983 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26984 to ...
26985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26986 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26987 to ...
26988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26989 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26990 to ...
26991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26992 Here.
26993 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26994 to ...
26995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26996 Here.
26997 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26998 to ...
26999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27000 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27001 Moved to ...
27002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27003 Here.
27004 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27005 to ...
27006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27007
d128e450
JM
270082012-05-04 Joseph Myers <joseph@codesourcery.com>
27009
fa8ee516
JM
27010 * sysdeps/unix/common/bits/dirent.h: Remove file.
27011 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27012
d128e450
JM
27013 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27014 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27015 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27016 * sysdeps/unix/bsd/isatty.c: Likewise.
27017 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27018 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27019 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27020
ff8faaf0 270212012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27022
62881be4 27023 [BZ #13563]
31dc8730
AZ
27024 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27025 long double comparison inaccuracies.
27026 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27028
6fef930c
AS
270292012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27030
27031 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27032 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27033
8f203e6c
JM
270342012-05-04 Joseph Myers <joseph@codesourcery.com>
27035
27036 [BZ #14049]
27037 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27038 nonzero digits before rounding a hex value.
27039 * stdlib/tst-strtod.c (tests): Add another test.
27040
5197d9c2
AK
270412012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27042
27043 * sysdeps/s390/fpu/libm-test-ulps: Update.
27044
f0c1dedf
AJ
270452012-05-03 Andreas Jaeger <aj@suse.de>
27046
27047 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27048 does not get optimized out.
27049 (malloc_opt_barrier): New.
27050
a65ef2ae 270512012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27052 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27053
2b942cb7 27054 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27055 intermediate file deletion.
2b942cb7 27056 (generated): Add .symlist files.
a65ef2ae 27057
54b71e02
JM
270582012-05-03 Joseph Myers <joseph@codesourcery.com>
27059
27060 [BZ #13775]
27061 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27062 Redirect under this condition.
27063 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27064 [__USE_GNU] (__dprintf_chk): Not under this condition.
27065 [__USE_GNU] (__vdprintf_chk): Likewise.
27066 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27067 under this condition.
27068 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27069 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27070 [__USE_XOPEN2K8] (vdprintf): Likewise.
27071 [__USE_GNU] (__dprintf_chk): Not under this condition.
27072 [__USE_GNU] (__vdprintf_chk): Likewise.
27073 [__USE_GNU] (dprintf): Likewise.
27074 [__USE_GNU] (vdprintf): Likewise.
27075
d3dfcc41
RM
270762012-05-03 Roland McGrath <roland@hack.frob.com>
27077
27078 * elf/Makefile (common-generated): Set this instead of generated for
27079 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27080 $(all-built-dso)-derived lists.
27081
7ac30cc5
AJ
270822012-05-03 Andreas Jaeger <aj@suse.de>
27083
0c51e550
AJ
27084 * sysdeps/i386/fpu/libm-test-ulps: Update.
27085
7ac30cc5
AJ
27086 * FAQ: Removed.
27087 * FAQ.in: Likewise.
27088 * scripts/gen-FAQ.pl: Likewise.
27089 * manual/install.texi (Installation): Point to online location of
27090 FAQ.
27091 * Makefile (files-for-dist): Remove FAQ.
27092 (FAQ): Remove.
27093
d4c2917f
AM
270942012-05-02 Allan McRae <allan@archlinux.org>
27095
27096 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27097 (LDFLAGS-reldepmod5.so): Likewise.
27098 (LDFLAGS-reldep6mod1.so): Likewise.
27099 (LDFLAGS-reldep6mod4.so): Likewise.
27100 (LDFLAGS-reldep8mod3.so): Likewise.
27101 (LDFLAGS-unload4mod1.so): Likewise.
27102 (LDFLAGS-unload4mod2.so): Likewise.
27103 (LDFLAGS-tst-initorder): Likewise.
27104 (LDFLAGS-tst-initordera2.so): Likewise.
27105 (LDFLAGS-tst-initordera3.so): Likewise.
27106 (LDFLAGS-tst-initordera4.so): Likewise.
27107 (LDFLAGS-tst-initorderb2.so): Likewise.
27108 (LDFLAGS-noload): Likewise.
27109 (LDFLAGS-next): Likewise.
27110 (LDFLAGS-order2mod1.so): Likewise.
27111 (LDFLAGS-order2mod2.so): Likewise.
27112 (LDFLAGS-tst-initorder2): Likewise.
27113 (LDFLAGS-tst-initorder2a.so): Likewise.
27114 (LDFLAGS-tst-initorder2b.so): Likewise.
27115 (LDFLAGS-tst-initorder2c.so): Likewise.
27116 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27117
d77f993f
DM
271182012-05-02 David S. Miller <davem@davemloft.net>
27119
27120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27121
171a70b4
PP
271222012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27123
27124 [BZ #14055]
27125 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27126
0be196ad
AJ
271272012-05-02 Andreas Jaeger <aj@suse.de>
27128
27129 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27130 since we manipulate rounding mode.
27131 (CPPFLAGS-test-idouble.c): Likewise.
27132 (CPPFLAGS-test-ifloat.c): Likewise.
27133 (CFLAGS-test-ldouble.c): Likewise.
27134 (CFLAGS-test-double.c): Likewise.
27135 (CFLAGS-test-float.c): Likewise.
27136 (CFLAGS-test-misc.c): Likewise.
27137 (CFLAGS-test-test-fenv.c): Likewise.
27138
4f9d04aa
AZ
271392012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27140
2b942cb7
RM
27141 [BZ #2550]
27142 [BZ #2570]
27143 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27144 comparisons to determine direction to adjust input.
4f9d04aa 27145
82a79e7d
RM
271462012-05-01 Roland McGrath <roland@hack.frob.com>
27147
f5a01ca9
RM
27148 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27149 output to the target.
27150
90fe4186
RM
27151 * scripts/localplt.awk: New file.
27152 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27153 (check-localplt-CFLAGS): Variable removed.
27154 ($(all-built-dso:=.jmprel)): New static pattern rule.
27155 (generated): Add those targets.
27156 (localplt-built-dso): New variable.
27157 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27158
27159 * elf/check-localplt.c: File removed.
27160
82397ed6
RM
27161 * scripts/check-execstack.awk: New file.
27162 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27163 (check-execstack-CFLAGS): Variable removed.
27164 ($(objpfx)check-execstack.h): Target removed.
27165 ($(objpfx)execstack-default): New target.
27166 (generated): Add that instead of check-execstack.h.
27167 ($(all-built-dso:=.phdr)): New static pattern rule.
27168 (generated): Add those targets.
27169 * elf/check-execstack.c: File removed.
27170
82a79e7d
RM
27171 * scripts/check-textrel.awk: New file.
27172 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27173 (check-textrel-CFLAGS): Variable removed.
27174 (all-built-dso): Use := to define.o
27175 ($(all-built-dso:=.dyn)): New static pattern rule.
27176 (generated): Add those targets.
27177 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27178 * config.make.in (READELF): New substituted variable.
27179 * elf/check-textrel.c: File removed.
27180
62fde54f 271812012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27182
615605c9
JM
27183 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27184 allow.
27185 * conform/data/ctype.h-data [C99-based standards] (isblank):
27186 Expect function.
27187 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27188 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27190 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27191 Specify type. Require positive value.
27192 (EILSEQ): Likewise.
27193 (ERANGE): Likewise.
27194 [ISO || POSIX] (EILSEQ): Do not expect.
27195 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27196 Specify type. Require positive value.
27197 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27198 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27199 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27200 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27201 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27202 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27203 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27204 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27205 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27206 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27207 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27208 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27209 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27210 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27211 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27212 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27213 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27214 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27215 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27216 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27217 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27218 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27219 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27220 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27221 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27222 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27223 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27224 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27225 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27227 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27228 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27229 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27230 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27231 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27232 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27233 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27234 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27235 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27236 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27237 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27238 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27239 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27240 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27241 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27242 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27243 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27244 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27248 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27249 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27250 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27251 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27252 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27253 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27254 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27256 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27257 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27258 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27259 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27260 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27263 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27266 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27268 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27269 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27270 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27271 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27272 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27273 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27274 Require >= 2.
27275 (FLT_ROUNDS): Expect as macro, not constant.
27276 (FLT_MANT_DIG): Use macro-int-constant.
27277 (DBL_MANT_DIG): Likewise.
27278 (LDBL_MANT_DIG): Likewise.
27279 (FLT_DIG): Likewise.
27280 (DBL_DIG): Likewise.
27281 (LDBL_DIG): Likewise.
27282 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27283 (DBL_MIN_EXP): Likewise.
27284 (LDBL_MIN_EXP): Likewise.
27285 (FLT_MAX_EXP): Use macro-int-constant.
27286 (DBL_MAX_EXP): Likewise.
27287 (LDBL_MAX_EXP): Likewise.
27288 (FLT_MAX_10_EXP): Likewise.
27289 (DBL_MAX_10_EXP): Likewise.
27290 (LDBL_MAX_10_EXP): Likewise.
27291 (FLT_MAX): Use macro-constant.
27292 (DBL_MAX): Likewise.
27293 (LDBL_MAX): Likewise.
27294 (FLT_EPSILON): Use macro-constant. Give upper bound.
27295 (DBL_EPSILON): Likewise.
27296 (LDBL_EPSILON): Likewise.
27297 (FLT_MIN): Likewise.
27298 (DBL_MIN): Likewise.
27299 (LDBL_MIN): Likewise.
27300 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27301 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27302 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27303 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27304 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27305 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27306 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27307 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27308 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27309 [ISO11] (FLT_TRUE_MIN): Likewise.
27310 [ISO11] (LDBL_TRUE_MIN): Likewise.
27311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27312 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27313 (SCHAR_MIN): Use macro-int-constant. Specify type.
27314 (SCHAR_MAX): Likewise.
27315 (UCHAR_MAX): Likewise.
27316 (CHAR_MIN): Likewise.
27317 (CHAR_MAX): Likewise.
27318 (MB_LEN_MAX): Use macro-int-constant.
27319 (SHRT_MIN): Use macro-int-constant. Specify type.
27320 (SHRT_MAX): Likewise.
27321 (USHRT_MAX): Likewise.
27322 (INT_MAX): Likewise.
27323 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27324 bound negative.
27325 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27326 bound with "U".
27327 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27328 bound with "L".
27329 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27330 bound negative. Suffix upper bound with "L".
27331 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27332 bound with "UL".
27333 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27334 Specify type.
27335 [C99-based standards] (LLONG_MAX): Likewise.
27336 [C99-based standards] (ULLONG_MAX): Likewise.
27337 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27338 == 0.
27339 [ISO11] (max_align_t): Require type.
27340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27341
c9140a62
JM
27342 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27343 from $CFLAGS, without defining away __attribute__ calls.
27344 (checknamespace): Use $CFLAGS_namespace.
27345
9af0bf29
JM
27346 * conform/conformtest.pl (@keywords): Only include C99 keywords
27347 for standards based on C99 or C11.
27348
343222a2
JM
27349 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27350 Disable tests.
27351 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27352 UNIX98]: Likewise.
27353
661f8cf0
JM
27354 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27355 usability of symbols in #if.
27356
ee74b9cb
JM
27357 * conform/conformtest.pl: If macro or constant types start
27358 "promoted:", expect the symbol to be of the following type
27359 promoted by the integer promotions.
62fde54f 27360
aafc49b3
JM
27361 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27362 in one place. Also handle "macro-constant".
27363
fefdf574
JM
27364 * conform/conformtest.pl: Only accept expected macro values with
27365 "==". Parse all "macro" lines in one place.
27366 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27367
f2d922fe
JM
27368 * conform/conformtest.pl: Handle braced types on "constant" lines
27369 instead of handling "typed-constant".
27370 * conform/data/signal.h-data: Use "constant" instead of
27371 "typed-constant".
27372
d22956c9
JM
27373 * conform/conformtest.pl: Handle "optional-" at start of lines in
27374 one place rather than duplicating several cases. Handle each
27375 format of "macro" line with initial "optional-".
27376
028e2e38
JM
27377 * conform/conformtest.pl: Only accept expected constant or
27378 optional-constant values with "==". Parse all "constant" lines in
27379 one place. Parse all "optional-constant" lines in one place.
27380 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27381 * conform/data/fmtmsg.h-data: Likewise.
27382 * conform/data/netinet/in.h-data: Likewise.
27383 * conform/data/tar.h-data: Likewise.
27384 * conform/data/limits.h-data: Use "==" form on "constant" and
27385 "optional-constant" lines.
27386
1b8f2850
JM
27387 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27388 Use -std=c99 for XOPEN2K.
27389 (@knownproblems): Remove.
27390 (newtoken): Don't check %isknown.
27391
a05a144b
JM
27392 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27393 Do not expect macro.
27394 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27395 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27396 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27397 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27398 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27399 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27400 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27401 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27402 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27403 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27404 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27405 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27406 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27407 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27408 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27409 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27410 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27411 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27412 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27413 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27414 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27415 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27417 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27418 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27419 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27420 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27421 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27422 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27423 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27424 [XPG3] (acosh): Likewise.
27425 [XPG3] (asinh): Likewise.
27426 [XPG3] (atanh): Likewise.
27427 [XPG3] (cbrt): Likewise.
27428 [XPG3] (expm1): Likewise.
27429 [XPG3] (ilogb): Likewise.
27430 [XPG3] (log1p): Likewise.
27431 [XPG3] (logb): Likewise.
27432 [XPG3] (nextafter): Likewise.
27433 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27434 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27435 [XPG3] (remainder): Likewise.
27436 [XPG3] (rint): Likewise.
27437 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27438 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27439 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27440 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27441 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27442 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27443 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27444 [UNIX98 || XOPEN2K] (scalb): Expect.
27445 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27446 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27447 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27448 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27449 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27450 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27451 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27452 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27453 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27454 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27455 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27456 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27457 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27458 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27459 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27460 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27461 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27462 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27463 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27464 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27465 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27466 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27467 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27468 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27469 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27470 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27471 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27472 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27473 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27474 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27475 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27476 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27477 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27478 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27479 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27480 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27481 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27482 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27483 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27484 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27485 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27486 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27487 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27488 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27489 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27490 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27491 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27492 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27493 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27494 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27495 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27496 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27497 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27498 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27499 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27500 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27501 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27502 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27503 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27504 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27505 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27506 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27507 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27508 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27509 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27510 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27511 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27512 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27513 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27514 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27515 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27516 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27517 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27518 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27519 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27520 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27521 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27522 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27523 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27524 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27525 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27526 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27527 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27528 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27529 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27530 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27531 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27532 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27533 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27534 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27535 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27536 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27537 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27538 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27539 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27540 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27541 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27542 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27543 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27544 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27545 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27546 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27547 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27548 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27549 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27550 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27551 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27552 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27553 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27554 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27555 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27556 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27557 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27558 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27559 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27560 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27561 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27562 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27563 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27564 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27565 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27566 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27567 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27568 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27569 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27570 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27571 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27572 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27573 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27574 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27575 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27576 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27577 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27578 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27579 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27580 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27581 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27582
73c5ebe3
JM
27583 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27584 _XOPEN_SOURCE_EXTENDED for XPG4.
27585
39c33b6c
JM
27586 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27587
62fde54f
JM
27588 * Makeconfig (localtime): Remove variable.
27589 (inst_localtime-file): Likewise.
27590
0741d64c
AS
275912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27592
27593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27594 Update.
27595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27596 Update.
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27598 Update.
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27600 Update.
27601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27602 Update.
27603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27604 Update.
27605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27606 Update.
27607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27608 Update.
27609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27610 Update.
27611
7cb029ee
JM
276122012-05-01 Joseph Myers <joseph@codesourcery.com>
27613
27614 [BZ #2550]
27615 [BZ #2570]
27616 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27617 comparisons to determine direction to adjust input.
27618 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27619 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27620 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27621 Likewise.
27622 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27623 Likewise.
27624 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27625 Likewise.
27626 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27627 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27628 Likewise.
27629 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27630 Likewise.
27631 * math/libm-test.inc (nexttoward_test): Add more tests.
27632
412bd966
AS
276332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27634
27635 [BZ #14040]
27636 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27637 in version GLIBC_2.1, not GLIBC_2.0.
27638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27639 Likewise.
27640
9568c0c2
JM
276412012-04-30 Joseph Myers <joseph@codesourcery.com>
27642
adfbc8ac
JM
27643 [BZ #13942]
27644 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27645 (1 - x) * (1 + x).
27646 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27647 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27648 * math/libm-test.inc (acos_test): Add more tests.
27649 (asin_test): Likewise.
27650 * sysdeps/i386/fpu/libm-test-ulps: Update.
27651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27652
5ba3cc69
JM
27653 [BZ #14034]
27654 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27655 of square root.
27656 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27657 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27658 * math/libm-test.inc (acos_test_tonearest): New function.
27659 (acos_test_towardzero): Likewise.
27660 (acos_test_downward): Likewise.
27661 (acos_test_upward): Likewise.
27662 (asin_test_tonearest): Likewise.
27663 (asin_test_towardzero): Likewise.
27664 (asin_test_downward): Likewise.
27665 (asin_test_upward): Likewise.
27666 (main): Call the new functions.
27667 * sysdeps/i386/fpu/libm-test-ulps: Update.
27668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27669
9568c0c2
JM
27670 [BZ #13884]
27671 [BZ #13924]
27672 * math/e_exp10.c: Include <float.h>.
27673 (__ieee754_exp10): Handle underflow here rather than multiplying
27674 large negative argument by M_LN10.
27675 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27676 of __ieee754_expf.
27677 * math/e_exp10l.c: Include <float.h>.
27678 (__ieee754_exp10l): Handle underflow here rather than multiplying
27679 large negative argument by M_LN10l.
27680 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27681 spurious overflow exception on underflow.
27682
5ac3ea17
MP
276832012-04-29 Marek Polacek <polacek@redhat.com>
27684
27685 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27686 (__fortify_function): New macro.
27687 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27688 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27689 __extern_always_inline.
27690 * libio/bits/stdio2.h: Likewise.
27691 * libio/bits/stdio.h: Likewise.
27692 * string/string.h: Likewise.
27693 * string/bits/string3.h: Likewise.
27694 * include/stdio.h: Likewise.
27695 * stdlib/bits/stdlib.h: Likewise.
27696 * stdlib/stdlib.h: Likewise.
27697 * rt/bits/mqueue2.h: Likewise.
27698 * rt/mqueue.h: Likewise.
27699 * posix/bits/unistd.h: Likewise.
27700 * posix/unistd.h: Likewise.
27701 * io/bits/poll2.h: Likewise.
27702 * io/bits/fcntl2.h: Likewise.
27703 * io/fcntl.h: Likewise.
27704 * io/sys/poll.h: Likewise.
27705 * misc/bits/syslog.h: Likewise.
27706 * misc/bits/syslog-ldbl.h: Likewise.
27707 * misc/sys/syslog.h: Likewise.
27708 * socket/bits/socket2.h: Likewise.
27709 * socket/sys/socket.h: Likewise.
27710 * debug/tst-chk1.c: Likewise.
27711 * wcsmbs/bits/wchar2.h: Likewise.
27712 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27713 * wcsmbs/wchar.h: Likewise.
27714
ecf0ebfb
AJ
277152012-04-29 Andreas Jaeger <aj@suse.de>
27716
27717 * Makerules (tests): Remove enable-check-abi protection.
27718 (check-abi-warn): Remove.
27719 (check-abi-%): Remove check-abi-warn usage.
27720
27721 * configure.in: Remove check-abi configure option.
27722 * configure: Regenerated.
27723 * config.make.in (enable-check-abi): Remove.
27724
6d5c57fa
AS
277252012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27726
24c5d07e 27727 [BZ #14033]
ded5180a
AS
27728 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27729 double functions to double *_finite functions.
27730
7e0d315d
AS
27731 [BZ #13941]
27732 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27733 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27734 LDBL_MIN_EXP.
27735 * stdio-common/Makefile (tests): Add tst-sprintf3.
27736 * stdio-common/tst-sprintf3.c: New file.
27737
6d5c57fa
AS
27738 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27739 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27740
0749ff8b
JM
277412012-04-28 Joseph Myers <joseph@codesourcery.com>
27742
27743 * conform/conformtest.pl: Remove duplicate typed-constant
27744 handling.
27745
8dbd5d7b
DM
277462012-04-28 David S. Miller <davem@davemloft.net>
27747
27748 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27749 (check-abi-%): Remove AWK script prerequisite and explicit
27750 abilist directory.
27751 (check-abi): Rewrite to just diff the symlist with the abilist.
27752 (config-tls, config-abi-config): Delete, no longer used.
27753 (update-abi-%): Remove AWK script and explicit abilist directory.
27754 (update-abi): Rewrite to simply compare and conditionally copy the
27755 symlist and the sysdep abilist file. Remove update-abi-config
27756 checks.
27757 * abilist/ld.abilist: Remove.
27758 * abilist/libBrokenLocale.abilist: Remove.
27759 * abilist/libanl.abilist: Remove.
27760 * abilist/libcrypt.abilist: Remove.
27761 * abilist/libdl.abilist: Remove.
27762 * abilist/librt.abilist: Remove.
27763 * abilist/libthread_db.abilist: Remove.
27764 * abilist/libutil.abilist: Remove.
27765 * scripts/extract-abilist.awk: Remove.
27766 * scripts/merge-abilist.awk: Remove.
27767 * sysdeps/generic/libcidn.abilist: New file.
27768 * sysdeps/generic/libnss_compat.abilist: New file.
27769 * sysdeps/generic/libnss_db.abilist: New file.
27770 * sysdeps/generic/libnss_dns.abilist: New file.
27771 * sysdeps/generic/libnss_files.abilist: New file.
27772 * sysdeps/generic/libnss_hesiod.abilist: New file.
27773 * sysdeps/generic/libnss_nis.abilist: New file.
27774 * sysdeps/generic/libnss_nisplus.abilist: New file.
27775 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27776 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27777 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27778 file.
27779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27780 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27781 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27782 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27783 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27784 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27785 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27786 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27787 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27788 file.
27789 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27790 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27791 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27792 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27793 file.
27794 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27795 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27796 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27797 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27798 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27799 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27800 file.
27801 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27802 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27803 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27804 file.
27805 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27807 New file.
27808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27809 New file.
27810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27811 New file.
27812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27813 New file.
27814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27815 New file.
27816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27817 New file.
27818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27819 New file.
27820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27821 New file.
27822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27823 New file.
27824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27825 New file.
27826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27827 New file.
27828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27829 New file.
27830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27831 New file.
27832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27833 file.
27834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27835 New file.
27836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27837 New file.
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27839 file.
27840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27841 New file.
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27843 New file.
27844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27845 file.
27846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27847 New file.
27848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27849 New file.
27850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27851 New file.
27852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27853 New file.
27854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27855 New file.
27856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27857 New file.
27858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27860 file.
27861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27862 New file.
27863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27864 file.
27865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27866 file.
27867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27868 file.
27869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27870 file.
27871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27872 file.
27873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27874 New file.
27875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27876 file.
27877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27878 file.
27879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27880 New file.
27881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27882 file.
27883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27885 file.
27886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27887 New file.
27888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27889 file.
27890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27891 file.
27892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27893 file.
27894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27895 file.
27896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27897 file.
27898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27899 New file.
27900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27901 file.
27902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27903 file.
27904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27905 New file.
27906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27907 file.
27908 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27909 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27910 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27911 file.
27912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27913 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27914 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27915 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27916 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27917 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27918 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27919 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27920 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27921 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27924 file.
27925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27926 New file.
27927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27928 file.
27929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27930 file.
27931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27932 file.
27933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27934 file.
27935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27936 file.
27937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27938 New file.
27939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27940 New file.
27941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27942 file.
27943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27944 New file.
27945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27946 file.
27947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27949 file.
27950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27951 New file.
27952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27953 file.
27954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27955 file.
27956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27957 file.
27958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27959 file.
27960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27961 file.
27962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27963 New file.
27964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27965 New file.
27966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27967 file.
27968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27969 New file.
27970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27971 file.
27972
41d73a1b
JM
279732012-04-28 Joseph Myers <joseph@codesourcery.com>
27974
27975 * conform/conformtest.pl: Fix typo in handling typed-constant from
27976 allow-header.
27977
28aeeda4
JM
279782012-04-27 Joseph Myers <joseph@codesourcery.com>
27979
adae8f5e
JM
27980 * README: Cut down references to pre-2.6 Linux kernels and
27981 Linuxthreads. Update lists of configurations in libc and ports
27982 and sort alphabetically. Say "or newer" with Linux kernel version
27983 requirements.
27984
28aeeda4
JM
27985 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27986
a462cb63
RA
279872012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27988
27989 [BZ #887]
27990 * math/libm-test.inc (logb_test_downward): New test to expose
27991 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27992 rounding mode.
27993
6ad3493e
JM
279942012-04-27 Joseph Myers <joseph@codesourcery.com>
27995
27996 [BZ #14027]
27997 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27998 to be done.
27999 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28000 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28001
2ce4f015
JM
280022012-04-26 Joseph Myers <joseph@codesourcery.com>
28003
5aeb141a
JM
28004 * sysdeps/unix/i386/brk.S: Remove file.
28005 * sysdeps/unix/i386/dl-brk.S: Likewise.
28006 * sysdeps/unix/i386/pipe.S: Likewise.
28007 * sysdeps/unix/i386/sigreturn.S: Likewise.
28008 * sysdeps/unix/i386/syscall.S: Likewise.
28009 * sysdeps/unix/i386/vfork.S: Likewise.
28010 * sysdeps/unix/i386/wait.S: Likewise.
28011
7143acae
JM
28012 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28013 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28014
2ce4f015
JM
28015 * configure.in (arm*-none*): Do not allow without
28016 --enable-hacker-mode.
28017 (netbsd*): Remove case setting base_os.
28018 (386bsd*): Likewise.
28019 (freebsd*): Likewise.
28020 (bsdi*): Likewise.
28021 (osf*): Likewise.
28022 (sunos*): Likewise.
28023 (ultrix*): Likewise.
28024 (newsos*): Likewise.
28025 (dynix*): Likewise.
28026 (*bsd*): Likewise.
28027 (sysv*): Likewise.
28028 (isc*): Likewise.
28029 (esix*): Likewise.
28030 (sco*): Likewise.
28031 (minix*): Likewise.
28032 (irix4*): Likewise.
28033 (irix6*): Likewise.
28034 (solaris[2-9]*): Likewise.
28035 (none): Likewise.
28036 * configure: Regenerated.
28037
0ac229c8
AZ
280382012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28039
28040 [BZ #11521]
28041 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28042 overflow or cancellation in calculating denominator.
28043 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28044 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28045 down expression to avoid unexpected rounding in newer GCCs.
28046 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28047
33f244f4
DM
280482012-04-26 David S. Miller <davem@davemloft.net>
28049
28050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28051 long-double compat symbols.
28052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28065
cfa1f3e8
DM
280662012-04-25 David S. Miller <davem@davemloft.net>
28067
28068 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28069 HWCAP_* values only after the memory barriers have been defined.
28070 (atomic_full_barrier): Define.
28071 (atomic_read_barrier): Define.
28072 (atomic_write_barrier): Define.
28073
6e236b92
SP
280742012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28075
28076 * shlib-versions: Add libgcc_s version information.
28077 * sysdeps/generic/libgcc_s.h: Remove.
28078 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28079 libgcc_s.h.
28080 * sysdeps/gnu/unwind-resume.c: Likewise.
28081 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28082
aab39a09
DM
280832012-04-25 David S. Miller <davem@davemloft.net>
28084
28085 * sysdeps/unix/sparc/brk.S: Delete.
28086 * sysdeps/unix/sparc/dl-brk.S: Delete.
28087 * sysdeps/unix/sparc/pipe.S: Delete.
28088 * sysdeps/unix/sparc/sysdep.S: Delete.
28089 * sysdeps/unix/sparc/sysdep.h: Delete.
28090 * sysdeps/unix/sparc/vfork.S: Delete.
28091 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28092 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28093 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28094 ret_ERRVAL, r0, r1, MOVE): Define.
28095 (JUMPTARGET): Remove.
28096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28097 sysdeps/unix/sparc/sysdep.h
28098 (ENTRY, END): Remove.
28099 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28100
a3cc4f48
JM
281012012-04-25 Joseph Myers <joseph@codesourcery.com>
28102
2ed8cda2
JM
28103 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28104 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28105 -DIS_IN_build.
28106
35d76d59
JM
28107 * timezone/README: Update upstream location and email address for
28108 tzcode and tzdata.
28109 * timezone/zdump.c: Update from tzcode 2012b.
28110 * timezone/zic.c: Likewise.
28111
a3cc4f48
JM
28112 * configure.in (libc_cv_as_needed): Remove test.
28113 * configure: Regenerated.
28114 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28115 conditional definition.
28116 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28117 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28118 * config.make.in (have-as-needed): Remove variable.
28119
ceab42c3
SP
281202012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28121 Paul Pluzhnikov <ppluzhnikov@google.com>
28122
28123 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28124 strings correctly.
28125
3ce2865f
CLT
281262012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28127
28128 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28129 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28130 * sysdeps/sh/strlen.S: Likewise.
28131
f37e0d68
JM
281322012-04-24 Joseph Myers <joseph@codesourcery.com>
28133
ae186e9a
JM
28134 * sysdeps/unix/fork.S: Remove file.
28135 * sysdeps/unix/i386/fork.S: Likewise.
28136 * sysdeps/unix/sparc/fork.S: Likewise.
28137
b96914af
JM
28138 * sysdeps/unix/system.c: Remove file.
28139 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28140
f37e0d68
JM
28141 * sysdeps/unix/getegid.S: Remove file.
28142 * sysdeps/unix/geteuid.S: Likewise.
28143
87ef29ca
RM
281442012-04-24 Roland McGrath <roland@hack.frob.com>
28145
83bcd236
RM
28146 * scripts/check-localplt.awk: New file.
28147 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28148 of diff.
28149 * scripts/data/localplt-generic.data: Add a comment.
28150
87ef29ca
RM
28151 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28152 NODE when __dir_mkfile failed.
28153 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28154 Reported by Ludovic Courtès <ludo@gnu.org>.
28155
e5a6e567
AJ
281562012-04-24 Andreas Jaeger <aj@suse.de>
28157
28158 * Makerules (common-clean): Also remove gen-as-const-headers
28159 files.
28160
c1820385
JM
281612012-04-24 Joseph Myers <joseph@codesourcery.com>
28162
28163 * Makerules (native-compile): Do not change working directory for
28164 build. Use $(OUTPUT_OPTION) in command.
28165 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28166
94e02fc4
AZ
281672012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28168
28169 [BZ #13886]
28170 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28171 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28172 * math/libm-test.inc (floor_test): Add more tests.
28173 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28174
3a533ca3
JM
281752012-04-24 Joseph Myers <joseph@codesourcery.com>
28176
940ab4b3
JM
28177 * sysdeps/unix/getdents.c: Remove file.
28178 * sysdeps/unix/sysv/getdents.c: Likewise.
28179 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28180
90e037bd
JM
28181 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28182 sysdeps/unix/mman/syscalls.list.
28183 (mmap): Likewise.
28184 (mprotect): Likewise.
28185 (msync): Likewise.
28186 (munmap): Likewise.
28187 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28188 * sysdeps/unix/mman/syscalls.list: Remove.
28189 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28190
3a533ca3
JM
28191 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28192 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28193 * configure: Regenerated.
28194 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28195 $(libgcc_s_suffix).
28196 * config.make.in (libgcc_s_suffix): Remove variable.
28197
1ad743de
JM
281982012-04-23 Joseph Myers <joseph@codesourcery.com>
28199
4ad451e2
JM
28200 * sysdeps/unix/sysv/gethostname.c: Move to ...
28201 * sysdeps/posix/gethostname.c: ... here.
28202
5e37ce39
JM
28203 * sysdeps/unix/execve.S: Remove file.
28204
1ad743de
JM
28205 * sysdeps/unix/_exit.S: Remove file.
28206
4e681b5b
AJ
282072012-04-23 Andreas Jaeger <aj@suse.de>
28208
28209 [BZ #13739]
28210 * manual/Makefile: Remove make dist support, there's no
28211 need for a stand-alone documentation tar ball.
28212 (TEXI2DVI): Define always, it's not in Makeconfig.
28213 (dist): Removed.
28214 (tar-it): Removed.
28215 (edition): Removed.
28216 (glibc-doc-$(edition).tar): Removed
28217 (%.Z): Removed.
28218 (%.gz): Removed.
28219 (%.uu): Removed.
28220 (ETAGS): Remove, it's in Makeconfig.
28221 (move-if-change): Remove, it's in Makeconfig.
28222
38686a03 282232012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28224
28225 [BZ #13970]
28226 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28227 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28228 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28229 (strtod_l, strtof_l, strtold_l): Remove __wur.
28230 It is not necessarily an error to ignore strtol's return value.
28231 One can reliably look at the stored endptr to decide whether
28232 the number had valid syntax.
28233
7c0616fa
AJ
282342012-04-21 Andreas Jaeger <aj@suse.de>
28235
803cb6b7 28236 [BZ #13739]
7c0616fa
AJ
28237 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28238
b0fe253f
JM
282392012-04-21 Joseph Myers <joseph@codesourcery.com>
28240
28241 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28242 * sysdeps/unix/sysv/Versions: Remove file.
28243
8280f22d
MT
282442012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28245
28246 [BZ #13927]
28247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28248
75ce411f 282492012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28250
28251 [BZ #7064]
28252 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28253 version from __vm86.
28254
097d59fa
JM
282552012-04-20 Joseph Myers <joseph@codesourcery.com>
28256
a90f3bcb
JM
28257 * sysdeps/unix/common/lxstat.c: Remove file.
28258 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28259
edc7ea78
JM
28260 * sysdeps/unix/sysv/Makefile: Remove file.
28261
cb78c221
JM
28262 * sysdeps/unix/sysv/direct.h: Remove file.
28263
efa6a45f
JM
28264 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28265 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28266 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28267 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28268 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28269 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28270 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28271
9c9f2d0c
JM
28272 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28273
4541c83b
JM
28274 * sysdeps/unix/xmknod.c: Remove file.
28275 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28276
f5d153a0
JM
28277 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28278
aa746595
JM
28279 * sysdeps/unix/sysv/i386/time.S: Remove file.
28280
cce5905e
JM
28281 * sysdeps/unix/fxstat.c: Remove file.
28282 * sysdeps/unix/xstat.c: Likewise.
28283 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28284
37fa3841
JM
28285 * sysdeps/unix/sysv/sigaction.c: Remove file.
28286
ff1962a3
JM
28287 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28288 (sysdep_headers): Remove variable.
28289 [termio.h not in sysdep_headers] (generated): Likewise.
28290 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28291 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28292 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28293 * sysdeps/unix/sysv/tcflow.c: Likewise.
28294 * sysdeps/unix/sysv/tcflush.c: Likewise.
28295 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28296 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28297 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28298 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28299 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28300
e7740d31
JM
28301 * sysdeps/unix/siglist.c: Remove file.
28302
ee06f18b
JM
28303 * sysdeps/unix/getppid.S: Remove file.
28304
097d59fa
JM
28305 * sysdeps/unix/mkdir.c: Remove file.
28306 * sysdeps/unix/rmdir.c: Likewise.
28307
ff3d51ec
AS
283082012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28309
28310 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28311 ERR_MAX value.
28312 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28313 errlist-compat value.
28314
50f81fd7
DM
283152012-04-18 David S. Miller <davem@davemloft.net>
28316
28317 * sysdeps/generic/memcopy.h (reg_char): Delete.
28318 * debug/strcat_chk.c: Use char, not reg_char.
28319 * debug/strcpy_chk.c: Likewise.
28320 * debug/strncat_chk.c: Likewise.
28321 * debug/strncpy_chk.c: Likewise.
28322 * string/memchr.c: Likewise.
28323 * string/memrchr.c: Likewise.
28324 * string/rawmemchr.c: Likewise.
28325 * string/strcat.c: Likewise.
28326 * string/strchr.c: Likewise.
28327 * string/strchrnul.c: Likewise.
28328 * string/strcmp.c: Likewise.
28329 * string/strcpy.c: Likewise.
28330 * string/strncat.c: Likewise.
28331 * string/strncmp.c: Likewise.
28332 * string/strncpy.c: Likewise.
28333
8ff41c46
WS
283342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28335
28336 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28337 __builtin_memcopy is called when src and dest ranges are known to not
28338 overlap.
28339
6b652f46
WS
283402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28341
28342 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28343 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28344 fwd_align_merge macro call.
28345 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28346 bwd_align_merge macro call.
28347 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28348
b282631e
WS
283492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28350
28351 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28352 bwd_align_merge macros.
28353 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28354 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28355 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28356
95aa737c
DM
283572012-04-18 David S. Miller <davem@davemloft.net>
28358
28359 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28360
7a99a614
AJ
283612012-04-18 Andreas Jaeger <aj@suse.de>
28362
28363 [BZ# 6794]
28364 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28365 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28366 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28367
28368 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28369 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28370 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28371
28372 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28373 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28374 Adjust for changed ldbl-128 files.
28375
28376 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28377 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28378 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28379
e5270c23
DM
283802012-04-17 David S. Miller <davem@davemloft.net>
28381
28382 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28383
fb5e92c9
AS
283842012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28385
28386 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28387 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28388 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28389 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28390 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28391 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28392
76da7265
AZ
283932012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28394
28395 [BZ #6794]
28396 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28397 * math/libm-test.inc: Add ilogb errno and exception tests.
28398 * math/w_ilogb.c: New file: ilogb wrapper.
28399 * math/w_ilogbf.c: New file: ilogbf wrapper.
28400 * math/w_ilogbl.c: New file: ilogbl wrapper.
28401 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28402 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28403 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28404 exception being thrown with 0.0 as argument.
28405 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28406 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28407 exception being thrown with 0.0 as argument.
28408 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28409 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28410 exception being thrown with 0.0 as argument.
28411 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28412 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28413 exception being thrown with 0.0 as argument.
28414 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28415 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28416 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28417 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28418 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28419 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28420 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28421 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28422 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28423
0396e69d
PB
284242012-04-17 Petr Baudis <pasky@ucw.cz>
28425
28426 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28427 with altivec.
28428
750b5926
MP
284292012-04-16 Marek Polacek <polacek@redhat.com>
28430
28431 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28432
751728a1
MP
284332012-04-16 Marek Polacek <polacek@redhat.com>
28434
28435 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28436 operands of fdivp instruction.
28437
34a27407
L
284382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28441 * elf/tst-auditmod3b.c: Likewise.
28442 * elf/tst-auditmod4b.c: Likewise.
28443 * elf/tst-auditmod5b.c: Likewise.
28444 * elf/tst-auditmod6b.c: Likewise.
28445 * elf/tst-auditmod6c.c: Likewise.
28446 * elf/tst-auditmod7b.c: Likewise.
28447 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28448 * sysdeps/x86_64/preconfigure.in: Likewise.
28449 * sysdeps/x86_64/preconfigure: Regenerated.
28450
7e73e17d
L
284512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28452
28453 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28454 __ILP32__.
28455
c7a6ab72
AB
284562012-04-13 Antoine Balestrat <merkil33@gmail.com>
28457
28458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28459 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28460
a9e8e0e0
CL
284612012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28462
28463 [BZ #13973]
28464 * locale/iso-639.def: Fix gl language name. Spotted by
28465 Yaron Shahrabani.
28466
ec98af7d
RM
284672012-04-12 Roland McGrath <roland@hack.frob.com>
28468
28469 [BZ #2074]
28470 * libio/libio.h (__io_write_fn): Update comment.
28471
247c3ede
PB
284722012-04-12 Petr Baudis <pasky@ucw.cz>
28473
28474 [BZ #2074]
28475 * stdio.texi (Hook Functions): The user provided writer function
28476 is not allowed to return -1.
28477
55939d6d
DM
284782012-04-11 David S. Miller <davem@davemloft.net>
28479
28480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28481
90020f5a
MF
284822012-04-11 Mike Frysinger <vapier@gentoo.org>
28483
28484 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28485 Add a leading slash to rtkaio.
28486
288f9098
JM
284872012-04-11 Jim Meyering <meyering@redhat.com>
28488
90020f5a
MF
28489 [BZ #11959]
28490 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28491 It is not necessarily an error to ignore fwrite's return
28492 value. One can reliably use ferror to test for errors after
28493 the fact.
288f9098 28494
4be2b570
L
284952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28496
28497 * bits/types.h (__snseconds_t): New type.
28498 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28499
28500 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28502 (__SNSECONDS_T_TYPE): Likewise.
28503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28504 (__SNSECONDS_T_TYPE): Likewise.
28505 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28506 (__SNSECONDS_T_TYPE): Likewise.
28507
288f9098 285082012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28509
28510 [BZ #2636]
28511 * manual/time.texi (Processor Time): Return type of times is
28512 elapsed real time since an arbitrary point in the past.
28513 (CPU Time): Move CLK_TCK from here...
28514 (Processor Time): ...to here. Correct description.
28515 * manual/conf.texi (Constants for Sysconf): Correct description of
28516 _SC_CLK_TCK.
28517
d7dd4413
DM
285182012-04-10 David S. Miller <davem@davemloft.net>
28519
28520 [BZ #13967]
28521 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28522 where the is a gap between DT_REL(A) and DT_JMPREL.
28523
b46068fc
L
285242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28525
28526 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28527 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28528 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28529
73d65cc3
SP
285302012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28531
28532 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28533 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28534 (dl_main): Handle --inhibit-cache.
28535 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28536 _dl_inhibit_cache.
28537 * elf/dl-load.c (_dl_map_object): Use it.
28538 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28539
bcc8d661
JM
285402012-04-09 Joseph Myers <joseph@codesourcery.com>
28541
8f9a2fae
JM
28542 [BZ #13872]
28543 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28544 (__ieee754_powl): Saturate large exponents rather than testing for
28545 overflow of y*log2(x).
28546 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28547 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28548 exceptions.
28549
bcc8d661
JM
28550 [BZ #11521]
28551 * math/s_ctan.c: Include <float.h>.
28552 (__ctan): Avoid internal overflow or cancellation in calculating
28553 denominator.
28554 * math/s_ctanf.c: Likewise.
28555 * math/s_ctanl.c: Likewise.
28556 * math/s_ctanh.c: Likewise.
28557 * math/s_ctanhf.c: Likewise.
28558 * math/s_ctanhl.c: Likewise.
28559 * math/libm-test.inc (ctan_test): Add more tests.
28560 (ctanh_test): Likewise.
28561 * sysdeps/i386/fpu/libm-test-ulps: Update.
28562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28563
823fbbb4
AJ
285642012-04-09 Andreas Jaeger <aj@suse.de>
28565
03879793
AJ
28566 [BZ #6894]
28567 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28568 is an optional BSD extension.
28569
823fbbb4
AJ
28570 [BZ #10254]
28571 * manual/stdio.texi (Opening Streams): Document additional fopen
28572 parameters.
28573
8de131cb
RM
285742012-04-09 Roland McGrath <roland@hack.frob.com>
28575
28576 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28577 %eax without telling the compiler.
28578
c0ed9d7d
CD
285792012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28580
28581 [BZ # 13963]
28582 * manual/install.texi: Use sourceware.org.
28583
c483f6b4
JM
285842012-04-09 Joseph Myers <joseph@codesourcery.com>
28585
d7dd9453
JM
28586 [BZ #13873]
28587 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28588 (__ieee754_pow): Generate overflow and underflow using huge*huge
28589 and tiny*tiny rather than just returning constant infinity or zero
28590 for large exponents.
28591 * math/libm-test.inc (pow_test): Require overflow exceptions for
28592 applicable cases of large exponents.
28593
c483f6b4
JM
28594 [BZ #706]
28595 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28596 (__ieee754_pow): Use iterative multiplication algorithm only for
28597 integer exponents with absolute value below 1024. Check for odd
28598 integer exponents when using algorithm for real exponents.
28599 * math/libm-test.inc (pow_test): Add more tests.
28600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28601
d2de7579
JM
286022012-04-08 Joseph Myers <joseph@codesourcery.com>
28603
28604 [BZ #13705]
28605 * math/libm-test.inc (exp_test): Do not allow overflow exception
28606 on underflow test.
28607
f77f1232
AJ
286082012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28609
28610 [BZ #13705]
28611 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28612 instead of __kernel_standard_f.
28613
3884932b
MF
286142012-04-08 Mike Frysinger <vapier@gentoo.org>
28615
28616 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28617 * sysdeps/x86_64/memset_chk.S: Likewise.
28618
54472e9c
AJ
286192012-04-08 Andreas Jaeger <aj@suse.de>
28620
6ab0fbfc
AJ
28621 [BZ #10153]
28622 * manual/startup.texi (Environment Access): Describe return value
28623 for putenv and setenv.
28624
61efba8c
AJ
28625 [BZ #6895]
28626 * manual/filesys.texi (Directory Entries): Add description for
28627 DT_LNK.
28628
95c3f29a
AJ
28629 [BZ #6890]
28630 * manual/filesys.texi (Directory Entries): Clarify that it's file
28631 system not operating system in the description of DT_UNKNOWN.
28632
54472e9c
AJ
28633 [BZ #6578]
28634 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28635
624254b1
SC
286362012-04-08 Stephen Compall <s11@member.fsf.org>
28637
28638 [BZ #6649]
28639 * manual/llio.texi (Opening and Closing Files): Add cross
28640 reference to explain mode argument.
28641
1e4920e0
MF
286422012-04-07 Mike Frysinger <vapier@gentoo.org>
28643
28644 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28645 * sysdeps/x86_64/memset_chk.S: Likewise.
28646
5ed848f3
DM
286472012-04-07 David S. Miller <davem@davemloft.net>
28648
28649 * elf/elf.h (R_SPARC_WDISP10): Define.
28650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28651 R_SPARC_SIZE32.
28652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28653 R_SPARC_SIZE64 and R_SPARC_H34.
28654
96154cd8
CD
286552012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28656
28657 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28658 conditions and remove no longer applicable assertion.
28659
9904dc47
L
286602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28661
28662 * bits/byteswap.h: Include <features.h>.
28663 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28664 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28665
f8887d0a
L
286662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28667
28668 * bits/byteswap.h (__bswap_16): Removed.
28669 Include <bits/byteswap-16.h> to get __bswap_16.
28670 * sysdeps/i386/bits/byteswap.h: Likewise.
28671 * sysdeps/s390/bits/byteswap.h: Likewise.
28672 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28673 * bits/byteswap-16.h: New file.
28674 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28675 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28676 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28677 * string/Makefile (headers): Add bits/byteswap-16.h.
28678
62470f60
PP
286792012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28680
28681 [BZ #13895]
28682 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28683 extra indirection.
28684 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28685 * nss/tst-nss-static.c: New.
28686
4dad7bab
RM
286872012-04-06 Robert Millan <rmh@gnu.org>
28688
28689 [BZ #6486]
28690 * manual/llio.texi (File Position Primitive): lseek
28691 refers to WHENCE when it really means OFFSET.
28692
e9142a17
AJ
286932012-04-06 Andreas Jaeger <aj@suse.de>
28694
2c040eff
AJ
28695 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28696 strncmp declarations.
28697
e9142a17
AJ
28698 * abilist/libc.abilist: Add __poll and __ppoll.
28699
ff9f1c5f
DM
287002012-04-05 David S. Miller <davem@davemloft.net>
28701
dcd2ae90
DM
28702 * scripts/check-local-headers.sh: Accept a host triplet in the
28703 path matched by the exclude regexp.
28704
993eb054
DM
28705 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28706 definition.
28707 * sysdeps/powerpc/powerpc32/dl-machine.h
28708 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28709 * sysdeps/s390/s390-32/dl-machine.h
28710 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28711 * sysdeps/sparc/sparc32/dl-machine.h
28712 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28713 * sysdeps/sparc/sparc64/dl-machine.h
28714 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28715
ff9f1c5f
DM
28716 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28717 lazy binding.
48e2e132 28718 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28719 undefined symbol errors.
28720
48e2e132 28721 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28722 DT_NEEDED entries.
28723
e80d6f94
MM
287242012-04-05 Michael Matz <matz@suse.de>
28725
28726 [BZ #13592]
28727 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28728
349fa79f
AJ
287292012-04-05 Andreas Jaeger <aj@suse.de>
28730
28731 [BZ #13908]
28732 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28733 comment.
28734
f402708f
KK
287352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28736
28737 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28738 which ROUND is no valid rounding mode.
28739
2ecccfc9
KK
287402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28741
28742 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28743 read again.
28744 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28745
8a53f50f
KK
287462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28747
28748 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28749 an exception using FPU order intentionally.
28750
287512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28752
28753 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28754 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28755 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28756 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28757
d653abb7
SJ
287582012-04-05 Simon Josefsson <simon@josefsson.org>
28759
28760 [BZ #12340]
28761 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28762 EINVAL when BUFLEN is too smal.
28763
c3b1bf7d
TS
287642012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28765
28766 [BZ #13553]
28767 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28768 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28769
b1aa60f3
AJ
287702012-04-03 Andreas Jaeger <aj@suse.de>
28771
c3b1bf7d 28772 [BZ #13938]
67f60a26
AJ
28773 * manual/setjmp.texi (System V contexts): Fix sentence.
28774
b1aa60f3
AJ
28775 [BZ #13926]
28776 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28777 New macro for this case.
28778 [!__GNUC__] (__bswap_64): New inline function for this case.
28779 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28780 * bits/byteswap.h: Likewise.
28781 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28782 ull, guard with __GLIBC_HAVE_LONG_LONG.
28783
28784 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28785 __GLIBC_HAVE_LONG_LONG.
28786
28787 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28788 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28789
39c59c35
TMQMF
287902012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28791
28792 [BZ #13691]
28793 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28794 inptr and inend, rather than using last_ch.
28795
135ffda8
DM
287962012-04-02 David S. Miller <davem@davemloft.net>
28797
28798 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28799 * stdio-common/printf-parse.h (read_int): Change return type to
28800 'int', return -1 on INT_MAX overflow.
28801 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28802 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28803 overflows INT_MAX. Check for overflow of in-format-string precision
28804 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28805 SIZE_MAX not INT_MAX for integer overflow test.
28806 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28807 skip the construct in the format string but do not record anything.
28808 * stdio-common/bug22.c: Adjust to test both width/prevision
28809 INT_MAX overflow as well as total length INT_MAX overflow. Check
28810 explicitly for proper errno values.
28811
228c019e
TS
288122012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28813
302cadd3
TS
28814 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28815 CHAR_MAX.
28816 * string/test-strcmp.c [! WIDE]: Likewise.
28817 * time/tst-mktime2.c: Likewise for INT_MAX.
28818 * string/test-string.h: #include <sys/param.h> for MIN.
28819
228c019e
TS
28820 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28821 * sysdeps/i386/init-first.c (init): Likewise.
28822 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28823 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28824 * sysdeps/sh/init-first.c (init): Likewise.
28825
cfa633f5
UD
288262012-04-01 Ulrich Drepper <drepper@gmail.com>
28827
28828 * po/ru.po: Update from translation team.
d1635ef8 28829 * po/vi.po: Likewise.
cfa633f5 28830
6cd0a5ea
SP
288312012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28832
28833 * resolv/nss_dns/dns-host.c: Merge copyright years.
28834
4b43400f
LD
288352012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28836
28837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28838 Optimize memcpy with prefetch if
28839 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28840 src, dst pointers have unequal 16 byte alignments.
28841
48c41d04
SP
288422012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28843
28844 [BZ #13928]
28845 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28846 from a CNAME entry and return the minimum ttl for the query.
28847 (gaih_getanswer_slice): Likewise.
28848
b8dc394d
JL
288492012-03-30 Jeff Law <law@redhat.com>
28850
28851 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28852 due to long keys.
28853 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28854 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28855
2f5a5ed0
JL
28856 * resolv/nss_dns/dns-host.c: Update copyright year.
28857
1d39e359
UD
288582012-03-30 Ulrich Drepper <drepper@gmail.com>
28859
c030f70c 28860 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 28861 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28862
1d39e359
UD
28863 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28864 comments for sendmmsg.
28865
288662012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
28867
28868 [BZ #13691]
28869 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28870 with only 1 character between 0x0041 and 0x01b0.
28871 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28872 * wcsmbs/tst-mbsnrtowcs.c: New file.
28873
20fde227
DM
288742012-03-29 David S. Miller <davem@davemloft.net>
28875
28876 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28877 small copies by hand.
28878
984a4237
JL
288792012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28880
28881 [BZ #13761]
28882 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28883 _nss_compat_initgroups_dyn): Fall back to malloc/free
28884 for large group memberships.
28885
18c9d62b
DM
288862012-03-28 David S. Miller <davem@davemloft.net>
28887
88d85d4f
DM
28888 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28889 that branches into memcpy.
28890 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28891 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28892 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28893 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28895 bits.
28896 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28897 implementation too.
28898 * sysdeps/sparc/mempcpy.S: New file.
28899
e5aa83e1
DM
28900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28901 the IFUNC routine in the libc case.
28902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28903
88570753
DM
28904 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28905 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28906 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28907 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28908 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28909 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28910 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28911 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28912
249d7567
DM
28913 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28914 loop to 256 bytes instead of 64 bytes and fix test signedness.
28915
18c9d62b
DM
28916 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28917 * sysdeps/sparc/sparc32/Makefile: rather than here...
28918 * sysdeps/sparc/sparc64/Makefile: and here.
28919
05f3d1f6
UD
289202012-03-28 Ulrich Drepper <drepper@gmail.com>
28921
28922 * malloc/mallocbug.c: Avoid warnings about unused variables.
28923
86ae07a8
JL
289242012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28925
28926 [BZ #13760]
28927 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28928 in the right place. Discard and retry query if response is
28929 larger than input buffer size.
28930
41bf21a1
JM
289312012-03-28 Joseph Myers <joseph@codesourcery.com>
28932
d6270972
JM
28933 [BZ #369]
28934 [BZ #2678]
28935 [BZ #3866]
28936 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28937 x for large integer exponent.
28938 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28939 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28940 sign of result as needed afterwards.
28941 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28942 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28943 result for underflowing pow the same as for overflow.
28944 (__kernel_standard_l): Handle powl overflow and underflow here
28945 rather than calling __kernel_standard.
28946 * math/libm-test.inc (pow_test): Add more tests.
28947
414fca03 28948 [BZ #3868]
41bf21a1
JM
28949 [BZ #13879]
28950 [BZ #13910]
28951 [BZ #13911]
28952 [BZ #13912]
28953 [BZ #13913]
28954 [BZ #13915]
28955 [BZ #13916]
28956 [BZ #13917]
28957 [BZ #13918]
28958 [BZ #13919]
28959 [BZ #13920]
28960 [BZ #13921]
28961 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28962 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28963 (__kernel_standard_l): New function.
28964 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28965 __kernel_standard.
28966 * math/w_acosl.c (__acosl): Likewise.
28967 * math/w_asinl.c (__asinl): Likewise.
28968 * math/w_atan2l.c (__atan2l): Likewise.
28969 * math/w_atanhl.c (__atanhl): Likewise.
28970 * math/w_coshl.c (__coshl): Likewise.
28971 * math/w_exp10l.c (__exp10l): Likewise.
28972 * math/w_exp2l.c (__exp2l): Likewise.
28973 * math/w_fmodl.c (__fmodl): Likewise.
28974 * math/w_hypotl.c (__hypotl): Likewise.
28975 * math/w_j0l.c (__j0l, __y0l): Likewise.
28976 * math/w_j1l.c (__j1l, __y1l): Likewise.
28977 * math/w_jnl.c (__jnl, __ynl): Likewise.
28978 * math/w_lgammal.c (__lgammal): Likewise.
28979 * math/w_log10l.c (__log10l): Likewise.
28980 * math/w_log2l.c (__log2l): Likewise.
28981 * math/w_logl.c (__logl): Likewise.
28982 * math/w_powl.c (__powl): Likewise.
28983 * math/w_remainderl.c (__remainderl): Likewise.
28984 * math/w_scalbl.c (sysv_scalbl): Likewise.
28985 * math/w_sinhl.c (__sinhl): Likewise.
28986 * math/w_sqrtl.c (__sqrtl): Likewise.
28987 * math/w_tgammal.c (__tgammal): Likewise.
28988 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28989 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28990 * math/libm-test.inc (acos_test): Add more tests.
28991 (acosh_test): Likewise.
28992 (asin_test): Likewise.
28993 (atanh_test): Likewise.
28994 (exp_test): Likewise.
28995 (exp10_test): Likewise.
28996 (exp2_test): Likewise.
28997 (expm1_test): Likewise.
28998 (lgamma_test): Likewise.
28999 (log_test): Likewise.
29000 (log10_test): Likewise.
29001 (log1p_test): Likewise.
29002 (log2_test): Likewise.
29003 (pow_test): Do not allow some spurious overflow exceptions.
29004 (sqrt_test): Add more tests.
29005 (tgamma_test): Likewise.
29006 (y0_test): Likewise.
29007 (y1_test): Likewise.
29008 (yn_test): Likewise.
29009
dd62fda6
AB
290102012-03-27 Anton Blanchard <anton@samba.org>
29011
29012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29013 MAP_HUGETLB.
29014 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29015 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29016 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29017
1e3cdfda
AJ
290182012-03-27 David S. Miller <davem@davemloft.net>
29019
b855ab85
DM
29020 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29021
1e3cdfda
AJ
29022 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29023 have-as-vis3 check.
29024
290252012-03-27 Andreas Jaeger <aj@suse.de>
29026
29027 * sysdeps/x86_64/elf/configure.in: Moved to ...
29028 * sysdeps/x86_64/configure.in: ... here.
29029 * sysdeps/x86_64/elf/start.S: Moved to ...
29030 * sysdeps/x86_64/start.S: ... here.
29031 * sysdeps/x86_64/elf/configure: Delete.
29032
29033 * sysdeps/x86_64/configure.in: Merge contents from
29034 sysdeps/i386/configure.in (without i686 check).
29035
29036 * sysdeps/i386/elf/Versions: Merge into ...
29037 * sysdeps/i386/Versions: ... this.
29038 * sysdeps/i386/elf/Versions: Delete file.
29039 * sysdeps/i386/elf/start.S: Moved to ...
29040 * sysdeps/i386/start.S: ...here.
29041 * sysdeps/i386/elf/configure.in: Merge into...
29042 * sysdeps/i386/configure.in: ...here.
29043 * sysdeps/i386/elf/configure.in: Delete file.
29044 * sysdeps/i386/elf/configure: Delete file.
29045
29046 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29047 * debug/backtracesyms.c: ... here.
29048 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29049 * debug/backtracesymsfd.c: ... here.
29050 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29051 * sysdeps/generic/ifunc-sel.h: ... here.
29052
29053 * sysdeps/unix/i386/start.c: Delete file.
29054 * sysdeps/unix/sparc/start.c: Delete file.
29055 * sysdeps/unix/start.c: Delete file.
29056
29057 * sysdeps/sh/elf/configure.in: Moved to ...
29058 * sysdeps/sh/configure.in: ... here.
29059 * sysdeps/sh/elf/start.S: Moved to ...
29060 * sysdeps/sh/start.S: ... here.
29061 * sysdeps/sh/elf/configure: Delete file.
29062
29063 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29064 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29065 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29066 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29067 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29068 * sysdeps/powerpc/powerpc64/start.S: here.
29069 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29070 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29071 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29072 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29073 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29074
29075 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29076 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29077 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29078 * sysdeps/powerpc/powerpc32/start.S: ... here.
29079 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29080 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29081 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29082
29083 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29084 * sysdeps/powerpc/ifunc-sel.h: ... here.
29085 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29086 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29087
29088 * sysdeps/sparc/elf/configure.in: Moved to ...
29089 * sysdeps/sparc/configure.in: ... here.
29090 * sysdeps/sparc/elf/configure: Delete file.
29091 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29092 * sysdeps/sparc/sparc32/start.S: ... here.
29093 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29094 * sysdeps/sparc/sparc64/start.S: ... here.
29095 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29096 * sysdeps/sparc/sparc32/Makefile: ... this.
29097 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29098 * sysdeps/sparc/sparc64/Makefile: ... this.
29099
29100 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29101 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29102 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29103 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29104 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29105 * sysdeps/s390/s390-32/setjmp.S: ... here.
29106 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29107 * sysdeps/s390/s390-32/configure.in: ... here.
29108 * sysdeps/s390/s390-32/elf/configure: Delete file.
29109 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29110 * sysdeps/s390/s390-32/start.S: ... here.
29111
29112 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29113 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29114 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29115 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29116 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29117 * sysdeps/s390/s390-64/setjmp.S: ... here.
29118 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29119 * sysdeps/s390/s390-64/configure.in: ... here
29120 * sysdeps/s390/s390-64/elf/configure: Delete file.
29121 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29122 * sysdeps/s390/s390-64/start.S: ... here.
29123 * sysdeps/s390/s390-64/elf/configure: Delete.
29124
29125 * configure.in: Remove support for elf directories in sysdeps.
29126
29127 * configure: Regenerated.
29128 * sysdeps/i386/configure: Regenerated.
29129 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29130 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29131 * sysdeps/s390/s390-32/configure: Regenerated.
29132 * sysdeps/s390/s390-64/configure: Regenerated.
29133 * sysdeps/sh/configure: Regenerated.
29134 * sysdeps/sparc/configure: Regenerated.
29135 * sysdeps/x86_64/configure: Regenerated.
29136
a3f61311
AS
291372012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29138
c876e002
AS
29139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29140
a3f61311
AS
29141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29142 denormal result into account.
29143
ac4c54f0
RM
291442012-03-25 Roland McGrath <roland@hack.frob.com>
29145
29146 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29147 Reported by Allan McRae <allan@archlinux.org>.
29148
6a9b9c02
JL
291492012-03-23 Jeff Law <law@redhat.com>
29150
29151 * nss/getnssent.c (__nss_getent): Fix typo.
29152
4c42a0c1
DM
291532012-03-23 David S. Miller <davem@davemloft.net>
29154
29155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29156
1532c7ac
L
291572012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29158
29159 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29160 to pad to uint64_t for each field.
29161 (dl_tls_index): Replace unsigned long with uint64_t.
29162
3ff42526
PP
291632012-03-23 Daniel Jacobowitz <dmj@google.com>
29164 Paul Pluzhnikov <ppluzhnikov@google.com>
29165
29166 [BZ #6528]
29167 * grp/Makefile (otherlibs): Don't set it.
29168 * inet/Makefile (otherlibs): Likewise.
29169 * login/Makefile (otherlibs): Likewise.
29170 * nscd/Makefile (otherlibs): Likewise.
29171 * posix/Makefile (otherlibs): Likewise.
29172 * pwd/Makefile (otherlibs): Likewise.
29173 * rt/Makefile (otherlibs): Likewise.
29174 * sunrpc/Makefile (otherlibs): Likewise.
29175 * nss/Makefile (otherlibs): Likewise.
29176 Add libnss_files to routines and static-only-routines.
29177 ($(objpfx)getent): Remove rule.
29178 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29179 static-only-routines.
29180
7c69cd14
JM
291812012-03-22 Joseph Myers <joseph@codesourcery.com>
29182
29183 [BZ #13892]
29184 * math/s_cexp.c: Include <float.h>.
29185 (__cexp): Handle exp result overflowing not necessarily
29186 overflowing both real and imaginary parts of result.
29187 * math/s_cexpf.c: Likewise.
29188 * math/s_cexpl.c: Likewise.
29189 * math/libm-test.inc (cexp_test): Add more tests.
29190 * sysdeps/i386/fpu/libm-test-ulps: Update.
29191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29192
81b035fe
L
291932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29194
29195 * include/link.h (ELFW): New macro.
29196 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29197 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29198
1da7940c
L
291992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29200
29201 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29202 with uint64_t.
29203
b749dbb9
L
292042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29205
29206 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29207 declaration.
29208 (struct La_x32_retval): Likewise.
29209
2ff87f3f
L
292102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 * sysdeps/x86_64/preconfigure.in: New file.
29213 * sysdeps/x86_64/preconfigure: New generated file.
29214
c0df8e69
JM
292152012-03-22 Joseph Myers <joseph@codesourcery.com>
29216
48e44791
JM
29217 [BZ #13824]
29218 * math/e_exp2l.c: Include <float.h>.
29219 (__ieee754_exp2l): Handle overflow and underflow cases
29220 separately. Only pass fractional part of argument to
29221 __ieee754_expl.
29222 * math/libm-test.inc (exp2_test): Add more tests.
29223
c0df8e69
JM
29224 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29225 negating x to take absolute value.
29226 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29227 Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29230 Likewise.
29231 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29232 computing low part if x was negated.
29233 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29234
c8e43ba7
L
292352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29236
29237 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29238 la_x32_gnu_pltexit.
29239 (pltexit): Cast int_retval to ptrdiff_t.
29240 * elf/tst-auditmod3b.c: Likewise.
29241 * elf/tst-auditmod4b.c: Likewise.
29242 * elf/tst-auditmod5b.c: Likewise.
29243 * elf/tst-auditmod6b.c: Likewise.
29244 * elf/tst-auditmod6c.c: Likewise.
29245 * elf/tst-auditmod7b.c: Likewise.
29246
29247 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29248 and x32_gnu_pltexit.
29249
29250 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29251 __ELF_NATIVE_CLASS.
29252 (La_x32_regs): New macro.
29253 (La_x32_retval): Likewise.
29254 (la_x32_gnu_pltenter): New function prototype.
29255 (la_x32_gnu_pltexit): Likewise.
29256
7998fa78
AS
292572012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29258
dcb33988
AS
29259 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29260 exponent.
29261
233fc563
AS
29262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29263
7998fa78
AS
29264 * configure.in (libc_cv_cc_nofma): Check for option to disable
29265 generation of FMA instructions.
29266 * configure: Regenerate.
29267 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29268 * sysdeps/ieee754/dbl-64/Makefile: New file.
29269 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29270 Remove brandred-fma4.
29271 (CFLAGS-brandred-fma4.c): Remove.
29272 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29273 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29274 define.
29275 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29276 define.
29277
8e95c99a
L
292782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29279
29280 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29281 LLONG_MAX != LONG_MAX.
29282 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29283 (_fitoa_word): Likewise.
29284 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29285 LLONG_MAX != LONG_MAX.
29286 * stdio-common/_itowa.h: Include <_itoa.h>.
29287 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29288 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29289 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29290 only if not defined.
29291 (_ITOA_WORD_TYPE): Likewise.
29292 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29293 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29294
6f4db457
DM
292952012-03-21 David S. Miller <davem@davemloft.net>
29296
29297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29298
7785fe5a
L
292992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29300
29301 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29302 of x86_64 when setting libc_cv_slibdir, libdir and
29303 libc_cv_localedir.
29304 * sysdeps/unix/sysv/linux/configure: Regenerated.
29305
4535cd55
JM
293062012-03-21 Joseph Myers <joseph@codesourcery.com>
29307
29308 * manual/lang.texi (Old Varargs): Remove section.
29309 (How Variadic): Update menu.
29310 (va_start): Do not mention varargs.h.
29311
17228132
TS
293122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29313 Joseph Myers <joseph@codesourcery.com>
29314
29315 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29316 link test.
29317 * configure: Regenerated.
29318
8149f976
TS
293192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29320
05f3d1f6
UD
29321 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29322 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29323 conformtest.pl
8149f976 29324
1a4ac776
JM
293252012-03-21 Joseph Myers <joseph@codesourcery.com>
29326
be22ce65
JM
29327 * NOTES: Remove.
29328 * Makefile (files-for-dist): Remove NOTES.
29329 (NOTES): Remove rule.
29330 * README: Don't refer to NOTES.
29331 * manual/creature.texi: Don't include macros.texi.
29332 * manual/intro.texi (creature.texi): Remove comment referring to
29333 NOTES.
29334
40b601fb
JM
29335 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29336 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29337 * configure: Regenerated.
29338 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29339 LIBC_TRY_CC_OPTION.
29340 (libc_cv_as_i686): Likewise.
29341 (libc_cv_cc_avx): Likewise.
29342 (libc_cv_cc_sse2avx): Likewise.
29343 (libc_cv_cc_fma4): Likewise.
29344 (libc_cv_cc_novzeroupper): Likewise.
29345 * sysdeps/i386/configure: Regenerated.
29346
1a4ac776
JM
29347 [BZ #13883]
29348 * sysdeps/i386/fpu/s_cexp.S: Remove.
29349 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29350 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29351 * math/libm-test.inc (cexp_test): Add more tests.
29352 * sysdeps/i386/fpu/libm-test-ulps: Update.
29353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29354
a458e7fe
AM
293552012-03-21 Allan McRae <allan@archlinux.org>
29356
29357 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29358
0cb7efc5
JM
293592012-03-21 Joseph Myers <joseph@codesourcery.com>
29360
29361 [BZ #13871]
29362 * math/w_exp2.c: Do not include <float.h>.
29363 (o_threshold, u_threshold): Remove.
29364 (__exp2): Calculate result before checking finiteness and calling
29365 __kernel_standard.
29366 * math/w_exp2f.c: Likewise.
29367 * math/w_exp2l.c: Likewise.
29368 * math/libm-test.inc (exp2_test): Require overflow exception for
29369 1e6 input.
2460d3aa
JM
29370
29371 [BZ #3866]
29372 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29373 range of signed 64-bit integers before using fistpll. Remove
29374 checks for whether integers fit in mantissa bits.
29375 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29376 the range of signed 32-bit integers before using fistpl. Remove
29377 checks for whether integers fit in mantissa bits.
29378 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29379 (__ieee754_powl): Test for y outside the range of signed 64-bit
29380 integers before using fistpll. Reduce 64-bit values to 63-bit
29381 ones as needed.
29382 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29383 divide-by-zero is raised for zero to large negative powers.
29384 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29385 (__ieee754_powl): Test for y outside the range of signed 64-bit
29386 integers before using fistpll. Reduce 64-bit values to 63-bit
29387 ones as needed.
29388 * math/libm-test.inc (pow_test): Add more tests.
29389
eb96ffb0
L
293902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29391
29392 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29393 <stdio-common/_itoa.h>.
29394 * debug/segfault.c: Likewise.
29395 * elf/dl-cache.c: Likewise.
29396 * elf/dl-minimal.c: Likewise.
29397 * elf/dl-misc.c: Likewise.
29398 * elf/dl-sysdep.c: Likewise.
29399 * elf/dl-version.c: Likewise.
29400 * elf/rtld.c: Likewise.
29401 * hurd/hurdsock.c: Likewise.
29402 * hurd/lookup-retry.c: Likewise.
29403 * malloc/malloc.c: Likewise.
29404 * malloc/mtrace.c: Likewise.
29405 * nscd/nscd_getgr_r.c: Likewise.
29406 * nscd/nscd_getpw_r.c: Likewise.
29407 * nscd/nscd_getserv_r.c: Likewise.
29408 * posix/getopt_init.c: Likewise.
29409 * posix/wordexp.c: Likewise.
29410 * stdio-common/_itoa.c: Likewise.
29411 * stdio-common/printf_fphex.c: Likewise.
29412 * stdio-common/vfprintf.c: Likewise.
29413 * string/_strerror.c: Likewise.
29414 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29415 * sysdeps/i386/i686/hp-timing.h: Likewise.
29416 * sysdeps/mach/_strerror.c: Likewise.
29417 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29418 * sysdeps/mach/hurd/sethostid.c: Likewise.
29419 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29420 * sysdeps/mach/xpg-strerror.c: Likewise.
29421 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29422 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29423 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29424 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29425 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29426 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29427 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29428 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29429 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29430 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29431 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29432 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29433 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29434 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29435 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29436 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29437 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29438 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29439 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29440 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29441 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29442
29443 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29444
29445 * stdio-common/_itoa.h: Moved to ...
29446 * sysdeps/generic/_itoa.h: Here.
29447
29448 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29449
29450 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29451 instead of "_itoa.h" and "_itowa.h".
29452 * stdio-common/vfprintf.: Likewise.
29453
d1af992d
L
294542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29455
29456 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29457 <bits/wordsize.h>.
29458 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29459 (__signbit): Likwise.
29460 (llrintf): Likwise.
29461 (llrint): Likwise.
29462
114883e0
L
294632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29464
29465 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29466 __WORDSIZE != 64.
29467
c135cc1b
JM
294682012-03-20 Joseph Myers <joseph@codesourcery.com>
29469
29470 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29471 OVERFLOW_EXCEPTION_OK.
29472 * math/libm-test.inc ("Philosophy"): Update comment about
29473 exception testing.
29474 (OVERFLOW_EXCEPTION): Define.
29475 (OVERFLOW_EXCEPTION_OK): Likewise.
29476 (INVALID_EXCEPTION_OK): Renumber.
29477 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29478 (IGNORE_ZERO_INF_SIGN): Likewise.
29479 (test_exceptions): Handle FE_OVERFLOW.
29480 (exp10_test): Expect overflow exceptions.
29481 (exp2_test): Likewise.
29482 (expm1_test): Likewise.
29483 (nextafter_test): Likewise.
29484 (pow_test): Likewise.
29485 (scalbn_test): Likewise.
29486 (scalbln_test): Likewise.
29487
95443d88
L
294882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29489
29490 * sysdeps/x86_64/bits/atomic.h
29491 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29492 64bit integer.
29493 (atomic_exchange_acq): Likewise.
29494 (__arch_exchange_and_add_body): Likewise.
29495 (__arch_add_body): Likewise.
29496 (atomic_add_negative): Likewise.
29497 (atomic_add_zero): Likewise.
29498
490df6c4
L
294992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29500
c2722551 29501 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29502 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29503
5e52b189
L
295042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29505
29506 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29507 Check __x86_64__ instead of __WORDSIZE.
29508
a9879d4c
L
295092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29510
29511 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29512
5df98260
DM
295132012-03-19 David S. Miller <davem@davemloft.net>
29514
e1497744
DM
29515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29516
5df98260
DM
29517 * sysdeps/sparc/fpu/fenv_private.h: New file.
29518 * sysdeps/sparc/fpu/math_private.h: Use it.
29519 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29520 Remove.
29521 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29522 (libc_feholdexcept_setroundl): Remove.
29523 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29524 Remove.
29525 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29526 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29527
b4c35121
L
295282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29529
29530 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29531 int64_t instead of long int.
29532 (INSERT_WORDS64): Likwise.
29533
56965fd7
L
295342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29535
29536 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29537 _Unwind_GetCFA return to _Unwind_Ptr first.
29538
83d1aec8
JM
295392012-03-19 Joseph Myers <joseph@codesourcery.com>
29540
1897ad44
JM
29541 [BZ #13629]
29542 * math/s_clog.c: Include <float.h>.
29543 (__clog): Scale large or subnormal inputs.
29544 * math/s_clogf.c: Likewise.
29545 * math/s_clogl.c: Likewise.
29546 * math/s_clog10.c: Include <float.h>.
29547 (M_LOG10_2): Define.
29548 (__clog10): Scale large or subnormal inputs.
29549 * math/s_clog10f.c: Likewise.
29550 * math/s_clog10l.c: Likewise.
29551 * math/libm-test.inc (clog_test): Add more tests.
29552 (clog10_test): Likewise.
29553 * sysdeps/i386/fpu/libm-test-ulps: Update.
29554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29555
7726d6a9
JM
29556 [BZ #11451]
29557 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29558 x and y.
29559 * math/libm-test.inc (atan2_test): Add another test.
29560
83d1aec8
JM
29561 * Makerules (common-objdir-compile): Remove.
29562 * sysdeps/unix/Makefile (config-generated): Do not add
29563 $(unix-generated) to variable.
29564 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29565 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29566 Remove rule.
29567 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29568 Likewise.
29569 [generic bits/local_lim.h] (before-compile): Do not append to
29570 variable.
29571 [generic bits/local_lim.h] (common-generated): Likewise.
29572 [generic sys/param.h] (before-compile): Do not append to variable.
29573 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29574 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29575 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29576 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29577 include.
29578 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29579 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29580 [generic sys/param.h] ($(addprefix
29581 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29582 [generic sys/param.h] (common-generated): Do not append to
29583 variable.
29584 [generic sys/param.h] (sysdep_headers): Likewise.
29585 [generic bits/errno.h] (before-compile): Do not append to
29586 variable.
29587 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29588 rule.
29589 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29590 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29591 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29592 [generic bits/errno.h] (common-generated): Do not append to
29593 variable.
29594 [generic bits/ioctls.h] (before-compile): Do not append to
29595 variable.
29596 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29597 rule.
29598 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29599 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29600 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29601 rule.
29602 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29603 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29604 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29605 [generic bits/ioctls.h] (common-generated): Do not append to
29606 variable.
29607 [generic sys/syscall.h] (syscall.h): Remove variable.
29608 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29609 rule.
29610 [generic sys/syscall.h] (before-compile): Do not append to
29611 variable.
29612 [generic sys/syscall.h] (common-generated): Likewise.
29613 * sysdeps/unix/errnos-tmpl.c: Remove file.
29614 * sysdeps/unix/errnos.awk: Likewise.
29615 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29616 * sysdeps/unix/ioctls.awk: Likewise.
29617 * sysdeps/unix/mk-local_lim.c: Likewise.
29618 * sysdeps/unix/snarf-ioctls: Likewise.
29619
4851a949
RH
296202012-03-19 Richard Henderson <rth@twiddle.net>
29621
bd37f2ee
RH
29622 * sysdeps/i386/fpu/fenv_private.h: New file.
29623 * sysdeps/i386/fpu/math_private.h: Use it.
29624 (math_opt_barrier, math_force_eval): Remove.
29625 (libc_feholdexcept_setround_53bit): Remove.
29626 (libc_feupdateenv_53bit): Remove.
29627 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29628 (math_opt_barrier, math_force_eval): Remove.
29629 (libc_feholdexcept): Remove.
29630 (libc_feholdexcept_setround): Remove.
29631 (libc_fetestexcept, libc_fesetenv): Remove.
29632 (libc_feupdateenv_test): Remove.
29633 (libc_feupdateenv, libc_feholdsetround): Remove.
29634 (libc_feresetround): Remove.
29635
d0adc922
RH
29636 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29637 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29638
0fe0f1f8
RH
29639 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29640 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29641 (libc_feupdateenv_testl): New.
29642 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29643 (libc_feupdateenv_testf): New.
29644 (libc_feupdateenv): Use libc_feupdateenv_test.
29645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29646 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29647
eb92c487
RH
29648 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29649 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29650 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29651 (libc_feresetround_noex): New.
29652 (libc_feresetround_noexf): New.
29653 (libc_feresetround_noexl): New.
29654 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29655 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29656 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29657 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29658 SET_RESTORE_ROUND.
29659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29660 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29661 (__cos): Likewise.
29662 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29663 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29664 SET_RESTORE_ROUND_NOEX.
29665 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29666 SET_RESTORE_ROUND_NOEXF.
29667 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29668 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29669 (libc_feholdsetroundf): New.
29670 (libc_feresetround, libc_feresetroundf): New.
29671
7d2e8012
RH
29672 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29673 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29674 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29675
b4dabbb4
RH
29676 * sysdeps/generic/math_private.h: Include <fenv.h>.
29677 (default_libc_feholdexcept): New.
29678 (default_libc_feholdexcept_setround): New.
29679 (default_libc_fesetenv, default_libc_feupdateenv): New.
29680 (libc_feholdexcept): Only define if undefined.
29681 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29682 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29683 (libc_feholdexcept_setroundl): Likewise.
29684 (libc_feholdexcept_setround_53bit): Likewise.
29685 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29686 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29687 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29688 (libc_feupdateenv_53bit): Likewise.
29689 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29690 (libc_feholdexcept): Convert from macro to inline function.
29691 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29692 (libc_fesetenv, libc_feupdateenv): Likewise.
29693
4851a949
RH
29694 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29695 not previously defined.
29696 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29697 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29698 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29699 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29700 * sysdeps/ieee754/flt-32/math_private.h: New file.
29701 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29702 math_private.h below SET_FLOAT_WORD.
29703 (__isnan, __isinf_ns, __finite): Remove.
29704 (__isnanf, __isinf_nsf, __finitef): Remove.
29705
e79d442e
AS
297062012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29707
29708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29709
90b80344
DM
297102012-03-17 David S. Miller <davem@davemloft.net>
29711
29712 [BZ #6471]
29713 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29714 for 2.16.
29715
edc21804
DM
297162012-03-16 David S. Miller <davem@davemloft.net>
29717
77e927af
DM
29718 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29719 warnings.
29720
374976dd
DM
29721 [BZ #6471]
29722 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29723 properly.
29724 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29725 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29726 sysdep_routines when subdir is sysvipc.
29727 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29728 __getshmlba helper.
29729
edc21804
DM
29730 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29731
473c3ef3
L
297322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29733
29734 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29735 [__LP64__].
29736
eb0f39b6
L
297372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29738
29739 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29740 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29741 (__lround): Renamed to ...
29742 (__llround): This. Replace long int with long long int.
29743 Define lround functions as aliases of llround functions.
29744 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29745
6b6cd74b
L
297462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29747
29748 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29749 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29750 adresses to uintptr_t. Replace "long int" and "unsigned long
29751 int" with "greg_t" on va_arg.
29752
f1a77b01
L
297532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29754
29755 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29756 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29757
29758 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29759 Move e_machine check before EI_CLASS check. Handle x32
29760 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29761 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29762 SKIP_EM_IA_64 and include
29763 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29764
29765 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29766 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29767 (add_system_dir): New macro.
29768
29769 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29770 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29771
11b90b9f
JM
297722012-03-16 Joseph Myers <joseph@codesourcery.com>
29773
c36e1d23
JM
29774 [BZ #2551]
29775 [BZ #2552]
29776 [BZ #2553]
29777 [BZ #2554]
29778 [BZ #2562]
29779 [BZ #2563]
29780 [BZ #2565]
29781 [BZ #2566]
29782 [BZ #2576]
29783 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29784 (y0): Likewise.
29785 * math/w_j0f.c (j0f): Likewise.
29786 (y0f): Likewise.
29787 * math/w_j0l.c (__j0l): Likewise.
29788 (__y0l): Likewise.
29789 * math/w_j1.c (j1): Likewise.
29790 (y1): Likewise.
29791 * math/w_j1f.c (j1f): Likewise.
29792 (y1f): Likewise.
29793 * math/w_j1l.c (__j1l): Likewise.
29794 (__y1l): Likewise.
29795 * math/w_jn.c (jn): Likewise.
29796 (yn): Likewise.
29797 * math/w_jnf.c (jnf): Likewise.
29798 (ynf): Likewise.
29799 * math/w_jnl.c (__jnl): Likewise.
29800 (__ynl): Likewise.
29801 * math/libm-test.inc (j0_test): Add more tests.
29802 (j1_test): Likewise.
29803 (jn_test): Likewise. Add trailing semicolon to existing test.
29804 (y0_test): Likewise.
29805 (y1_test): Likewise.
29806 * sysdeps/i386/fpu/libm-test-ulps: Update.
29807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29808
11b90b9f
JM
29809 [BZ #13851]
29810 [BZ #13854]
29811 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29812 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29813 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29814 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29815 (__tanl): Set errno for infinite argument.
29816 * sysdeps/i386/fpu/mptan.c: Remove.
29817 * sysdeps/i386/fpu/s_tan.S: Likewise.
29818 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29819 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29820 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29821 * math/libm-test.inc (tan_test): Add more tests and enable more
29822 tests for double and long double.
29823 * sysdeps/i386/fpu/libm-test-ulps: Update.
29824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29825
6a1bd2a1
JK
298262012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29827
29828 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29829 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29830
10a803e0
RM
298312012-03-16 Roland McGrath <roland@hack.frob.com>
29832
29833 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29834 * configure.in: Use it for both main tree and add-ons.
29835 * configure: Regenerated.
29836
f196c7f7
L
298372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29838
29839 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29840
8848d99d
JM
298412012-03-16 Joseph Myers <joseph@codesourcery.com>
29842
96cbe7f4
JM
29843 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29844 in comment.
29845
8848d99d
JM
29846 [BZ #13851]
29847 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29848 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29849 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29851 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29852 infinite argument.
29853 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29855 != 0 for prec == 2.
29856 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29857 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29858 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29859 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29860 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29861 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29862 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29863 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29864 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29865 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29866 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29867 * math/libm-test.inc (cos_test): Add more tests and enable more
29868 tests for long double.
29869 (sin_test): Likewise.
29870 (sincos_test): Likewise.
29871 * sysdeps/i386/fpu/libm-test-ulps: Update.
29872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29873
dd7f4703
DM
298742012-03-16 David S. Miller <davem@davemloft.net>
29875
29876 * sysdeps/sparc/fpu/math_private.h: New file.
29877
006f1daa
DM
298782012-03-15 David S. Miller <davem@davemloft.net>
29879
c0c83bc8
DM
29880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29881 file.
e6a62e18 29882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
29883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29884 file.
e6a62e18
DM
29885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29891 sysdep routines.
29892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29893
88cb87d9
DM
29894 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29895 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29896
006f1daa 29897 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
29898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29899 sparc-ifunc.h
006f1daa 29900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
29901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29902 Likewise.
29903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29904 Likewise.
006f1daa
DM
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
29908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29909 Likewise.
006f1daa
DM
29910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
29914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29915 Likewise.
29916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29917 Likewise.
006f1daa
DM
29918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29942
11e0098e
AS
299432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29944
29945 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29946 scaling.
29947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29948
e85b09d0
AJ
299492012-03-15 Andreas Jaeger <aj@suse.de>
29950
29951 [BZ #13852]
29952 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29953 ieee754/flt-32 implementation for sin, cos and sincos.
29954 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29955 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29956 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29957 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29958 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29959 ieee754/flt-32 implementation for tan.
29960
29961 * math/libm-test.inc (cos_test): Enable some large input tests for
29962 float as well
29963 (sin_test): Likewise.
29964 (sincos_test): Likewise.
29965 (tan_test): Add tests for large input.
29966
29967 * sysdeps/i386/fpu/libm-test-ulps: Update.
29968
81c64153
AJ
299692012-03-15 Andreas Jaeger <aj@suse.de>
29970
29971 [BZ #13658]
29972 * math/libm-test.inc (cos_test): Add more test cases.
29973 (sin_test): Likewise.
29974 (sincos_test): Likewise.
29975
7bbfa5c6
AJ
299762012-03-15 Andreas Jaeger <aj@suse.de>
29977
29978 [BZ #13837]
29979 * math/libm-test.inc (cos_test): Add a test case for large input
29980 value.
29981 (sin_test): Likewise.
29982 (sincos_test): Likewise.
29983
299842012-03-15 Andreas Jaeger <aj@suse.de>,
29985 Joseph Myers <joseph@codesourcery.com>
29986
29987 [BZ #13658]
0671f479 29988 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
29989 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29990 * sysdeps/i386/fpu/branred.c: Likewise.
29991 * sysdeps/i386/fpu/dosincos.c: Likewise.
29992 * sysdeps/i386/fpu/mpa.c: Likewise.
29993 * sysdeps/i386/fpu/s_cos.S: Likewise.
29994 * sysdeps/i386/fpu/s_sin.S: Likewise.
29995 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29996 * sysdeps/i386/fpu/sincos32.c: Likewise.
29997
29998 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29999 Define.
30000 (libc_feupdateenv_53bit): Define.
30001 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30002 Define.
30003 (libc_feupdateenv_53bit): Define.
30004
30005 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30006 53 bit (without extend i386 double precision).
30007
30008 * math/libm-test.inc (sincos_test): Add tests for large input.
30009 (sin): Likewise.
30010 (cos): Likewise.
30011
30012 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30013
9cad04ea
AS
300142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30015
30016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30017
f7062b9a
DM
300182012-03-15 David S. Miller <davem@davemloft.net>
30019
30020 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30021 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30022 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30023 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30036 file.
f7062b9a 30037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30039 file.
f7062b9a 30040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30042 file.
f7062b9a 30043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30045 file.
f7062b9a
DM
30046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30047 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30048 fmin/fmax sysdep routines.
30049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30050
7bd951ff
DM
300512012-03-14 David S. Miller <davem@davemloft.net>
30052
559398ab
DM
30053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30082 routines.
30083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30084 file.
559398ab 30085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30087 file.
559398ab 30088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30090 file.
559398ab 30091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30093 file.
559398ab 30094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30096 file.
559398ab 30097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30099 file.
30100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30101 file.
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30103 file.
30104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30105 file.
30106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30107 New file.
30108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30109 file.
30110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30111 file.
559398ab 30112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30114 file.
559398ab 30115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30117 file.
559398ab 30118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30120 file.
559398ab 30121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30123 VIS3 routines.
559398ab
DM
30124
30125 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30126 New file.
30127
5a1c1e32
DM
30128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30129
eae47a36
DM
30130 * sysdeps/sparc/configure.in: New file.
30131 * sysdeps/sparc/configure: Generate.
30132 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30133 * configure: Regenerate.
30134 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30135 * config.make.in (have-as-vis3): New.
30136 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30137 available use -Av9d instead of -Av9a.
30138 * sysdeps/sparc/sparc64/Makefile: Likewise.
30139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30141 New file.
30142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30143 file.
30144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30145 New file.
30146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30147 file.
eae47a36
DM
30148 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30153
c0c83bc8
DM
30154 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30155 fzeros/fnegs to load 0x80000000 into a float register instead of
30156 using the stack.
7bd951ff
DM
30157 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30158
bd951ccb
JM
301592012-03-14 Joseph Myers <joseph@codesourcery.com>
30160
30161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30162 bits/syscall.h.
30163 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30164 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30165 ($(inst_includedir)/bits/syscall.h): Remove rule.
30166 ($(objpfx)bits/syscall.d): Include instead of
30167 $(objpfx)syscall-list.d.
30168 (generated): Change syscall-list.h and syscall-list.d to
30169 bits/syscall.h and bits/syscall.d.
30170
bb4e6db2
RM
301712012-03-14 Roland McGrath <roland@hack.frob.com>
30172
30173 [BZ #13846]
30174 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30175
aa4a2ae1
JM
301762012-03-14 Joseph Myers <joseph@codesourcery.com>
30177
e456826d
JM
30178 [BZ #13841]
30179 * math/s_csqrt.c: Include <float.h>.
30180 (__csqrt): Scale large or subnormal inputs.
30181 * math/s_csqrtf.c: Likewise.
30182 * math/s_csqrtl.c: Likewise.
30183 * math/libm-test.inc (csqrt_test): Add more tests.
30184 * sysdeps/i386/fpu/libm-test-ulps: Update.
30185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30186
aa4a2ae1
JM
30187 [BZ #13840]
30188 * math/libm-test.inc (hypot_test): Add more tests.
30189
7c10fd35
DM
301902012-03-13 David S. Miller <davem@davemloft.net>
30191
30192 [BZ #13840]
30193 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30194 double-precision for the calculation instead of scaling.
30195
f453b98b
JM
301962012-03-13 Joseph Myers <joseph@codesourcery.com>
30197
30198 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30199 manipulate bits before adding and subtracting TWO52[sx].
30200 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30201 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30202 Likewise.
30203 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30204
09a3453f
DM
302052012-03-13 David S. Miller <davem@davemloft.net>
30206
8e59da90
DM
30207 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30208 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30210 rtld-global-offsets.h
30211 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30212
2a8ab7f2
DM
30213 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30214 large parameters.
30215
10f62770
DM
30216 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30217
5f0bdb18
DM
30218 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30219 'err' in the ifdef scope in which it is actually used.
30220
09a3453f
DM
30221 * nss/nss_db/db-init.c: Include string.h
30222
b4b2eb5e
DM
302232012-03-12 David S. Miller <davem@davemloft.net>
30224
98bb2f1c
DM
30225 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30226 masking out of the most significant byte of random value used.
30227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30228 Fix coding style in previous change.
30229
b4b2eb5e
DM
30230 * sysdeps/unix/sysv/linux/kernel-features.h
30231 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30232 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30233 expression.
30234 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30235 later.
30236
6e226b09
DM
302372012-03-11 David S. Miller <davem@davemloft.net>
30238
a1bcbd40
DM
30239 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30240 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30241 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30242 for 'resultvar' otherwise things get truncated on 64-bit.
30243
cb9d6174
DM
30244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30245 Fix masking out of the most significant byte of random value used.
30246
6e226b09
DM
30247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30248
058c132d
AS
302492012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30250
30251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30252
2d2cd515
DM
302532012-03-09 David S. Miller <davem@davemloft.net>
30254
30255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30256 variables with appropriate CPP guards.
30257 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30258 frame pointer, not the stack pointer. Correct layout comments. Fix test
30259 on resulting framesize and the management of the outregs buffer for pltexit.
30260 Preserve floating point return values across _dl_call_pltexit call.
30261 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30262 framesize and the management of the outregs buffer for pltexit.
30263 Preserve floating point return values across _dl_call_pltexit
30264 call.
30265 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30266 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30267 (print_exit): Fix format string for return register value.
30268
9a07f9d0
JM
302692012-03-10 Joseph Myers <joseph@codesourcery.com>
30270
30271 * sunrpc/Makefile (others): Add rpcgen.
30272 ($(objpfx)rpcgen): Remove special build rule and dependency on
30273 libc.
30274 * sunrpc/rpcgen.c: New file.
30275
547b5e30
PE
302762012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30277
c524201a
PE
30278 [BZ #13673]
30279 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30280 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30281 * sysdeps/i386/crti.S: Likewise.
30282 * sysdeps/i386/crtn.S: Likewise.
30283 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30284 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30285 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30286 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30287 * sysdeps/sh/crti.S: Likewise.
30288 * sysdeps/sh/crtn.S: Likewise.
30289 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30290
7b6235f2
PE
30291 [BZ #13673]
30292 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30293 with URL.
30294 * locale/programs/locfile-kw.gperf: Likewise.
30295 * locale/programs/charmap-kw.h: Regenerated.
30296 * locale/programs/locfile-kw.h: Likewise.
30297
547b5e30
PE
30298 [BZ #13673]
30299 * intl/plural.y: Replace FSF snail mail address with URL.
30300 * intl/plural.c: Regenerated.
30301
5f0a5dae
RH
303022012-03-09 Richard Henderson <rth@twiddle.net>
30303
30304 * include/math_private.h: Remove file.
30305 * math/math_private.h: Move file ...
30306 * sysdeps/generic/math_private.h: ... here.
30307
b8c03620
RH
30308 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30309 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30310 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30311
4e234f5d 30312 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30313 and <math_private.h>.
30314 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30315 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30316 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30317 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30318 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30319 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30320 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30322 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30323 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30328 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30333 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30334 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30335 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30338 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30343 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30345 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30346 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30347 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30348 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30351 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30352 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30353 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30354 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30355 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30356 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30357 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30358 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30359 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30360 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30361 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30362 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30363 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30364 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30365 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30366 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30367 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30368 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30370 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30371 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30372 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30373 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30374 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30376 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30377 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30378 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30379 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30380 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30381 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30382 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30383 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30385 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30386 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30388 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30392 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30393 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30394 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30395 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30396 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30397 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30398 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30401 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30402 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30403 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30404 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30405 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30407 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30408 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30409 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30410 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30411 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30413 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30414 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30415 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30416 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30417 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30418 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30419 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30420 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30421 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30422 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30424 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30425 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30426 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30427 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30428 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30429 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30430 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30431 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30432 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30433 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30434 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30435 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30436 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30437 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30438 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30439 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30440 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30441 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30442 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30443 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30444 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30445 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30446 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30447 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30448 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30449 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30450 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30451 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30452 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30453 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30454 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30455 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30456 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30457 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30458 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30459 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30460 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30461 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30462 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30463 * sysdeps/ieee754/k_standard.c: Likewise.
30464 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30465 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30466 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30467 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30468 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30469 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30470 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30471 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30472 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30473 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30474 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30475 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30476 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30477 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30478 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30479 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30480 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30481 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30482 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30483 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30484 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30485 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30486 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30487 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30488 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30489 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30490 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30491 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30492 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30493 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30494 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30496 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30497 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30498 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30499 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30500 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30501 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30502 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30503 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30504 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30505 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30506 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30507 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30508 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30509 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30510 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30511 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30512 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30513 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30514 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30515 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30516 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30517 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30518 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30519 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30520 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30521 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30522 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30523 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30524 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30525 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30526 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30527 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30528 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30530 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30531 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30532 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30534 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30536 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30537 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30538 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30540 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30541 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30543 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30544 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30545 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30546 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30547 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30548 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30549 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30550 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30551 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30552 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30554 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30555 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30556 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30557 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30558 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30559 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30560 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30563 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30564 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30565 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30566 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30567 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30568 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30571 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30572 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30573 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30576 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30577 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30578 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30579 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30580 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30581 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30582 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30583 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30584 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30585 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30586 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30587 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30588 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30589 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30590 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30591 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30592 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30593 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30594 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30595 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30596 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30597 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30598 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30599 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30600 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30601 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30602 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30603 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30604 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30605 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30606 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30607 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30608 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30609 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30610 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30611 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30612 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30613 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30614 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30617 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30618 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30619 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30620 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30624 * sysdeps/ieee754/s_lib_version.c: Likewise.
30625 * sysdeps/ieee754/s_matherr.c: Likewise.
30626 * sysdeps/ieee754/s_signgam.c: Likewise.
30627 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30628 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30629 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30630 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30631 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30632 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30633 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30634 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30635 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30636 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30637 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30638 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30639 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30640 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30641 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30642 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30643 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30644 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30645 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30648
1991fa03
JM
306492012-03-09 Joseph Myers <joseph@codesourcery.com>
30650
30651 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30652 * sunrpc/rpc_main.c: Likewise.
30653 * sunrpc/rpc_svcout.c: Likewise.
30654
60d6f5a6
DM
306552012-03-09 David S. Miller <davem@davemloft.net>
30656
30657 * include/math_private.h: New file.
30658
4962050e
JM
306592012-03-09 Joseph Myers <joseph@codesourcery.com>
30660
02a6f887
JM
30661 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30662 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30663 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30664 from <bits/socket_type.h>.
30665 (enum __socket_type): Don't define here.
30666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30668 bits/socket_type.h.
30669
c6e013c1
JM
30670 [BZ #13566]
30671 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30672 checking __USE_GNU.
30673
4962050e
JM
30674 * Makerules ($(inst_includedir)/%.h): New rule.
30675 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30676 (install-others): Remove variable setting.
30677 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30678
38842f45
RH
306792012-03-08 Richard Henderson <rth@twiddle.net>
30680
67bb6da6
RH
30681 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30682 from macro to inline function; merge with the
30683 !__LIBC_INTERNAL_MATH_INLINES version.
30684 (__ieee754_sqrtf): Likewise.
30685
15194b4b
RH
30686 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30687 to inline function.
30688 (__rintf, __floor, __floorf): Likewise.
30689
64e21ede
RH
30690 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30691 macro to inline function.
30692 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30693
38842f45
RH
30694 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30695 not <math/math_private.h>.
30696
c64bf5fe
DM
306972012-03-08 David S. Miller <davem@davemloft.net>
30698
30699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30700 copyright year.
30701 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30702
82d86f28
TS
307032012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30704
30705 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30706 normalization.
30707 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30708 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30709
aea5d727
UD
307102012-03-08 Ulrich Drepper <drepper@gmail.com>
30711
30712 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30713 be defined individually, they must be defined as a block. Define
30714 S for printing a string instead of hidint the different by using a
30715 macro for adding the 'l'.
30716 * stdio-common/tst-fphex-wide.c: Adjust.
30717
70bca0a3
MP
307182012-03-07 Marek Polacek <polacek@redhat.com>
30719
30720 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30721
65b81130
MP
307222012-03-08 Marek Polacek <polacek@redhat.com>
30723
30724 [BZ #13806]
30725 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30726 * stdio-common/tst-fphex.c: Define a few macros to make the
30727 test reusable. Use them.
30728 * stdio-common/tst-fphex-wide.c: New file.
30729
07037eeb
JM
307302012-03-08 Joseph Myers <joseph@codesourcery.com>
30731
a7a93d50
JM
30732 [BZ #6911]
30733 * manual/macros.texi (gnusystems): New macro.
30734 (nongnusystems): Likewise.
30735 (gnulinuxhurdsystems): Likewise.
30736 (gnuhurdsystems): Likewise..
30737 (gnulinuxsystems): Likewise.
30738 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30739 variants of the GNU system, not "GNU system".
30740 * manual/conf.texi: Likewise.
30741 * manual/errno.texi: Likewise. Update example of errno macro
30742 expansion.
30743 * manual/filesys.texi: Likewise.
30744 (getumask): Document as specific to GNU/Hurd.
30745 * manual/install.texi: Likewise. Reword some references to
30746 GNU/Linux.
30747 * manual/intro.texi: Likewise.
30748 * manual/io.texi: Likewise.
30749 (File Name Portability): Detail which constraints are inapplicable
30750 to all GNU systems and which are only inapplicable to GNU/Hurd.
30751 * manual/job.texi: Likewise.
30752 * manual/llio.texi: Likewise.
30753 (O_NOCTTY): Document as present on GNU/Linux.
30754 * manual/maint.texi: Likewise.
30755 * manual/memory.texi: Likewise.
30756 * manual/pattern.texi: Likewise.
30757 * manual/pipe.texi: Likewise.
30758 * manual/process.texi: Likewise.
30759 * manual/resource.texi: Likewise.
30760 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30761 child on GNU/Hurd.
30762 * manual/setjmp.texi: Likewise.
30763 * manual/signal.texi: Likewise.
30764 * manual/startup.texi: Likewise.
30765 * manual/stdio.texi: Likewise.
30766 * manual/terminal.texi: Likewise.
30767 (ONLCR): Document as POSIX.
30768 (OXTABS): Document availability on GNU/Linux as XTABS.
30769 (ONOEOT): Document availability separately from other bits.
30770 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30771 * manual/time.texi: Likewise.
30772 * manual/users.texi: Likewise.
30773 * INSTALL: Regenerated.
30774 * sysdeps/gnu/errlist.c: Regenerated.
30775
07037eeb
JM
30776 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30777 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30778 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30779 puts.
30780 * configure: Regenerated.
30781
d1d3431a
JM
307822012-03-07 Joseph Myers <joseph@codesourcery.com>
30783
af6a1e37
JM
30784 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30785 default includes instead of AC_HEADER_CHECK.
30786 * sysdeps/i386/configure: Regenerated.
30787
d1d3431a
JM
30788 [BZ #10716]
30789 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30790 * math/s_cacoshf.c (__cacoshf): Likewise.
30791 * math/s_cacoshl.c (__cacoshl): Likewise.
30792 * math/s_casinh.c (__casinh): Set signs of result from argument.
30793 * math/s_casinhf.c (__casinhf): Likewise.
30794 * math/s_casinhl.c (__casinhl): Likewise.
30795 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30796 (casinh_test): Add more tests.
30797 * sysdeps/i386/fpu/libm-test-ulps: Update.
30798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30799
482ff4da
UD
308002012-03-07 Ulrich Drepper <drepper@gmail.com>
30801
872fda05
UD
30802 * po/zh_TW.po: Update from translation team.
30803
a4300c7a
UD
30804 * login/Makefile (distribute): Remove variable.
30805 * catgets/Makefile: Likewise.
30806 * mach/Makefile: Likewise.
30807 * malloc/Makefile: Likewise.
30808 * misc/Makefile: Likewise.
30809 * iconv/Makefile: Likewise.
30810 * nscd/Makefile: Likewise.
30811 * hurd/Makefile: Likewise.
30812 * manual/Makefile: Likewise.
30813 * locale/Makefile: Likewise.
30814 * intl/Makefile: Likewise.
30815 * conform/Makefile: Likewise.
30816 * nss/Makefile: Likewise.
30817 * time/Makefile: Likewise.
30818 * soft-fp/Makefile: Likewise.
30819 * dirent/Makefile: Likewise.
30820 * gmon/Makefile: Likewise.
30821 * po/Makefile: Likewise.
30822 * rt/Makefile: Likewise.
30823 * socket/Makefile: Likewise.
30824 * math/Makefile: Likewise.
30825 * signal/Makefile: Likewise.
30826 * debug/Makefile: Likewise.
30827 * elf/Makefile: Likewise.
30828 * timezone/Makefile: Likewise.
30829 * stdlib/Makefile: Likewise.
30830 * iconvdata/Makefile: Likewise.
30831 * sunrpc/Makefile: Likewise.
30832 * io/Makefile: Likewise.
30833 * argp/Makefile: Likewise.
30834 * inet/Makefile: Likewise.
30835 * hesiod/Makefile: Likewise.
30836 * grp/Makefile: Likewise.
30837 * csu/Makefile: Likewise.
30838 * wctype/Makefile: Likewise.
30839 * crypt/Makefile: Likewise.
30840 * libio/Makefile: Likewise.
30841 * string/Makefile: Likewise.
30842 * nis/Makefile: Likewise.
30843 * resolv/Makefile: Likewise.
30844 * stdio-common/Makefile: Likewise.
30845 * wcsmbs/Makefile: Likewise.
30846 * dlfcn/Makefile: Likewise.
30847 * posix/Makefile: Likewise.
30848
3b7c4e74 30849 [BZ #6959]
482ff4da
UD
30850 * timezone/Makefile: Don't install timezone files, just the programs
30851 and scripts.
30852
f72ed77d
UD
308532012-03-06 Ulrich Drepper <drepper@gmail.com>
30854
a000466f
UD
30855 * nss/databases.def: Add missing gshadow entry.
30856
f72ed77d
UD
30857 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30858
a53b7a4e
MP
308592012-03-06 Marek Polacek <polacek@redhat.com>
30860
30861 [BZ #13726]
30862 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30863 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30864 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30865 * stdio-common/tst-long-dbl-fphex.c: New file.
30866
e9258400
DM
308672012-03-06 David S. Miller <davem@davemloft.net>
30868
30869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30870 (set_obp_int): New function.
30871 (get_obp_int): New function.
30872 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
30873 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30874 Avoid unused variable warnings on 'val' and use builtin_expect.
30875 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30876 __builtin_expect.
e9258400
DM
30877 (INLINE_CLONE_SYSCALL): Likewise.
30878
3bd2c723
DM
308792012-03-05 David S. Miller <davem@davemloft.net>
30880
30881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30882
bbb78d03
AS
308832012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30884
884c5db4
AS
30885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30886
bbb78d03
AS
30887 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30888 only for |x| >= 40.
30889 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30890
1c9f702a 308912012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
30892
30893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30894 Replace gettimeofday with __vdso_gettimeofday.
30895
7be16f82
RM
30896 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30897 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30898 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
30899
30900 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30901 time with __vdso_time.
30902
ed58a00f
JM
309032012-03-05 Joseph Myers <joseph@codesourcery.com>
30904
30905 * manual/lang.texi (size_t): Note types to which size_t may be
30906 equivalent with the GNU C Library, but do not describe when
30907 differences between them are significant.
30908
30ee4ced
AJ
309092012-03-05 Andreas Jaeger <aj@suse.de>
30910
30911 * sysdeps/i386/fpu/libm-test-ulps: Update.
30912
b7cd39e8
JM
309132012-03-05 Joseph Myers <joseph@codesourcery.com>
30914
30915 [BZ #3976]
30916 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30917 (__ieee754_pow): Save and restore rounding mode and use
30918 round-to-nearest for main computations.
30919 * math/libm-test.inc (pow_test_tonearest): New function.
30920 (pow_test_towardzero): Likewise.
30921 (pow_test_downward): Likewise.
30922 (pow_test_upward): Likewise.
30923 (main): Call the new functions.
30924 * sysdeps/i386/fpu/libm-test-ulps: Update.
30925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
30926
30927 [BZ #3976]
30928 * math/libm-test.inc (cosh_test_tonearest): New function.
30929 (cosh_test_towardzero): Likewise.
30930 (cosh_test_downward): Likewise.
30931 (cosh_test_upward): Likewise.
30932 (sinh_test_tonearest): Likewise.
30933 (sinh_test_towardzero): Likewise.
30934 (sinh_test_downward): Likewise.
30935 (sinh_test_upward): Likewise.
30936 (main): Call the new functions.
30937 * sysdeps/i386/fpu/libm-test-ulps: Update.
30938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30939
6c6a98c9
TV
309402012-03-05 Tom de Vries <tom@codesourcery.com>
30941
30942 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30943 default stack guard is set in last bytes.
30944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30945
21bb2d2e 309462012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 30947
21bb2d2e 30948 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 30949
21bb2d2e
AJ
30950 [BZ #13656]
30951 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30952 possibly allocate from heap instead of stack.
30953 * stdio-common/bug-vfprintf-nargs.c: New file.
30954 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 30955
c6922934
AS
309562012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30957
30958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30959
bc957d53
MP
309602012-03-03 Marek Polacek <polacek@redhat.com>
30961
30962 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30963 * math/math_private.h: Likewise.
30964 * stdlib/tst-strtod.c: Likewise.
30965 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30966 * sysdeps/x86_64/bits/atomic.h: Likewise.
30967
6358490d
DM
309682012-03-02 David S. Miller <davem@davemloft.net>
30969
30970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30974 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30975 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30976 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30977 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30978
01ae168d
RM
309792012-03-02 Roland McGrath <roland@hack.frob.com>
30980
d9a17c07
RM
30981 [BZ #13792]
30982 * manual/examples/README: New file, says the example source files
30983 can be used under GPL>=2.
30984 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30985 line containing just "*/".
30986 * manual/examples/add.c: Add copyright header (GPL>=2).
30987 * manual/examples/argp-ex1.c: Likewise.
30988 * manual/examples/argp-ex2.c: Likewise.
30989 * manual/examples/argp-ex3.c: Likewise.
30990 * manual/examples/argp-ex4.c: Likewise.
30991 * manual/examples/atexit.c: Likewise.
30992 * manual/examples/db.c: Likewise.
30993 * manual/examples/dir.c: Likewise.
30994 * manual/examples/dir2.c: Likewise.
30995 * manual/examples/execinfo.c: Likewise.
30996 * manual/examples/filecli.c: Likewise.
30997 * manual/examples/filesrv.c: Likewise.
30998 * manual/examples/fmtmsgexpl.c: Likewise.
30999 * manual/examples/genpass.c: Likewise.
31000 * manual/examples/inetcli.c: Likewise.
31001 * manual/examples/inetsrv.c: Likewise.
31002 * manual/examples/isockad.c: Likewise.
31003 * manual/examples/longopt.c: Likewise.
31004 * manual/examples/memopen.c: Likewise.
31005 * manual/examples/memstrm.c: Likewise.
31006 * manual/examples/mkfsock.c: Likewise.
31007 * manual/examples/mkisock.c: Likewise.
31008 * manual/examples/mygetpass.c: Likewise.
31009 * manual/examples/pipe.c: Likewise.
31010 * manual/examples/popen.c: Likewise.
31011 * manual/examples/rprintf.c: Likewise.
31012 * manual/examples/search.c: Likewise.
31013 * manual/examples/select.c: Likewise.
31014 * manual/examples/setjmp.c: Likewise.
31015 * manual/examples/sigh1.c: Likewise.
31016 * manual/examples/sigusr.c: Likewise.
31017 * manual/examples/stpcpy.c: Likewise.
31018 * manual/examples/strdupa.c: Likewise.
31019 * manual/examples/strftim.c: Likewise.
31020 * manual/examples/strncat.c: Likewise.
31021 * manual/examples/subopt.c: Likewise.
31022 * manual/examples/swapcontext.c: Likewise.
31023 * manual/examples/termios.c: Likewise.
31024 * manual/examples/testopt.c: Likewise.
31025 * manual/examples/testpass.c: Likewise.
31026 * manual/examples/timeval_subtract.c: Likewise.
31027
01ae168d
RM
31028 [BZ #13792]
31029 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31030 function to ...
31031 * manual/timeval_subtract.c.texi: ... here, new file.
31032
49efa33d
DM
310332012-03-02 David S. Miller <davem@davemloft.net>
31034
31035 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31036
28afd92d
JM
310372012-03-02 Joseph Myers <joseph@codesourcery.com>
31038
804360ed
JM
31039 [BZ #3976]
31040 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31041 (__sin): Save and restore rounding mode and use round-to-nearest
31042 for all computations.
31043 (__cos): Save and restore rounding mode and use round-to-nearest
31044 for all computations.
31045 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31046 <fenv.h>.
31047 (tan): Save and restore rounding mode and use round-to-nearest for
31048 all computations.
31049 * math/libm-test.inc (cos_test_tonearest): New function.
31050 (cos_test_towardzero): Likewise.
31051 (cos_test_downward): Likewise.
31052 (cos_test_upward): Likewise.
31053 (sin_test_tonearest): Likewise.
31054 (sin_test_towardzero): Likewise.
31055 (sin_test_downward): Likewise.
31056 (sin_test_upward): Likewise.
31057 (tan_test_tonearest): Likewise.
31058 (tan_test_towardzero): Likewise.
31059 (tan_test_downward): Likewise.
31060 (tan_test_upward): Likewise.
31061 (main): Call the new functions.
31062 * sysdeps/i386/fpu/libm-test-ulps: Update.
31063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31064
a6d06d7b
JM
31065 [BZ #10135]
31066 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31067 small n, then large n, before computing and testing k+n.
31068 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31070 Likewise.
31071 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31072 Likewise.
31073 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31074 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31076 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31079 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31080 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31081 * math/libm-test.inc (scalbn_test): Add more tests.
31082 (scalbln_test): Likewise.
31083
07e12bb3
JM
31084 * manual/filesys.texi (mode_t): Describe constraints on size and
31085 signedness, not exact equivalence to a particular type.
31086 (ino_t): Likewise.
31087 (ino64_t): Likewise.
31088 (dev_t): Likewise.
31089 (nlink_t): Likewise.
31090 (blkcnt_t): Likewise.
31091 (blkcnt64_t): Likewise.
31092 * manual/llio.texi (off_t): Likewise.
31093
28afd92d
JM
31094 [BZ #3976]
31095 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31096 (__ieee754_exp): Save and restore rounding mode and use
31097 round-to-nearest for all computations.
31098 * math/libm-test.inc (exp_test_tonearest): New function.
31099 (exp_test_towardzero): Likewise.
31100 (exp_test_downward): Likewise.
31101 (exp_test_upward): Likewise.
31102 (main): Call the new functions.
31103 * sysdeps/i386/fpu/libm-test-ulps: Update.
31104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31105
b1eeb65d
CD
311062012-03-01 Chris Demetriou <cgd@google.com>
31107
31108 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31109 have predictable order.
31110
53362a4b
DM
311112012-03-01 David S. Miller <davem@davemloft.net>
31112
3c969083
DM
31113 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31114
759707de
DM
31115 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31116 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31117 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31118 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31119
dfdb8ff2
DM
31120 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31121 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31122 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31124 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31125 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31126 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31127 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31128 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31129
ead89f96
DM
31130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31131
7f66bd07
DM
31132 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31133 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31134 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31135
53362a4b
DM
31136 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31137 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31138 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31139 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31140 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31141 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31142 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31143 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31144 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31145 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31146 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31147 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31149 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31150 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31152 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31153 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31154 * sysdeps/sparc/elf/configure: Regenerated.
31155
7b1902cb
JM
311562012-03-01 Joseph Myers <joseph@codesourcery.com>
31157
bec039bc
JM
31158 * configure.in (AS, LD): Require binutils 2.20 or later.
31159 * configure: Regenerated.
31160 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31161 as required minimum version.
31162 * INSTALL: Regenerated.
31163
7b1902cb
JM
31164 [BZ #2541]
31165 [BZ #4108]
31166 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31167 before squaring exponent.
31168 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31169 bottom long double and 27 bits of top long double before squaring
31170 exponent.
31171 * math/libm-test.inc (erfc_test): Add more tests.
31172 * sysdeps/i386/fpu/libm-test-ulps: Update.
31173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31175
f775c276
KT
311762012-03-01 Kai Tietz <ktietz@redhat.com>
31177
31178 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31179 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31180 containing bit-fields.
31181 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31182 * soft-fp/single.h (_FP_UNION_S): Likewise.
31183 * soft-fp/double.h (_FP_UNION_D): Likewise.
31184
5b8a4d4a
JM
311852012-02-29 Joseph Myers <joseph@codesourcery.com>
31186
0bab47b6
JM
31187 [BZ #13786]
31188 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31189 not include ../strcmp.S.
31190 [USE_AS_STRNCASECMP_L]: Likewise.
31191 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31192 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31193 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31194 (__strncasecmp_l_ia32): Define as alias to
31195 __strncasecmp_l_nonascii.
31196
0fcad3e2
JM
31197 [BZ #5794]
31198 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31199 * sysdeps/i386/fpu/libm-test-ulps: Update.
31200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31201
5b8a4d4a
JM
31202 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31204
8fdceb2e
JL
312052012-02-29 Jeff Law <law@redhat.com>
31206
31207 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31208 out of bounds read.
31209
1f393a11
MP
312102012-02-29 Marek Polacek <polacek@redhat.com>
31211
31212 [BZ #13706]
31213 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31214 * elf/Makefile: Add rules to run tst-unused-dep.out.
31215
8847f037
DM
312162012-02-28 David S. Miller <davem@davemloft.net>
31217
31218 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31219 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31220 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31222 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31223 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31224
169d7f11
JM
312252012-02-29 Joseph Myers <joseph@codesourcery.com>
31226
31227 * math/libm-test.inc (llround_test): Move one test from
31228 lround_test. Use TEST_f_L in moved test.
31229 (lround_test): Move misplaced test to llround_test. Add testcase
31230 from bug 2561.
31231
39adf059
UD
312322012-02-28 Ulrich Drepper <drepper@gmail.com>
31233
31234 * sysdeps/x86_64/fpu/e_expf.S: New file.
31235 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31236
71b5d1c5
SB
312372012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31238
31239 [BZ #13637]
31240 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31241 of remain_len that may cause incomplete multi-byte character and
31242 false match.
31243 * posix/bug-regex33.c: New file.
31244 * posix/Makefile (tests): Add bug-regex33.
31245
1f77f049
JM
312462012-02-28 Joseph Myers <joseph@codesourcery.com>
31247
31248 * manual/macros.texi: New file.
31249 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31250 * manual/libc.texinfo: Include macros.texi.
31251 * manual/creatute.texi: Likewise.
31252 * manual/install.texi: Likewise.
31253 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31254 @glibcadj{} in references to the GNU C Library.
31255 * manual/charset.texi: Likewise.
31256 * manual/conf.texi: Likewise.
31257 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31258 when not using those macros.
31259 * manual/creature.texi: Likewise.
31260 * manual/crypt.texi: Likewise.
31261 * manual/errno.texi: Likewise.
31262 * manual/filesys.texi: Likewise.
31263 * manual/header.texi: Likewise.
31264 * manual/install.texi: Likewise.
31265 * manual/intro.texi: Likewise.
31266 * manual/io.texi: Likewise.
31267 * manual/job.texi: Likewise.
31268 * manual/lang.texi: Likewise.
31269 * manual/libc.texiinfo: Likewise.
31270 * manual/llio.texi: Likewise.
31271 * manual/locale.texi: Likewise.
31272 * manual/maint.texi: Likewise.
31273 * manual/math.texi: Likewise.
31274 * manual/memory.texi: Likewise.
31275 * manual/message.texi: Likewise.
31276 * manual/nss.texi: Likewise.
31277 * manual/pattern.texi: Likewise.
31278 * manual/process.texi: Likewise.
31279 * manual/resource.texi: Likewise.
31280 * manual/search.texi: Likewise.
31281 * manual/setjmp.texi: Likewise.
31282 * manual/signal.texi: Likewise.
31283 * manual/socket.texi: Likewise.
31284 * manual/startup.texi: Likewise.
31285 * manual/stdio.texi: Likewise.
31286 * manual/string.texi: Likewise.
31287 * manual/sysinfo.texi: Likewise.
31288 * manual/syslog.texi: Likewise.
31289 * manual/terminal.texi: Likewise.
31290 * manual/time.texi: Likewise.
31291 * manual/users.texi: Likewise.
31292 * INSTALL: Regenerated.
31293 * NOTES: Regenerated.
d40c5d54 31294 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31295
450bf206
AS
312962012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31297
31298 * include/dirent.h: Include <dirstream.h> before
31299 <dirent/dirent.h>.
31300
741a235b
DM
313012012-02-28 David S. Miller <davem@davemloft.net>
31302
31303 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31304 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31305 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31306 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31307
d6b5aa58
DM
313082012-02-27 David S. Miller <davem@davemloft.net>
31309
1aff59a3
DM
31310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31312 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31313 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31314
d6b5aa58
DM
31315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31316 frame pointer instead of stack pointer relative arg slot.
31317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31318 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31319 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31320
433f48bf
CD
313212012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31322
31323 [BZ #3992]
31324 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31325
d674b76d
DM
313262012-02-27 David S. Miller <davem@davemloft.net>
31327
31328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31332 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31333 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31334 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31335 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31336
0e7727f7
JM
313372012-02-27 Joseph Myers <joseph@codesourcery.com>
31338
31339 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31340 later. Allow versions 5-9.
43be4ca2 31341 * configure: Regenerated.
0e7727f7
JM
31342 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31343 required minimum version and 4.6 as recommended version. Do not
31344 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31345 * INSTALL: Regenerated.
0e7727f7 31346
a78bc654
DM
313472012-02-27 David S. Miller <davem@davemloft.net>
31348
428d5830
DM
31349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31353 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31354 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31355 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31356 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31357
a78bc654
DM
31358 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31359 manipulate bits before adding and subtracting TWO112[sx].
31360 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31361
4579f81c
RM
313622012-02-27 Roland McGrath <roland@hack.frob.com>
31363
36c8acb4
RM
31364 [BZ #13775]
31365 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31366 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31367 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31368 being in POSIX, because they are in 1003.1-2008.
31369
84ad622b
RM
31370 * rt/tst-aio.c: Include <fcntl.h>.
31371 * rt/tst-aio7.c: Likewise.
31372 * rt/tst-aio64.c: Likewise.
31373
4579f81c
RM
31374 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31375
abd923db
JM
313762012-02-27 Joseph Myers <joseph@codesourcery.com>
31377
31378 * manual/install.texi (--with-headers): Describe headers as
31379 interface headers, not private headers.
31380 (Specific advice for GNU/Linux systems): Describe use of headers
31381 from "make headers_install", not private headers from older
31382 kernels.
43be4ca2 31383 * INSTALL: Regenerated.
abd923db
JM
31384 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31385 Change to 2.6.19.
31386 * sysdeps/unix/sysv/linux/configure: Regenerated.
31387
6664049b
JM
31388 * manual/llio.texi (fclean): Remove documentation.
31389
bb8b6697
JM
31390 * manual/Makefile (libc-texi-generated): New variable. Include
31391 version.texi.
31392 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31393 $(libc-texi-generated), not duplicated list of files.
31394 (version.texi, stamp-version): New rules.
31395 (realclean): Remove $(libc-texi-generated), not individual files
31396 from that list. Do not remove dir-add.texinfo.
31397 * manual/libc.texinfo: Comment out uses of edition numbers and
31398 references to printed manual. Remove last-updated dates.
31399 (EDITION): Comment out.
31400 (ISBN): Likewise.
31401 (VERSION, UPDATED): Remove.
31402 (version.texi): Include.
31403
12e5c3b9
AS
314042012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31405
31406 * sysdeps/posix/spawni.c: Include <signal.h>.
31407 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31408 * sysdeps/pthread/aio_fsync.c: Likewise.
31409
4efeffc1 314102012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31411
ba63ba08
UD
31412 * conform/Makefile (tests): Run only when not cross-compiling and
31413 when fast-check is not defined.
31414
d94a4670
UD
31415 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31416 * conform/data/limits.h-data: Fixes for POSIX2008.
31417 * conform/run-conformtest.sh: Run all tests.
31418 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31419 headers.
31420 * include/bits/dlfcn.h: Likewise.
31421 * include/langinfo.h: Likewise.
31422 * include/monetary.h: Likewise.
31423 * include/sys/poll.h: Likewise.
31424
31425 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31426 for __USE_GNU.
31427 * posix/spawn.h: Define __need_sigset_t.
31428 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31429 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31430 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31431 to get sigevent_t only.
31432 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31433 only for __USE_GNU.
31434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31435 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31436 process_vm_writev only for __USE_GNU.
31437 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31438
31439 * conform/Makefile: For now ignore errors from run-conformtest.
31440 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31441 POSIX to avoid namespace pollution. Don't prepend headers.
31442 * conform/data/aio.h-data: Fixes for POSIX testing.
31443 * conform/data/fcntl.h-data: Likewise.
31444 * conform/data/glob.h-data: Likewise.
31445 * conform/data/grp.h-data: Likewise.
31446 * conform/data/pthread.h-data: Likewise.
31447 * conform/data/pwd.h-data: Likewise.
31448 * conform/data/signal.h-data: Likewise.
31449 * conform/data/spawn.h-data: Likewise.
31450 * conform/data/stdio.h-data: Likewise.
31451 * conform/data/stdlib.h-data: Likewise.
31452 * conform/data/stropts.h-data: Likewise.
31453 * conform/data/sys/mman.h-data: Likewise.
31454 * conform/data/sys/stat.h-data: Likewise.
31455 * conform/data/sys/types.h-data: Likewise.
31456 * conform/data/sys/wait.h-data: Likewise.
31457 * conform/data/time.h-data: Likewise.
31458 * conform/data/unistd.h-data: Likewise.
31459 * conform/data/utime.h-data: Likewise.
31460
31461 * io/sys/stat.h: fchmod was always in POSIX.
31462 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31463 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31464 * rt/aio.h: Define __need_timespec before including <time.h>.
31465 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31466 struct. Add forward declaration of pthread_attr_t and use it in
31467 sigevent.
31468 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31469 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31470 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31471 always remove CLK_TCK definition.
31472
c20105c3
AS
314732012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31474
31475 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31476
7a270350
UD
314772012-02-25 Ulrich Drepper <drepper@gmail.com>
31478
31341567
UD
31479 * conform/run-conformtest.sh: New file.
31480 * conform/Makefile: Run run-conformtest for tests.
31481 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31482 support.
31483
31484 * conform/data/uchar.h-data: New file.
31485 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31486 * conform/data/arpa/inet.h-data: Likewise.
31487 * conform/data/assert.h-data: Likewise.
31488 * conform/data/complex.h-data: Likewise.
31489 * conform/data/cpio.h-data: Likewise.
31490 * conform/data/ctype.h-data: Likewise.
31491 * conform/data/dirent.h-data: Likewise.
31492 * conform/data/dlfcn.h-data: Likewise.
31493 * conform/data/errno.h-data: Likewise.
31494 * conform/data/fcntl.h-data: Likewise.
31495 * conform/data/float.h-data: Likewise.
31496 * conform/data/fmtmsg.h-data: Likewise.
31497 * conform/data/fnmatch.h-data: Likewise.
31498 * conform/data/ftw.h-data: Likewise.
31499 * conform/data/glob.h-data: Likewise.
31500 * conform/data/grp.h-data: Likewise.
31501 * conform/data/iconv.h-data: Likewise.
31502 * conform/data/inttypes.h-data: Likewise.
31503 * conform/data/langinfo.h-data: Likewise.
31504 * conform/data/libgen.h-data: Likewise.
31505 * conform/data/limits.h-data: Likewise.
31506 * conform/data/locale.h-data: Likewise.
31507 * conform/data/math.h-data: Likewise.
31508 * conform/data/monetary.h-data: Likewise.
31509 * conform/data/mqueue.h-data: Likewise.
31510 * conform/data/ndbm.h-data: Likewise.
31511 * conform/data/net/if.h-data: Likewise.
31512 * conform/data/netdb.h-data: Likewise.
31513 * conform/data/netinet/in.h-data: Likewise.
31514 * conform/data/nl_types.h-data: Likewise.
31515 * conform/data/poll.h-data: Likewise.
31516 * conform/data/pthread.h-data: Likewise.
31517 * conform/data/pwd.h-data: Likewise.
31518 * conform/data/regex.h-data: Likewise.
31519 * conform/data/sched.h-data: Likewise.
31520 * conform/data/search.h-data: Likewise.
31521 * conform/data/semaphore.h-data: Likewise.
31522 * conform/data/setjmp.h-data: Likewise.
31523 * conform/data/signal.h-data: Likewise.
31524 * conform/data/spawn.h-data: Likewise.
31525 * conform/data/stdarg.h-data: Likewise.
31526 * conform/data/stdio.h-data: Likewise.
31527 * conform/data/stdlib.h-data: Likewise.
31528 * conform/data/string.h-data: Likewise.
31529 * conform/data/strings.h-data: Likewise.
31530 * conform/data/stropts.h-data: Likewise.
31531 * conform/data/sys/ipc.h-data: Likewise.
31532 * conform/data/sys/mman.h-data: Likewise.
31533 * conform/data/sys/msg.h-data: Likewise.
31534 * conform/data/sys/resource.h-data: Likewise.
31535 * conform/data/sys/select.h-data: Likewise.
31536 * conform/data/sys/sem.h-data: Likewise.
31537 * conform/data/sys/shm.h-data: Likewise.
31538 * conform/data/sys/socket.h-data: Likewise.
31539 * conform/data/sys/stat.h-data: Likewise.
31540 * conform/data/sys/statvfs.h-data: Likewise.
31541 * conform/data/sys/time.h-data: Likewise.
31542 * conform/data/sys/timeb.h-data: Likewise.
31543 * conform/data/sys/times.h-data: Likewise.
31544 * conform/data/sys/types.h-data: Likewise.
31545 * conform/data/sys/uio.h-data: Likewise.
31546 * conform/data/sys/un.h-data: Likewise.
31547 * conform/data/sys/utsname.h-data: Likewise.
31548 * conform/data/sys/wait.h-data: Likewise.
31549 * conform/data/syslog.h-data: Likewise.
31550 * conform/data/tar.h-data: Likewise.
31551 * conform/data/termios.h-data: Likewise.
31552 * conform/data/utime.h-data: Likewise.
31553 * conform/data/utmpx.h-data: Likewise.
31554 * conform/data/varargs.h-data: Likewise.
31555 * conform/data/wchar.h-data: Likewise.
31556 * conform/data/wctype.h-data: Likewise.
31557 * conform/data/wordexp.h-data: Likewise.
31558
31559 * include/stropts.h: New file.
31560 * include/uchar.h: New file.
31561 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31562 * include/assert.h: Likewise.
31563 * include/ctype.h: Likewise.
31564 * include/dirent.h: Likewise.
31565 * include/dlfcn.h: Likewise.
31566 * include/fcntl.h: Likewise.
31567 * include/fnmatch.h: Likewise.
31568 * include/glob.h: Likewise.
31569 * include/grp.h: Likewise.
31570 * include/libio.h: Likewise.
31571 * include/locale.h: Likewise.
31572 * include/math.h: Likewise.
31573 * include/net/if.h: Likewise.
31574 * include/netdb.h: Likewise.
31575 * include/netinet/in.h: Likewise.
31576 * include/pthread.h: Likewise.
31577 * include/pwd.h: Likewise.
31578 * include/regex.h: Likewise.
31579 * include/sched.h: Likewise.
31580 * include/search.h: Likewise.
31581 * include/setjmp.h: Likewise.
31582 * include/signal.h: Likewise.
31583 * include/stdio.h: Likewise.
31584 * include/stdlib.h: Likewise.
31585 * include/string.h: Likewise.
31586 * include/sys/cdefs.h: Likewise.
31587 * include/sys/mman.h: Likewise.
31588 * include/sys/msg.h: Likewise.
31589 * include/sys/resource.h: Likewise.
31590 * include/sys/select.h: Likewise.
31591 * include/sys/socket.h: Likewise.
31592 * include/sys/stat.h: Likewise.
31593 * include/sys/statvfs.h: Likewise.
31594 * include/sys/time.h: Likewise.
31595 * include/sys/times.h: Likewise.
31596 * include/sys/uio.h: Likewise.
31597 * include/sys/utsname.h: Likewise.
31598 * include/sys/wait.h: Likewise.
31599 * include/termios.h: Likewise.
31600 * include/time.h: Likewise.
31601 * include/ulimit.h: Likewise.
31602 * include/unistd.h: Likewise.
31603 * include/utime.h: Likewise.
31604 * include/wchar.h: Likewise.
31605 * include/wctype.h: Likewise.
31606 * include/wordexp.h: Likewise.
31607
31608 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31609
7a270350
UD
31610 * time/time.h: TIME_UTC must be a macro.
31611 Make timespec_get available for ISO C11 only as well.
31612
7724defc
UD
316132012-02-24 Ulrich Drepper <drepper@gmail.com>
31614
31615 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31616 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31617
6b1d1d46
JM
316182012-02-24 Joseph Myers <joseph@codesourcery.com>
31619
31620 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31621
0f8bbd69
JM
316222012-02-24 Joseph Myers <joseph@codesourcery.com>
31623
31624 * manual/texinfo.tex: Update to version 2012-01-19.16.
31625
66ab80bc
JM
316262012-02-24 Joseph Myers <joseph@codesourcery.com>
31627
31628 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31629
74981cc5
RM
316302012-02-24 Roland McGrath <roland@hack.frob.com>
31631
ee968201
RM
31632 [BZ #13738]
31633 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31634 * manual/fdl-1.3.texi: New file.
31635 * manual/fdl-1.1.texi: File removed.
31636
74981cc5
RM
31637 [BZ #13738]
31638 * manual/libc.texinfo (FDL_VERSION): New @set.
31639 Use it for mention of FDL in cover text.
31640 (Documentation License): Use it in @include file name.
31641
7bb764bc
JM
316422012-02-22 Joseph Myers <joseph@codesourcery.com>
31643 Roland McGrath <roland@hack.frob.com>
31644
31645 [BZ #5461]
31646 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31647 not LONG_LONG_MAX and LONG_LONG_MIN.
31648 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31649 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31650 name.
31651 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31652
6cbeae47
JM
316532012-02-22 Joseph Myers <joseph@codesourcery.com>
31654
31655 [BZ #2547]
31656 [BZ #11365]
31657 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31658 manipulate bits before adding and subtracting TWO23[sx].
31659 * math/libm-test.inc (nearbyint_test): Add more tests.
31660
fe45ce09
JM
316612012-02-22 Joseph Myers <joseph@codesourcery.com>
31662
31663 [BZ #2548]
31664 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31665 bits before adding and subtracting TWO23[sx].
31666 * math/libm-test.inc (rint_test): Add more tests.
31667 (rint_test_tonearest): Likewise.
31668 (rint_test_towardzero): Likewise.
31669 (rint_test_downward): Likewise.
31670 (rint_test_upward: Likewise.
31671
ff3b3d82
JM
316722012-02-22 Joseph Myers <joseph@codesourcery.com>
31673
31674 [BZ #10110]
31675 * include/stdc-predef.h: New file. Extracted from features.h.
31676 * include/features.h: Include stdc-predef.h.
31677 * Makefile (headers): Add stdc-predef.h.
31678 * CONFORMANCE (Compiler limitations): Update.
31679
ef0aab35
JM
316802012-02-22 Joseph Myers <joseph@codesourcery.com>
31681
31682 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31683
58639409
DM
316842012-02-21 David S. Miller <davem@davemloft.net>
31685
31686 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31687 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31688
c0e70b25
DM
316892012-02-20 David S. Miller <davem@davemloft.net>
31690
31691 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31692 using a normal save/restore sequence, rather than allocating a
31693 dummy stack frame just to store a frame pointer and restore.
31694 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31695
fb06851d
JM
316962012-02-21 Joseph Myers <joseph@codesourcery.com>
31697
31698 * manual/install.texi: Fix stray word in line-wrapped comment.
31699
7a8b71c3
DM
317002012-02-20 David S. Miller <davem@davemloft.net>
31701
d510c123
DM
31702 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31703 both binutils and gcc support GOTDATA.
31704
0722d7c2
DM
31705 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31706 "rd %pc" in the PIC register setup sequences.
31707
3d2b3019
DM
31708 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31709 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31710 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31711 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31712 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31714 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31715 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31717 (SYSCALL_ERROR_HANDLER): Likewise.
31718 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31719 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31721 (SYSCALL_ERROR_HANDLER): Likewise.
31722
c80098a9
DM
31723 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31724 (HAVE_GCC_GOTDATA): New.
31725 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31726 relocation support in both binutils and gcc.
31727 * sysdeps/sparc/elf/configure: Regenerate.
31728
3a2545a0
DM
31729 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31730 * sysdeps/sparc/sparc32/elf/configure: Delete.
31731 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31732 * sysdeps/sparc/sparc64/elf/configure: Delete.
31733 * sysdeps/sparc/elf/configure.in: New file.
31734 * sysdeps/sparc/elf/configure: Generate.
31735
7a8b71c3
DM
31736 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31737 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31738 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31739 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31740 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31741
f1e86fca
JM
317422012-02-21 Joseph Myers <joseph@codesourcery.com>
31743
31744 * manual/install.texi: Do not mention specific glibc version
31745 numbers.
31746 * manual/libc.texinfo (VERSION, UPDATED): Update.
31747 (@copying): Use @copyright{} and range of years.
31748
0e7dfaef
JM
317492012-02-21 Joseph Myers <joseph@codesourcery.com>
31750
31751 [BZ #13695]
31752 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31753 [crti.S not in sysdirs] (generated): Do not append.
31754 [crti.S not in sysdirs] (omit-deps): Likewise.
31755 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31756 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31757 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31758 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31759 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31760 Likewise.
31761 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31762 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31763 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31764 * csu/defs.awk: Remove file.
31765 * sysdeps/generic/initfini.c: Likewise.
31766 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31767 variable.
31768 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31769 Likewise.
31770
599af3ca
JM
317712012-02-20 Joseph Myers <joseph@codesourcery.com>
31772
31773 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31774 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31775 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31776 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31777 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31778 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31779 <bits/epoll.h>.
31780 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31781 (__EPOLL_PACKED): Define to empty if not defined by
31782 <bits/epoll.h>.
31783 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31785 bits/epoll.h.
31786
0e499750
JM
317872012-02-20 Joseph Myers <joseph@codesourcery.com>
31788
31789 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31790 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31791 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31792 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31793 <bits/timerfd.h>.
31794 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31796 bits/timerfd.h.
31797
5ad91f6e
JM
317982012-02-20 Joseph Myers <joseph@codesourcery.com>
31799
31800 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31801 in C locale.
31802 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31803 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31804 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31806
06b99b02
AJ
318072012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31808
31809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31810 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31811
7638c0fd
AS
318122012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31813
31814 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31815 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31816 defined.
31817 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31818 Likewise.
31819 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31820 entry for 2.16.
31821
92221550
AJ
318222012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31823
31824 * math/w_acos.c: Use non-signaling floating-point comparisons.
31825 * math/w_acosf.c: Likewise.
31826 * math/w_acosh.c: Likewise.
31827 * math/w_acoshf.c: Likewise.
31828 * math/w_acoshl.c: Likewise.
31829 * math/w_acosl.c: Likewise.
31830 * math/w_asin.c: Likewise.
31831 * math/w_asinf.c: Likewise.
31832 * math/w_asinl.c: Likewise.
31833 * math/w_atanh.c: Likewise.
31834 * math/w_atanhf.c: Likewise.
31835 * math/w_atanhl.c: Likewise.
31836 * math/w_exp2.c: Likewise.
31837 * math/w_exp2f.c: Likewise.
31838 * math/w_exp2l.c: Likewise.
31839 * math/w_j0.c: Likewise.
31840 * math/w_j0f.c: Likewise.
31841 * math/w_j0l.c: Likewise.
31842 * math/w_j1.c: Likewise.
31843 * math/w_j1f.c: Likewise.
31844 * math/w_j1l.c: Likewise.
31845 * math/w_jn.c: Likewise.
31846 * math/w_jnf.c: Likewise.
31847 * math/w_log.c: Likewise.
31848 * math/w_log10.c: Likewise.
31849 * math/w_log10f.c: Likewise.
31850 * math/w_log10l.c: Likewise.
31851 * math/w_log2.c: Likewise.
31852 * math/w_log2f.c: Likewise.
31853 * math/w_log2l.c: Likewise.
31854 * math/w_logf.c: Likewise.
31855 * math/w_logl.c: Likewise.
31856 * math/w_sqrt.c: Likewise.
31857 * math/w_sqrtf.c: Likewise.
31858 * math/w_sqrtl.c: Likewise.
31859 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31860 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31861 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31862 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31863 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31864
ebaf36eb
JM
318652012-02-19 Joseph Myers <joseph@codesourcery.com>
31866
31867 [BZ #9739]
31868 * manual/string.texi (strnlen): Use correct parameter name in
31869 equivalent expression.
31870
71c254a6
JM
318712012-02-19 Joseph Myers <joseph@codesourcery.com>
31872
31873 [BZ #11174]
31874 * manual/users.texi (seteuid): Consistently use neweuid for
31875 argument name.
31876
16d2c631
JM
318772012-02-19 Joseph Myers <joseph@codesourcery.com>
31878
31879 [BZ #13704]
31880 * manual/nss.texi (Services in the NSS configuration): Correct
31881 list of services in example configuration file.
31882
cd837b09
NB
318832012-02-19 Nick Bowler <nbowler@draconx.ca>
31884
31885 [BZ #11322]
31886 * manual/arith.texi: Remove statements about negative zero
31887 behaving identically to zero.
31888
02c4bbad
JM
318892012-02-18 Joseph Myers <joseph@codesourcery.com>
31890
31891 [BZ #5993]
31892 * manual/install.texi: Do not document upgrading from libc5.
31893
366842e7
JM
318942012-02-18 Joseph Myers <joseph@codesourcery.com>
31895
31896 [BZ #4596]
31897 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31898
dd54084d
DM
318992012-02-18 David S. Miller <davem@davemloft.net>
31900
31901 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31902 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31903 %o7 across the call.
31904 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31905 instead.
31906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31907 SETUP_PIC_REG_LEAF.
31908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31909 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31910 * sysdeps/sparc/crtn.S: Likewise.
31911
2bcc53a3
UD
319122012-02-17 Ulrich Drepper <drepper@gmail.com>
31913
31914 * aout/Makefile: Remove.
31915
09c093b5
RK
319162012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31917
31918 [BZ #13058]
31919 * manual/examples/argp-ex1.c (main): Format definition in GNU
31920 style.
31921 * manual/examples/argp-ex2.c (main): Likewise.
31922 * manual/examples/argp-ex3.c (main): Likewise.
31923 * manual/examples/argp-ex4.c (main): Likewise.
31924 * manual/examples/longopt.c (main): Use new-style prototype
31925 definition.
31926 * manual/examples/strncat.c (main): Specify return type and use
31927 (void) for arguments.
31928 * manual/examples/subopt.c (main): Use char **argv argument.
31929
2ee633a2
JM
319302012-02-17 Joseph Myers <joseph@codesourcery.com>
31931
31932 [BZ #5077]
31933 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31934 rounding modes.
31935
0520adde
FB
319362012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31937
31938 [BZ #6907]
31939 * manual/string.texi (strchr): Change when strchrnul is
31940 recommended.
31941
3f4081cd
DGM
319422012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31943
31944 [BZ #174]
31945 * manual/locale.texi (setlocale): Document LOCPATH.
31946
d1b10e78
JM
319472012-02-17 Joseph Myers <joseph@codesourcery.com>
31948
31949 [BZ #10210]
31950 * manual/process.texi (execle): Move @dots{} before last argument.
31951
79c6869c
PB
319522012-02-17 Paul Bolle <pebolle@tiscali.nl>
31953
31954 [BZ #12047]
31955 * manual/charset.texi (Generic Charset Conversion): Fix typo
31956 (LC_TYPE -> LC_CTYPE).
31957
cc6e48bc
NB
319582012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31959
31960 [BZ #5805]
31961 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31962 (scalbnf): Likewise.
31963 (scalbnl): Likewise.
31964 (scalbln): Likewise.
31965 (scalblnf): Likewise.
31966 (scalblnl): Likewise.
31967 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31968 (vwarnx): Likewise.
31969 (verr): Likewise.
31970 (verrx): Likewise.
31971 * manual/filesys.texi (telldir): Use braces around return type.
31972 * manual/llio.texi (mmap): Add space after comma.
31973 (mmap64): Likewise.
31974 * manual/math.texi (jn): Use @var{} on parameter names.
31975 (jnf): Likewise.
31976 (jnl): Likewise.
31977 (yn): Likewise.
31978 (ynf): Likewise.
31979 (ynl): Likewise.
31980 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31981 line.
31982 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31983 "...".
31984 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31985 (sched_get_priority_max): Likewise.
31986 * manual/signal.texi (sigvec): Add space after comma.
31987 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31988 names.
31989 (if_indextoname): Likewise.
31990 (if_freenameindex): Likewise.
31991 (sendto): Use ',' instead of '.' in prototype.
31992 * manual/startup.texi (syscall): Use @dots{} instead of literal
31993 "...".
31994 * manual/stdio.texi (__fpending): Separate initial words of
31995 paragraph from @deftypefun line.
31996 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31997 "...".
31998 (vsyslog): Use @var{} on parameter names.
31999 * manual/terminal.texi (stty): Use @var{} on parameter names.
32000 * manual/users.texi (getutmp): Use @var{} on parameter names.
32001 (getutmpx): Likewise.
32002
5b23062f
JM
320032012-02-17 Joseph Myers <joseph@codesourcery.com>
32004
32005 [BZ #6884]
32006 * manual/stdio.texi (fopen): Fix typos in description of
32007 ",ccs=STRING".
32008
8dee4833
AJ
320092012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32010
32011 [BZ #4026]
32012 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32013 get clock_id definition.
32014
9078ce93
TS
320152012-02-17 Thomas Schwinge <thomas@schwinge.name>
32016
32017 [BZ #4822]
32018 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32019 (madvise): Cast every argument to void on its own.
32020
3835c55f
JM
320212012-02-17 Joseph Myers <joseph@codesourcery.com>
32022
32023 [BZ #9902]
32024 * manual/startup.texi (Exit Status): Fix typo.
32025
35c47e37
JM
320262012-02-17 Joseph Myers <joseph@codesourcery.com>
32027
32028 [BZ #10140]
32029 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32030 * manual/examples/argp-ex2.c: Likewise.
32031 * manual/examples/argp-ex3.c: Likewise.
32032
e3b69ca7
RH
320332012-02-16 Richard Henderson <rth@redhat.com>
32034
32035 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32036 * sysdeps/s390/s390-32/initfini.c: Remove.
32037 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32038 * sysdeps/s390/s390-64/initfini.c: Remove.
32039
df83af67
KK
320402012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32041
32042 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32043 compiler output for sysdeps/generic/initfini.c.
32044 * sysdeps/sh/elf/initfini.c: Remove file.
32045
f63f3380
DM
320462012-02-16 David S. Miller <davem@davemloft.net>
32047
fb59b3a4
DM
32048 [BZ #11494]
32049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32050
f63f3380
DM
32051 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32052 * sysdeps/sparc/crti.S: New file.
32053 * sysdeps/sparc/crtn.S: New file.
32054 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32055 * sysdeps/sparc/sparc64/Makefile: Likewise.
32056
df6a4a4a
MF
320572012-02-15 Mike Frysinger <vapier@gentoo.org>
32058
6dd8f3dc 32059 [BZ #3335]
df6a4a4a
MF
32060 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32061
1cac7236
RM
320622012-02-15 Roland McGrath <roland@hack.frob.com>
32063
d2c736f8
RM
32064 [BZ #4822]
32065 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32066
1cac7236
RM
32067 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32068 (write, read, close): Likewise.
32069 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32070
8e475601
JM
320712012-02-15 Joseph Myers <joseph@codesourcery.com>
32072
32073 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32074 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32075 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32076 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32077 <bits/signalfd.h>.
32078 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32080 bits/signalfd.h.
32081
ed656b40
MP
320822012-02-14 Marek Polacek <polacek@redhat.com>
32083
32084 * sysdeps/x86_64/crti.S: New file.
32085 * sysdeps/x86_64/crtn.S: New file.
32086 * sysdeps/x86_64/elf/initfini.c: Remove file.
32087
2a979d3a
JM
320882012-02-13 Joseph Myers <joseph@codesourcery.com>
32089
32090 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32091 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32092 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32093 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32094 <bits/inotify.h>.
32095 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32097 bits/inotify.h.
32098
2a418ac3
JM
320992012-02-13 Joseph Myers <joseph@codesourcery.com>
32100
32101 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32102 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32103 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32104 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32105 <bits/eventfd.h>.
32106 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32108 bits/eventfd.h.
32109
fb779be7
TS
321102012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32111
e19e83c5
RM
32112 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32113 __feraiseexcept instead of feraiseexcept.
7c35ffed 32114
fb779be7
TS
32115 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32116 nanosleep invocations.
32117 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32118 strings, and add error checking for a nanosleep invocations.
32119
59ba27a6
PE
321202012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32121
32122 Replace FSF snail mail address with URLs, as per GNU coding standards.
32123 Most of the snail mail addresses were wrong anyway, and omitting
32124 them makes the source code easier to maintain. Almost all of the
32125 changes are to license notices and to locale LC_IDENTIFICATION
32126 addresses, except for this one:
32127 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32128 not its snail mail address.
32129
57b957eb
RH
321302012-02-09 Richard Henderson <rth@twiddle.net>
32131
af850b1c
RH
32132 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32133 of kernel-features.h.
32134
57b957eb
RH
32135 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32136
6b73181a
MP
321372012-02-08 Marek Polacek <polacek@redhat.com>
32138
32139 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32140 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32141 * sysdeps/gnu/_G_config.h: Likewise.
32142 * sysdeps/generic/_G_config.h: Likewise.
32143
26ecc33a
AS
321442012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32145
6c6dbc63
AS
32146 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32147 tests.
32148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32149
e216c012
AS
32150 * sysdeps/powerpc/powerpc32/crti.S: New file.
32151 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32152 * sysdeps/powerpc/powerpc64/crti.S: New file.
32153 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32154
26ecc33a
AS
32155 * Makeconfig (have-initfini): Don't set.
32156 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32157 * configure.in (nopic_initfini): Don't substitute.
32158 * config.h.in (HAVE_INITFINI): Don't #undef.
32159 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32160 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32161
3add8e13
JM
321622012-02-08 Joseph Myers <joseph@codesourcery.com>
32163
32164 Support crti.S and crtn.S provided directly by architectures.
32165 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32166 [crti.S in sysdirs] (omit-deps): Likewise.
32167 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32168 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32169 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32170 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32171 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32172 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32173 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32174 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32175 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32176 compiler output for sysdeps/generic/initfini.c.
32177 * sysdeps/i386/elf/Makefile: Remove file.
32178 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32179
a22f12b4
MP
321802012-02-07 Marek Polacek <polacek@redhat.com>
32181
32182 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32183 * sysdeps/gnu/_G_config.h: Likewise.
32184 * sysdeps/mach/hurd/_G_config.h: Likewise.
32185
148cf100
MP
321862012-02-07 Marek Polacek <polacek@redhat.com>
32187
32188 * math/Makefile (tests): Add tst-CMPLX2.
32189 * math/tst-CMPLX2.c: New file.
32190
cfdc0dd7
AS
321912012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32192
84ba42c4
AS
32193 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32194
cfdc0dd7
AS
32195 * math/libm-test.inc (jn_test): Add missing L suffix.
32196
622c86f4
MP
321972012-02-06 Marek Polacek <polacek@redhat.com>
32198
32199 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32200 * sysdeps/i386/fpu/e_powf.S: Likewise.
32201 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32202 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32203 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32204 * sysdeps/i386/fpu/e_pow.S: Likewise.
32205 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32206 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32207 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32208 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32209 * sysdeps/i386/fpu/e_log2.S: Likewise.
32210 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32211 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32212 * sysdeps/i386/fpu/e_powl.S: Likewise.
32213 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32214 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32215 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32216 * sysdeps/i386/fpu/e_logl.S: Likewise.
32217 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32218 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32219 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32220 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32221 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32222 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32223 * sysdeps/i386/fpu/e_log.S: Likewise.
32224 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32225 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32226 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32227 * sysdeps/i386/fpu/e_logf.S: Likewise.
32228 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32229 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32230 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32231 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32232 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32233 * sysdeps/i386/fpu/e_log10.S: Likewise.
32234 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32235 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32236 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32237 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32238 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32239 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32240 * sysdeps/i386/asm-syntax.h: Likewise.
32241 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32243 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32244 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32245 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32246 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32247 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32248 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32249 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32250 * sysdeps/powerpc/sysdep.h: Likewise.
32251 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32252 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32253
d4a54ac6
JM
322542012-02-06 Joseph Myers <joseph@codesourcery.com>
32255
32256 [BZ #411]
32257 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32258
314054ea
JM
322592012-02-06 Joseph Myers <joseph@codesourcery.com>
32260
32261 * sysdeps/i386/sysdep.h: Include <features.h>.
32262 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32263 version.
32264
d8e0ca50
JM
322652012-02-05 Joseph Myers <joseph@codesourcery.com>
32266
32267 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32268 Define.
32269 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32270 LOAD_PIC_REG_STR.
32271
b1da7dd9
JM
322722012-02-03 Joseph Myers <joseph@codesourcery.com>
32273
32274 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32275 (SETUP_PIC_REG): Use GET_PC_THUNK.
32276 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32277 macro.
32278
9a1d9254
JM
322792012-02-03 Joseph Myers <joseph@codesourcery.com>
32280
32281 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32282 for non-PIC compilation.
32283 (SETUP_PIC_REG): Add .p2align directive.
32284 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32285 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32286 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32287 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32288 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32289 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32290 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32291 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32292 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32293 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32294 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32295 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32296 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32297 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32298 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32299 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32300 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32301 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32302 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32303 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32305 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32306 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32307 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32310 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32312 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32313 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32314 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32315 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32316 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32317 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32318 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32319 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32320 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32321 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32322 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32323 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32324 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32325
65dc3b75
JM
323262012-02-03 Joseph Myers <joseph@codesourcery.com>
32327
32328 * math/tst-CMPLX.c: Include <stdio.h>.
32329
d55bf177
JM
323302012-01-31 Joseph Myers <joseph@codesourcery.com>
32331
32332 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32333 float.
32334 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32335 * sysdeps/sparc/bits/mathdef.h: Likewise.
32336
69db4f8f
MP
323372012-01-31 Marek Polacek <polacek@redhat.com>
32338
32339 * libio/libio.h: Don't define _PARAMS.
32340 * locale/programs/config.h: Don't define PARAMS.
32341 * stdlib/strtol_l.c: Likewise.
32342 (__strtol_l): Remove PARAMS from the prototype.
32343
41b81892
UD
323442012-01-31 Ulrich Drepper <drepper@gmail.com>
32345
3b49edc0
UD
32346 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32347 names. Just use the correct names. Remove unnecessary wrapper
32348 functions.
32349 * malloc/arena.c: Likewise.
32350 * malloc/hooks.c: Likewise.
32351
41b81892
UD
32352 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32353 ARENA_TEST says not to. Simplify test for creation of a new arena.
32354 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32355
27a25b6e
UD
323562012-01-30 Ulrich Drepper <drepper@gmail.com>
32357
32358 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32359 into tail calls.
32360 (update_get_addr): New function.
32361 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32362 GET_ADDR_MODULE parameter.
32363
c8a89e7d
JM
323642012-01-30 Joseph Myers <joseph@codesourcery.com>
32365
32366 * crypt/cert.c: Remove __STDC__ conditionals.
32367 * crypt/crypt-entry.c: Likewise.
32368 * crypt/crypt_util.c: Likewise.
32369 * libio/filedoalloc.c: Likewise.
32370 * libio/fileops.c: Likewise.
32371 * libio/genops.c: Likewise.
32372 * libio/iofclose.c: Likewise.
32373 * libio/iofdopen.c: Likewise.
32374 * libio/iofopen.c: Likewise.
32375 * libio/iofopen64.c: Likewise.
32376 * libio/iogetdelim.c: Likewise.
32377 * libio/iopopen.c: Likewise.
32378 * libio/obprintf.c: Likewise.
32379 * libio/oldfileops.c: Likewise.
32380 * libio/oldiofclose.c: Likewise.
32381 * libio/oldiofdopen.c: Likewise.
32382 * libio/oldiofopen.c: Likewise.
32383 * libio/oldiopopen.c: Likewise.
32384 * libio/wfiledoalloc.c: Likewise.
32385 * libio/wgenops.c: Likewise.
32386 * locale/programs/xmalloc.c: Likewise.
32387 * misc/syslog.c: Likewise.
32388 * stdio-common/xbug.c: Likewise.
32389 * string/memchr.c: Likewise.
32390 * string/memcmp.c: Likewise.
32391 * string/memrchr.c: Likewise.
32392 * string/rawmemchr.c: Likewise.
32393 * sysdeps/posix/getcwd.c: Likewise.
32394 * time/strftime_l.c: Likewise.
32395
3b100462
JM
323962012-01-30 Joseph Myers <joseph@codesourcery.com>
32397
32398 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32399 * config.make.in (config-cflags-sse2avx): Define.
32400 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32401 Fix typo.
32402
607998af
CM
324032012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32404
32405 * scripts/config.guess: Update from upstream config git repository.
32406 * scripts/config.sub: Likewise.
32407
3601428f
CM
324082012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32409
3ac8b282
CM
32410 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32411 (EM_NUM): Update.
32412 (R_TILEPRO_*, R_TILEGX_*): New macros.
32413
e034841e
CM
32414 * scripts/firstversions.awk: Fix bug in version range handling.
32415
540d7568
CM
32416 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32417
3601428f
CM
32418 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32419
463de862
CM
32420 * include/sys/epoll.h: New file.
32421 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32422 libc_hidden_def.
32423
73139a76
UD
324242012-01-28 Ulrich Drepper <drepper@gmail.com>
32425
96bc5b45
UD
32426 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32427 Avoid unnecessary __WORDSIZE == 64 test.
32428 (fmaxf): Use VEX format if possible.
32429 (fmax): Likewise.
32430 (fminf): Likewise.
32431 (fmin): Likewise.
32432
56f6f6a2
UD
32433 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32434 * math/math_private.h: Remove libc_fegetround* and
32435 libc_fesetround*.
32436 * sysdeps/i386/configure.in: Check for -msse2avx.
32437 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32438 also if SSE2AVX is defined.
32439 Remove libc_fegetround* and libc_fesetround*.
32440 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32441 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32442 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32443 of HAS_YMM_USABLE.
32444 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32445 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32446 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32447 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32448 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32449
73139a76
UD
32450 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32451
d73f93a4
AZ
324522012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32453
32454 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32455 size is not set.
32456 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32457
6ee65ed6
UD
324582012-01-27 Ulrich Drepper <drepper@gmail.com>
32459
32460 [BZ #13618]
32461 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32462 relocation.
32463 * Makeconfig (libm): Define.
32464 * elf/Makefile: Add rules to build and run tst-relsort1.
32465 * elf/tst-relsort1.c: New file.
32466 * elf/tst-relsort1mod1.c: New file.
32467 * elf/tst-relsort1mod2.c: New file.
32468
8db21882
JM
324692012-01-27 Joseph Myers <joseph@codesourcery.com>
32470
32471 * math/s_ldexp.c: Remove __STDC__ conditionals.
32472 * math/s_ldexpf.c: Likewise.
32473 * math/s_ldexpl.c: Likewise.
32474 * math/s_nextafter.c: Likewise.
32475 * math/s_nexttowardf.c: Likewise.
32476 * math/s_significand.c: Likewise.
32477 * math/s_significandf.c: Likewise.
32478 * math/s_significandl.c: Likewise.
32479 * math/w_jnl.c: Likewise.
32480 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32481 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32482 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32483 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32484 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32486 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32487 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32488 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32489 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32490 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32494 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32495 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32499 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32500 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32501 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32502 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32503 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32504 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32505 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32506 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32507 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32508 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32509 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32510 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32511 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32512 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32513 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32514 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32515 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32516 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32517 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32518 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32519 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32520 * sysdeps/ieee754/k_standard.c: Likewise.
32521 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32522 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32523 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32524 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32525 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32526 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32527 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32528 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32529 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32530 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32531 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32532 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32534 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32535 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32536 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32537 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32538 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32539 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32540 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32542 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32543 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32544 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32552 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32553 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32554 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32558 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32559 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32560 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32561 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32569 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32574 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32575 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32576 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32577 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32579 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32580 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32581 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32582 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32583 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32584 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32585 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32586 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32587 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32589 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32590 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32591 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32592 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32593 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32594 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32595 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32596 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32597 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32600 * sysdeps/ieee754/s_matherr.c: Likewise.
32601 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32602 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32605
965a54a4
JM
326062012-01-26 Joseph Myers <joseph@codesourcery.com>
32607
32608 * crypt/md5.h: Remove __STDC__ conditionals.
32609 * libio/libioP.h: Likewise.
32610 * locale/programs/config.h: Likewise.
32611 * sysdeps/generic/sysdep.h: Likewise.
32612 * sysdeps/i386/asm-syntax.h: Likewise.
32613 * sysdeps/s390/asm-syntax.h: Likewise.
32614 * sysdeps/unix/sysdep.h: Likewise.
32615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32617
7071ad79
JM
326182012-01-26 Joseph Myers <joseph@codesourcery.com>
32619
32620 * libio/libio.h: Remove __STDC__ conditionals.
32621 * malloc/obstack.h: Likewise.
32622 * math/complex.h: Likewise.
32623 * math/math.h: Likewise.
32624 * sysdeps/generic/_G_config.h: Likewise.
32625 * sysdeps/gnu/_G_config.h: Likewise.
32626 * sysdeps/mach/hurd/_G_config.h: Likewise.
32627 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32628 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32629 * sysdeps/sparc/bits/mathdef.h: Likewise.
32630
afc5ed09
UD
326312012-01-26 Ulrich Drepper <drepper@gmail.com>
32632
32633 [BZ #13583]
32634 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32635 Clean up HAS_* macros.
afc5ed09 32636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32637 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32638 possible.
32639 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32640 HAS_AVX.
32641 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32642 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32643 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32644 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32645 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32646
bdb6de1d
JM
326472012-01-25 Joseph Myers <joseph@codesourcery.com>
32648
32649 * elf/tst-unique3.cc (gets): Remove declaration.
32650 * elf/tst-unique3lib.cc (gets): Likewise.
32651 * elf/tst-unique3lib2.cc (gets): Likewise.
32652 * elf/tst-unique4.cc (gets): Likewise.
32653
b15549e6
UD
326542012-01-24 Ulrich Drepper <drepper@gmail.com>
32655
32656 * include/stdio.h: Add C++ protection. Add gets declarations and
32657 definitions.
32658 * debug/tst-chk1.c: Don't declare gets here.
32659 * stdio-common/tst-gets.c: Likewise.
32660
a037381f
JM
326612012-01-24 Joseph Myers <joseph@codesourcery.com>
32662
32663 * posix/glob: Remove directory.
32664
f1d4aa75
JM
326652012-01-24 Joseph Myers <joseph@codesourcery.com>
32666
32667 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32668
81c0c964
PT
326692012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32670
32671 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32672 of the non-standard EPFNOSUPPORT.
32673
0ea698ae
ST
326742011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32675
32676 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32677 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32678 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32679
d220b117
UD
326802012-01-21 Ulrich Drepper <drepper@gmail.com>
32681
32682 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32683
3e1aa84e
UD
326842012-01-20 Ulrich Drepper <drepper@gmail.com>
32685
32686 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32687 transient errors.
32688 * nscd/grpcache.c (cache_addgr): Likewise.
32689 * nscd/hstcache.c (cache_addhst): Likewise.
32690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32691 * nscd/pwdcache.c (cache_addpw): Likewise.
32692 * nscd/servicescache.c (cache_addserv): Likewise.
32693
400aa020
UD
326942012-01-16 Ulrich Drepper <drepper@gmail.com>
32695
d77e7869
UD
32696 * malloc/malloc.c: Various cleanups.
32697 * malloc/hooks.c: Likewise.
32698
400aa020
UD
32699 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32700 * stdlib/bug-fmtmsg1.c: New file.
32701
32702 * stdlib/fmtmsg.c (init): Add missing unlock.
32703 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32704
e0a309cf
MP
327052012-01-12 Marek Polacek <polacek@redhat.com>
32706
32707 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32708 and _GNU_SOURCE.
32709
929d11c7
WS
327102012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32711
32712 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32713 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32714 macro to ensure uniqueness of label name.
32715 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32716 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32717
41d0e869
UD
327182012-01-11 Ulrich Drepper <drepper@gmail.com>
32719
0cc5ed3b
UD
32720 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32721
41d0e869
UD
32722 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32723 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32724 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32726
a47a831a
UD
327272012-01-10 Ulrich Drepper <drepper@gmail.com>
32728
daa891c0
UD
32729 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32730
32731 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32732 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32733 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32734
e58ef0f2
UD
32735 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32736
a47a831a 32737 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32738 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32739 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32740 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32741
32742 * math/bits/math-finite.h: Add ldexp support.
32743
a0bfc9c7
MP
327442012-01-10 Marek Polacek <polacek@redhat.com>
32745
32746 * locale/programs/localedef.h (show_archive_content): Add noreturn
32747 attribute.
32748
d6e97a1d
UD
327492012-01-09 Ulrich Drepper <drepper@gmail.com>
32750
32751 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32752
d5835c26
UD
327532012-01-08 Ulrich Drepper <drepper@gmail.com>
32754
e5f484c6
UD
32755 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32756
d5835c26
UD
32757 * io/Makefile (headers): Add bits/poll2.h.
32758
d1f741e9
WS
327592011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32760
32761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32762 typo #include statement.
32763
ec09c1c4
UD
327642012-01-08 Ulrich Drepper <drepper@gmail.com>
32765
32766 * include/sys/cdefs.h: Define __attribute_alloc_size.
32767 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32768 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32769 * elf/pldd.c: Likewise.
32770 * iconv/iconv_charmap.c: Likewise.
32771 * iconv/iconvconfig.c: Likewise.
32772 * iconv/strtab.c: Likewise.
32773 * locale/programs/locale.c: Likewise.
32774 * locale/programs/localedef.h: Likewise.
32775 * locale/programs/simple-hash.c: Likewise.
32776 * nscd/nscd.h: Likewise.
32777 * nss/makedb.c: Likewise.
32778 * sysdeps/generic/ldconfig.h: Likewise.
32779 * locale/programs/localedef.c: Remove xmalloc prototype.
32780 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32781
20b38e03
PP
327822012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32783
32784 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32785 appropriate.
32786
a0da5fe1
UD
327872012-01-08 Ulrich Drepper <drepper@gmail.com>
32788
1d5a644a 32789 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32790 * math/tst-CMPLX.c: New file.
1d5a644a 32791
8784a6db
UD
32792 * math/complex.h (CMPLXL): Fix typo.
32793
d9a216c0
UD
32794 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32795 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32796 GLIBC_2.16.
32797 * debug/tst-chk1.c: Add poll and ppoll tests.
32798 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32799 * include/sys/poll.h: Add hidden proto for ppoll.
32800 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32801 * sysdeps/mach/hurd/ppoll.c: Likewise.
32802 * io/ppoll.c: Likewise.
32803 * debug/poll_chk.c: New file.
32804 * debug/ppoll_chk.c: New file.
32805 * include/bits/poll2.h: New file.
32806 * io/bits/poll2.h: New file.
32807
ac097f5c
UD
32808 [BZ #1350]
32809 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32810
2119dcfa
UD
32811 * configure.in: static is always set to yes. Remove.
32812 * config.make.in: Don't set build-static.
32813 * Makeconfig: Remove use of build-static.
32814 * dlfcn/Makefile: Likewise.
32815 * elf/Makefile: Likewise.
32816 * math/Makefile: Likewise.
32817 * misc/Makefile: Likewise.
32818 * nptl/Makefile: Likewise.
32819 * sysdeps/mach/hurd/Makefile: Likewise.
32820
121766a9
UD
32821 * configure.in: PWD_P is not used anymore.
32822 * config.make.in: Remove PWD_P entry.
32823
51a1d39c 32824 * configure.in: Remove last remnants of RANLIB.
8720d066 32825 No need to check for signed size_t anymore.
215f4bdc
UD
32826 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32827 and IA-64.
3857022a 32828 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
32829 * aclocal.m4: Likewise.
32830
d3ed7225
UD
32831 * wcsmbs/mbrtoc16.c: Implement using towc function.
32832 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32833 * wcsmbs/wcsmbsload.c: Likewise.
32834 * iconv/gconv_simple.c: Likewise.
32835 * iconv/gconv_int.h: Likewise.
32836 * iconv/gconv_builtin.h: Likewise.
32837 * iconv/iconv_prog.c: Remove CHAR16 handling.
32838
32839 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32840
32841 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32842
a0da5fe1
UD
32843 * configure.in: Remove --with-elf and --enable-bounded options.
32844 Dont set base_machine for ia64. More non-ELF conditions removed.
32845 Remove testing and setting of leading underscore information.
32846 * config.make.in (build-bounded): Set to no.
32847 * config.h.in: Remove NO_UNDERSCORES entry.
32848 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32849 them.
32850 * csu/start.c: Remove !NO_UNDERSCORE code.
32851 * locale/localeinfo.h: Likewise.
32852 * sysdeps/generic/machine-gmon.h: Likewise.
32853 * sysdeps/generic/sysdep.h: Likewise.
32854 * sysdeps/i386/sysdep.h: Likewise.
32855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32856 * sysdeps/mach/sysdep.h: Likewise.
32857 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32858 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32859 * sysdeps/sh/sysdep.h: Likewise.
32860 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32861 * sysdeps/unix/i386/sysdep.S: Likewise.
32862 * sysdeps/unix/sparc/start.c: Likewise.
32863 * sysdeps/unix/sparc/sysdep.S: Likewise.
32864 * sysdeps/unix/sparc/sysdep.h: Likewise.
32865 * sysdeps/unix/start.c: Likewise.
32866 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32867 * sysdeps/x86_64/sysdep.h: Likewise.
32868
df78418a
UD
328692012-01-07 Ulrich Drepper <drepper@gmail.com>
32870
a784e502
UD
32871 [BZ #13553]
32872 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32873 for non-gcc.
32874 * argp/argp-fmtstream.h: Use const instead __const.
32875 * argp/argp.h: Likewise.
32876 * assert/assert.h: Likewise.
32877 * bits/fenv.h: Likewise.
32878 * bits/sched.h: Likewise.
32879 * bits/sigset.h: Likewise.
32880 * bits/sigthread.h: Likewise.
32881 * catgets/nl_types.h: Likewise.
32882 * conform/data/pthread.h-data: Likewise.
32883 * crypt/crypt-private.h: Likewise.
32884 * crypt/crypt.h: Likewise.
32885 * crypt/crypt_util.c: Likewise.
32886 * ctype/ctype.h: Likewise.
32887 * debug/execinfo.h: Likewise.
32888 * debug/mbsnrtowcs_chk.c: Likewise.
32889 * debug/mbsrtowcs_chk.c: Likewise.
32890 * debug/wcsnrtombs_chk.c: Likewise.
32891 * debug/wcsrtombs_chk.c: Likewise.
32892 * debug/wcstombs_chk.c: Likewise.
32893 * dirent/dirent.h: Likewise.
32894 * dlfcn/dlfcn.h: Likewise.
32895 * elf/neededtest4.c: Likewise.
32896 * grp/grp.h: Likewise.
32897 * gshadow/gshadow.h: Likewise.
32898 * iconv/gconv.h: Likewise.
32899 * iconv/gconv_int.h: Likewise.
32900 * iconv/gconv_simple.c: Likewise.
32901 * iconv/iconv.h: Likewise.
32902 * iconv/loop.c: Likewise.
32903 * iconv/skeleton.c: Likewise.
32904 * include/aio.h: Likewise.
32905 * include/aliases.h: Likewise.
32906 * include/argz.h: Likewise.
32907 * include/arpa/inet.h: Likewise.
32908 * include/assert.h: Likewise.
32909 * include/dirent.h: Likewise.
32910 * include/dlfcn.h: Likewise.
32911 * include/execinfo.h: Likewise.
32912 * include/fcntl.h: Likewise.
32913 * include/fenv.h: Likewise.
32914 * include/glob.h: Likewise.
32915 * include/grp.h: Likewise.
32916 * include/libintl.h: Likewise.
32917 * include/mntent.h: Likewise.
32918 * include/netdb.h: Likewise.
32919 * include/pwd.h: Likewise.
32920 * include/rpc/netdb.h: Likewise.
32921 * include/sched.h: Likewise.
32922 * include/search.h: Likewise.
32923 * include/shadow.h: Likewise.
32924 * include/signal.h: Likewise.
32925 * include/stdio.h: Likewise.
32926 * include/stdlib.h: Likewise.
32927 * include/string.h: Likewise.
32928 * include/sys/socket.h: Likewise.
32929 * include/sys/stat.h: Likewise.
32930 * include/sys/statfs.h: Likewise.
32931 * include/sys/statvfs.h: Likewise.
32932 * include/sys/syslog.h: Likewise.
32933 * include/sys/time.h: Likewise.
32934 * include/sys/uio.h: Likewise.
32935 * include/time.h: Likewise.
32936 * include/unistd.h: Likewise.
32937 * include/utmp.h: Likewise.
32938 * include/wchar.h: Likewise.
32939 * include/wctype.h: Likewise.
32940 * inet/aliases.h: Likewise.
32941 * inet/arpa/inet.h: Likewise.
32942 * inet/netinet/ether.h: Likewise.
32943 * inet/netinet/in.h: Likewise.
32944 * intl/libintl.h: Likewise.
32945 * io/bits/fcntl2.h: Likewise.
32946 * io/fcntl.h: Likewise.
32947 * io/ftw.h: Likewise.
32948 * io/sys/poll.h: Likewise.
32949 * io/sys/stat.h: Likewise.
32950 * io/sys/statfs.h: Likewise.
32951 * io/sys/statvfs.h: Likewise.
32952 * io/utime.h: Likewise.
32953 * libio/bits/stdio.h: Likewise.
32954 * libio/bits/stdio2.h: Likewise.
32955 * libio/libio.h: Likewise.
32956 * libio/libioP.h: Likewise.
32957 * libio/stdio.h: Likewise.
32958 * locale/lc-ctype.c: Likewise.
32959 * locale/locale.h: Likewise.
32960 * login/utmp.h: Likewise.
32961 * malloc/arena.c: Likewise.
32962 * malloc/malloc.c: Likewise.
32963 * malloc/malloc.h: Likewise.
32964 * malloc/mcheck.c: Likewise.
32965 * malloc/mtrace.c: Likewise.
32966 * math/bits/mathcalls.h: Likewise.
32967 * math/fenv.h: Likewise.
32968 * math/math_private.h: Likewise.
32969 * misc/bits/error.h: Likewise.
32970 * misc/bits/syslog.h: Likewise.
32971 * misc/err.h: Likewise.
32972 * misc/error.h: Likewise.
32973 * misc/fstab.h: Likewise.
32974 * misc/mntent.h: Likewise.
32975 * misc/regexp.h: Likewise.
32976 * misc/search.h: Likewise.
32977 * misc/sgtty.h: Likewise.
32978 * misc/sys/mman.h: Likewise.
32979 * misc/sys/syslog.h: Likewise.
32980 * misc/sys/uio.h: Likewise.
32981 * misc/sys/xattr.h: Likewise.
32982 * misc/ttyent.h: Likewise.
32983 * nis/rpcsvc/ypclnt.h: Likewise.
32984 * nss/nss.h: Likewise.
32985 * posix/bits/unistd.h: Likewise.
32986 * posix/fnmatch.h: Likewise.
32987 * posix/glob.h: Likewise.
32988 * posix/sched.h: Likewise.
32989 * posix/spawn.h: Likewise.
32990 * posix/sys/wait.h: Likewise.
32991 * posix/unistd.h: Likewise.
32992 * posix/wordexp.h: Likewise.
32993 * pwd/pwd.h: Likewise.
32994 * resolv/netdb.h: Likewise.
32995 * resource/sys/resource.h: Likewise.
32996 * rt/aio.h: Likewise.
32997 * rt/bits/mqueue2.h: Likewise.
32998 * rt/mqueue.h: Likewise.
32999 * shadow/shadow.h: Likewise.
33000 * signal/signal.h: Likewise.
33001 * socket/send.c: Likewise.
33002 * socket/sendto.c: Likewise.
33003 * socket/sys/socket.h: Likewise.
33004 * stdio-common/printf.h: Likewise.
33005 * stdlib/bits/stdlib.h: Likewise.
33006 * stdlib/fmtmsg.h: Likewise.
33007 * stdlib/monetary.h: Likewise.
33008 * stdlib/stdlib.h: Likewise.
33009 * stdlib/ucontext.h: Likewise.
33010 * streams/stropts.h: Likewise.
33011 * string/argz.h: Likewise.
33012 * string/bits/string2.h: Likewise.
33013 * string/string.h: Likewise.
33014 * string/strings.h: Likewise.
33015 * sunrpc/rpc/auth.h: Likewise.
33016 * sunrpc/rpc/auth_des.h: Likewise.
33017 * sunrpc/rpc/clnt.h: Likewise.
33018 * sunrpc/rpc/netdb.h: Likewise.
33019 * sunrpc/rpc/pmap_clnt.h: Likewise.
33020 * sunrpc/rpc/xdr.h: Likewise.
33021 * sysdeps/generic/inttypes.h: Likewise.
33022 * sysdeps/generic/net/if.h: Likewise.
33023 * sysdeps/generic/sys/swap.h: Likewise.
33024 * sysdeps/gnu/net/if.h: Likewise.
33025 * sysdeps/gnu/utmpx.h: Likewise.
33026 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33027 * sysdeps/i386/i486/bits/string.h: Likewise.
33028 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33029 * sysdeps/s390/bits/string.h: Likewise.
33030 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33031 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33032 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33033 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33034 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33035 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33036 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33037 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33038 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33039 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33040 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33041 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33042 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33043 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33044 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33045 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33046 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33048 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33050 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33051 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33052 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33053 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33054 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33055 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33056 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33057 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33058 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33059 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33060 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33061 * sysvipc/sys/ipc.h: Likewise.
33062 * sysvipc/sys/msg.h: Likewise.
33063 * sysvipc/sys/sem.h: Likewise.
33064 * sysvipc/sys/shm.h: Likewise.
33065 * termios/termios.h: Likewise.
33066 * time/sys/time.h: Likewise.
33067 * time/time.h: Likewise.
33068 * wcsmbs/bits/wchar2.h: Likewise.
33069 * wcsmbs/uchar.h: Likewise.
33070 * wcsmbs/wchar.h: Likewise.
33071 * wctype/wctype.h: Likewise.
33072
0269750c
UD
33073 [BZ #13551]
33074 * Makeconfig: Remove all but ELF support including AIX support.
33075 * Makerules: Likewise.
33076 * config.h.in: Likewise.
33077 * config.make.in: Likewise.
33078 * configure: Likewise.
33079 * configure.in: Likewise.
33080 * csu/Makefile: Likewise.
33081 * csu/version.c: Likewise.
33082 * debug/Makefile: Likewise.
33083 * dlfcn/Makefile: Likewise.
33084 * elf/Makefile: Likewise.
33085 * extra-lib.mk: Likewise.
33086 * iconv/Makefile: Likewise.
33087 * include/libc-symbols.h: Likewise.
33088 * include/shlib-compat.h: Likewise.
33089 * resolv/Makefile: Likewise.
33090 * resolv/res_libc.c: Likewise.
33091 * rt/Makefile: Likewise.
33092 * sysdeps/i386/asm-syntax.h: Likewise.
33093 * sysdeps/i386/sysdep.h: Likewise.
33094 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33095 * sysdeps/mach/sysdep.h: Likewise.
33096 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33097 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33098 * sysdeps/s390/asm-syntax.h: Likewise.
33099 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33101 * sysdeps/sh/sysdep.h: Likewise.
33102 * sysdeps/unix/sparc/sysdep.h: Likewise.
33103 * sysdeps/wordsize-32/divdi3.c: Likewise.
33104 * sysdeps/x86_64/sysdep.h: Likewise.
33105
00bbd29b
UD
33106 * argp/Versions: Remove _argp_unlock_xxx.
33107
33108 [BZ #13559]
33109 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33110 * abilist/libBrokenLocale.abilist: Likewise.
33111 * abilist/libanl.abilist: Likewise.
33112 * abilist/libc.abilist: Likewise.
33113 * abilist/libcrypt.abilist: Likewise.
33114 * abilist/libdl.abilist: Likewise.
33115 * abilist/libm.abilist: Likewise.
33116 * abilist/libnsl.abilist: Likewise.
33117 * abilist/libpthread.abilist: Likewise.
33118 * abilist/libresolv.abilist: Likewise.
33119 * abilist/librt.abilist: Likewise.
33120 * abilist/libthread_db.abilist: Likewise.
33121 * abilist/libutil.abilist: Likewise.
33122 * abilist/libnss_db.abilist: New file.
33123
33124 * scripts/abilist.awk: Add support for indirect functions.
33125
a2693a0e
UD
33126 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33127
3f05895f
UD
33128 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33129
ecb6fb48
UD
33130 * shlib-versions: Remove entries for ports architectures.
33131
664f8cb9
UD
33132 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33133 files in ports.
33134 * elf/stackguard-macros.h: Remove support for IA-64.
33135 * elf/tst-auditmod1.c: Likewise.
33136 * sysdeps/generic/ldsodefs.h: Likewise.
33137
7ae81d88
UD
33138 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33139 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33140 configure files.
33141
bdeba135
UD
33142 [BZ #13552]
33143 * configure.in: Remove --enable-omitfp support.
33144 * FAQ.in: Adjust.
33145 * config.make.in: Likewise.
33146 * Makeconfig: Likewise.
33147 * manual/install.texi: Likewise.
33148
d75a0a62
UD
33149 In case anyone cares, the IA-64 architecture could move to ports.
33150 * sysdeps/ia64/*: Removed.
33151 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33152 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33153
dcc9756b
UD
33154 [BZ #13555]
33155 * configure.in: Remove entries for unsupported architectures.
33156
d3761ebc 33157 [BZ #13533]
9954432e
UD
33158 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33159 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33160 routines.
33161 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33162 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33163 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33164 fall back to using wcrtomb.
33165 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33166 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33167 renaming.
33168 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33169 * wcsmbs/tst-c16c32-1.c: New file.
33170
33171 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33172 local variable.
33173
c3a87236
UD
33174 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33175
28926a1b
UD
33176 * elf/tst-unique3.cc: Add explicit declaration of gets.
33177 * elf/tst-unique3lib.cc: Likewise.
33178 * elf/tst-unique3lib2.cc: Likewise.
33179 * elf/tst-unique4.cc: Likewise.
33180
df78418a
UD
33181 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33182
8ecd6b2a
JM
331832012-01-06 Joseph Myers <joseph@codesourcery.com>
33184
33185 [BZ #13566]
33186 * assert/assert.h (static_assert): Don't define for C++.
33187 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33188 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33189
9f115170
UD
331902012-01-03 Ulrich Drepper <drepper@gmail.com>
33191
5e0d0300
UD
33192 * iconv/loop.c (single loop): Fix assertion in storing of
33193 remaining bytes.
33194
9f115170
UD
33195 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33196
81fb02b0
UD
331972012-01-01 Ulrich Drepper <drepper@gmail.com>
33198
33199 * posix/getconf.c: Update copyright year.
33200 * nss/getent.c: Likewise.
a316c1f6 33201 * nss/makedb.c: Likewise.
81fb02b0
UD
33202 * iconv/iconvconfig.c: Likewise.
33203 * iconv/iconv_prog.c: Likewise.
33204 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33205 * elf/pldd.c: Likewise.
33206 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33207 * catgets/gencat.c: Likewise.
33208 * csu/version.c: Likewise.
33209 * elf/ldd.bash.in: Likewise.
33210 * elf/sprof.c (print_version): Likewise.
33211 * locale/programs/locale.c: Likewise.
33212 * locale/programs/localedef.c: Likewise.
a316c1f6 33213 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33214 * nscd/nscd.c (print_version): Likewise.
33215 * debug/xtrace.sh: Likewise.
33216 * malloc/memusage.sh: Likewise.
33217 * malloc/mtrace.pl: Likewise.
33218 * debug/catchsegv.sh: Likewise.
33219
2ba92745
JJ
332202011-12-30 Jakub Jelinek <jakub@redhat.com>
33221
33222 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33223 pure attribute.
33224
dadebdae
UD
332252011-12-24 Ulrich Drepper <drepper@gmail.com>
33226
d3761ebc 33227 [BZ #13533]
db6af3eb
UD
33228 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33229 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33230 transformations.
33231 * iconv/gconv_int.h: Likewise.
33232 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33233 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33234 from libc for GLIBC_2.16.
33235 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33236 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33237 * wcsmbs/uchar.h: Really define mbstate_t.
33238 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33239 * wcsmbs/c16rtomb.c: New file.
33240 * wcsmbs/mbrtoc16.c: New file.
33241 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33242 for C/POSIX locale.
33243 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33244 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33245
dadebdae
UD
33246 * wcsmbs/wchar.h: Add missing __restrict.
33247
67371b56
UD
332482011-12-23 Ulrich Drepper <drepper@gmail.com>
33249
74033a25
UD
33250 [BZ #13532]
33251 * time/Makefile (routines): Add timespec_get.
33252 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33253 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33254 timespec for ISO C11.
33255 * time/timespec_get.c: New file.
33256 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33257 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33258
380d7e87
UD
33259 [BZ #13531]
33260 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33261 * stdlib/stdlib.h: Declare aligned_alloc.
33262 * Versions.def: Add GLIBC_2.16 for libc.
33263 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33264
4e9e7a35
UD
33265 [BZ 13527]
33266 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33267 ISO C11.
33268
380d7e87 33269 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33270 code.
33271
03a71829
UD
33272 [BZ #13528]
33273 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33274
839e283e
UD
33275 [BZ #13529]
33276 * assert/assert.h (static_assert): Define.
33277
ce5294e2 33278 * version.h: Update for 2.16 development version.
90fa7312 33279
8d44e150 33280 [BZ #13526]
d7809905
UD
33281 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33282 _ISOC11_SOURCE.
33283
c0da14cd
UD
33284 * version.h (RELEASE): Bump for 2.15 release.
33285 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33286
530a3249
MP
33287 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33288 Patch by Marek Polacek <mpolacek@redhat.com>.
33289
67371b56
UD
33290 * bits/byteswap.h: Protect long long constants with __extension__.
33291 * sysdeps/i386/bits/byteswap.h: Likewise.
33292 * sysdeps/ia64/bits/byteswap.h: Likewise.
33293 * sysdeps/s390/bits/byteswap.h: Likewise.
33294 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33295
15db4de1
LD
332962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33297
33298 [BZ #13540]
bbe315ea
LD
33299 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33300 destination buffer.
15db4de1
LD
33301 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33302
2b2596b1
MP
333032011-12-23 Marek Polacek <polacek@redhat.com>
33304
33305 * elf/dl-addr.c (determine_info): Add inline keyword.
33306 * elf/tst-auditmod4b.c (check_avx): Likewise.
33307 * elf/tst-auditmod6b.c (check_avx): Likewise.
33308 * elf/tst-auditmod6c.c (check_avx): Likewise.
33309 * elf/tst-auditmod7b.c (check_avx): Likewise.
33310
70c6c246
UD
333112011-12-23 Ulrich Drepper <drepper@gmail.com>
33312
33313 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33314 !__SSE_MATH__.
33315
c044cf14
LD
333162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33317
15db4de1 33318 [BZ #13540]
c044cf14
LD
33319 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33320 processing for last bytes.
33321
6b13d9d9
BH
333222011-08-06 Bruno Haible <bruno@clisp.org>
33323
d455f537
BH
33324 [BZ #13061]
33325 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33326 U+0385, not to U+1FEE.
33327
6b13d9d9
BH
33328 [BZ #13062]
33329 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33330 entry for U+00A5 U+0301.
33331
db910efd
UD
333322011-12-22 Ulrich Drepper <drepper@gmail.com>
33333
27deeafc
UD
33334 [BZ #13166]
33335 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33336 buffer for the output is too small.
33337
aed9d171
UD
33338 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33339 optimization.
33340
db910efd
UD
33341 [BZ #13185]
33342 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33343 SSE flags if possible.
33344
2bd779ae
LD
333452011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33346
e7f9dac3 33347 [BZ #13540]
2bd779ae
LD
33348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33349 processing for last bytes.
33350
154bfc16
JM
333512011-12-22 Joseph Myers <joseph@codesourcery.com>
33352
33353 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33354 (syscall-list-default-options, syscall-list-default-condition)
33355 (syscall-list-includes): Define.
33356 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33357 list of ABIs and options and #if conditions for each ABI. Do not
33358 handle common syscalls between ABIs specially.
33359 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33360 Remove.
33361 (syscall-list-variants, syscall-list-32bit-options)
33362 (syscall-list-32bit-condition, syscall-list-64bit-options)
33363 (syscall-list-64bit-condition): Define.
33364 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/Makefile (64bit-predefine):
33369 Remove.
33370 (syscall-list-variants, syscall-list-32bit-options)
33371 (syscall-list-32bit-condition, syscall-list-64bit-options)
33372 (syscall-list-64bit-condition): Define.
33373 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33374 Remove.
33375 (syscall-list-variants, syscall-list-32bit-options)
33376 (syscall-list-32bit-condition, syscall-list-64bit-options)
33377 (syscall-list-64bit-condition): Define.
33378
21eaf3a5
UD
333792011-12-22 Ulrich Drepper <drepper@gmail.com>
33380
16c6f992
UD
33381 * locale/iso-639.def: Add brx entry.
33382
41043168
UD
33383 [BZ #13328]
33384 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33385 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33386
21eaf3a5
UD
33387 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33388 __feraiseexcept_renamed.
33389
e3a851a2
UD
333902011-12-21 Ulrich Drepper <drepper@gmail.com>
33391
4920765e
UD
33392 [BZ #13538]
33393 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33394 EPOLLET with unsigned values.
33395 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33396 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33397
e3a851a2
UD
33398 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33399 to large cancellation.
33400 * math/s_cacoshf.c: Likewise.
33401 * math/s_cacoshl.c: Likewise.
33402
b27e24b8
RK
334032011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33404
33405 [BZ #13305]
aebefeee 33406 [BZ #12786]
b27e24b8
RK
33407 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33408 * math/s_cacoshf.c: Likewise.
33409 * math/s_cacoshl.c: Likewise.
33410
ee190f67
UD
334112011-12-21 Ulrich Drepper <drepper@gmail.com>
33412
33413 [BZ #13439]
33414 * iconv/gconv.h: Define __GCONV_SWAP.
33415 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33416 * iconvdata/utf-16.c: Likewise.
33417 * iconvdata/utf-32.c: Likewise.
33418
707f25df
AS
334192011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33420
33421 [BZ #13524]
33422 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33423 numerator after shifting it by one limb.
33424
d2daaa1e
RÁE
334252011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33426
33427 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33428 under [__USE_EXTERN_INLINES].
33429
a4647e72
UD
334302011-12-17 Ulrich Drepper <drepper@gmail.com>
33431
33432 [BZ #13446]
33433 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33434
f0b264f1
AZ
334352011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33436
33437 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33438 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33439 optimized code.
33440 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33441 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33442 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33443 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33444 for strncasecmp/strncasecmp_l compilation.
33445 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33446 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33447
8ef4f244
MP
334482011-12-08 Marek Polacek <mpolacek@redhat.com>
33449
33450 [BZ #13484]
33451 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33452 of __asm__.
33453
97ac2654
UD
334542011-12-17 Ulrich Drepper <drepper@gmail.com>
33455
33456 [BZ #13506]
33457 * time/tzfile.c (__tzfile_read): Check values from file header.
33458
91d2a845
WS
334592011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33460
33461 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33462 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33463 * powerpc/powerpc32/dl-start.S: Likewise.
33464 * powerpc/powerpc32/elf/start.S: Likewise.
33465 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33466 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33467 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33468 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33469 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33470 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33471 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33472 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33473 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33474 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33475 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33476 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33477 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33478 * powerpc/powerpc32/memset.S: Likewise.
33479 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33480 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33481 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33482 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33483 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33484 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33485 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33486 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33487 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33488 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33489 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33490 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33491 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33492
a1267ba1
AZ
334932011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33494
33495 * math/libm-test.inc: Added more nearbyint tests.
33496 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33497 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33498 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33500
ad8ac1bd
RL
335012011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33502
33503 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33504 FD_CLOEXEC.
33505
1d3e4b61
UD
335062011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33507
33508 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33509 Add wcscpy-ssse3 wcscpy-c.
33510 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33511 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33512 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33513 * sysdeps/x86_64/wcschr.S: New file.
33514 * sysdeps/x86_64/wcsrchr.S: New file.
33515 * string/test-strcmp.c: Remove checking of wcscmp function for
33516 wrong alignments.
33517 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33518 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33519 wcsrchr-sse2 wcsrchr-c.
33520 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33521 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33522 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33523 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33524 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33525 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33526 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33527 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33528 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33529 * wcsmbc/wcschr.c (WCSCHR): New macro.
33530
5b330a2d
UD
335312011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33532
33533 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33534 * wcsmbs/test-wcsrchr.c: New file.
33535 * string/test-strrchr.c: Add wcsrchr support.
33536 (WIDE): New macro.
33537 * wcsmbs/test-wcscpy.c: New file.
33538 * string/test-strcpy.c: Add wcscpy support.
33539 (WIDE): New macro.
26428b7c 33540
f039c043
UD
335412011-12-10 Ulrich Drepper <drepper@gmail.com>
33542
33543 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33544 the inner loop.
33545
850fb039
AS
335462011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33547
33548 [BZ #13472]
33549 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33550
4efbd5cb
UD
335512011-12-04 Ulrich Drepper <drepper@gmail.com>
33552
52ff5dd0 33553 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33554 Minor optimizations.
52ff5dd0 33555
4efbd5cb
UD
33556 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33557 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33558 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33559
8a426e12
UD
335602011-12-03 Ulrich Drepper <drepper@gmail.com>
33561
aff2453d
UD
33562 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33563 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33564 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33565 for gcc to avoid warnings.
33566 * inet/Makefile (tests): Add tst-checks.
33567 * inet/tst-checks.c: New file.
33568
33569 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33570 warning.
33571
33572 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33573 __wmemcmp_sse2.
33574
33575 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33576 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33577
8a426e12
UD
33578 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33579
9bea3473
UD
335802011-12-02 Ulrich Drepper <drepper@gmail.com>
33581
3a965496
UD
33582 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33583 problem.
33584
9bea3473
UD
33585 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33586
f101631b
UD
335872011-11-29 Joseph Myers <joseph@codesourcery.com>
33588
33589 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33590 conditional on GCC version.
33591 (__arch_compare_and_exchange_val_8_acq)
33592 (__arch_compare_and_exchange_val_16_acq)
33593 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33594 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33595 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33596
a98275aa
UD
335972011-12-02 Joseph Myers <joseph@codesourcery.com>
33598
33599 * sysdeps/sh/backtrace.c: New file.
33600
d4cc29a2
AS
336012011-12-02 Andreas Schwab <schwab@redhat.com>
33602
33603 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33604 parenthesis.
33605
6257af2d
AS
336062011-12-01 Andreas Schwab <schwab@redhat.com>
33607
33608 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33609 falling back to utime.
33610
b5f44c1a
AS
336112011-11-30 Andreas Schwab <schwab@redhat.com>
33612
33613 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33614 expectations for float.
33615
f3a6cc0a
AS
336162011-11-29 Andreas Schwab <schwab@redhat.com>
33617
33618 * locale/weight.h (findidx): Add parameter len.
33619 * locale/weightwc.h (findidx): Likewise.
33620 * posix/fnmatch_loop.c (FCT): Adjust caller.
33621 * posix/regcomp.c (build_equiv_class): Likewise.
33622 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33623 * posix/regexec.c (check_node_accept_bytes): Likewise.
33624 * string/strcoll_l.c (STRCOLL): Likewise.
33625 * string/strxfrm_l.c (STRXFRM): Likewise.
33626
9d65ea3a
UD
336272011-11-17 Ulrich Drepper <drepper@gmail.com>
33628
33629 * Makefile.in: Remove CVSOPT handling.
33630 * configure.in: Remove use of AC_REVISION.
33631 * iconvdata/Makefile (distribute): No need to filter out CVS.
33632 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33633 handling.
33634
5583a086
AS
336352011-11-16 Andreas Schwab <schwab@redhat.com>
33636
33637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33638 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33639 [USE_AS_STRNCASECMP_L]: Likewise.
33640 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33641 NO_TLS_DIRECT_SEG_REFS.
33642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33643 Fix argument offsets for non-PIC.
33644 [USE_AS_STRNCASECMP_L]: Likewise.
33645 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33646 NO_TLS_DIRECT_SEG_REFS.
33647
d62a8200
UD
336482011-11-15 Ulrich Drepper <drepper@gmail.com>
33649
9d65ea3a 33650 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33651 O_CLOEXEC.
33652 * locale/loadlocale.c (_nl_load_locale): Likewise.
33653
09f93bd3
AS
336542011-11-15 Andreas Schwab <schwab@redhat.com>
33655
446514f9
AS
33656 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33657 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33658 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33659 (SYSCALL_GETTIME): Set errno on error.
33660
09f93bd3
AS
33661 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33662 count references to noai6ai_cached.
33663
312be3f9
UD
336642011-11-15 Ulrich Drepper <drepper@gmail.com>
33665
33666 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33667
33668 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33669 FD_CLOEXEC for /proc/self/maps.
33670
33671 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33672 FD_CLOEXEC for /proc/meminfo.
33673
33674 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33675 gai.conf.
33676
33677 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33678 FD_CLOEXEC for given file.
33679
33680 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33681
33682 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33683 FD_CLOEXEC for /etc/hosts.
33684 (_gethtent): Likewise.
33685
33686 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33687
33688 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33689 cancellation and set FD_CLOEXEC for /etc/netgroup.
33690
33691 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33692 reading /etc/publickey.
33693
33694 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33695 allow cancellation when reading /etc/group.
33696
33697 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33698 cancellation.
33699 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33700
33701 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33702 when using data file.
33703
33704 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33705
33706 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33707 (write_nis_obj): Use "c" and "e" in fopen.
33708
33709 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33710
33711 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33712
33713 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33714
33715 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33716
33717 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33718 locale.alias.
33719
33720 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33721
33722 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33723
33724 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33725
33726 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33727 file parsing and set FD_CLOEXEC.
33728
82af0fa8
UD
337292011-11-14 Ulrich Drepper <drepper@gmail.com>
33730
33731 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33732
a5fb313c
AS
337332011-11-14 Andreas Schwab <schwab@redhat.com>
33734
33735 * malloc/arena.c (arena_get2): Don't call reused_arena when
33736 _int_new_arena failed.
33737
6abf3465
UD
337382011-11-14 Ulrich Drepper <drepper@gmail.com>
33739
33740 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33741 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33742 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33743 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33744 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33745 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33746 to compile strcasecmp and strncasecmp.
33747 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33748 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33749
33750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33751
76e3966e
UD
337522011-11-13 Ulrich Drepper <drepper@gmail.com>
33753
33754 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33755 locale-defines.sym to gen-as-const-headers.
33756 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33757 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33759 to compile strcasecmp and strncasecmp.
33760 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33761 strcasecmp_l and strncasecmp_l.
33762 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33763 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33764 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33765 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33766 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33767 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33768 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33769 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33770 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33771 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33772 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33773
ab26144e
UD
337742011-11-12 Ulrich Drepper <drepper@gmail.com>
33775
7edb22ef
UD
33776 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33777 result of SYSDEP_GETTIME_CPU to retval.
33778 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33779 parameter list to macro. Remove trailing semicolon. Adjust users.
33780
9694fc44
UD
33781 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33782 variable.
33783
8ad89ef8
UD
33784 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33785 mantissa words.
33786 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33787
0c822ef9
UD
33788 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33789 from unused variable.
33790
874e0564
UD
33791 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33792 DWARF definitions.
33793 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33794 for assembling.
33795
3a2edc79
UD
33796 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33797 over namespaces.
33798
f3c2577f
UD
33799 * sunrpc/rpc_prot.c (rejected): Fix case value.
33800
294ce126
UD
33801 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33802 unsigned long long int to avoid warnings in shift.
33803
5e2b63c6
UD
33804 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33805 of use of trans.
33806 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33807 variable tmp.
33808
e7f4b08e
UD
33809 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33810 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33811 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33812
ab26144e
UD
33813 * nis/nis_table.c (nis_list): Use variable of correct type for
33814 result of __follow_path call.
33815
8a6d5255
AZ
338162011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33817
33818 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33819 of math functions ceil, trunc, floor, round, and sqrt, when
33820 avaliable on the platform.
33821 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33822 name clash.
33823 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33824 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33825 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33826
aaddc98c
MP
338272011-10-30 Marek Polacek <mpolacek@redhat.com>
33828
33829 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33830 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33831
95b7042b
RM
338322011-11-11 Roland McGrath <roland@hack.frob.com>
33833
33834 * include/unistd.h: Fix __readlink return type.
33835 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33836
57769839
UD
338372011-11-11 Ulrich Drepper <drepper@gmail.com>
33838
33839 * stdlib/ucontext.h: Undo last change for makecontext.
33840
edc5984d
AS
338412011-11-11 Andreas Schwab <schwab@redhat.com>
33842
98591e58
AS
33843 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33844
edc5984d
AS
33845 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33846 * setjmp/setjmp.h: Mark functions as non-leaf.
33847 * setjmp/bits/setjmp2.h: Likewise.
33848 * stdlib/ucontext.h: Likewise.
33849
77cdc054
AS
338502011-11-10 Andreas Schwab <schwab@redhat.com>
33851
33852 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33853 (reused_arena): Don't check arena limit.
33854 (arena_get2): Atomically check arena limit.
33855
fe72eebd
UD
338562011-11-08 Ulrich Drepper <drepper@gmail.com>
33857
5f078c32
UD
33858 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33859 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33860
fe72eebd
UD
33861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33862 instructions.
33863
ae1bc2fa
AS
338642011-11-07 Andreas Schwab <schwab@redhat.com>
33865
7583a88d
AS
33866 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33867 handler when locking.
33868
ae1bc2fa
AS
33869 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33870 Fix size of allocated buffer.
33871
10fb0bfa
AS
338722011-11-04 Andreas Schwab <schwab@redhat.com>
33873
998832a4
AS
33874 [BZ #10103]
33875 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33876 declarations for long double functions.
33877 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33878
10fb0bfa
AS
33879 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33880
3d7ba52b
AS
338812011-11-03 Andreas Schwab <schwab@redhat.com>
33882
a9ae54a1
AS
33883 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33884 installed.
33885
3d7ba52b
AS
33886 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33887 is disabled.
33888
bc8db248
ST
338892011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33890
33891 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33892
45b96dd6
AS
338932011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33894
647776f6
AS
33895 * include/alloca.h (stackinfo_alloca_round): Define.
33896 (extend_alloca): Use it.
33897 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33898 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33899 here.
33900
d91a8b93
AS
33901 * scripts/check-local-headers.sh: Ignore libaudit.h.
33902
45b96dd6
AS
33903 * nscd/Makefile (extra-objs): Make recursively expanded.
33904
432d41ce
UD
339052011-11-01 Ulrich Drepper <drepper@gmail.com>
33906
34372fc6
UD
33907 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33908 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33909
fadb59f8
UD
33910 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33911 * posix/tst-rfc3484-2.c: Likewise.
33912 * posix/tst-rfc3484-3.c: Likewise.
33913
78239589
UD
33914 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33915 process_vm_writev.
33916 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33917 process_vm_writev.
33918 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33919 process_vm_writev from libc using GLIBC_2.15 version.
33920
432d41ce
UD
33921 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33922
02f9c6cf
PP
339232011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33924
33925 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33926 stack usage.
33927
3a2c0242
UD
339282011-10-31 Ulrich Drepper <drepper@gmail.com>
33929
f4ec4833
UD
33930 [BZ #13367]
33931 * nss/getent.c (initgroups_keys): Show error message in case no group
33932 names are given.
33933
3a2c0242
UD
33934 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33935 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33936 __bump_nl_timestamp.
33937 * nscd/connections (nscd_init): When host database is served open
33938 netlink socket and request notification about configuration changes.
33939 (main_loop_poll): Track netlink file descriptor and bump timestamp
33940 in case data becomes available.
33941 (main_loop_epoll): Likewise.
33942 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33943 (database_pers_head): Add extra_data fileds.
33944 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33945 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33946 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33947 Adjust caller.
33948 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33949 in6ai data, call __free_in6ai.
33950 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33951 Add -DHAVE_NETLINK.
33952 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33953 interface information. Reuse previous data if netlink timestamp
33954 is not changed.
33955 (__bump_nl_timestamp): New function.
33956 (__free_in6ai): New function.
33957
636064eb
UD
339582011-10-30 Ulrich Drepper <drepper@gmail.com>
33959
33960 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33961 close_not_cancel_no_status here.
33962 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33963
9beb2334
UD
339642011-10-29 Ulrich Drepper <drepper@gmail.com>
33965
6ef76f3b
UD
33966 [BZ #13276]
33967 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33968 return value.
33969
0ffc4f3e 33970 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
33971 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33972 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33973
cb95113e
UD
339742011-07-03 Andreas Jaeger <aj@suse.de>
33975
33976 [BZ #10709]
33977 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33978 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33979 * math/libm-test.inc (sin_test): Add test case.
33980
a1b560ff
UD
339812011-10-29 Ulrich Drepper <drepper@gmail.com>
33982
c9aaface
UD
33983 [BZ #13337]
33984 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33985 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33986
d272e7f1
UD
33987 * elf/chroot_canon.c (chroot_canon): Cleanups.
33988
1bc33071
UD
33989 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33990
1760874d
TJ
33991 [BZ #13335]
33992 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33993 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33994
51d91b18
UD
33995 * string/test-strchr.c: Make usable for strchrnul testing.
33996 * string/test-strchrnul.c: New file.
33997 * string/Makefile (strop-tests): Add strchrnul.
33998
a1b560ff 33999 * po/it.po: Update from translation team.
b611fb81 34000 * po/es.po: Likewise.
a1b560ff 34001
a5b81e1f
UD
340022011-10-28 Ulrich Drepper <drepper@gmail.com>
34003
fd52bc6d
UD
34004 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34005 the three constants needed as parameters. Drop the others.
34006 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34007 __m128i_strloadu_tolower.
52e4b9eb
UD
34008 Create and initialize variable zero and use it in all the places
34009 where _mm_setzero_si128 was used.
fd52bc6d 34010
a5b81e1f
UD
34011 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34012 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34013 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34014 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34015 anymore.
34016 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34017 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34018 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34019 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34020 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34021 __mpranred, __mptan.
34022 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34023 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34024 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34025 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34026 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34027 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34028 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34029 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34030 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34031
b4343346
AS
340322011-10-28 Andreas Schwab <schwab@redhat.com>
34033
0c92d8a8
AS
34034 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34035 redefine if SHARED.
34036 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34037
b4343346
AS
34038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34039 wide char related routines to wcsmbs subdir.
34040
3871f58f
AS
340412011-10-27 Andreas Schwab <schwab@redhat.com>
34042
34043 [BZ #13344]
34044 * misc/sys/cdefs.h (__THROWNL): Define.
34045 * posix/unistd.h: Use __THREADNL instead of __THREAD
34046 for memory synchronization functions.
34047
94d44d9f
RM
340482011-10-26 Roland McGrath <roland@hack.frob.com>
34049
21b64b15 34050 [BZ #13349]
94d44d9f
RM
34051 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34052 doesn't exist.
34053 * manual/stdio.texi (Obstack Streams): Node removed.
34054
f6ce9294
AS
340552011-10-26 Andreas Schwab <schwab@redhat.com>
34056
80479147
AS
34057 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34058 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34059 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34060
f6ce9294
AS
34061 * math/math_private.h (math_force_eval): Allow non-addressable
34062 arguments.
34063 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34064
618280a1
UD
340652011-10-25 Ulrich Drepper <drepper@gmail.com>
34066
e0016b11
UD
34067 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34068 file is not needed.
34069
34070 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34071 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34073 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34074 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34075 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34076 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34077 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34078 Add AVX variants.
34079 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34080 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34081 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34082 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34083 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34084 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34085 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34086 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34087 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34088 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34089 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34090 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34091 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34092 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34093 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34094 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34095 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34096 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34097 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34098
34099 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34100 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34101
618280a1
UD
34102 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34103 place. Use VEX encoding when compiling for AVX.
34104
37822576
AS
341052011-10-25 Andreas Schwab <schwab@redhat.com>
34106
1f1e1947
AS
34107 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34108 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34109
37822576
AS
34110 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34111
31ea014d
UD
341122011-10-25 Ulrich Drepper <drepper@gmail.com>
34113
d7826aa1 34114 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34115 useless if() expression.
d7826aa1
UD
34116 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34117 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34118 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34119 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34120 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34121 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34122 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34124 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34125 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34126 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34127 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34128 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34129 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34130 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34131 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34132 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34134 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34135
31ea014d
UD
34136 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34137
16437fec
AS
341382011-10-25 Andreas Schwab <schwab@redhat.com>
34139
34140 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34141 condition.
34142 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34143
31d3cc00
UD
341442011-10-25 Ulrich Drepper <drepper@gmail.com>
34145
34146 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34147 .text section. Avoid duplicate constants.
34148 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34150 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34152 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34156 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34157 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34158 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34159 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34160 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34161 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34162 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34163 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34164 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34165 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34171 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34172 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34173 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34174 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34175 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34176 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34177 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34178 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34179 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34180 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34181 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34182 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34183 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34184 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34185 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34186 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34187 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34188 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34189 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34190 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34191 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34192 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34193
58985aa9
UD
341942011-10-24 Ulrich Drepper <drepper@gmail.com>
34195
202c9deb
UD
34196 * sysdeps/x86_64/dla.h: Move to ...
34197 * sysdeps/x86_64/fpu/dla.h: ...here.
34198 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34199 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34200
af968f62
UD
34201 * config.make.in: Add have-mfma4 entry.
34202 * configure.in: Substitute libc_cv_cc_fma4.
34203 * math/Makefile (dbl-only-routines): Add sincostab.
34204 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34205 Use __sincostab not sincos.
34206 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34207 name is a macro.
34208 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34209 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34212 using __copysign.
34213 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34214 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34215 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34216 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34217 and __inv.
34218 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34219 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34220 __copysign.
34221 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34222 define aliases when function name is a macro.
34223 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34224 sysdeps/ieee754/dbl-64/sincos.tbl.
34225 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34226 fma4-enabled routines.
34227 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34228 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34229 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34230 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34231 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34232 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34233 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34234 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34235 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34236 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34237 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34238 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34239 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34240 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34241 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34242 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34243 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34244 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34245 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34246 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34247 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34248 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34249 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34250 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34251 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34252 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34253 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34254 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34255 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34256 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34257
58985aa9
UD
34258 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34259 rename.
34260 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34266 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34268
a201fbcf
AS
342692011-10-24 Andreas Schwab <schwab@redhat.com>
34270
34271 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34272
fc2ee42a
LD
342732011-10-23 Ulrich Drepper <drepper@gmail.com>
34274
bb3129bd
UD
34275 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34276
0275fff8
UD
34277 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34278 prediction.
34279 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34280
2fa2ae85
UD
34281 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34282 Remove unused variable magic_bits.
34283 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34284
fc2ee42a
LD
34285 * string/strnlen.c: Define and use STRNLEN macro.
34286 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34287 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34288 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34289 * wcsmbs/wcslen.c: Define and use WCSLEN.
34290 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34291 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34292 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34293 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34294 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34295 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34296 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34297
ce7dd29f
LD
342982011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34299
34300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34301 strnlen-sse2-no-bsf.
34302 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34303 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34304 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34305 Add strnlen support.
34306 (USE_AS_STRNLEN): New macro.
34307 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34308 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34309 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34310 * sysdeps/x86_64/wcslen.S: New file.
34311
979c70a3
MZ
343122011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34313
34314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34315 XMM-moves are used for copying on small sizes.
34316
2d09f82f
LD
343172011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34318
34319 * wcsmbs/Makefile (strop-tests): Add wcschr.
34320 * wcsmbs/test-wcschr.c: New file.
34321 * string/test-strchr.c: Update.
34322 Add wcschr support.
34323 (WIDE): New macro.
34324
619fccca
LD
343252011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34326
2d09f82f 34327 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34328 * wcsmbs/test-wcslen.c: New file.
34329 * string/test-strlen.c: Update.
34330 Add wcslen support.
34331 (WIDE): New macro.
34332
09f699ea
UD
343332011-10-23 Ulrich Drepper <drepper@gmail.com>
34334
34335 * po/it.po: Update from translation team.
34336
95584d3b
LD
343372011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34338
34339 * sysdeps/x86_64/wcscmp.S: Update.
34340 Fix wrong comparison semantics.
34341 wcscmp shall use signed comparison not unsigned.
34342 Don't use substraction to avoid overflow bug.
34343 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34344 * wcsmbc/wcscmp.c: Likewise.
34345 * string/test-strcmp.c: Likewise.
34346 Add new tests to check cases with negative values.
34347
c8b3296b
UD
343482011-10-23 Ulrich Drepper <drepper@gmail.com>
34349
34350 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34351 * sysdeps/x86_64/dla.h: ...here. New file.
34352 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34361
246ad57a
AS
343622011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34363
34364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34365 __ynl_finite aliases.
34366
a1a87169
UD
343672011-10-22 Ulrich Drepper <drepper@gmail.com>
34368
0d355eb7
UD
34369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34370
a1a87169
UD
34371 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34372 define DLA_FMA.
34373 [DLA_FMA] (EMULV): Use DLA_FMA.
34374 [DLA_FMA] (MUL12): Use EMULV.
34375 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34376 that are not needed.
34377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34379 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34380 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34383 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34384
ee2aafe0
AS
343852011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34386
34387 * math/s_nan.c: Undef __nan.
34388 * math/s_nanf.c: Undef __nanf.
34389 * math/s_nanl.c: Undef __nanl.
34390 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34391 "math_private.h".
34392
bc62c2fb
UD
343932011-10-22 Ulrich Drepper <drepper@gmail.com>
34394
77425c63
UD
34395 * math/s_catan.c: Add branch predictions.
34396 * math/s_catanf.c: Likewise.
34397 * math/s_catanh.c: Likewise.
34398 * math/s_catanhf.c: Likewise.
34399 * math/s_catanhl.c: Likewise.
34400 * math/s_catanl.c: Likewise.
34401 * math/s_cexp.c: Likewise.
34402 * math/s_cexpf.c: Likewise.
34403 * math/s_cexpl.c: Likewise.
34404 * math/s_clog.c: Likewise.
34405 * math/s_clog10.c: Likewise.
34406 * math/s_clog10f.c: Likewise.
34407 * math/s_clog10l.c: Likewise.
34408 * math/s_clogf.c: Likewise.
34409 * math/s_clogl.c: Likewise.
34410 * math/s_csqrt.c: Likewise.
34411 * math/s_csqrtf.c: Likewise.
34412 * math/s_csqrtl.c: Likewise.
34413 * math/s_ctanf.c: Likewise.
34414 * math/s_ctanh.c: Likewise.
34415 * math/s_ctanhf.c: Likewise.
34416 * math/s_ctanhl.c: Likewise.
34417 * math/s_ctanl.c: Likewise.
34418
bc62c2fb
UD
34419 * math/math_private.h: Define __nan, __nanf, __nanl.
34420 * math/s_cacosh.c: Include <math_private.h>.
34421 * math/s_cacoshl.c: Likewise.
34422 * math/s_casinh.c: Likewise.
34423 * math/s_casinhf.c: Likewise.
34424 * math/s_casinhl.c: Likewise.
34425 * math/s_ccos.c: Rely entire on ccosh.
34426 * math/s_ccosf.c: Rely entire on ccoshf.
34427 * math/s_ccosl.c: Rely entirely on ccoshl.
34428 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34429 Remove tests for FE_INVALID.
34430 * math/s_ccoshf.c: Likewise.
34431 * math/s_ccoshl.c: Likewise.
34432 * math/s_csin.c: Likewise.
34433 * math/s_csinf.c: Likewise.
34434 * math/s_csinh.c Likewise.
34435 * math/s_csinhf.c: Likewise.
34436 * math/s_csinhl.c: Likewise.
34437 * math/s_csinl.c: Likewise.
34438 * math/s_ctan.c: Likewise.
34439 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34440 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34441 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34442
8ec250a4
UD
344432011-10-21 Ulrich Drepper <drepper@gmail.com>
34444
c196fed8
UD
34445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34446 compilation problems.
34447
8ec250a4
UD
34448 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34449 __builtin_expect.
34450
8d4f46c6
UD
344512011-10-20 Ulrich Drepper <drepper@gmail.com>
34452
ed72b654
UD
34453 * sysdeps/i386/configure.in: Test for -mfma4 option.
34454 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34455 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34456 COMMON_CPUID_INDEX_80000001.
34457 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34458 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34459 use it if FMA3 is not supported.
34460 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34461
8d4f46c6
UD
34462 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34463 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34464
d45c60c2
AS
344652011-10-20 Andreas Schwab <schwab@redhat.com>
34466
34467 [BZ #12892]
34468 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34469 it would create a cycle with a link time dependency.
34470
d9a4d2ab
UD
344712011-10-19 Ulrich Drepper <drepper@gmail.com>
34472
855d1560
UD
34473 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34474 instruction.
34475 * string/Makefile (strop-tests): Add rawmemchr.
34476 * string/test-rawmemchr.c: New file.
34477
d9a4d2ab
UD
34478 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34479 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34480 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34481 when compiling str{,n}casecmp and when AVX is available. Hook up
34482 new optimized code in initializers.
34483
8f3b1ffe
AS
344842011-10-19 Andreas Schwab <schwab@redhat.com>
34485
34486 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34487 __feraiseexcept instead of feraiseexcept.
34488
d38f1dba
UD
344892011-10-18 Ulrich Drepper <drepper@gmail.com>
34490
d9a8d0ab
UD
34491 * math/math_private.h: Define defaults for libc_fetestexcept and
34492 libc_feupdateenv.
34493 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34494 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34495 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34496 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34497 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34498 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34499 libc_fetestexcept and libc_feupdateenv.
34500
4855e3dd
UD
34501 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34502 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34503 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34504 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34505 libc_feholdexcept_setround.
34506
581d30e3
UD
34507 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34508 Add s_nearbyint-c and s_nearbyintf-c.
34509 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34510 nearbyintf inlines.
34511 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34512 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34513 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34514 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34515
d38f1dba
UD
34516 * math/math_private.h: Define defaults for libc_fegetround,
34517 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34518 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34519 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34520 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34521 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34522 standard functions.
34523 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34524 Remove comments and hacks for old compiler versions.
34525 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34526 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34527 libc_feholdexceptl.
34528
caa6c9d8
AS
345292011-10-18 Andreas Schwab <schwab@redhat.com>
34530
34531 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34532 (__feraiseexcept_renamed): Add __NTH.
34533 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34534 namespace violations.
34535
97c066e6
UD
345362011-10-17 Ulrich Drepper <drepper@gmail.com>
34537
99ce7b04
UD
34538 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34539
1004d182
UD
34540 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34541
228a984d
UD
34542 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34543 recently added interfaces.
34544 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34545
c8553a6a
UD
34546 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34547 about macro parameter expansion.
34548
ed22dcf6
UD
34549 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34550 __NO_MATH_INLINES is defined. Cleanups.
34551
34552 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34553 and __floorf is target has SSE4.1.
34554 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34555 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34556 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34557 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34558
b171c137
UD
34559 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34560 name.
34561 (floorf): Likewise.
34562
97c066e6
UD
34563 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34564
629f62ef
AS
345652011-10-17 Andreas Schwab <schwab@redhat.com>
34566
49a43d80
AS
34567 * misc/sys/cdefs.h: Fix last change.
34568
629f62ef
AS
34569 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34570 database lookup.
34571
e453f6cd
UD
345722011-10-16 Ulrich Drepper <drepper@gmail.com>
34573
aa78043a
UD
34574 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34575
ad0f5cad
UD
34576 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34577 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34578 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34579 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34580 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34581 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34582 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34583 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34584 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34585 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34586 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34587 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34588 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34589 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34590 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34591 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34592 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34593 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34594 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34595 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34596 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34597 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34598
34599 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34600 ceil, ceilf, floor, floorf.
34601
34602 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34603 Perform IRELATIVE relocations last.
34604
e453f6cd
UD
34605 * elf/do-rel.h: Add another parameter nrelative, replacing the
34606 local variable with the same name. Change name of the function
34607 to end in Rel or Rela (uppercase).
34608 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34609 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34610 elf_dynamic_do_##reloc function.
34611
fd5bdc09
UD
346122011-10-15 Ulrich Drepper <drepper@gmail.com>
34613
79b195b5
UD
34614 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34615 is sufficient, at least on modern CPUs.
34616
d4a28569
UD
34617 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34618
b61099b5
UD
34619 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34620 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34621
bcf01e6d
UD
34622 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34623 __expl_finite.
34624 * math/bits/math-finite.h: Add entries for exp.
34625 * math/e_expl.c: Add __*_finite alias.
34626 * sysdeps/i386/fpu/e_exp.S: Likewise.
34627 * sysdeps/i386/fpu/e_expf.S: Likewise.
34628 * sysdeps/i386/fpu/e_expl.c: Likewise.
34629 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34630 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34631 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34632 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34633 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34634 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34635 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34636
ba1a0d59
UD
34637 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34638 is sufficient, at least on modern CPUs.
34639
fd5bdc09
UD
34640 * ctype/ctype-info.c (__ctype_init): Define.
34641 * include/ctype.h (__ctype_init): Declare.
34642 (__ctype_b_loc): The variable is always initialized.
34643 (__ctype_toupper_loc): Likewise.
34644 (__ctype_tolower_loc): Likewise.
34645 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34646 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34647
7872cfb0
AS
346482011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34649
b468825a
AS
34650 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34651
7872cfb0
AS
34652 * configure.in: Also look in $cxxmachine/include for C++ system
34653 headers.
34654
be13f7bf
LD
346552011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34656
34657 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34658 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34659 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34660 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34661 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34662 (USE_AS_WMEMCMP): New macro.
34663 Fixing indents.
34664 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34665 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34666 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34667 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34669 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34670 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34671 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34672 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34673 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34674 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34675 (USE_AS_WMEMCMP): New macro.
34676 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34677 * sysdeps/string/test-memcmp.c: Update.
34678 Fix simple_wmemcmp.
34679 Add new tests.
34680 * wcsmbs/wmemcmp.c: Update.
34681 (WMEMCMP): New macro.
34682 Fix overflow bug.
34683
556a2007
AJ
346842011-10-12 Andreas Jaeger <aj@suse.de>
34685
34686 [BZ #13268]
34687 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34688
538faaa7
UD
346892011-10-15 Ulrich Drepper <drepper@gmail.com>
34690
ab6737ff
UD
34691 * libio/iofwide.c (do_length): Avoid warning.
34692
538faaa7
UD
34693 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34694
396a21b1
UD
346952011-10-14 Ulrich Drepper <drepper@gmail.com>
34696
cdf2901f
UD
34697 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34698
38ad40ce
UD
34699 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34700 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34701 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34702 * sysdeps/i386/i686/fpu/e_log.S: New file.
34703 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34704 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34705
396a21b1
UD
34706 * ctype/ctype.h: Add support for inlined isXXX functions when
34707 compiling C++ code.
34708
6b1f68c9
AS
347092011-10-14 Andreas Schwab <schwab@redhat.com>
34710
349290c0
AS
34711 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34712
6b1f68c9
AS
34713 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34714
f2282d42
RM
347152011-10-13 Roland McGrath <roland@hack.frob.com>
34716
34717 [BZ #13291]
34718 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34719
5298ffa8
AS
347202011-10-13 Andreas Schwab <schwab@redhat.com>
34721
714fad23
AS
34722 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34723 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34724 feraiseexcept.
34725
81dcc7fb
AS
34726 * sysdeps/x86_64/memrchr.S: Check for zero size.
34727
5298ffa8
AS
34728 * string/stratcliff.c: Add memrchr tests.
34729
951fbcec
LD
347302011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34731
34732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34733 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34734 rawmemchr-sse2 rawmemchr-sse2-bsf.
34735 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34736 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34737 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34738 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34739 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34740 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34741 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34742 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34743 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34744 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34745 * string/memrchr.c (MEMRCHR): New macro.
34746
0ac5ae23
UD
347472011-10-12 Ulrich Drepper <drepper@gmail.com>
34748
34749 Add integration with gcc's -ffinite-math-only and optimize wrapper
34750 functions in libm.
34751 * Versions.def: Define GLIBC_2.15 version for libm.
34752 * math/Makefile (headers): Add bits/math-finite.h.
34753 * math/bits/math-finite.h: New file.
34754 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34755 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34756 * math/e_acoshl.c: Add __*_finite alias.
34757 * math/e_acosl.c: Likewise.
34758 * math/e_asinl.c: Likewise.
34759 * math/e_atan2l.c: Likewise.
34760 * math/e_atanhl.c: Likewise.
34761 * math/e_coshl.c: Likewise.
34762 * math/e_exp10.c: Likewise.
34763 * math/e_exp10f.c: Likewise.
34764 * math/e_exp10l.c: Likewise.
34765 * math/e_exp2l.c: Likewise.
34766 * math/e_fmodl.c: Likewise.
34767 * math/e_gammal_r.c: Likewise.
34768 * math/e_hypotl.c: Likewise.
34769 * math/e_j0l.c: Likewise.
34770 * math/e_j1l.c: Likewise.
34771 * math/e_jnl.c: Likewise.
34772 * math/e_lgammal_r.c: Likewise.
34773 * math/e_log10l.c: Likewise.
34774 * math/e_log2l.c: Likewise.
34775 * math/e_logl.c: Likewise.
34776 * math/e_powl.c: Likewise.
34777 * math/e_sinhl.c: Likewise.
34778 * math/e_sqrtl.c: Likewise.
34779 * math/e_scalb.c: Completely rewritten and optimized.
34780 * math/e_scalbf.c: Likewise.
34781 * math/e_scalbl.c: Likewise.
34782 * math/w_acos.c: Likewise.
34783 * math/w_acosf.c: Likewise.
34784 * math/w_acosl.c: Likewise.
34785 * math/w_acosh.c: Likewise.
34786 * math/w_acoshf.c: Likewise.
34787 * math/w_acoshl.c: Likewise.
34788 * math/w_asin.c: Likewise.
34789 * math/w_asinf.c: Likewise.
34790 * math/w_asinl.c: Likewise.
34791 * math/w_atan2.c: Likewise.
34792 * math/w_atan2f.c: Likewise.
34793 * math/w_atan2l.c: Likewise.
34794 * math/w_atanh.c: Likewise.
34795 * math/w_atanhf.c: Likewise.
34796 * math/w_atanhl.c: Likewise.
34797 * math/w_exp10.c: Likewise.
34798 * math/w_exp10f.c: Likewise.
34799 * math/w_exp10l.c: Likewise.
34800 * math/w_fmod.c: Likewise.
34801 * math/w_fmodf.c: Likewise.
34802 * math/w_fmodl.c: Likewise.
34803 * math/w_j0.c: Likewise.
34804 * math/w_j0f.c: Likewise.
34805 * math/w_j0l.c: Likewise.
34806 * math/w_j1.c: Likewise.
34807 * math/w_j1f.c: Likewise.
34808 * math/w_j1l.c: Likewise.
34809 * math/w_jn.c: Likewise.
34810 * math/w_jnf.c: Likewise.
34811 * math/w_log.c: Likewise.
34812 * math/w_logf.c: Likewise.
34813 * math/w_logl.c: Likewise.
34814 * math/w_log10.c: Likewise.
34815 * math/w_log10f.c: Likewise.
34816 * math/w_log10l.c: Likewise.
34817 * math/w_log2.c: Likewise.
34818 * math/w_log2f.c: Likewise.
34819 * math/w_log2l.c: Likewise.
34820 * math/w_pow.c: Likewise.
34821 * math/w_powf.c: Likewise.
34822 * math/w_powl.c: Likewise.
34823 * math/w_remainder.c: Likewise.
34824 * math/w_remainderf.c: Likewise.
34825 * math/w_remainderl.c: Likewise.
34826 * math/w_scalb.c: Likewise.
34827 * math/w_scalbf.c: Likewise.
34828 * math/w_scalbl.c: Likewise.
34829 * math/w_sqrt.c: Likewise.
34830 * math/w_sqrtf.c: Likewise.
34831 * math/w_sqrtl.c: Likewise.
34832 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34833 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34834 used.
34835 * math/math_private.h: Declare __kernel_standard_f.
34836 * math/w_cosh.c: Remove cruft and optimize a bit.
34837 * math/w_coshf.c: Likewise.
34838 * math/w_coshl.c: Likewise.
34839 * math/w_exp2.c: Likewise.
34840 * math/w_exp2f.c: Likewise.
34841 * math/w_exp2l.c: Likewise.
34842 * math/w_hypot.c: Likewise.
34843 * math/w_hypotf.c: Likewise.
34844 * math/w_hypotl.c: Likewise.
34845 * math/w_lgamma.c: Likewise.
34846 * math/w_lgamma_r.c: Likewise.
34847 * math/w_lgammaf.c: Likewise.
34848 * math/w_lgammaf_r.c: Likewise.
34849 * math/w_lgammal.c: Likewise.
34850 * math/w_lgammal_r.c: Likewise.
34851 * math/w_sinh.c: Likewise.
34852 * math/w_sinhf.c: Likewise.
34853 * math/w_sinhl.c: Likewise.
34854 * math/w_tgamma.c: Likewise.
34855 * math/w_tgammaf.c: Likewise.
34856 * math/w_tgammal.c: Likewise.
34857 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34859 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34860 Minor optimizations. Pretty printing. Remove cruft.
34861 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34862 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34863 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34864 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34865 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34866 * sysdeps/i386/fpu/e_asin.S: Likewise.
34867 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34868 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34869 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34870 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34871 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34872 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34873 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34874 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34875 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34876 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34877 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34878 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34879 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34880 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34881 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34882 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34883 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34884 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34885 * sysdeps/i386/fpu/e_log.S: Likewise.
34886 * sysdeps/i386/fpu/e_log10.S: Likewise.
34887 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34888 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34889 * sysdeps/i386/fpu/e_log2.S: Likewise.
34890 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34891 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34892 * sysdeps/i386/fpu/e_logf.S: Likewise.
34893 * sysdeps/i386/fpu/e_logl.S: Likewise.
34894 * sysdeps/i386/fpu/e_pow.S: Likewise.
34895 * sysdeps/i386/fpu/e_powf.S: Likewise.
34896 * sysdeps/i386/fpu/e_powl.S: Likewise.
34897 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34898 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34899 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34900 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34901 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34902 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34903 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34904 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34905 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34913 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34922 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34923 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34924 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34927 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34928 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34929 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34930 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34931 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34932 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34933 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34934 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34935 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34936 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34937 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34938 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34939 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34940 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34941 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34942 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34943 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34944 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34945 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34946 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34947 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34948 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34949 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34950 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34951 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34952 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34953 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34954 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34955 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34956 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34957 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34958 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34960 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34961 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34962 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34963 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34964 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34965 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34966 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34967 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34968 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34969 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34970 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34971 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34972 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34973 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34974 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34975 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34976 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34977 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34978 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34979 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34980 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34981 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34983 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34984 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34985 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34986 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34987 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34988 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34989 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34990 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34991 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34992 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34993 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34994 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34995 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34996 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34997 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34998 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34999 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35000 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35001 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35002 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35003 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35004 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35005 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35006 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35007 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35008 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35009 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35010 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35011 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35012 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35013 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35014 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35015 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35016 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35017 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35018 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35019 (__isnanf): Likewise.
35020 (__isinf_ns): Likewise.
35021 (__isinf_nsf): Likewise.
35022 (__finite): Likewise.
35023 (__finitef): Likewise.
35024 (__ieee754_sqrt): Define as macro.
35025 (__ieee754_sqrtf): Define as macro.
35026 (__ieee754_sqrtl): Define as macro.
35027 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35028 inlined copy.
35029 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35030 __FINITE_MATH_ONLY__ consistent.
35031 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35032
12cc2fcd
AS
350332011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35034
a843a204
AS
35035 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35036 of rawmemchr.
35037
12cc2fcd
AS
35038 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35039
c853acd5
UD
350402011-10-09 Ulrich Drepper <drepper@gmail.com>
35041
35042 * po/ja.po: Update from translation team.
35043
c658d255
RM
350442011-10-08 Roland McGrath <roland@hack.frob.com>
35045
110946e4
RM
35046 * locale/programs/locarchive.c (prepare_address_space): New function.
35047 (create_archive, enlarge_archive, open_archive): Use it.
35048
50604220
RM
35049 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35050 inside [SHARED], where it is used.
35051
c658d255
RM
35052 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35053
35054 * nss/getent.c (netgroup_keys): Remove unused variable.
35055 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35056
6a621eb7
UD
350572011-10-08 Ulrich Drepper <drepper@gmail.com>
35058
7edb55ce
UD
35059 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35060 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35062 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35063 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35064 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35065 * math/Makefile (libm-calls): Add s_isinf_ns.
35066 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35067 * math/multc3.c: Likewise.
35068 * math/s_casin.c: Likewise.
35069 * math/s_casinf.c: Likewise.
35070 * math/s_casinl.c: Likewise.
35071 * math/s_ccos.c: Likewise.
35072 * math/s_ccosf.c: Likewise.
35073 * math/s_ccosl.c: Likewise.
35074 * math/s_ctan.c: Likewise.
35075 * math/s_ctanf.c: Likewise.
35076 * math/s_ctanh.c: Likewise.
35077 * math/s_ctanhf.c: Likewise.
35078 * math/s_ctanhl.c: Likewise.
35079 * math/s_ctanl.c: Likewise.
35080 * math/w_fmod.c: Likewise.
35081 * math/w_fmodf.c: Likewise.
35082 * math/w_fmodl.c: Likewise.
35083 * math/w_remainder.c: Likewise.
35084 * math/w_remainderf.c: Likewise.
35085 * math/w_remainderl.c: Likewise.
35086 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35087 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35088 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35090 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35091 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35092 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35093 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35094
187da0ae
UD
35095 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35096 of the number.
35097 * stdio-common/printf_fphex.c: Likewise.
35098 * stdio-common/printf_size.c: Likewise.
35099
9277c064
UD
35100 * math/e_exp10.c: Include math_private.h using <...> not "...".
35101 * math/e_exp10f.c: Likewise.
35102 * math/e_exp10l.c: Likewise.
35103 * math/e_exp2l.c: Likewise.
35104 * math/e_j0l.c: Likewise.
35105 * math/e_j1l.c: Likewise.
35106 * math/e_jnl.c: Likewise.
35107 * math/e_lgammal_r.c: Likewise.
35108 * math/e_rem_pio2l.c: Likewise.
35109 * math/e_scalb.c: Likewise.
35110 * math/e_scalbf.c: Likewise.
35111 * math/e_scalbl.c: Likewise.
35112 * math/k_cosl.c: Likewise.
35113 * math/k_sinl.c: Likewise.
35114 * math/k_tanl.c: Likewise.
35115 * math/s_cacoshf.c: Likewise.
35116 * math/s_catan.c: Likewise.
35117 * math/s_catanf.c: Likewise.
35118 * math/s_catanh.c: Likewise.
35119 * math/s_catanhf.c: Likewise.
35120 * math/s_catanhl.c: Likewise.
35121 * math/s_catanl.c: Likewise.
35122 * math/s_ccosh.c: Likewise.
35123 * math/s_ccoshf.c: Likewise.
35124 * math/s_ccoshl.c: Likewise.
35125 * math/s_cexp.c: Likewise.
35126 * math/s_cexpf.c: Likewise.
35127 * math/s_cexpl.c: Likewise.
35128 * math/s_clog.c: Likewise.
35129 * math/s_clog10.c: Likewise.
35130 * math/s_clog10f.c: Likewise.
35131 * math/s_clog10l.c: Likewise.
35132 * math/s_clogf.c: Likewise.
35133 * math/s_clogl.c: Likewise.
35134 * math/s_csin.c: Likewise.
35135 * math/s_csinf.c: Likewise.
35136 * math/s_csinh.c: Likewise.
35137 * math/s_csinhf.c: Likewise.
35138 * math/s_csinhl.c: Likewise.
35139 * math/s_csinl.c: Likewise.
35140 * math/s_csqrt.c: Likewise.
35141 * math/s_csqrtf.c: Likewise.
35142 * math/s_csqrtl.c: Likewise.
35143 * math/s_ctan.c: Likewise.
35144 * math/s_ctanf.c: Likewise.
35145 * math/s_ctanh.c: Likewise.
35146 * math/s_ctanhf.c: Likewise.
35147 * math/s_ctanhl.c: Likewise.
35148 * math/s_ctanl.c: Likewise.
35149 * math/s_ldexp.c: Likewise.
35150 * math/s_ldexpf.c: Likewise.
35151 * math/s_ldexpl.c: Likewise.
35152 * math/s_significand.c: Likewise.
35153 * math/s_significandf.c: Likewise.
35154 * math/s_significandl.c: Likewise.
35155 * math/w_acos.c: Likewise.
35156 * math/w_acosf.c: Likewise.
35157 * math/w_acosh.c: Likewise.
35158 * math/w_acoshf.c: Likewise.
35159 * math/w_acoshl.c: Likewise.
35160 * math/w_acosl.c: Likewise.
35161 * math/w_asin.c: Likewise.
35162 * math/w_asinf.c: Likewise.
35163 * math/w_asinl.c: Likewise.
35164 * math/w_atan2.c: Likewise.
35165 * math/w_atan2f.c: Likewise.
35166 * math/w_atan2l.c: Likewise.
35167 * math/w_atanh.c: Likewise.
35168 * math/w_atanhf.c: Likewise.
35169 * math/w_atanhl.c: Likewise.
35170 * math/w_cosh.c: Likewise.
35171 * math/w_coshf.c: Likewise.
35172 * math/w_coshl.c: Likewise.
35173 * math/w_dremf.c: Likewise.
35174 * math/w_exp10.c: Likewise.
35175 * math/w_exp10f.c: Likewise.
35176 * math/w_exp10l.c: Likewise.
35177 * math/w_exp2.c: Likewise.
35178 * math/w_exp2f.c: Likewise.
35179 * math/w_fmod.c: Likewise.
35180 * math/w_fmodf.c: Likewise.
35181 * math/w_fmodl.c: Likewise.
35182 * math/w_hypot.c: Likewise.
35183 * math/w_hypotf.c: Likewise.
35184 * math/w_hypotl.c: Likewise.
35185 * math/w_j0.c: Likewise.
35186 * math/w_j0f.c: Likewise.
35187 * math/w_j0l.c: Likewise.
35188 * math/w_j1.c: Likewise.
35189 * math/w_j1f.c: Likewise.
35190 * math/w_j1l.c: Likewise.
35191 * math/w_jn.c: Likewise.
35192 * math/w_jnf.c: Likewise.
35193 * math/w_jnl.c: Likewise.
35194 * math/w_lgamma.c: Likewise.
35195 * math/w_lgamma_r.c: Likewise.
35196 * math/w_lgammaf.c: Likewise.
35197 * math/w_lgammaf_r.c: Likewise.
35198 * math/w_lgammal.c: Likewise.
35199 * math/w_lgammal_r.c: Likewise.
35200 * math/w_log.c: Likewise.
35201 * math/w_log10.c: Likewise.
35202 * math/w_log10f.c: Likewise.
35203 * math/w_log10l.c: Likewise.
35204 * math/w_log2.c: Likewise.
35205 * math/w_log2f.c: Likewise.
35206 * math/w_log2l.c: Likewise.
35207 * math/w_logf.c: Likewise.
35208 * math/w_logl.c: Likewise.
35209 * math/w_pow.c: Likewise.
35210 * math/w_powf.c: Likewise.
35211 * math/w_powl.c: Likewise.
35212 * math/w_remainder.c: Likewise.
35213 * math/w_remainderf.c: Likewise.
35214 * math/w_remainderl.c: Likewise.
35215 * math/w_scalb.c: Likewise.
35216 * math/w_scalbf.c: Likewise.
35217 * math/w_scalbl.c: Likewise.
35218 * math/w_sinh.c: Likewise.
35219 * math/w_sinhf.c: Likewise.
35220 * math/w_sinhl.c: Likewise.
35221 * math/w_sqrt.c: Likewise.
35222 * math/w_sqrtf.c: Likewise.
35223 * math/w_sqrtl.c: Likewise.
35224 * math/w_tgamma.c: Likewise.
35225 * math/w_tgammaf.c: Likewise.
35226 * math/w_tgammal.c: Likewise.
35227
6a621eb7
UD
35228 * po/ja.po: Update from translation team.
35229
bf582445
AJ
352302011-09-29 Andreas Jaeger <aj@suse.de>
35231
f9efbf3a
AJ
35232 [BZ #13179]
35233 * sunrpc/netname.c (netname2host): Fix logic.
35234
bf582445
AJ
35235 [BZ #6779]
35236 [BZ #6783]
35237 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35238 correctly.
35239 * math/w_remainder.c (__remainder): Likewise.
35240 * math/w_remainderf.c (__remainderf): Likewise.
35241 * math/libm-test.inc (remainder_test): Add test cases.
35242
48693bea
AK
352432011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35244
35245 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35246 sdiv_qrnnd.
35247
42622229
LD
352482011-10-07 Ulrich Drepper <drepper@gmail.com>
35249
35250 * string/test-memcmp.c: Avoid unncessary #defines.
35251 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35252
093ecf92
LD
352532011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35254
35255 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35256 Use new sse2 version for core i3 - i7 as it's faster
35257 than sse42 version.
35258 (bit_Prefer_PMINUB_for_stringop): New.
35259 * sysdeps/x86_64/rawmemchr.S: Update.
35260 Replace with faster SSE2 version.
35261 * sysdeps/x86_64/memrchr.S: New file.
35262 * sysdeps/x86_64/memchr.S: Update.
35263 Replace with faster SSE2 version.
35264
fde56e5c
MP
352652011-09-12 Marek Polacek <mpolacek@redhat.com>
35266
35267 * elf/dl-load.c (lose): Add cast to avoid warning.
35268
21fd49a9
UD
352692011-10-07 Ulrich Drepper <drepper@gmail.com>
35270
5a06e643
UD
35271 * po/ca.po: Update from translation team.
35272
684ae515
UD
35273 * inet/getnetgrent_r.c: Hook up nscd.
35274 * nscd/Makefile (routines): Add nscd_netgroup.
35275 (nscd-modules): Add netgroupcache.
35276 (CFLAGS-netgroupcache.c): Define.
35277 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35278 (cache_search): Add const to second parameter.
35279 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35280 INNETGR.
35281 (dbs): Add netgrdb entry.
35282 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35283 (verify_persistent_db): Handle netgrdb.
35284 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35285 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35286 GETFDNETGR.
35287 (netgroup_response_header): Define.
35288 (innetgroup_response_header): Define.
35289 (datahead): Add netgroup_response_header and innetgroup_response_header
35290 elements.
35291 * nscd/nscd.conf: Add entries for netgroup cache.
35292 * nscd/nscd.h (dbtype): Add netgrdb.
35293 (_PATH_NSCD_NETGROUP_DB): Define.
35294 (netgroup_iov_disabled): Declare.
35295 (xmalloc, xcalloc, xrealloc): Move declarations here.
35296 (cache_search): Adjust prototype.
35297 Add netgroup-related prototypes.
35298 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35299 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35300 (__nscd_innetgr): Declare.
35301 * nscd/selinux.c (perms): Use access_vector_t as element type and
35302 add netgroup-related initializers.
35303 * nscd/netgroupcache.c: New file.
35304 * nscd/nscd_netgroup.c: New file.
35305 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35306 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35307 For four parameters use innetgr.
35308 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35309 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35310 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35311 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35312
21fd49a9
UD
35313 * nscd/connections.c (register_traced_file): Don't register file
35314 for disabled databases.
35315
054c0457
UD
353162011-10-06 Ulrich Drepper <drepper@gmail.com>
35317
32b63198
UD
35318 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35319
054c0457
UD
35320 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35321 from tree and freeing node.
35322
64031225
JO
353232011-09-25 Jiri Olsa <jolsa@redhat.com>
35324
35325 * nss/nsswitch.c (__nss_database_lookup): Handle
35326 nss_parse_service_list out of memory case.
35327
0490345c
JO
353282011-09-15 Jiri Olsa <jolsa@redhat.com>
35329
35330 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35331 out of memory case.
35332
3a62d00d
AS
353332011-10-04 Andreas Schwab <schwab@redhat.com>
35334
35335 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35336 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35337 pass it down.
35338 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35339 elf_machine_rela, elf_machine_lazy_rel.
35340 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35341 (ELF_DYNAMIC_DO_REL): Likewise.
35342 (ELF_DYNAMIC_DO_RELA): Likewise.
35343 (ELF_DYNAMIC_RELOCATE): Likewise.
35344 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35345 to ELF_DYNAMIC_DO_REL.
35346 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35347 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35348 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35349 elf_machine_rela.
35350 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35351 skip_ifunc, don't call ifunc function if non-zero.
35352 (elf_machine_rela): Likewise.
35353 (elf_machine_lazy_rel): Likewise.
35354 (elf_machine_lazy_rela): Likewise.
35355 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35356 (elf_machine_lazy_rel): Likewise.
35357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35358 Likewise.
35359 (elf_machine_lazy_rel): Likewise.
35360 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35361 Likewise.
35362 (elf_machine_lazy_rel): Likewise.
35363 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35364 (elf_machine_lazy_rel): Likewise.
35365 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35366 (elf_machine_lazy_rel): Likewise.
35367 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35368 (elf_machine_lazy_rel): Likewise.
35369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35370 (elf_machine_lazy_rel): Likewise.
35371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35372 (elf_machine_lazy_rel): Likewise.
35373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35374 (elf_machine_lazy_rel): Likewise.
35375
68577918
UD
353762011-09-28 Ulrich Drepper <drepper@gmail.com>
35377
35378 * nss/nss_files/files-init.c (_nss_files_init): Use static
35379 initialization for all the *_traced_file variables.
35380
68822d74
AS
353812011-09-28 Andreas Schwab <schwab@redhat.com>
35382
35383 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35384
2056100b
RM
353852011-09-27 Roland McGrath <roland@hack.frob.com>
35386
35387 [BZ #13226]
35388 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35389
32c76b63
AS
353902011-09-27 Andreas Schwab <schwab@redhat.com>
35391
35392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35393 Reread the line before reparsing it.
35394
bf972c9d
AS
353952011-09-26 Andreas Schwab <schwab@redhat.com>
35396
35397 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35398
e057a1b5
JM
353992011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35400 Maxim Kuvyrkov <maxim@codesourcery.com>
35401 Joseph Myers <joseph@codesourcery.com>
35402
35403 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35404 if needed for __stack_chk_guard.
35405
bc7e1c36
RM
354062011-09-19 Roland McGrath <roland@hack.frob.com>
35407
ecb1482f
RM
35408 * sysdeps/posix/spawni.c (script_execute): Always define it.
35409 It will be optimized away if unused.
35410 (maybe_script_execute): New function.
35411 (__spawni): Call it.
35412
bc7e1c36
RM
35413 * Makerules: Don't include tls.make.
35414 (config-tls): Always set to thread.
35415 * tls.make.c: File removed.
35416
1c3b002b
MF
354172011-09-19 Mike Frysinger <vapier@gentoo.org>
35418
35419 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35420 * config.make.in (CPPFLAGS-config): New substituted variable.
35421
2840865d
UD
354222011-09-15 Ulrich Drepper <drepper@gmail.com>
35423
88738eb6
UD
35424 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35425
cbf645a6 35426 [BZ #13192]
2840865d
UD
35427 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35428 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35429
b402e91a
RM
354302011-09-15 Roland McGrath <roland@hack.frob.com>
35431
35432 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35433 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35435 (CALL_FAIL): Likewise.
35436 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35437 (CALL_FAIL): Macro removed.
35438 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35439
4c1a1f71
UD
354402011-09-15 Ulrich Drepper <drepper@gmail.com>
35441
35442 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35443 for __FINITE_MATH_ONLY__ == 1.
35444
edc121be
AS
354452011-09-15 Andreas Schwab <schwab@redhat.com>
35446
35447 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35448 __ieee754_sqrt instead of sqrt.
35449 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35450 __ieee754_sqrtf instead of sqrtf.
35451 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35452 __floorf instead of floorf.
35453 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35454 __floorf, __truncf instead of floorf, truncf.
35455
cd205654
UD
354562011-09-14 Ulrich Drepper <drepper@gmail.com>
35457
ee4d0315
UD
35458 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35459
cd205654
UD
35460 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35461 __extern_always_inline.
35462 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35463 32-bit.
35464
48b67d71
AS
354652011-09-14 Andreas Schwab <schwab@redhat.com>
35466
35467 * elf/rtld.c (dl_main): Also relocate in dependency order when
35468 doing symbol dependency testing.
35469
1ae12c75
AS
354702011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35471
35472 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35473 Always define `refsym'.
35474
995a80df
AS
354752011-09-13 Andreas Schwab <schwab@redhat.com>
35476
e529793b
AS
35477 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35478 (__FD_ELT): Renamed from __FDELT.
35479 * misc/bits/select2.h (__FD_ELT): Likewise.
35480 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35481 __FD_MASK instead of __FDELT, __FDMASK.
35482 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35483 Likewise.
35484 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35485 Likewise.
35486
52d4fef8
AS
35487 * elf/Makefile (gen-ldd): Fix pattern.
35488
995a80df
AS
35489 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35490 (init_tls): Likewise.
35491
8682f8b0
UD
354922011-09-12 Ulrich Drepper <drepper@gmail.com>
35493
35494 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35495
de82006d
AS
354962011-09-12 Andreas Schwab <schwab@redhat.com>
35497
a7c8e6a1
AS
35498 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35499 `struct cmsghdr *' instead of `void *'.
35500 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35501 Likewise.
35502
0f31fe77
AS
355032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35504
35505 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35506 if non-absolute.
35507 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35508 ldd_rewrite_script.
0f31fe77 35509
32b4c839
UD
355102011-09-11 Ulrich Drepper <drepper@gmail.com>
35511
83cd1420
UD
35512 * configure.in: Remove --with-tls option.
35513 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35514 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35515 out in case it is missing.
35516 * sysdeps/ia64/elf/configure.in: Likewise.
35517 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35518 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35519 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35520 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35521 * sysdeps/sh/elf/configure.in: Likewise.
35522 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35523 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35524 * sysdeps/x86_64/elf/configure.in: Likewise.
35525 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35526 * sysdeps/mach/hurd/tls.h: Likewise.
35527
633f745d
UD
35528 [BZ #13067]
35529 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35530
f318beb8
UD
35531 [BZ #13090]
35532 * configure.in: Fix use of AC_INIT.
35533
32b4c839
UD
35534 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35535
3ce1f295
UD
355362011-09-10 Ulrich Drepper <drepper@gmail.com>
35537
bb016596
UD
35538 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35539 __set_errno.
8e58439c
UD
35540 * malloc/hooks.c: Likewise.
35541
aebae053 35542 [BZ #11929]
02d46fc4
UD
35543 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35544 variables statically.
35545 (narenas): Initialize.
35546 (list_lock): Initialize.
bb016596
UD
35547 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35548 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35549 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35550 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35551 Add initializers to main_arena and mp_.
35552 (malloc_state): Remove pagesize member. Change all users to use
35553 GLRO(dl_pagesize).
35554
35555 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35556 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35557 is always initialized.
35558
22a89187
UD
35559 * malloc/malloc.c: Removed unused configurations and dead code.
35560 * malloc/arena.c: Likewise.
35561 * malloc/hooks.c: Likewise.
02d46fc4 35562 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35563
d063d164
UD
35564 * include/tls.h: Removed. USE___THREAD must always be defined.
35565 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35566 * elf/dl-libc.c: Likewise.
35567 * elf/dl-tsd.c: Likewise.
35568 * include/errno.h: Likewise.
35569 * include/netdb.h: Likewise.
35570 * include/resolv.h: Likewise.
35571 * inet/herrno-loc.c: Likewise.
35572 * inet/herrno.c: Likewise.
35573 * malloc/arena.c: Likewise.
35574 * malloc/hooks.c: Likewise.
35575 * malloc/malloc.c: Likewise.
35576 * resolv/res-state.c: Likewise.
35577 * resolv/res_libc.c: Likewise.
35578 * sysdeps/i386/dl-machine.h: Likewise.
35579 * sysdeps/ia64/dl-machine.h: Likewise.
35580 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35581 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35582 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35583 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35584 * sysdeps/sh/dl-machine.h: Likewise.
35585 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35586 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35587 * sysdeps/unix/i386/sysdep.S: Likewise.
35588 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35589 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35594 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35598 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35599 * sysdeps/x86_64/dl-machine.h: Likewise.
35600 * tls.make.c: Likewise.
35601
3ce1f295
UD
35602 * configure.in: Remove --with-__thread option. Make tests for
35603 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35604 tls_model attribute fail if no support is available. Remove
35605 USE_IN_LIBIO.
35606 * Makeconfig: Adjust for dropped configure option. All features are
35607 now mandatory.
35608 * Makerules: Likewise.
35609 * Versions.def: Likewise.
35610 * argp/argp-fmtstream.c: Likewise.
35611 * argp/argp-fmtstream.h: Likewise.
35612 * argp/argp-help.c: Likewise.
35613 * assert/assert.c: Likewise.
35614 * config.h.in: Likewise.
35615 * config.make.in: Likewise.
35616 * configure: Likewise.
35617 * configure.in: Likewise.
35618 * csu/Versions: Likewise.
35619 * csu/init.c: Likewise.
35620 * elf/tst-audit2.c: Likewise.
35621 * elf/tst-tls10.c: Likewise.
35622 * elf/tst-tls10.h: Likewise.
35623 * elf/tst-tls11.c: Likewise.
35624 * elf/tst-tls12.c: Likewise.
35625 * elf/tst-tls14.c: Likewise.
35626 * elf/tst-tlsmod11.c: Likewise.
35627 * elf/tst-tlsmod12.c: Likewise.
35628 * elf/tst-tlsmod13.c: Likewise.
35629 * elf/tst-tlsmod13a.c: Likewise.
35630 * elf/tst-tlsmod14a.c: Likewise.
35631 * elf/tst-tlsmod15b.c: Likewise.
35632 * elf/tst-tlsmod16a.c: Likewise.
35633 * elf/tst-tlsmod16b.c: Likewise.
35634 * elf/tst-tlsmod7.c: Likewise.
35635 * elf/tst-tlsmod8.c: Likewise.
35636 * elf/tst-tlsmod9.c: Likewise.
35637 * gmon/gmon.c: Likewise.
35638 * grp/fgetgrent_r.c: Likewise.
35639 * grp/putgrent.c: Likewise.
35640 * hurd/fopenport.c: Likewise.
35641 * include/libc-symbols.h: Likewise.
35642 * include/tls.h: Likewise.
35643 * intl/gettextP.h: Likewise.
35644 * intl/loadinfo.h: Likewise.
35645 * locale/global-locale.c: Likewise.
35646 * locale/localeinfo.h: Likewise.
35647 * mach/devstream.c: Likewise.
35648 * malloc/arena.c: Likewise.
35649 * malloc/set-freeres.c: Likewise.
35650 * misc/err.c: Likewise.
35651 * misc/getttyent.c: Likewise.
35652 * misc/mntent_r.c: Likewise.
35653 * posix/getopt.c: Likewise.
35654 * posix/wordexp.c: Likewise.
35655 * pwd/fgetpwent_r.c: Likewise.
35656 * resolv/Versions: Likewise.
35657 * resolv/res_hconf.c: Likewise.
35658 * shadow/fgetspent_r.c: Likewise.
35659 * shadow/putspent.c: Likewise.
35660 * stdio-common/printf_fphex.c: Likewise.
35661 * stdio-common/tmpfile.c: Likewise.
35662 * stdlib/abort.c: Likewise.
35663 * stdlib/fmtmsg.c: Likewise.
35664 * sunrpc/auth_unix.c: Likewise.
35665 * sunrpc/clnt_perr.c: Likewise.
35666 * sunrpc/clnt_tcp.c: Likewise.
35667 * sunrpc/clnt_udp.c: Likewise.
35668 * sunrpc/clnt_unix.c: Likewise.
35669 * sunrpc/openchild.c: Likewise.
35670 * sunrpc/svc_simple.c: Likewise.
35671 * sunrpc/svc_tcp.c: Likewise.
35672 * sunrpc/svc_udp.c: Likewise.
35673 * sunrpc/svc_unix.c: Likewise.
35674 * sunrpc/xdr.c: Likewise.
35675 * sunrpc/xdr_array.c: Likewise.
35676 * sunrpc/xdr_rec.c: Likewise.
35677 * sunrpc/xdr_ref.c: Likewise.
35678 * sunrpc/xdr_stdio.c: Likewise.
35679
1248c1c4
PB
356802011-09-09 Ulrich Drepper <drepper@gmail.com>
35681
35682 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35683
356842011-07-03 Andreas Jaeger <aj@suse.de>
35685
35686 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35687 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35688 regenerate with gen-libm-tests.pl.
35689
356902010-05-12 Petr Baudis <pasky@suse.cz>
35691
35692 [BZ #11589]
35693 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35694 around j0() zero points by switching to j1().
35695 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35699
f22e1074
UD
357002011-09-09 Ulrich Drepper <drepper@gmail.com>
35701
f19009c1
UD
35702 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35703 instead of 0.
35704 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35705 instead of 0.
f19009c1
UD
35706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35707 Patch in part by Pavel Roskin <proski@gnu.org>.
35708
3f8cc204
UD
35709 [BZ #13138]
35710 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35711 realloc.
35712 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35713 Free memory block if necessary.
35714
f22e1074
UD
35715 [BZ #12847]
35716 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35717 be NULL. Don't lock in this case.
35718
0a2349f9
RM
357192011-09-09 Roland McGrath <roland@hack.frob.com>
35720
35721 * elf/elf.h (ELFOSABI_GNU): New macro.
35722 (ELFOSABI_LINUX): Define to that.
35723
f3cdd467
DZ
357242011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35725
35726 * string/strncat.c (strncat): Undef the symbol in case it has been
35727 defined in bits/string.h.
35728
74718d13
UD
357292011-09-09 Ulrich Drepper <drepper@gmail.com>
35730
633e9e0f
UD
35731 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35732
0a2349f9 35733 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35734 link map.
35735
f9924780
AJ
357362011-08-17 Andreas Jaeger <aj@suse.de>
35737
35738 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35739
7f5517aa
PP
357402011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35741 Ian Lance Taylor <iant@google.com>
35742
35743 * math/libm-test.inc (lround_test): New testcase.
35744 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35745
762011fe
UD
357462011-09-08 Ulrich Drepper <drepper@gmail.com>
35747
92963737
UD
35748 * Makefile: Remove support for automatic cvs check-ins.
35749 * Makerules: Likewise.
35750 * config.make.in: Likewise.
35751 * configure.in: Likewise.
35752 * intl/Makefile: Likewise.
35753 * locale/Makefile: Likewise.
35754 * po/Makefile: Likewise.
35755 * posix/Makefile: Likewise.
35756 * sysdeps/gnu/Makefile: Likewise.
35757 * sysdeps/mach/hurd/Makefile: Likewise.
35758 * sysdeps/sparc/sparc32/Makefile: Likewise.
35759
b0727fd8
JS
35760 [BZ #13118]
35761 * posix/Makefile (bug-regex32-ENV): Define.
35762 Patch by John Stanley <jpsinthemix@verizon.net>.
35763
a0f33f99
UD
35764 * misc/Makefile (headers): Add bits/select2.h.
35765 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35766 * misc/bits/select2.h: New file.
35767 * include/bits/select2.h: New file.
35768 * debug/Makefile (routines): Add fdelt_chk.
35769 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35770 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35771 FD_ISSET.
35772 * debug/fdelt_chk.c: New file.
35773
762011fe
UD
35774 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35775 * wcsmbs/test-wmemcmp.c: Likewise.
35776 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35777 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35778
357792011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35780
35781 * string/Makefile (strop-tests): Add memcmp.
35782 * string/test-wmemcmp.c: New file.
35783 * string/test-memcmp.c: Add wmemcmp support.
35784
7f513ec8
RM
357852011-09-08 Roland McGrath <roland@hack.frob.com>
35786
0442afb4
RM
35787 [BZ #13153]
35788 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35789 2011-07-19 change.
35790
7f513ec8
RM
35791 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35792 garbage value in a __mach_port_mod_refs call in the cases of the
35793 task-self and thread-self ports.
35794
a12b2239
ST
357952011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35796
35797 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35798
610f9ab4
AS
357992011-09-08 Andreas Schwab <schwab@redhat.com>
35800
7f513ec8 35801 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35802
48882a1a
LD
358032011-09-07 Ulrich Drepper <drepper@gmail.com>
35804
b49865be
UD
35805 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35806
fdc86bc9
UD
35807 * elf/dl-libc.c (dlerror_run): Pass back error code from
35808 dl_catch_error.
35809
c966526a
UD
35810 [BZ #13123]
35811 * elf/dl-load.c (lose): Free l_origin if it is valid.
35812
48882a1a
LD
35813 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35814 names.
35815 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35816 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35817 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35819 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35820 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35821
77a2a8b4
AZ
358222011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35823
35824 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35825 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35826 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35827 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35828 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35829 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35830 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35831 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35832 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35833 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35834
24f579d8
AM
358352011-08-15 Alan Modra <amodra@gmail.com>
35836
35837 [BZ #13092]
35838 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35839 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35840 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35841 ppc_mcount to static-only-routines.
35842 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35843 __mcount_internal.
35844 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35845 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35846
3d4837df
UD
358472011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35848
35849 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35850 for finite and infinity parameters.
35851
22700377
WS
358522011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35853
35854 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35855 and add nop instructions for throughput optimization.
35856 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35857
5025581e
WS
358582011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35859
35860 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35861 aligned copy for power7 with vector-scalar instructions.
35862 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35863
08a300c9
L
358642011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35865
35866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35867 AVX check.
35868
59178ef9
AS
358692011-09-07 Andreas Schwab <schwab@redhat.com>
35870
35871 [BZ #13144]
35872 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35873 last change.
35874
e38ba7ab
UD
358752011-09-07 Ulrich Drepper <drepper@gmail.com>
35876
35877 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35878 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35879 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35880 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35881 clock_gettime.
35882
d53a73ac
UD
358832011-09-06 Ulrich Drepper <drepper@gmail.com>
35884
fc8bffcc
UD
35885 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35886 Forgot to demangle the pointer.
35887
ceaa0c5d
UD
35888 * sysdeps/i386/sysdep.h: Define atom_text_section.
35889 * sysdeps/x86_64/sysdep.h: Likewise.
35890 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35891 section with atom_text_section.
35892 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35894 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35895 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35896 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35897
a77d3c17
UD
35898 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35899 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35900 already be defined. Change to take two parameters and don't assign
35901 result to variable. Adjust all users.
35902 Define INTERNAL_GETTIME if not already defined.
35903 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35904 call.
35905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35906 HAVE_CLOCK_GETTIME_VSYSCALL.
35907 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35908
d53a73ac
UD
35909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35910 gettimeofday vsyscall, just use time.
35911
a8f84144
AS
359122011-09-06 Andreas Schwab <schwab@redhat.com>
35913
35914 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35915 <errno.h>.
35916
ef606249
UD
359172011-09-06 Ulrich Drepper <drepper@gmail.com>
35918
35919 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35920 syscall on x86-64.
35921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35922 syscall.
35923 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35924 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35925 syscall if possible.
35926
6585cb60
UD
359272011-09-05 Ulrich Drepper <drepper@gmail.com>
35928
35929 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35930 e_ident. Don't pass to find_mapsXX.
35931 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35932
a5f524e4
LD
359332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35934
35935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35936 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35937 * sysdeps/x86_64/multiarch/strchr.S: Update.
35938 Check bit_slow_BSF bit.
35939 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35940 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35941 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35942
554881ef
UD
359432011-09-05 Ulrich Drepper <drepper@gmail.com>
35944
d96de963
UD
35945 [BZ #13134]
35946 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35947 before glibc 2.15.
35948 (tryshell): Define.
35949 (__spawni): Change last parameter to be flag. Test
35950 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35951 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35952 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35953 * posix/spawni.c: Likewise.
35954 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35955 * posix/spawnp.c: Likewise. Change normal version to use
35956 SPAWN_XFLAGS_USE_PATH.
35957 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35958 SPAWN_XFLAGS_TRY_SHELL.
35959
d48e5868
UD
35960 [BZ #13150]
35961 * posix/glob.h: Remove gcc 1.x support.
35962
554881ef
UD
35963 [BZ #13068]
35964 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35965
693fb948
LD
359662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35967
35968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35969 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35970 strrchr-sse2-bsf
35971 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35972 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35973 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35975 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35976 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35977
1b48c537
UD
359782011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35979
49d42c37
UD
35980 * sysdeps/x86_64/wcscmp.S: New file.
35981
1b48c537
UD
35982 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35983 wcscmp-c wcscmp-sse2
35984 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35985 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35986 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35987 * wcsmbs/wcscmp.c: Allow renaming.
35988
15c95c5d
DM
359892011-09-05 David S. Miller <davem@davemloft.net>
35990
35991 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35992 stack slot, rather than the struct return pointer slot.
35993 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35994 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35996 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35997
2f0ad8f3
UD
359982011-09-05 Ulrich Drepper <drepper@gmail.com>
35999
d88ae418
UD
36000 * po/ja.po: Update from translation team.
36001
2f0ad8f3
UD
36002 [BZ #13144]
36003 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36004 kernel in 64-bit binaries.
36005
5f4318d1
DM
360062011-09-01 David S. Miller <davem@davemloft.net>
36007
36008 * elf/elf.h (HWCAP_SPARC_*): Move to..
36009 * sysdeps/sparc/sysdep.h: this new file and add new values.
36010 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36011 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36012 _DL_HWCAP_COUNT to 24.
36013 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36014 entries.
36015 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36016 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36017 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36018 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36019 instead of magic constants.
36020 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36021
3ba57516
DM
360222011-08-31 David S. Miller <davem@davemloft.net>
36023
36024 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36026 Reimplement to do errno handling inline.
36027 (SYSCALL_ERROR_HANDLER): New macro.
36028 (__SYSCALL_STRING): Do not do errno handling in asm.
36029 (__CLONE_SYSCALL_STRING): Delete.
36030 (__INTERNAL_SYSCALL_STRING): Delete.
36031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36032 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36033 (PSEUDO): Reimplement to do errno handling inline.
36034 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36035 (SYSCALL_ERROR_HANDLER): New macro.
36036 (__SYSCALL_STRING): Do not do errno handling in asm.
36037 (__CLONE_SYSCALL_STRING): Delete.
36038 (__INTERNAL_SYSCALL_STRING): Delete.
36039 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36040 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36041 i386.
36042 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36043 (inline_syscall*): Add 'err' argument.
36044 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36045 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36046 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36047 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36048
36049 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36050 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36051
2bc17433
AS
360522011-08-30 Andreas Schwab <schwab@redhat.com>
36053
36054 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36055
fbeb5f4d
JO
360562011-08-29 Jiri Olsa <jolsa@redhat.com>
36057
36058 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36059 directive.
36060
ad69cc26
DM
360612011-08-24 David S. Miller <davem@davemloft.net>
36062
36063 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36064
39dd69df
AS
360652011-08-24 Andreas Schwab <schwab@redhat.com>
36066
36067 * elf/Makefile: Add rules to build and run unload8 test.
36068 * elf/unload8.c: New file.
36069 * elf/unload8mod1.c: New file.
36070 * elf/unload8mod1x.c: New file.
36071 * elf/unload8mod2.c: New file.
36072 * elf/unload8mod3.c: New file.
36073
36074 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36075 it wasn't used.
36076
2c0b250a
DM
360772011-08-23 David S. Miller <davem@davemloft.net>
36078
36079 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36080 subtract stack bias.
36081 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36082 %sp not %fp in calculations.
36083 (_JMPBUF_UNWINDS_ADJ): Likewise.
36084
22044b48
DM
36085 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36086 (aio_suspend): Call it to force an exception region around the
36087 AIO_MISC_WAIT() invocation.
36088
2cae4995
AS
360892011-08-23 Andreas Schwab <schwab@redhat.com>
36090
36091 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36092 backslash.
36093
873a772e
AJ
360942011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36095
36096 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36097 protection macro.
36098 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36099 and <dl-machine.h>.
36100 (Elf64_FuncDesc): Remove.
36101
25ad0df1
DM
361022011-08-22 David S. Miller <davem@davemloft.net>
36103
36104 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36105 sigaltstack check, add missing cfi directives.
36106 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36107 missing cfi directives, and sigaltstack handling.
36108
e888bcbe
AS
361092011-08-16 Andreas Schwab <schwab@redhat.com>
36110
36111 [BZ #11724]
36112 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36113 object is seen twice.
36114 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36115
36116 * elf/Makefile (distribute): Add tst-initorder2.c.
36117 (tests): Add tst-initorder2.
36118 (modules-names): Add tst-initorder2a tst-initorder2b
36119 tst-initorder2c tst-initorder2d. Add rules to build them.
36120 ($(objpfx)tst-initorder2.out): New rule.
36121 * elf/tst-initorder2.c: New file.
36122 * elf/tst-initorder2.exp: New file.
36123
87162f46
AS
361242011-08-22 Andreas Schwab <schwab@redhat.com>
36125
70538b7f
AS
36126 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36127
f55ffe58
AS
36128 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36129 dependencies back to end of function.
36130
87162f46
AS
36131 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36132 $(elfobjdir)/ld.so.
36133
91b392a4
UD
361342011-08-21 Ulrich Drepper <drepper@gmail.com>
36135
36136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36137 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36139 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36140 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36141 of __vdso_gettimeofday.
36142 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36143 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36144 attribute_hidden.
36145 (_libc_vdso_platform_setup): Remove initialization of
36146 __vdso_gettimeofday and __vdso_time.
36147
5c43483f
UD
361482011-08-20 Ulrich Drepper <drepper@gmail.com>
36149
775a77e7
UD
36150 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36151 and fgetc_unlocked.
36152 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36153 getc_unlocked.
89f447ed 36154
49c74ba9
UD
36155 * elf/dl-open.c (add_to_global): Report additions to the global scope
36156 for LD_DEBUG=scopes.
36157 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36158 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36159
5c43483f
UD
36160 [BZ #13114]
36161 * stdio-common/Makefile (tests): Add bug24.
36162 * stdio-common/bug24.c: New file.
36163
a101b025
AJ
361642011-08-19 Andreas Jaeger <aj@suse.de>
36165
36166 [BZ #13114]
36167 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36168 non-existant file when using close-on-exec mode.
36169
c88f1766
UD
361702011-08-20 Ulrich Drepper <drepper@gmail.com>
36171
0276a718
UD
36172 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36173 the very first instruction.
36174
c88f1766
UD
36175 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36176 the CFI state in the end.
36177 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36178 inclusion of dl-trampoline.h.
36179 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36180
51ccffa0
AS
361812011-08-19 Andreas Schwab <schwab@redhat.com>
36182
94d7165f
AS
36183 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36184 expectations for long double.
36185
51ccffa0
AS
36186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36187 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36188
fd708658 361892011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36190
36191 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36192 artificual limit depends upon the system page size.
36193
44f0a71e
UD
361942011-08-17 Ulrich Drepper <drepper@gmail.com>
36195
36196 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36197 * resolv/Makefile: Define CFLAGS-libresolv.
36198
8de79a24
AS
361992011-08-17 Andreas Schwab <schwab@redhat.com>
36200
36201 * nss/makedb.c (compute_tables): Make variables used in nested
36202 function static.
36203
27724598
UD
362042011-08-17 Ulrich Drepper <drepper@gmail.com>
36205
c5305d88
UD
36206 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36207 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36208 if buffer was too small.
36209
27724598
UD
36210 * elf/pldd.c (main): Attach to all threads in the process.
36211 Rewrite /proc handling to use *at functions.
36212
076fe015
UD
362132011-08-16 Ulrich Drepper <drepper@gmail.com>
36214
174baab3
UD
36215 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36216 specifies first scope to show.
36217 (dl_open_worker): Update callers. Move printing scope of new
36218 object to before the relocation.
44f0a71e 36219 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36220 * sysdeps/generic/ldsodefs.h: Update declaration.
36221
076fe015
UD
36222 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36223 string for the scope number.
36224
a60df2c3
UD
362252011-08-14 Ulrich Drepper <drepper@gmail.com>
36226
36227 * nscd/servicescache.c (cache_addserv): Make sure written is always
36228 initialized.
36229
5e4287d1
RM
362302011-08-14 Roland McGrath <roland@hack.frob.com>
36231
85ae0589
RM
36232 * sysdeps/i386/i486/bits/atomic.h
36233 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36234 statement expression, so as to suppress "set but not used" warning.
36235 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36236
69f63097
RM
36237 * string/strncat.c (STRNCAT): Use prototype definition.
36238
675456ef
RM
36239 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36240 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36241 -Iprograms here.
36242 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36243 (localedef-modules): Add localedef.
36244 (locale-modules): Add locale.
36245
5e4287d1
RM
36246 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36247 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36248 to avoid a warning.
36249
9c96ff23
DM
362502011-08-14 David S. Miller <davem@davemloft.net>
36251
36252 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36253 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36254
f9ddf089
UD
362552011-08-13 Ulrich Drepper <drepper@gmail.com>
36256
44f0a71e 36257 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36258 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36259 * elf/rtld.c (dl_main): Set l_name of vDSO.
36260 Call _dl_show_scope when DL_DEBUG_SCOPES.
36261 (process_dl_debug): Recognize scopes flag and also set it for all.
36262 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36263 Declare _dl_show_scope.
36264
1dc27704
UD
36265 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36266 (do_dlopen): Pass caller_dlopen to dl_open.
36267 (__libc_dlopen_mode): Initialize caller_dlopen.
36268
f9ddf089
UD
36269 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36270 of libc. Make tolower call locale-independent. Optimize a bit by
36271 using isdigit instead of isalnum.
36272 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36273
9ac533d3
UD
362742011-08-12 Ulrich Drepper <drepper@gmail.com>
36275
36276 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36277 was a dependency or dynamically loaded.
36278
89edf2e9
UD
362792011-08-11 Ulrich Drepper <drepper@gmail.com>
36280
8e999d29
UD
36281 * intl/l10nflist.c: Allow architecture-specific pop function.
36282 * sysdeps/x86_64/l10nflist.c: New file.
36283
89edf2e9
UD
36284 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36285 classification.
36286
14d96785
AS
362872011-08-10 Andreas Schwab <schwab@redhat.com>
36288
36289 * include/dirent.h: Add libc_hidden_proto for scandirat and
36290 scandirat64. Don't declare __scandirat64.
36291 * dirent/scandirat.c: Add libc_hidden_def.
36292 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36293 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36294
6761ac04
DM
362952011-08-10 David S. Miller <davem@davemloft.net>
36296
36297 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36298 enum.
36299 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36300 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36301 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36302
c55fbd1e
UD
363032011-08-09 Ulrich Drepper <drepper@gmail.com>
36304
36305 * Versions.def [libc]: Add GLIBC_2.15.
36306 * dirent/Makefile (routines): Add scandirat and scandirat64.
36307 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36308 GLIBC_2.15.
36309 * dirent/dirent.h: Declare scandirat and scandirat64.
36310 * dirent/scandirat.c: New file.
36311 * dirent/scandirat64.c: New file.
36312 * sysdeps/wordsize-64/scandirat.c: New file.
36313 * sysdeps/wordsize-64/scandirat64.c: New file.
36314 * dirent/opendir.c: Define opendirat.
36315 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36316 using scandirat.
36317 * dirent/scandir64.c: Adjust for scandir.c change.
36318 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36319 __scandirat64, and __scandir_cancel_handler.
36320 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36321 additional parameter and use openat instead of open (outside of ld.so).
36322 Add new __opendir as wrapper around __opendirat.
36323 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36324 here without requiring old scandirat implementation.
36325
879165f2
UD
363262011-08-08 Ulrich Drepper <drepper@gmail.com>
36327
36328 * dirent/scandir.c (cancel_handler): Renamed to
36329 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36330 defined. Adjust users.
36331 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36332 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36333
cb7e923b
UD
363342011-08-04 Ulrich Drepper <drepper@gmail.com>
36335
16292edd
UD
36336 * string/test-string.h (IMPL): Use __STRING to expand name and then
36337 stringify it.
36338
cb7e923b
UD
36339 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36340 of cleanups.
36341
cff82933
LD
363422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36343
36344 * string/Makefile: Update.
36345 (strop-tests): Append strncat.
36346 * string/test-wcscmp.c: New file.
36347 New comprehensive test for wcscmp.
36348 * string/test-strcmp.c: Update.
36349 (WIDE): New define.
36350
9be9bfcc
AS
363512011-07-22 Andreas Schwab <schwab@redhat.com>
36352
36353 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36354 line.
36355
2e96f1c7
AS
363562011-07-26 Andreas Schwab <schwab@redhat.com>
36357
36358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36359 encoding to ACE if AI_IDN.
36360
85188888
JJ
363612011-08-01 Jakub Jelinek <jakub@redhat.com>
36362
36363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36364 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36365
5fa16e9b
LD
363662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36367
36368 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36369 Fix overflow bug in strncat.
36370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36371
36372 * string/test-strncat.c: Update.
36373 Add new tests for checking overflow bugs.
36374
363752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36376
36377 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36378 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36379 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36380 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36381 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36382 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36383 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36384 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36385 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36386
36387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36388 (USE_AS_STRCAT): Define.
36389 Add strcat and strncat support.
36390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36391
8c1a459f
AS
363922011-07-25 Andreas Schwab <schwab@redhat.com>
36393
36394 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36395 __n bigger than INT_MAX+1.
36396 (__strncmp_g): Likewise.
36397
bba33c28
UD
363982011-07-23 Ulrich Drepper <drepper@gmail.com>
36399
798be72d
UD
36400 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36401 * libio/stido.h: Likewise.
36402
8accd4dc
UD
36403 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36404 (AF_NFC): Define.
36405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36406 (AF_NFC): Define.
36407
cbff0d96
UD
36408 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36409 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36410 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36411 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36412 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36413
9191c04a
UD
36414 [BZ #13021]
36415 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36416 installed.
36417
bba33c28
UD
36418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36419 typo.
36420 (_dl_x86_64_save_sse): Likewise.
36421
90f139dd
UD
364222011-07-22 Ulrich Drepper <drepper@gmail.com>
36423
1aae088a
UD
36424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36425 OSXSAVE.
36426 (_dl_x86_64_save_sse): Likewise.
36427
8e2045f5
UD
36428 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36429
90f139dd
UD
36430 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36431
1d002f25
AS
364322011-07-21 Andreas Schwab <schwab@redhat.com>
36433
36434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36435 change.
36436 (_dl_x86_64_save_sse): Use correct AVX check.
36437
21137f89
UD
364382011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36439
36440 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36441 bug in strncpy/strncat.
36442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36443
a65c0b7a
UD
364442011-07-21 Ulrich Drepper <drepper@gmail.com>
36445
36446 * string/tester.c (test_strcat): Add tests for different alignments
36447 of source and destination.
36448 (test_strncat): Likewise.
36449
6986b98a
UD
364502011-07-20 Ulrich Drepper <drepper@gmail.com>
36451
90bb2039
UD
36452 [BZ #12852]
36453 * posix/glob.c (glob): Check passed in values before using them in
36454 expressions to avoid some overflows.
36455 (glob_in_dir): Likewise.
36456
5644ef54
UD
36457 [BZ #13007]
36458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36459 check for AVX enablement so that we don't crash with old kernels and
36460 new hardware.
36461 * elf/tst-audit4.c: Add same checks here.
36462 * elf/tst-audit6.c: Likewise.
36463
36464 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36465
bfc9dc9b
AS
364662011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36467
36468 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36469
702e64bb
UD
364702011-07-20 Ulrich Drepper <drepper@gmail.com>
36471
36472 * po/cs.po: Update from translation team.
36473 * po/bg.po: Likewise.
36474
295e904f
MP
364752011-07-12 Marek Polacek <mpolacek@redhat.com>
36476
36477 * misc/sys/cdefs.h: Add support for const attribute.
36478 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36479 to gnu_dev_{major,minor,makedev} functions.
36480
3ff94596
MP
364812011-07-20 Marek Polacek <mpolacek@redhat.com>
36482
36483 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36484
28b59fca
AS
364852011-07-20 Andreas Schwab <schwab@redhat.com>
36486
36487 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36488 strlen results.
36489
19df733e
AK
364902011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36491
36492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36493 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36494 register in order to avoid conflicts with the soft frame pointer
36495 being held in r11 when necessary.
36496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36497 (INTERNAL_VSYSCALL_NCS): Likewise.
36498
c8835729
MP
364992011-07-14 Marek Polacek <mpolacek@redhat.com>
36500
36501 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36502 * elf/dl-fini.c (_dl_fini): Adjust caller.
36503 * elf/dl-close.c (_dl_close_worker): Likewise.
36504 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36505
b902330c
MP
365062011-07-15 Marek Polacek <mpolacek@redhat.com>
36507
8991e135
MP
36508 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36509 "aux_cache->nlibs < 0".
36510
b902330c
MP
36511 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36512 in the reload-count case.
36513
99710781
LD
365142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36515
36516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36517 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36518 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36519 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36520 * sysdeps/x86_64/multiarch/strcat.S: New file.
36521 * sysdeps/x86_64/multiarch/strncat.S: New file.
36522 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36523 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36524 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36525 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36527 (USE_AS_STRCAT): Define.
36528 Add strcat and strncat support.
36529 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36530 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36531 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36532 * string/strncat.c: Update.
36533 (USE_AS_STRNCAT): Define.
36534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36535 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36536 and i7.
36537 * sysdeps/x86_64/multiarch/init-arch.h
36538 (bit_Prefer_PMINUB_for_stringop): New.
36539 (index_Prefer_PMINUB_for_stringop): Likewise.
36540 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36541 bit_Prefer_PMINUB_for_stringop.
36542
7dc6bd90
UD
365432011-07-19 Ulrich Drepper <drepper@gmail.com>
36544
36545 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36546 buffer64.
36547 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36548 of casting of buffer.
36549 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36550 buffer32 and buffer64.
36551 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36552 writes instead of casting of buffer.
36553 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36554 buffer32.
36555 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36556 casting of buffer.
36557
e0e72284
AS
365582011-07-19 Andreas Schwab <schwab@redhat.com>
36559
36560 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36561
feb1eb0b
UD
365622011-07-19 Ulrich Drepper <drepper@gmail.com>
36563
36564 * nscd/nscd.c (termination_handler): Don't do anything for a database
36565 if it has not yet been initialized.
36566
298711ff
UD
365672011-07-18 Ulrich Drepper <drepper@gmail.com>
36568
36569 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36570
365712011-07-15 Marek Polacek <mpolacek@redhat.com>
36572
36573 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36574
f9d68389
UD
365752011-07-18 Ulrich Drepper <drepper@gmail.com>
36576
36577 * po/nl.po: Update from translation team.
36578 * po/sv.po: Likewise.
36579
db290cf5
RM
365802011-07-16 Roland McGrath <roland@hack.frob.com>
36581
36582 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36583 now disallowed by GCC.
5c550700 36584
fd5e21c7
RM
36585 * configure.in (use-default-link): Default to yes if a test -shared
36586 link meets our qualifications.
36587 * configure: Regenerated.
36588
5c550700
RM
36589 * config.make.in (output-format): New variable.
36590 * configure.in: Check for ld --print-output-format support.
36591 * configure: Regenerated.
36592 * Makerules ($(common-objpfx)format.lds)
36593 [$(output-format) != unknown]: Just use $(output-format),
36594 instead of the linker-script munging.
36595
9fa2c032
RM
365962011-07-14 Roland McGrath <roland@hack.frob.com>
36597
a6928d51
RM
36598 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36599 of $(common-objpfx)shlib.lds.
36600 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36601
661607b3
RM
36602 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36603 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36604
9fa2c032
RM
36605 * configure.in (-z relro check): Adjust test code to add a large
36606 writable data section after it.
36607 * configure: Regenerated.
36608
defe9061
RM
366092011-07-11 Roland McGrath <roland@hack.frob.com>
36610
36611 * configure.in (-z relro check): Fix test code to make the variable
36612 truly const.
36613 * configure: Regenerated.
36614
319b9ad4
UD
366152011-07-11 Ulrich Drepper <drepper@gmail.com>
36616
36617 * nscd/nscd.h (struct traced_file): Define.
36618 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36619 elements. Add traced_files.
36620 (inotify_fd): Declare.
36621 (register_traced_file): Declare.
36622 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36623 (inotify_fd): Export.
36624 (resolv_conf_descr): Remove.
36625 (nscd_init): Move inotify descriptor creation to main.
36626 Don't register files for notification here.
36627 (register_traced_file): New function.
36628 (invalidate_cache): Don't use reset_res to determine whether to call
36629 res_init, go through the list of registered files.
36630 (main_loop_poll): The inotify descriptors are now stored in the
36631 structures for the traced files.
36632 (main_loop_epoll): Likewise
36633 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36634 to __nss_disable_nscd.
36635 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36636 for a database anymore. Check the records for all the registered
36637 files instead.
36638 * nss/Makefile (libnss_files-routines): Add files-init.
36639 (libnss_db-routines): Add db-init.
36640 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36641 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36642 * nss/nss_db/db-init.c: New file.
36643 * nss/nss_files/files-init.c: New file.
36644 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36645 __nss_lookup_function.
36646 (__nss_lookup_function): Call nss_load_library.
36647 (nss_load_all_libraries): New function.
36648 (__nss_disable_nscd): Take parameter with callback function for files
36649 to register. Set is_nscd. Load all the DSOs for the NSS modules
36650 used for the cached services.
36651 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36652 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36653 options for features to all the files in nscd.
36654
36655 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36656
23bee3e8
RM
366572011-07-10 Roland McGrath <roland@hack.frob.com>
36658
36659 * csu/elf-init.c (__libc_csu_init): Comment typo.
36660
46a5b7f0
UD
366612011-07-09 Ulrich Drepper <drepper@gmail.com>
36662
36663 * po/pl.po: Update from translation team.
36664 * po/ja.po: Likewise.
36665 * po/ru.po: Likewise.
36666 * po/ko.po: Likewise.
36667 * po/fr.po: Likewise.
36668
d30cf5bb
RM
366692011-07-09 Roland McGrath <roland@hack.frob.com>
36670
113ddea4
RM
36671 * configure.in (.ctors/.dtors header and trailer check):
36672 Use an empirical test on a built program.
36673 * configure: Regenerated.
36674
574920b4
RM
36675 * configure.in (-z relro check): Use an empirical test on a built DSO.
36676 Detect, but do not require, on ia64.
36677 * configure: Regenerated.
36678
d30cf5bb
RM
36679 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36680 Update tests that use readelf to use $READELF instead.
36681 * configure: Regenerated.
36682
8538fdb3
UD
366832011-07-08 Ulrich Drepper <drepper@gmail.com>
36684
36685 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36686 if the result is not used.
36687
04d08991
AJ
366882011-07-05 Andreas Jaeger <aj@suse.de>
36689
36690 [BZ#9696]
36691 * stdlib/tst-strtod.c: Add testcase.
36692
de283087
AD
366932011-07-07 Ulrich Drepper <drepper@gmail.com>
36694
4e5f31c8 36695 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36696 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36697 The latter has a higher limit. Take additional parameter to pass to
36698 the new function.
36699 (__pathconf): Pass file to __statfs_link_max.
36700 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36701 __statfs_link_max.
36702 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36703 __statfs_link_max.
36704
de283087
AD
36705 [BZ #12868]
36706 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36708 Handle Lustre.
36709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36710 (__statfs_filesize_max): Likewise.
36711 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36712
c75fa153
AJ
367132011-07-05 Andreas Jaeger <aj@suse.de>
36714
36715 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36716
1a544854
UD
367172011-07-06 Marek Polacek <mpolacek@redhat.com>
36718
36719 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36720 `status' variable.
36721 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36722 Likewise.
36723
6f0eec67
UD
367242011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36725
36726 * Makefile (strop-tests): Add strncat.
36727 * string/test-strncat.c: New file.
36728
aae30307
UD
367292011-06-30 Marek Polacek <mpolacek@redhat.com>
36730
36731 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36732
c0cfb5eb
UD
367332011-06-21 Andreas Jaeger <aj@suse.de>
36734
36735 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36736 Copy rule from iconvdata/Makefile.
36737
01636b21
UD
367382011-07-06 Ulrich Drepper <drepper@gmail.com>
36739
36740 [BZ #12922]
36741 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36742 but no long options are defined, just return 'W'.
36743
9895c8bc
UD
367442011-06-22 Marek Polacek <mpolacek@redhat.com>
36745
36746 [BZ #9696]
36747 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36748
5d4cf042
UD
367492011-07-06 Ulrich Drepper <drepper@gmail.com>
36750
36751 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36752 netgroups to read.
960e5535 36753 (innetgr): Likewise.
5d4cf042 36754
751eb97e
RM
367552011-07-05 Roland McGrath <roland@hack.frob.com>
36756
36757 * config.make.in (install_root): Default to $(DESTDIR).
36758
f15f1e45
UD
367592011-07-05 Ulrich Drepper <drepper@gmail.com>
36760
36761 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36762
4e34ac6a
RM
367632011-07-02 Roland McGrath <roland@hack.frob.com>
36764
5e9b6af4
RM
36765 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36766
84f9ea0f
RM
36767 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36768 containing directory rather than embedding absolute directory names.
36769
ea5ee9f7
RM
36770 * scripts/check-local-headers.sh: Rewritten using awk.
36771 Match by word, not by line. Print error messages for matches.
36772 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36773
1b74661a
RM
36774 * Makerules [shlib-lds-flags empty]:
36775 ($(common-objpfx)libc_pic.opts): New target.
36776 ($(common-objpfx)libc_pic.os.clean): New target.
36777 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36778
36779 * config.make.in (OBJCOPY): New variable.
36780 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36781 * configure: Regenerated.
36782
f781ef40
RM
36783 * config.make.in (use-default-link): New variable.
36784 * configure.in (use_default_link): Grok --with-default-link to set it.
36785 * configure: Regenerated.
36786 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36787 (shlib-lds, shlib-lds-flags): Define to empty.
36788
2d4fa81e
RM
36789 * Makerules (shlib-lds): New variable.
36790 (shlib-lds-flags): New variable.
36791 (build-shlib, build-moduile, build-module-asneeded): Use it.
36792 ($(common-objpfx)libc.so): Use $(shlib-lds).
36793 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36794 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36795
31fffa6b
RM
36796 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36797 DT_FLAGS/DT_FLAGS_1 with zero flags.
36798
4e34ac6a
RM
36799 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36800 linker script munging.
36801
fcfc776b
UD
368022011-07-02 Ulrich Drepper <drepper@gmail.com>
36803
36804 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36805 as 128-bit value.
36806 * crypt/sha512.c (sha512_process_block): Perform total addition using
36807 128-bit if possible.
36808 (__sha512_finish_ctx): Likewise.
36809 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36810 as 64-bit value.
36811 * crypt/sha256.c (SWAP64): Define.
36812 (sha256_process_block): Perform total addition using 64-bit if
36813 possible.
36814 (__sha256_finish_ctx): Likewise.
36815
99231d9a
UD
368162011-07-01 Ulrich Drepper <drepper@gmail.com>
36817
36818 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36819 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36820 * nscd/hstcache.c (cache_addhst): Likewise.
36821 * nscd/grpcache.c (cache_addgr): Likewise.
36822 * nscd/aicache.c (addhstaiX): Likewise
36823 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36824
445b4a53
TK
368252011-07-01 Thorsten Kukuk <kukuk@suse.de>
36826
36827 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36828 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36829 * nscd/hstcache.c (cache_addhst): Likewise.
36830 * nscd/grpcache.c (cache_addgr): Likewise.
36831 * nscd/aicache.c (addhstaiX): Likewise
36832
6d4d8e8e
AS
368332011-07-01 Andreas Schwab <schwab@redhat.com>
36834
36835 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36836 domain only when needed.
36837
89f654c5
AS
368382011-06-30 Andreas Schwab <schwab@redhat.com>
36839
36840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36841 is always restored.
36842
cf3b23ff
UD
368432011-06-29 Ulrich Drepper <drepper@gmail.com>
36844
36845 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36846 are re-adding the entry.
36847 * nscd/servicescache.c (cache_addserv): Likewise.
36848
751626f9
AJ
368492011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36850
36851 * sysdeps/generic/dl-irel.h: fix protection against multiple
36852 inclusions.
36853 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36854
9113ea1f
UD
368552011-06-28 Ulrich Drepper <drepper@gmail.com>
36856
5c0b8d90
UD
36857 [BZ #12935]
36858 * malloc/memusage.sh: Fix quoting in message.
36859 * debug/xtrace.sh: Likewise.
36860
9113ea1f
UD
36861 * configure.in: Remove support for --experimental-malloc option, make
36862 it the default.
36863 * config.make.in: Likewise.
36864 * malloc/Makefile: Likewise.
36865
a4172181
AS
368662011-06-27 Andreas Schwab <schwab@redhat.com>
36867
36868 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36869 two-byte characters.
36870
78a7eee7
RM
368712011-06-27 Roland McGrath <roland@hack.frob.com>
36872
62bede13
RM
36873 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36874 AC_CACHE_CHECK invocation.
36875 * configure: Regenerated.
36876
78a7eee7
RM
36877 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36878
5ce33a62
UD
368792011-06-27 Ulrich Drepper <drepper@gmail.com>
36880
034807a9
UD
36881 [BZ #12350]
36882 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36883 bit from old_res_options.
36884
4902da17
UD
36885 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36886
5ce33a62
UD
36887 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36888 value type for setfct.
36889
c2344f56
L
368902011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36891
36892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36893 __gettimeofday instead of gettimeofday.
36894
68468076
UD
368952011-06-26 Ulrich Drepper <drepper@gmail.com>
36896
36897 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36898
acb0d739
L
368992011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36900
36901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36902
36903 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36904 info.
36905
8912479f
L
369062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36907
36908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36909 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36910 strcpy-sse2-unaligned strncpy-sse2-unaligned
36911 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36912 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36913 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36914 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36915 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36916 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36917 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36918 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36919 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36920 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36921 (STRCPY): Support SSE2 and SSSE3 versions.
36922
d5495a11
UD
369232011-06-24 Ulrich Drepper <drepper@gmail.com>
36924
36925 [BZ #12874]
36926 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36927 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36928 kernels which artificially limit size of requests.
36929
0b1cbaae
L
369302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36931
36932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36933 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36934 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36935 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36936 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36937 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36938 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36939 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36940 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36942 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36943 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36944 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36945 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36946 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36948 Enable unaligned load optimization for Intel Core i3, i5 and i7
36949 processors.
36950 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36951 Define.
36952 (index_Fast_Unaligned_Load): Define.
36953 (HAS_FAST_UNALIGNED_LOAD): Define.
36954
07f494a0
MP
369552011-06-23 Marek Polacek <mpolacek@redhat.com>
36956
36957 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36958
fa3fc0fe
UD
369592011-06-22 Ulrich Drepper <drepper@gmail.com>
36960
36961 [BZ #12907]
36962 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36963 until it is clear that the information is realy needed.
36964 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36965
e12df166
AS
369662011-06-22 Andreas Schwab <schwab@redhat.com>
36967
36968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36969
852eb34d
UD
369702011-06-22 Ulrich Drepper <drepper@gmail.com>
36971
84e2a551
UD
36972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36973 /sys/devices/system/cpu/online if it is usable.
36974
852eb34d
UD
36975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36976 reading the information from the /proc filesystem to once a second.
36977
6e502e19
UD
369782011-06-21 Andreas Jaeger <aj@suse.de>
36979
36980 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36981 NULL after inclusion of kernel headers.
36982
75d39ff2
UD
369832011-06-21 Ulrich Drepper <drepper@gmail.com>
36984
51f9aa6a
UD
36985 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36986 calls to internal_setent.
36987
c0244a9d
UD
36988 [BZ #12885]
36989 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36990 addresses using gethostbyname4_r ignore IPv4 addresses.
36991
c5e3c2ae
UD
36992 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36993 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36994
75d39ff2
UD
36995 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36996
42675c6f
DM
369972011-06-20 David S. Miller <davem@davemloft.net>
36998
36999 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37000 inclusions.
37001 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37002
37003 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37004 (elf_irel): Use it.
37005 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37006 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37007 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37008 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37009 * sysdeps/x86_64/dl-irel.h: Likewise.
37010
37011 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37012 * elf/dl-sym.c: Likewise.
37013
57912a71
UD
370142011-06-15 Ulrich Drepper <drepper@gmail.com>
37015
37016 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37017 need to dereference resplen2.
37018
ee22793d
AS
370192011-06-14 Andreas Schwab <schwab@redhat.com>
37020
37021 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37022
a9e836b0
UD
370232011-06-15 Ulrich Drepper <drepper@gmail.com>
37024
77fb9117
UD
37025 * Makeconfig: Define vardbdir and inst_vardbdir.
37026 * nss/Makefile: Add rules to install db-Makefile.
37027
40c1b22c
UD
37028 * nss/nss_db/db-XXX.c: Cleanup.
37029
9f2da732
UD
37030 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37031 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37032 GLIBC_PRIVATE.
37033 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37034 * nss/makedb.c: Implement -g option to specify that value strings
37035 are generated and should not be added to table iterated over for
37036 get*ent calls.
37037 * nss/nss_db/db-initgroups.c: New file.
37038
82e9a1f7
UD
37039 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37040 interface.
37041
c41af17e
UD
37042 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37043 (internal_getgrouplist): Adjust to name change.
37044 Update use_initgroups_entry if this is not the first call.
37045 * nss/databases.def: Add initgroups entry.
37046
a9e836b0
UD
37047 * nss/makedb.c (compute_tables): Check result of multiple hash table
37048 sizes to minimize maximum chain length.
37049
2666d441
UD
370502011-06-14 Ulrich Drepper <drepper@gmail.com>
37051
37052 * Versions.def: Add entry for libnss_db.
37053 * shlib-versions: Likewise.
37054 * nss/Makefile: Add rules to build libnss_db.
37055 * nss/Versions: Add libnss_db information. Organize libnss_files
37056 entries better.
37057 * nss/db-Makefile: Add gshadow support. Change rules for the new
37058 makedb progra. Some minor improvements to generate smaller files.
37059 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37060 here from...
37061 * nss/makedb.c: ...here.
37062 Improve database format to be smaller and require less memory at
37063 runtime.
37064 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37065 db anymore.
37066 * nss/nss_db/db-netgrp.c: Likewise.
37067 * nss/nss_db/db-open.c: Likewise.
37068 * nss/nss_files/flies-XXX.x: Adjust comments.
37069 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37070 * nss/nss_files/files-grp.c: Likewise.
37071 * nss/nss_files/files-hosts.c: Likewise.
37072 * nss/nss_files/files-network.c: Likewise.
37073 * nss/nss_files/files-proto.c: Likewise.
37074 * nss/nss_files/files-pwd.c: Likewise.
37075 * nss/nss_files/files-rpc.c: Likewise.
37076 * nss/nss_files/files-service.c: Likewise.
37077 * nss/nss_files/files-sgrp.c: Likewise.
37078 * nss/nss_files/files-spwd.c: Likewise.
37079 * nss/nss_db/db-alias.c: Removed.
37080 * nss/nss_db/dummy-db.h: Removed.
37081
9ee76b5a
UD
370822011-06-02 Ulrich Drepper <drepper@gmail.com>
37083
37084 * nss/makedb.c: Rewritten to not use database library.
37085 * nss/Makefile: Update to build new makedb program.
37086
c71ca1f8
AJ
370872011-06-14 Andreas Jaeger <aj@suse.de>
37088
37089 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37090 memset declaration.
37091
3154bfb8
UD
370922011-06-10 Andreas Schwab <schwab@redhat.com>
37093
37094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37095 tmpbuf.
37096
b350afab
RM
370972011-06-10 Roland McGrath <roland@hack.frob.com>
37098
decd4e50
RM
37099 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37100 * elf/Makefile ($(objpfx)ld.so): Likewise.
37101
5615eaf2
RM
37102 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37103 Don't list ld.so twice in dependencies.
37104
37105 * posix/bug-regex31.c: Include <stdlib.h>.
37106
37107 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37108
37109 * nis/nss_compat/compat-spwd.c
37110 (getspent_next_nss_netgr): Remove unused variable.
37111 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37112
37113 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37114 nonmembers" output to use the right array.
37115
37116 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37117
37118 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37119
37120 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37121 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37122 * catgets/gencat.c (read_input_file): Likewise.
37123 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37124
37125 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37126 variable definition inside #if's controlling its use.
37127
37128 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37129
37130 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37131
37132 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37133
37134 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37135 unreachable code.
37136
37137 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37138
b68e08db
RM
37139 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37140 * configure: Regenerated.
37141
b350afab
RM
37142 * Makerules: Revert last change.
37143 * elf/Makefile: Likewise.
37144
28368601
RM
371452011-06-09 Roland McGrath <roland@hack.frob.com>
37146
37147 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37148 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37149 (reloc-link): Likewise.
37150
11988f8f
UD
371512011-06-09 Ulrich Drepper <drepper@gmail.com>
37152
37153 * elf/Makefile: Add rules to build pldd.
37154 * elf/pldd.c: New file.
37155 * elf/pldd-xx.c: New file.
37156
e80fab37
UD
371572011-06-07 Ulrich Drepper <drepper@gmail.com>
37158
37159 * version.h: Update for 2.15 development version.
37160
9b849836
DM
371612011-06-07 David S. Miller <davem@davemloft.net>
37162
37163 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37164 ifuncs.
37165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37166 elf_machine_lazy_rel): Likewise.
37167 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37169 elf_machine_lazy_rel): Likewise.
37170 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37171 dl_hwcap via passed in argument.
37172 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37173 Likewise.
37174
5a31b283
AK
371752011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37176
37177 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37178
069e52f8
RM
371792011-06-06 Roland McGrath <roland@hack.frob.com>
37180
37181 [BZ #12849]
37182 * manual/fdl-1.1.texi: New file, verbatim from:
37183 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37184 * manual/lgpl-2.1.texi: New file, verbatim from:
37185 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37186 * manual/Makefile (licenses): New variable, list those new file names.
37187 (texis): Use it.
37188 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37189
37190 * manual/fdl.texi: File removed.
37191 * manual/lesser.texi: File removed.
37192 * manual/libc.texinfo (Copying, Documentation License):
37193 Use new @include file names, put @appendix directive before @include.
37194
f16846a5
JJ
371952011-06-04 Jakub Jelinek <jakub@redhat.com>
37196
37197 [BZ #12841]
37198 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37199 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37200 (mq_open): Add __NTH.
37201
3d29045b
L
372022011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37203
37204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37205 Assume Intel Core i3/i5/i7 processor if AVX is available.
37206
8c297311
UD
372072011-05-31 Ulrich Drepper <drepper@gmail.com>
37208
37209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37210 typo.
37211
c8fc0c91
UD
372122011-05-31 Andreas Schwab <schwab@redhat.com>
37213
37214 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37215 memory. Use alloca_account. Fix memory leak when retrying.
37216
5b27a807
UD
372172011-05-31 Ulrich Drepper <drepper@gmail.com>
37218
356f8bc6
UD
37219 * version.h (RELEASE): Bump for 2.14 release.
37220 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37221
5b27a807
UD
37222 * config.make.in (RANLIB): Remove entry.
37223
01f16ab0
UD
372242011-05-30 Ulrich Drepper <drepper@gmail.com>
37225
41fce8bd
UD
37226 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37227 (libc.pot): Work around missing support for .ksh extension in xgettext.
37228
4769ae77
UD
37229 [BZ #12684]
37230 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37231 if both request failed.
37232 (send_dg): In case of server errors clear resplen or *resplen2.
37233
6b1e7d19
UD
37234 [BZ #12454]
37235 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37236 when there are multiple maps.
37237 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37238 (_dl_fini): Remove test here.
37239
01f16ab0
UD
37240 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37241
b1ebd700
UD
372422011-05-29 Ulrich Drepper <drepper@gmail.com>
37243
7ae22829
UD
37244 [BZ #12350]
37245 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37246 bit from old_res_options.
37247 (gaih_inet): Likewise.
37248
553149f6 37249 [BZ #11099]
18a84741 37250 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37251 as signed.
37252
652ffab1
UD
37253 * resolv/res_init.c (res_setoptions): Make the code more compact.
37254
16985fd0
UD
37255 [BZ #11558]
37256 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37257 set RES_USEVC.
37258
0464f746
UD
37259 [BZ #11634]
37260 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37261
7d17596c
UD
37262 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37263
cf6bbbd7
UD
37264 [BZ #11781]
37265 * malloc/malloc.h: Declare malloc hook variables as volatile.
37266
13f1ab36
UD
37267 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37268 in last patch.
37269
b1ebd700
UD
37270 [BZ #11799]
37271 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37272 raise in the comment.
80e2212d
UD
37273 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37274 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37275 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37276
ce67228d
UD
372772011-05-28 Ulrich Drepper <drepper@gmail.com>
37278
8887a920
UD
37279 [BZ #12811]
37280 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37281 grow the buffers more if it already has to be sufficient.
37282 (build_wcs_upper_buffer): Likewise.
37283 * posix/regexec.c (check_matching): Likewise.
37284 (clean_state_log_if_needed): Likewise.
37285 (extend_buffers): Don't enlarge buffers beyond size of the input
37286 buffer.
37287 Patches mostly by Emil Wojak <emil@wojak.eu>.
37288 * posix/bug-regex32.c: New file.
37289 * posix/Makefile (tests): Add bug-regex32.
37290
4f031072
UD
37291 * locale/findlocale.c (_nl_find_locale): Return right away if
37292 _nl_explode_name failed.
37293 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37294
d0478f0c
UD
37295 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37296
de81b246
UD
37297 * debug/xtrace.sh: Unify messages.
37298 * malloc/memusage.sh: Likewise.
37299
c738465a
UD
37300 [BZ #12813]
37301 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37302 time symbol from vDSO. Substitute with vsyscall if not available.
37303 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37304 __vdso_time.
37305
f1f929d7
UD
37306 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37307 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37308 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37309 Add sendmmsg and internal_sendmmsg.
37310 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37311 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37312 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37313
ce67228d
UD
37314 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37315 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37316 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37317
e57420c6
UD
373182011-05-27 Ulrich Drepper <drepper@gmail.com>
37319
a8509ca5
UD
37320 [BZ #12813]
37321 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37322 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37323 available.
37324 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37325 __vdso_getcpu.
37326
e57420c6
UD
37327 [BZ #12814]
37328 * iconvdata/Makefile (tests): Add bug-iconv9.
37329 * iconvdata/bug-iconv9.c: New file.
37330
4d07db15
AS
373312011-05-27 Andreas Schwab <schwab@redhat.com>
37332
37333 [BZ #12814]
37334 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37335
ea486f69
JJ
373362011-05-25 Jakub Jelinek <jakub@redhat.com>
37337
37338 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37339 (struct user_regs_struct): Change intcs field back to cs.
37340
6f038433
UD
373412011-05-25 Ulrich Drepper <drepper@gmail.com>
37342
37343 * po/ja.po: Update from translation team.
37344
67f86a25
UD
373452011-05-23 Ulrich Drepper <drepper@gmail.com>
37346
37347 [BZ #12795]
37348 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37349 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37350
def7fbd6
AS
373512011-05-20 Andreas Schwab <schwab@redhat.com>
37352
37353 * stdlib/longlong.h: Update from GCC.
37354
f50ef8f1
AS
373552011-05-23 Andreas Schwab <schwab@redhat.com>
37356
37357 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37358 parameter name.
37359 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37360 Add parameter name.
37361 (__sysconf): Pass it down.
37362
de7ce8f1
UD
373632011-05-22 Ulrich Drepper <drepper@gmail.com>
37364
f2962a71
UD
37365 [BZ #12671]
37366 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37367 some situations.
37368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37369 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37370 add in in __libc_use_alloca calls. Adjust callers.
37371 (glob): Use malloc in some situations.
37372
de7ce8f1
UD
37373 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37374 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37375 pltexit.
37376
aec84f53
UD
373772011-05-21 Ulrich Drepper <drepper@gmail.com>
37378
05bb4a68
UD
37379 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37380 and CLOCK_BOOTTIME_ALARM.
37381
7ea72f99
UD
37382 [BZ #12782]
37383 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37384 is returned.
37385
7e4afad5
UD
37386 * string/_strerror.c (__strerror_r): Print negative errors as signed
37387 numbers.
37388
8e211fec
UD
37389 [BZ #12777]
37390 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37391 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37392 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37393
f7d82dc9
UD
37394 * configure.in: Fix typo in redirection and correct removal of test
37395 files in two cases.
37396
cc9e536d
UD
37397 [BZ #12788]
37398 * locale/setlocale.c (new_composite_name): Fix test to check for
37399 identical name of all categories.
37400
aec84f53
UD
37401 [BZ #12792]
37402 * libio/filedoalloc.c (local_isatty): New function.
37403 (_IO_file_doallocate): Use local_isatty.
37404 * stdio-common/perror.c (perror): In case a new stream is used
37405 forward the stream error.
37406 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37407 error flag.
37408
78e64fdc
RT
374092011-05-20 Ulrich Drepper <drepper@gmail.com>
37410
34a9094f
UD
37411 [BZ #11869]
37412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37413 alloca.
37414 * include/alloca.h (extend_alloca_account): Define.
37415
78e64fdc
RT
37416 [BZ #11857]
37417 * posix/regex.h: Fix comments with documentation of user-accessible
37418 fields after compilation and describe correct free'ing of pattern
37419 after re_compile_pattern.
37420 Patch by Reuben Thomas <rrt@sc3d.org>.
37421
457bddfc
RA
374222011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37423
37424 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37425 and -mno-altivec to prevent the compiler from using Altivec and/or
37426 VSX instructions when the corresponding registers are not available.
37427
a4527b51
AS
374282011-05-19 Andreas Schwab <schwab@redhat.com>
37429
37430 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37431
ed690b2f
UD
374322011-05-19 Ulrich Drepper <drepper@gmail.com>
37433
37434 * libio/freopen.c (freopen): Use __dup2, not dup2.
37435 * libio/freopen64.c (freopen64): Likewise.
37436
8db73634
L
374372011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37438
37439 [BZ #12775]
37440 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37441 * math/Makefile (tests): Add test-powl.
37442 (CFLAGS-test-powl.c): Define.
37443 * math/test-powl.c: New file.
37444
0a197a9d
L
374452011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37446
37447 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37448
ee30c380
UD
374492011-05-17 Ulrich Drepper <drepper@gmail.com>
37450
37451 [BZ #11837]
37452 * iconvdata/gb18030.c: Update to GB18020-2005.
37453
6ce75379
UD
374542011-05-16 Ulrich Drepper <drepper@gmail.com>
37455
a4b89fd8
AR
37456 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37457 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37458 Patch by Aharon Robbins <arnold@skeeve.com>.
37459
ea389b12
UD
37460 [BZ #11892]
37461 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37462 on the stack.
37463
68a3f91f
UD
37464 [BZ #11895]
37465 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37466 through underflows.
37467
15cc7dd1
UD
37468 [BZ #12766]
37469 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37470 point to strings before performing equality test for error_one_per_line
37471 mode.
37472
f3799213
UD
37473 [BZ #11697]
37474 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37475
d79a9c94
UD
37476 [BZ #11820]
37477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37478 (struct user_fpregs_struct): Avoid __uint*_t types.
37479
56e5eb46
UD
37480 [BZ #6420]
37481 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37482 symbol info. Use it instead of calling _dl_addr locally.
37483 (lock_and_info): New function.
37484 (tr_freehook): Call lock_and_info and pass symbol info as additional
37485 parameter to tr_where.
37486 (tr_mallochook): Likewise.
37487 (tr_reallochook): Likewise.
37488 (tr_memalignhook): Likewise.
37489
6ce75379
UD
37490 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37491 used and couldn't be at all thread-safe.
37492
f8a3b5bf
UD
374932011-05-15 Ulrich Drepper <drepper@gmail.com>
37494
94b7cc37
UD
37495 * libio/freopen.c (freopen): Don't close old file descriptor
37496 before the new one is opened. Instead dup the new file descriptor
37497 to the old one after the new stream is created.
37498 * libio/freopen64.c (freopen64): Likewise.
37499 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37500 * libio/fileops.c (_IO_new_file_close_it): Handle new
37501 _IO_FLAGS2_NOCLOSE flag.
37502 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37503 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37504 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37505 _IO_FLAGS2_NOCLOSE flag.
37506 * include/unistd.h: Add hidden_proto for dup3.
37507 Define __have_dup3.
37508 * io/dup3.c: Define hidden symbol.
37509 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37510
bd25564e
UD
37511 [BZ #7101]
37512 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37513 when an incomplete long option is used.
37514 * posix/tst-getopt_long1.c: New file.
37515 * posix/Makefile (tests): Add tst-getopt_long1.
37516
c84cfef4
UD
37517 [BZ #10138]
37518 * scripts/config.guess: Update from autoconf-2.68.
37519 * scripts/config.sub: Likewise.
37520
3b85df27
UD
37521 [BZ #10157]
37522 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37523 tests into ...
37524 (has_cpuclock): ...this. New function.
37525 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37526 macro here based on has_cpuclock code.
37527
15a856b1
UD
37528 [BZ #10149]
37529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37530 First byte (not low byte) is now always NUL.
37531 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37532
05f399e6
UD
37533 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37534 Use non-cancelable interfaces.
37535
10a52685 37536 [BZ #9809]
94ecc67d
UD
37537 * locale/iso-639.def: Add entry for Sorani.
37538
f8a3b5bf
UD
37539 [BZ #11901]
37540 * include/stdlib.h: Move include protection to the right place.
37541 Define abort_msg_s. Declare __abort_msg with it.
37542 * stdlib/abort.c (__abort_msg): Adjust type.
37543 * assert/assert.c (__assert_fail_base): New function. Majority
37544 of code from __assert_fail. Allocate memory for __abort_msg with
37545 mmap.
37546 (__assert_fail): Now call __assert_fail_base.
37547 * assert/assert-perr.c: Remove bulk of implementation. Use
37548 __assert_fail_base.
37549 * include/assert.hL Declare __assert_fail_base.
37550 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37551 mmap.
37552 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37553
1af4e298
UD
375542011-05-14 Ulrich Drepper <drepper@gmail.com>
37555
f8a3b5bf 37556 [BZ #11952]
d26dfc60
MG
37557 [BZ #12453]
37558 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37559 until all modules are registered in the DTV.
37560 * elf/Makefile: Add rules to build and run tst-tls19.
37561 * elf/tst-tls19.c: New file.
37562 * elf/tst-tls19mod1.c: New file.
37563 * elf/tst-tls19mod2.c: New file.
37564 * elf/tst-tls19mod3.c: New file.
37565 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37566
2fc54d6f
UD
37567 [BZ #12083]
37568 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37569 correctly.
37570
98d76b46
UD
37571 [BZ #12601]
37572 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37573 two-byte sequence errors.
37574 * iconvdata/Makefile (tests): Add bug-iconv8.
37575 * iconvdata/bug-iconv8.c: New file.
37576
da3c19ef
UD
37577 [BZ #12626]
37578 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37579 buf2 definition.
37580
ca408c15
UD
37581 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37582
d6f67f7d
UD
37583 [BZ #12432]
37584 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37585 (dummy_getcfa): New function.
37586 (init): Get _Unwind_GetCFA address, use dummy if not found.
37587 (backtrace_helper): In recursion check, also check whether CFA changes.
37588 (__backtrace): Completely initialize arg.
37589
1af4e298 37590 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37591 storing incomplete byte sequence in state object. Avoid testing for
37592 guaranteed too small input if we know there is enough data available.
1af4e298 37593
da62f81b
AS
375942011-05-11 Andreas Schwab <schwab@redhat.com>
37595
37596 * Makeconfig (+link-pie): Indent.
37597 * Rules (binaries-pie): Define if $(have-fpie) and
37598 $(build-shared).
37599 (binaries-shared): Also filter out $(binaries-pie).
37600 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37601 * nscd/Makefile (others-pie): Add nscd.
37602 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37603 ($(objpfx)nscd): Remove command override.
37604 * login/Makefile (others-pie): Add pt_chown.
37605 ($(objpfx)pt_chown): Remove command override.
37606 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37607 remove command overrides.
37608
fcabc0f8
UD
376092011-05-13 Ulrich Drepper <drepper@gmail.com>
37610
20030ae6
UD
37611 * libio/tst_putwc.c: Fix error messages.
37612
fcabc0f8
UD
37613 [BZ #12724]
37614 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37615 currently writing and seek to current position when not.
37616 * libio/Makefile (tests): Add bug-fclose1.
37617 * libio/bug-fclose1.c: New file.
37618
320a5dc0
PB
376192011-05-12 Ulrich Drepper <drepper@gmail.com>
37620
37621 [BZ #12511]
37622 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37623 don't set DF_1_NODELETE here.
37624 (do_lookup_x): When entering new entry test for copy relocation
37625 and if necessary set DF_1_NODELETE flag.
37626 * elf/tst-unique4.cc: New file.
37627 * elf/tst-unique4.h: New file.
37628 * elf/tst-unique4lib.cc: New file.
37629 * elf/Makefile: Add rules to build and run tst-unique4.
37630 Patch by Piotr Bury <pbury@goahead.com>.
37631
22836f52
UD
376322011-05-11 Ulrich Drepper <drepper@gmail.com>
37633
f574184a
UD
37634 [BZ #12052]
37635 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37636
e1fb097f
UD
37637 [BZ #12625]
37638 * misc/mntent_r.c (addmntent): Flush the stream after the output
37639
22836f52
UD
37640 [BZ #12393]
37641 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37642 (is_trusted_path_normalize): Skip initial colon. Append slash
37643 to empty buffer. Duplicate is_trusted_path code but allow
37644 constructed patch to be prefix.
37645 (is_dst): Allow $ORIGIN followed by /.
37646 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37647 Correct testing of result of is_trusted_path_normalize
37648 (decompose_rpath): Fix warning.
37649
7b3b0b2a
UD
376502011-05-10 Ulrich Drepper <drepper@gmail.com>
37651
37652 [BZ #11257]
37653 * grp/initgroups.c (internal_getgrouplist): When we found the service
37654 list through the initgroups entry in nsswitch.conf do not always
37655 continue on a successful lookup. Don't always use the
eac80ce2 37656 __nss_group_database value if it is set.
7b3b0b2a
UD
37657 * nss/nsswitch.conf (initgroups): Change action for successful db
37658 lookup to continue for compatibility.
37659
2a81eaa5
UD
376602011-05-09 Ulrich Drepper <drepper@gmail.com>
37661
be97a69e
UD
37662 [BZ #11532]
37663 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37664 and CP774 modules.
37665 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37666 and CP774 modules.
37667 * iconvdata/tst-tables.sh: Likewise.
37668 * iconvdata/cp770.c: New file.
37669 * iconvdata/cp771.c: New file.
37670 * iconvdata/cp772.c: New file.
37671 * iconvdata/cp773.c: New file.
37672 * iconvdata/cp774.c: New file.
37673 * iconvdata/testdata/CP770: New file.
37674 * iconvdata/testdata/CP770..UTF8: New file.
37675 * iconvdata/testdata/CP771: New file.
37676 * iconvdata/testdata/CP771..UTF8: New file.
37677 * iconvdata/testdata/CP772: New file.
37678 * iconvdata/testdata/CP772..UTF8: New file.
37679 * iconvdata/testdata/CP773: New file.
37680 * iconvdata/testdata/CP773..UTF8: New file.
37681 * iconvdata/testdata/CP774: New file.
37682 * iconvdata/testdata/CP774..UTF8: New file.
37683
37684 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37685 END CHARMAP line.
37686 * iconvdata/gen-8bit-gap.sh: Likewise.
37687 * iconvdata/gen-8bit.sh: Likewise.
37688
c1e9e399
UD
37689 * locale/iso-639.def: Add ary entry.
37690
24c55fb3 37691 [BZ #11258]
96b4b1b0
UD
37692 * locale/C-translit.h.in: Add U20A1 transliteration.
37693
bdc2f971
KB
37694 [BZ #12178]
37695 * locale/iso-639.def: Add wae entry.
37696 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37697
2952b117
UD
37698 [BZ #12545]
37699 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37700 for n.
37701
2a81eaa5
UD
37702 [BZ #12711]
37703 * locale/C-translit.h.in: Add entry for U20B9.
37704 Patch by pravin.d.s@gmail.com.
37705
28377d1b
UD
377062011-05-08 Ulrich Drepper <drepper@gmail.com>
37707
7fb90fb8
UD
37708 [BZ #12713]
37709 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37710 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37711 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37712 in rtld. Use *stat64.
7fb90fb8 37713 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37714 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37715 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37716 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37717 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37718 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37719 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37720 __fstatat64 macros.
7fb90fb8
UD
37721 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37722 * dirent/rewinddir.c: Add libc_hidden_def.
37723 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37724 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37725
28377d1b
UD
37726 * include/dirent.h (__alloc_dir): Add flags parameter.
37727 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37728 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37729 __alloc_dir.
37730 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37731 from fdopendir if O_CLOEXEC is already set.
37732
66bdbaa4
AM
377332011-03-15 Alan Modra <amodra@gmail.com>
37734
37735 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37736 l_tls_firstbyte_offset non-zero. Save padding offset in
37737 l_tls_firstbyte_offset for later use.
37738 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37739 freeing static tls block.
37740
95721191
JN
377412011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37742
37743 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37744 where #ifdef was intended. The intent is to prevent ARG_MAX from
37745 being defined by the kernel headers.
37746
f87dfb1f
UD
377472011-05-07 Ulrich Drepper <drepper@gmail.com>
37748
37749 [BZ #12734]
37750 * resolv/resolv.h: Define RES_NOTLDQUERY.
37751 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37752 no-tld-query and set RES_NOTLDQUERY.
37753 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37754 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37755 modern BIND to search name as TLD unless forbidden.
37756
47c3cd7a
UD
377572011-05-07 Petr Baudis <pasky@suse.cz>
37758 Ulrich Drepper <drepper@gmail.com>
37759
37760 [BZ #12393]
37761 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37762 (is_trusted_path): ...to here.
c1e9ea35 37763 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37764 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37765 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37766
8a35c912
PP
377672011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37768
37769 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37770 __BEGIN/__END_DECLS.
37771
acd41f47
UD
377722011-05-06 Ulrich Drepper <drepper@gmail.com>
37773
37774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37775 NSS_STATUS_NOTFOUND if no record was found.
37776
597df647
AS
377772011-05-05 Andreas Schwab <schwab@redhat.com>
37778
37779 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37780 (headers-not-in-tirpc): Remove rpc/netdb.h
37781 * resolv/netdb.h: Revert last change.
37782
b9af1301
PP
377832011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37784
37785 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37786 circular dependency between libgcc.a and libc.a.
37787
4e34d5f5
AS
377882011-05-05 Andreas Schwab <schwab@redhat.com>
37789
37790 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37791 * nis/Makefile: Don't install rpcsvc/*.
37792 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37793 instead of <rpc/types.h>.
37794 (MAXHOSTNAMELEN): Define.
37795
00ee369c
AS
377962011-05-03 Andreas Schwab <schwab@redhat.com>
37797
37798 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37799
0b592a30
MB
378002011-04-28 Maciej Babinski <mbabinski@google.com>
37801
37802 [BZ #12714]
37803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37804 gethostbyname4_r when IPv6 results are possible.
37805
6e04cbbe
UD
378062011-05-02 Ulrich Drepper <drepper@gmail.com>
37807
37808 [BZ #12723]
37809 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37810 _PC_PIPE_BUF handling.
37811
e4ecafe0
BH
378122011-04-30 Bruno Haible <bruno@clisp.org>
37813
37814 [BZ #12717]
37815 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37816 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37817 to 'int'.
37818 * inet/getnameinfo.c (getnameinfo): Likewise.
37819
125ee683
UD
378202011-04-29 Ulrich Drepper <drepper@gmail.com>
37821
37822 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37823 to groups setting in database lookup.
37824 * nss/nsswitch.conf: Add initgroups entry.
37825
b722481a
EB
378262011-04-22 Ulrich Drepper <drepper@gmail.com>
37827
37828 [BZ #12685]
37829 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37830 mode string.
37831 Patch by Eric Blake <eblake@redhat.com>.
37832
4df46dbd
L
378332011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37834
37835 * sunrpc/Makefile (need-export-routines): Add svc_run.
37836 (routines): Remove svc_run.
37837 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37838 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37839 * sunrpc/svc_run.c (svc_run): Likewise.
37840 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37841
e84142d2
UD
378422011-04-21 Ulrich Drepper <drepper@gmail.com>
37843
37844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37845 problem in reallocation in last patch.
37846
877175d8
UD
378472011-04-20 Ulrich Drepper <drepper@gmail.com>
37848
37849 * sunrpc/Makefile: Move inclusion of Rules.
37850
ab8eed78
UD
378512011-04-19 Ulrich Drepper <drepper@gmail.com>
37852
37853 * nss/nss_files/files-initgroups.c: New file.
37854 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37855 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37856 _nss_files_initgroups_dyn.
37857
e3d8f584
RS
378582011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37859
37860 * elf/elf.h (R_ARM_IRELATIVE): Define.
37861
af190f45
UD
378622011-04-19 Ulrich Drepper <drepper@gmail.com>
37863
37864 * po/ru.po: Update from translation team.
37865
53cf59ef
UD
378662011-04-17 Ulrich Drepper <drepper@gmail.com>
37867
37868 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37869 dependencies.
37870
4c559bcd
MF
378712011-02-06 Mike Frysinger <vapier@gentoo.org>
37872
37873 [BZ #12653]
37874 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37875 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37878 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37879
4420675c
AS
378802011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37881
37882 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37883 differing bytes.
37884 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37885 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37887
75ea32ab
UD
378882011-04-17 Ulrich Drepper <drepper@gmail.com>
37889
37890 [BZ #12420]
37891 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37892 storing it.
37893 * stdlib/bug-getcontext.c: New file.
37894 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37895
27390476
AK
378962011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37897
37898 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37899 instructions into .machine "z9-109".
37900 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37901 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37902
10442705
AK
379032011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37904
37905 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37906 between environment variables and auxiliary vector.
37907
7b57bfe5
UD
379082011-04-16 Ulrich Drepper <drepper@gmail.com>
37909
37910 * Makefile: Add rules to build linkobj/libc.so.
37911 * include/libc-symbols.h: Define libc_hidden_nolink.
37912 * include/rpc/auth.h: Mark functions which are to be hidden.
37913 * include/rpc/auth_des.h: Likewise.
37914 * include/rpc/auth_unix.h: Likewise.
37915 * include/rpc/clnt.h: Likewise.
37916 * include/rpc/des_crypt.h: Likewise.
37917 * include/rpc/key_prot.h: Likewise.
37918 * include/rpc/pmap_clnt.h: Likewise.
37919 * include/rpc/pmap_prot.h: Likewise.
37920 * include/rpc/pmap_rmt.h: Likewise.
37921 * include/rpc/rpc_msg.h: Likewise.
37922 * include/rpc/svc.h: Likewise.
37923 * include/rpc/svc_auth.h: Likewise.
37924 * include/rpc/xdr.h: Likewise.
37925 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37926 * nss/Makefile: Likewise.
37927 * sunrpc/Makefile: Don't install headers. Build library with normal
37928 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37929 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37930 for the compat linking library. Remove use of INTDEF/INTUSE.
37931 * sunrpc/auth_none.c: Likewise.
37932 * sunrpc/auth_unix.c: Likewise.
37933 * sunrpc/authdes_prot.c: Likewise.
37934 * sunrpc/authuxprot.c: Likewise.
37935 * sunrpc/clnt_gen.c: Likewise.
37936 * sunrpc/clnt_perr.c: Likewise.
37937 * sunrpc/clnt_raw.c: Likewise.
37938 * sunrpc/clnt_simp.c: Likewise.
37939 * sunrpc/clnt_tcp.c: Likewise.
37940 * sunrpc/clnt_udp.c: Likewise.
37941 * sunrpc/clnt_unix.c: Likewise.
37942 * sunrpc/des_crypt.c: Likewise.
37943 * sunrpc/des_soft.c: Likewise.
37944 * sunrpc/get_myaddr.c: Likewise.
37945 * sunrpc/key_call.c: Likewise.
37946 * sunrpc/key_prot.c: Likewise.
37947 * sunrpc/netname.c: Likewise.
37948 * sunrpc/pm_getmaps.c: Likewise.
37949 * sunrpc/pm_getport.c: Likewise.
37950 * sunrpc/pmap_clnt.c: Likewise.
37951 * sunrpc/pmap_prot.c: Likewise.
37952 * sunrpc/pmap_prot2.c: Likewise.
37953 * sunrpc/pmap_rmt.c: Likewise.
37954 * sunrpc/publickey.c: Likewise.
37955 * sunrpc/rpc_cmsg.c: Likewise.
37956 * sunrpc/rpc_common.c: Likewise.
37957 * sunrpc/rpc_dtable.c: Likewise.
37958 * sunrpc/rpc_prot.c: Likewise.
37959 * sunrpc/rpc_thread.c: Likewise.
37960 * sunrpc/rtime.c: Likewise.
37961 * sunrpc/svc.c: Likewise.
37962 * sunrpc/svc_auth.c: Likewise.
37963 * sunrpc/svc_authux.c: Likewise.
37964 * sunrpc/svc_raw.c: Likewise.
37965 * sunrpc/svc_run.c: Likewise.
37966 * sunrpc/svc_simple.c: Likewise.
37967 * sunrpc/svc_tcp.c: Likewise.
37968 * sunrpc/svc_udp.c: Likewise.
37969 * sunrpc/svc_unix.c: Likewise.
37970 * sunrpc/svcauth_des.c: Likewise.
37971 * sunrpc/xcrypt.c: Likewise.
37972 * sunrpc/xdr.c: Likewise.
37973 * sunrpc/xdr_array.c: Likewise.
37974 * sunrpc/xdr_float.c: Likewise.
37975 * sunrpc/xdr_intXX_t.c: Likewise.
37976 * sunrpc/xdr_mem.c: Likewise.
37977 * sunrpc/xdr_rec.c: Likewise.
37978 * sunrpc/xdr_ref.c: Likewise.
37979 * sunrpc/xdr_sizeof.c: Likewise.
37980 * sunrpc/xdr_stdio.c: Likewise.
37981
e6c61494
UD
379822011-04-10 Ulrich Drepper <drepper@gmail.com>
37983
37984 [BZ #12650]
37985 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37986 * sysdeps/ia64/dl-tls.h: Likewise.
37987 * sysdeps/powerpc/dl-tls.h: Likewise.
37988 * sysdeps/s390/dl-tls.h: Likewise.
37989 * sysdeps/sh/dl-tls.h: Likewise.
37990 * sysdeps/sparc/dl-tls.h: Likewise.
37991 * sysdeps/x86_64/dl-tls.h: Likewise.
37992 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37993
34fe483e
AS
379942011-03-14 Andreas Schwab <schwab@redhat.com>
37995
37996 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37997 rpath element also skip the following colon.
37998 (expand_dynamic_string_token): Add is_path parameter and pass
37999 down to DL_DST_REQUIRED and _dl_dst_substitute.
38000 (decompose_rpath): Call expand_dynamic_string_token with
38001 non-zero is_path. Ignore empty rpaths.
38002 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38003 with zero is_path.
38004
f12a32e6
AS
380052011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38006
38007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38008 Make cancelable.
38009
38a7d692
UD
380102011-04-09 Ulrich Drepper <drepper@gmail.com>
38011
38012 [BZ #12655]
38013 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38014 Patch by Filipe David Manana <fdmanana@apache.org>.
38015
e451d22b
AS
380162011-04-07 Andreas Schwab <schwab@redhat.com>
38017
38018 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38019 Maintain aligned stack.
38020 (CHECK_RSP): Remove unused macro.
38021
dedc7c7b
UD
380222011-04-03 Ulrich Drepper <drepper@gmail.com>
38023
38024 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38025 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38026
94521213
UD
380272011-04-02 Ulrich Drepper <drepper@gmail.com>
38028
38029 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38030
8cb700c0 38031 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38032
0354e355
L
380332011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38034
38035 [BZ #12518]
38036 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38037 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38038 * sysdeps/x86_64/memmove.c: New file.
38039 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38040 (memcpy): Renamed to ...
38041 (__new_memcpy): This.
38042 (memcpy): Provide GLIBC_2_14 memcpy.
38043 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38044 (memcpy): Provide GLIBC_2_2_5 memcpy.
38045
8593482f
UD
380462011-04-01 Ulrich Drepper <drepper@gmail.com>
38047
38048 [BZ #12631]
38049 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38050
81a5726b
AS
380512011-03-30 Andreas Schwab <schwab@redhat.com>
38052
38053 * misc/syncfs.c: New file.
38054 * misc/Makefile (routines): Add syncfs.
38055 * posix/unistd.h: Declare syncfs.
38056 * sysdeps/unix/syscalls.list: Add syncfs.
38057
00e5419f
AS
380582011-04-01 Andreas Schwab <schwab@redhat.com>
38059
38060 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38061 open_by_handle_at.
38062 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38063 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38065 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38067 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38069
748876bf
UD
380702011-04-01 Ulrich Drepper <drepper@gmail.com>
38071
658e451d
UD
38072 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38073 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38076 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38078 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38079
748876bf
UD
38080 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38081 sync_file_range.c with -fexceptions.
38082 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38083 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38084 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38085 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38086 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38087 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38088 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38089 sync_file_range as cancellation point
38090 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38091 now a wrapper around __call_sync_file_range with cancellation handling.
38092 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38093 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38094 function name to __call_sync_file_range.
38095 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38096 Add call_sync_file_range.
748876bf 38097
6e63d5e1
AS
380982011-04-01 Andreas Schwab <schwab@redhat.com>
38099
38100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38101 bits/timex.h.
6e63d5e1 38102
46998f74
UD
381032011-04-01 Ulrich Drepper <drepper@gmail.com>
38104
4c1423ed
UD
38105 * iconv/iconv.h: Fix typo in comment.
38106 * io/fcntl.h: Likewise.
38107 * libio/stdio.h: Likewise.
38108 * posix/spawn.h: Likewise.
38109 * posix/unistd.h: Likewise.
38110 * stdlib/stdlib.h: Likewise.
38111 * time/time.h: Likewise.
38112 * wcsmbs/wchar.h: Likewise.
38113
158648c0
UD
38114 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38115 open_by_handle): Add.
38116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38117 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38118 Augment a few comments.
38119 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38121 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38124 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38125 open_by_handle.
38126
46998f74
UD
38127 * io/fcntl.h (AT_EMPTY_PATH): Define.
38128
83fe108b
UD
381292011-03-30 Ulrich Drepper <drepper@gmail.com>
38130
38131 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38132 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38133 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38134 to...
38135 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38136 * Versions.def: Add GLIBC_2.14.
38137 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38138 Export.
83fe108b 38139
bb242059
UD
381402011-03-22 Ulrich Drepper <drepper@gmail.com>
38141
38142 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38143 round counter.
38144 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38145
c97a1282
L
381462011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38147
38148 [BZ #12597]
38149 * string/test-strncmp.c (do_page_test): New function.
38150 (check2): Likewise.
38151 (test_main): Call check2.
38152 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38153
2a115601
UD
381542011-03-20 Ulrich Drepper <drepper@gmail.com>
38155
38156 [BZ #12587]
38157 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38158 Handle cache information in CPU leaf 4.
38159 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38160
8126d904
UD
381612011-03-18 Ulrich Drepper <drepper@gmail.com>
38162
042c49c6 38163 [BZ #12583]
8126d904
UD
38164 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38165 character representation.
38166 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38167
ccfe366e
RA
381682011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38169
38170 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38171 END(__isnan) to END(__isnanf) to match function entry point/label
38172 EALIGN(__isnanf,...).
38173
c6e13027
JJ
381742011-03-10 Jakub Jelinek <jakub@redhat.com>
38175
38176 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38177
33f85a3f
UD
381782011-03-10 Ulrich Drepper <drepper@gmail.com>
38179
028478fa
UD
38180 [BZ #12510]
38181 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38182 copy from the symbol referenced in the relocation to initialize the
38183 used variable.
38184 Patch by Piotr Bury <pbury@goahead.com>.
38185 * elf/Makefile: Add rules to build and tst-unique3.
38186 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38187 * elf/tst-unique3.cc: New file.
38188 * elf/tst-unique3.h: New file.
38189 * elf/tst-unique3lib.cc: New file.
38190 * elf/tst-unique3lib2.cc: New file.
38191
33f85a3f
UD
38192 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38193
03592fc7
MF
381942011-03-10 Mike Frysinger <vapier@gentoo.org>
38195
38196 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38197 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38198 to _start.
03592fc7 38199
6a5ee102
UD
382002011-03-06 Ulrich Drepper <drepper@gmail.com>
38201
38202 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38203 to-be-loaded object along a path to loader is ld.so.
38204
7e4ba49c
HJ
382052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38206 Ulrich Drepper <drepper@gmail.com>
38207
38208 * sysdeps/x86_64/memset.S: After aligning destination, code
38209 branches to different locations depending on the value of
38210 misalignment, when multiarch is enabled. Fix this.
38211
382122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38213
38214 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38215 Set _x86_64_preferred_memory_instruction for AMD processsors.
38216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38217 Set bit_Prefer_SSE_for_memop for AMD processors.
38218
13a804de
UD
382192011-03-04 Ulrich Drepper <drepper@gmail.com>
38220
38221 * libio/fmemopen.c (fmemopen): Optimize a bit.
38222
9d25c392
AS
382232011-03-03 Andreas Schwab <schwab@redhat.com>
38224
38225 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38226
a5543c6a
RM
382272011-03-03 Roland McGrath <roland@redhat.com>
38228
38229 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38230
012d35f7
DM
382312011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38232
7e4ba49c 38233 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38234 __bzero_ultra1 instead of __memset_ultra1.
38235
4bff6e01
AS
382362011-02-23 Andreas Schwab <schwab@redhat.com>
38237 Ulrich Drepper <drepper@gmail.com>
38238
38239 [BZ #12509]
38240 * include/link.h (struct link_map): Add l_orig_initfini.
38241 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38242 returning unsuccessfully.
38243 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38244 close of a file loaded at startup, restore the original l_initfini
38245 list.
38246 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38247 list, store the pointer.
38248 * elf/Makefile ($(objpfx)noload-mem): New rule.
38249 (noload-ENV): Define.
38250 (tests): Add $(objpfx)noload-mem.
38251 * elf/noload.c: Include <memcheck.h>.
38252 (main): Call mtrace. Close all opened handles.
38253
f2092faf
AS
382542011-02-17 Andreas Schwab <schwab@redhat.com>
38255
38256 [BZ #12454]
38257 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38258 dependencies are missing.
38259
6c8a2e88
ST
382602011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38261
f2092faf 38262 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38263 Hurd needs munmap.
38264 * sysdeps/mach/hurd/ifreq.h: New file.
38265
84a42118
PB
382662011-01-27 Petr Baudis <pasky@suse.cz>
38267 Ulrich Drepper <drepper@gmail.com>
38268
071f805e 38269 [BZ 12445]#
84a42118
PB
38270 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38271 to extend_alloca().
38272 * stdio-common/bug23.c: New file.
38273 * stdio-common/Makefile (tests): Add bug23.
38274
e23fe25b
AS
382752010-09-28 Andreas Schwab <schwab@redhat.com>
38276 Ulrich Drepper <drepper@gmail.com>
38277
38278 [BZ #12489]
38279 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38280 before performing relro protection. At old place add assertion
38281 to make sure nothing changed.
38282
d3f02e10
NS
382832011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38284 Glauber de Oliveira Costa <glommer@gmail.com>
38285
38286 * elf/elf.h: Add new ARM TLS relocs.
38287
d55fd7a5
RA
382882011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38289
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38291 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38292 cast from r3.
38293 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38294 'tests' variable.
38295 * sysdeps/wordsize-64/tst-writev.c: New file.
38296
2206397e
RA
382972011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38298
38299 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38300 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38301 insns in _dl_start to prevent a TOC reference before relocs are
38302 resolved.
38303
e9433893
UD
383042011-02-15 Ulrich Drepper <drepper@gmail.com>
38305
38306 [BZ #12469]
38307 * Makeconfig: Remove RANLIB definition.
38308 * Makerules: Don't use RANLIB.
38309 * aclocal.m4: Remove ranlib test.
38310 * configure.in: No need to check for ranlib.
38311 * elf/rtld-Rules: Don't use RANLIB.
38312
f75286c6
ST
383132011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38314
8e31c82d
ST
38315 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38316 protection macro.
38317 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38318 inclusion protection macro.
38319
f75286c6
ST
38320 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38321 SIGRTMIN and SIGRTMAX and print information in that case only when
38322 SIGRTMIN is defined.
38323
c1d0e639
JJ
383242011-02-11 Jakub Jelinek <jakub@redhat.com>
38325
38326 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38327 arginfo fn returning -1.
38328
38329 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38330 and thousands string is zero terminated.
38331
edf9294e
AS
383322011-02-03 Andreas Schwab <schwab@redhat.com>
38333
38334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38335 sysdeps/unix/sysv/linux/bits/socket.h.
38336
2b7e92df
ST
383372011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38338
edf9294e
AS
38339 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38340 (__CPU_COUNT): Remove old macros.
38341 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38342 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38343 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38344 (__sched_cpualloc, __sched_cpufree): Add declarations.
38345
a4c7ea7b
UD
383462011-02-05 Ulrich Drepper <drepper@gmail.com>
38347
38348 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38349 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38350 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38351 (readdhstai): Return value of addhstaiX call.
38352 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38353 (addgrbyX): Return value returned by cache_addgr.
38354 (readdgrbyname): Return value returned by addgrbyX.
38355 (readdgrbygid): Likewise.
38356 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38357 (addpwbyX): Return value returned by cache_addpw.
38358 (readdpwbyname): Return value returned by addhstbyX.
38359 (readdpwbyuid): Likewise.
38360 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38361 (addservbyX): Return value returned by cache_addserv.
38362 (readdservbyname): Return value returned by addservbyX:
38363 (readdservbyport): Likewise.
38364 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38365 (addhstbyX): Return value returned by cache_addhst.
38366 (readdhstbyname): Return value returned by addhstbyX.
38367 (readdhstbyaddr): Likewise.
38368 (readdhstbynamev6): Likewise.
38369 (readdhstbyaddrv6): Likewise.
38370 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38371 (readdinitgroups): Return value returned by addinitgroupsX.
38372 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38373 (prune_cache): Keep track of timeout value of re-added entries.
38374 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38375 * nscd/nscd.h: Adjust prototypes of readd* functions.
38376
a0bf67cc
RM
383772011-02-04 Roland McGrath <roland@redhat.com>
38378
38379 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38380 (nis_stats): Likewise.
38381 * nis/nis_modify.c (nis_modify): Likewise.
38382 * nis/nis_remove.c (nis_remove): Likewise.
38383 * nis/nis_add.c (nis_add): Likewise.
38384
38385 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38386
38387 * posix/fnmatch_loop.c: Add some consts.
38388
38389 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38390
435b95eb
L
383912011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38392
38393 [BZ #12460]
38394 * config.make.in (config-cflags-novzeroupper): Define.
38395 * configure.in: Substitute libc_cv_cc_novzeroupper.
38396 * elf/Makefile (AVX-CFLAGS): Define.
38397 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38398 (CFLAGS-tst-auditmod4a.c): Likewise.
38399 (CFLAGS-tst-auditmod4b.c): Likewise.
38400 (CFLAGS-tst-auditmod6b.c): Likewise.
38401 (CFLAGS-tst-auditmod6c.c): Likewise.
38402 (CFLAGS-tst-auditmod7b.c): Likewise.
38403 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38404
8517b15e
UD
384052011-02-02 Ulrich Drepper <drepper@gmail.com>
38406
38407 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38408 function to the callback.
38409 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38410
10a656fe
AS
384112011-02-02 Andreas Schwab <schwab@redhat.com>
38412
38413 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38414 of errno.
38415
968dad0a
UD
384162011-01-19 Ulrich Drepper <drepper@gmail.com>
38417
9f94d2ea 38418 [BZ #11724]
968dad0a
UD
38419 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38420 of constructors.
38421 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38422 of destructors.
38423 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38424
38425 [BZ #11724]
38426 * elf/Makefile: Add rules to build and run new test.
38427 * elf/tst-initorder.c: New file.
38428 * elf/tst-initorder.exp: New file.
38429 * elf/tst-initordera1.c: New file.
38430 * elf/tst-initordera2.c: New file.
38431 * elf/tst-initordera3.c: New file.
38432 * elf/tst-initordera4.c: New file.
38433 * elf/tst-initorderb1.c: New file.
38434 * elf/tst-initorderb2.c: New file.
38435 * elf/tst-order-a1.c: New file.
38436 * elf/tst-order-a2.c: New file.
38437 * elf/tst-order-a3.c: New file.
38438 * elf/tst-order-a4.c: New file.
38439 * elf/tst-order-b1.c: New file.
38440 * elf/tst-order-b2.c: New file.
38441 * elf/tst-order-main.c: New file.
38442 New test case by George Gensure <werkt0@gmail.com>.
38443
86e92359
UD
384442010-10-01 Andreas Schwab <schwab@redhat.com>
38445
38446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38447 decoding ACE if AI_CANONIDN.
38448
5d5732b0
UD
384492011-01-18 Ulrich Drepper <drepper@gmail.com>
38450
38451 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38452
a77e8cbc
UD
384532011-01-17 Ulrich Drepper <drepper@gmail.com>
38454
6392473f
UD
38455 * version.h (RELEASE): Bump for 2.13 release.
38456 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38457
620a0529
UD
38458 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38459
18ba70a5
UD
38460 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38461 MADV_NOHUGEPAGE.
32465c3e
UD
38462 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38463 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38464 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38465 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38466 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38467 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38468
c0dafcf1
UD
38469 * posix/getconf.c: Update copyright year.
38470 * catgets/gencat.c: Likewise.
38471 * csu/version.c: Likewise.
38472 * debug/catchsegv.sh: Likewise.
38473 * debug/xtrace.sh: Likewise.
38474 * elf/ldconfig.c: Likewise.
38475 * elf/ldd.bash.in: Likewise.
38476 * elf/sprof.c (print_version): Likewise.
38477 * iconv/iconv_prog.c: Likewise.
38478 * iconv/iconvconfig.c: Likewise.
38479 * locale/programs/locale.c: Likewise.
38480 * locale/programs/localedef.c: Likewise.
38481 * malloc/memusage.sh: Likewise.
38482 * malloc/mtrace.pl: Likewise.
38483 * nscd/nscd.c (print_version): Likewise.
38484 * nss/getent.c: Likewise.
38485
a77e8cbc
UD
38486 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38487 PF_CAIF, and PF_ALG.
38488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38489
77e8bddf
AS
384902011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38491
1f20b93a
AS
38492 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38493 (modules-names): Use them.
38494 (ifunc-test-modules, ifunc-pie-tests): Define.
38495 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38496 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38497 (test-extras): Likewise.
38498 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38499 $(compile-command.c).
38500 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38501 (all-built-dso): Define.
38502 (check-textrel.out, check-execstack.out): Depend on it.
38503
77e8bddf
AS
38504 * configure.in: Don't override --enable-multi-arch.
38505
bc425b33
UD
385062011-01-15 Ulrich Drepper <drepper@gmail.com>
38507
38508 [BZ #6812]
38509 * nscd/hstcache.c (tryagain): Define.
38510 (cache_addhst): Return tryagain not notfound for temporary errors.
38511 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38512 failed.
38513
794c3ad3
UD
385142011-01-14 Ulrich Drepper <drepper@gmail.com>
38515
70181fdd
UD
38516 [BZ #10563]
38517 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38518 to make the syscall.
38519 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38520
794c3ad3
UD
38521 [BZ #12378]
38522 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38523 and fall back to matching as normal character if the string ends before
38524 the matching ']' is found. This is what POSIX requires.
38525 * posix/testfnm.c: Adjust test result.
38526 * posix/globtest.sh: Adjust test result. Add new test.
38527 * posix/tst-fnmatch.input: Likewise.
38528 * posix/tst-fnmatch2.c: Add new test.
38529
68dc9497
AS
385302010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38531
38532 * elf/Makefile (check-execstack): Revert last change. Depend on
38533 check-execstack.h.
38534 (check-execstack.h): New target.
38535 (generated): Add check-execstack.h.
38536 * elf/check-execstack.c: Include "check-execstack.h".
38537 (main): Revert last change.
38538 (handle_file): Return zero if GNU_STACK is absent and
38539 DEFAULT_STACK_PERMS doesn't include PF_X.
38540
451f001b
UD
385412011-01-13 Ulrich Drepper <drepper@gmail.com>
38542
cfa28e56
UD
38543 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38544 in child fails because the descriptor is already closed.
8cf8ce17
UD
38545 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38546 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38547 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38548
1086d70d
UD
38549 [BZ #12397]
38550 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38551 syscall.
38552
451f001b
UD
38553 [BZ #10484]
38554 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38555 temporary buffer used to handle multi lookups locally.
a85b5cb4 38556 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38557
08769175
UD
385582011-01-12 Ulrich Drepper <drepper@gmail.com>
38559
38560 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38561 loader is ld.so.
38562
5e49c52e
UD
385632011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38564
38565 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38566 alignment for SSE2.
38567
60522a5f
UD
385682011-01-12 Ulrich Drepper <drepper@gmail.com>
38569
38570 [BZ #12394]
38571 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38572 characters. When rounding increased number of integer digits recompute
38573 number of groups.
38574 * stdio-common/tst-grouping.c: New file.
38575 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38576
f257bbd7
UD
385772011-01-09 Ulrich Drepper <drepper@gmail.com>
38578
38579 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38580 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38581
38582 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38583 void.
38584 * bits/select.h: Likewise.
38585
fa9c15cb
UD
385862011-01-08 Ulrich Drepper <drepper@gmail.com>
38587
38588 * po/ja.po: Update from translation team.
38589
16c2895f
DM
385902011-01-04 David S. Miller <davem@sunset.davemloft.net>
38591
38592 [BZ #11155]
38593 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38594 implementation just like for lxstat, fxstatat, et al.
38595
2543fef2
JM
385962010-12-27 Jim Meyering <meyering@redhat.com>
38597
38598 [BZ #12348]
38599 * posix/regexec.c (build_trtable): Return failure indication upon
38600 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38601
98727dbe
UD
386022010-12-25 Ulrich Drepper <drepper@gmail.com>
38603
5bd6dc5c
UD
38604 [BZ #12201]
38605 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38606 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38607 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38608 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38609
97983464
UD
38610 [BZ #12207]
38611 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38612
98727dbe
UD
38613 [BZ #12204]
38614 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38615 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38616
4a531bb0
L
386172010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38618
38619 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38620 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38621 script has SORT_BY_INIT_PRIORITY.
38622 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38623 NO_CTORS_DTORS_SECTIONS is defined.
38624 * elf/soinit.c: Likewise.
38625 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38626 NO_CTORS_DTORS_SECTIONS is defined.
38627 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38628 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38629 * sysdeps/sh/init-first.c: Likewise.
38630 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38631
07eb4b71
UD
386322010-12-24 Ulrich Drepper <drepper@gmail.com>
38633
38634 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38635 always use the slow path.
38636
30950a5f
RA
386372010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38638
38639 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38640 similar rule which adds the sysdep directories to the header search in
38641 order to pick up the correct platform stackinfo.h.
38642 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38643 perform test if it is, otherwise return successfully without testing.
38644 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38645 DEFAULT_STACK_PERMS define in stackinfo.h.
38646 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38647 defined in stackinfo.h.
38648 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38649 DEFAULT_STACK_PERMS defined in stackinfo.h.
38650 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38651 * sysdeps/ia64/stackinfo.h: Likewise.
38652 * sysdeps/s390/stackinfo.h: Likewise.
38653 * sysdeps/sh/stackinfo.h: Likewise.
38654 * sysdeps/sparc/stackinfo.h: Likewise.
38655 * sysdeps/x86_64/stackinfo.h: Likewise.
38656 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38657 PF_X for powerpc64. Retain PF_X for powerpc32.
38658
db753e2c
UD
386592010-12-19 Ulrich Drepper <drepper@gmail.com>
38660
14b697f7
UD
38661 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38662 accurately.
db753e2c
UD
38663 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38664 GETDENTS_64BIT_ALIGNED.
38665
28300719
UD
386662010-12-14 Ulrich Drepper <dreper@gmail.com>
38667
14b697f7 38668 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38669
4f197237
AS
386702010-12-10 Andreas Schwab <schwab@redhat.com>
38671
dbb0472f
AS
38672 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38673 _GNU_SOURCE.
38674
4f197237
AS
38675 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38676 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38677 Remove __restrict.
38678 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38679 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38680
fb88ac72
UD
386812010-12-09 Ulrich Drepper <drepper@gmail.com>
38682
38683 [BZ #11655]
38684 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38685 are initialized.
38686
42acbb92
JJ
386872010-12-09 Jakub Jelinek <jakub@redhat.com>
38688
38689 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38690
c038d98d
UD
386912010-12-03 Ulrich Drepper <drepper@gmail.com>
38692
38693 * po/it.po: Update from translation team.
38694
3a4a2499
L
386952010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38696
38697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38698 unused codes.
38699
1e24cf6e
UD
387002010-11-30 Ulrich Drepper <drepper@gmail.com>
38701
38702 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38703
a7690819
AS
387042010-11-24 Andreas Schwab <schwab@redhat.com>
38705
38706 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38707 specially.
38708 (gaih_getanswer_slice): Likewise.
38709
3bf8d1b1
JJ
387102010-10-20 Jakub Jelinek <jakub@redhat.com>
38711
38712 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38713
6db52fbb
PB
387142010-05-31 Petr Baudis <pasky@suse.cz>
38715
38716 [BZ #11149]
38717 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38718 silently even in the chroot mode.
38719
eaca7569
UD
387202010-11-22 Ulrich Drepper <drepper@gmail.com>
38721
38722 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38723 last patch a bit. Pretty printing
38724
3056dcdb
UD
387252010-05-31 Petr Baudis <pasky@suse.cz>
38726
38727 [BZ #10085]
38728 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38729 initialization of skip_initgroups_dyn.
38730
cf7c9078
UD
387312010-11-19 Ulrich Drepper <drepper@gmail.com>
38732
38733 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38734 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38735
a1fb5e3e
UD
387362010-11-16 Ulrich Drepper <drepper@gmail.com>
38737
38738 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38739
3540d66b
AS
387402010-11-11 Andreas Schwab <schwab@redhat.com>
38741
38742 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38743 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38744 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38745 ($(objpfx)tst-fnmatch-mem): New rule.
38746 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38747 * posix/tst-fnmatch.c (main): Call mtrace.
38748
13b69574
L
387492010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38750
38751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38752 Support Intel processor model 6 and model 0x2c.
38753
da93d214
LM
387542010-11-10 Luis Machado <luisgpm@br.ibm.com>
38755
38756 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38757 signed comparison.
38758
8ca52c6e
L
387592010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38760
38761 [BZ #12205]
38762 * string/test-strncasecmp.c (check_result): New function.
38763 (do_one_test): Use it.
38764 (check1): New function.
38765 (test_main): Use it.
38766 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38767 Support strcasecmp and strncasecmp.
38768
69da074d
UD
387692010-11-08 Ulrich Drepper <drepper@gmail.com>
38770
38771 [BZ #12194]
38772 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38773 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38774
ff02d528
L
387752010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38776
38777 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38778 IFUNC support.
38779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38780 memset-x86-64.
38781 * sysdeps/x86_64/multiarch/bzero.S: New file.
38782 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38783 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38784 * sysdeps/x86_64/multiarch/memset.S: New file.
38785 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38787 Set bit_Prefer_SSE_for_memop for Intel processors.
38788 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38789 Define.
38790 (index_Prefer_SSE_for_memop): Define.
38791 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38792
344d0b54
LM
387932010-11-04 Luis Machado <luisgpm@br.ibm.com>
38794
38795 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38796 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38797
c0dde15b
UD
387982010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38799
38800 [BZ #12191]
38801 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38802 (__x86_64_raw_data_cache_size_half): Likewise.
38803 (__x86_64_raw_shared_cache_size): Likewise.
38804 (__x86_64_raw_shared_cache_size_half): Likewise.
38805
38806 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38807 (__x86_64_raw_data_cache_size_half): Likewise.
38808 (__x86_64_raw_shared_cache_size): Likewise.
38809 (__x86_64_raw_shared_cache_size_half): Likewise.
38810 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38811 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38812 and __x86_64_raw_shared_cache_size_half. Round
38813 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38814 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38815 to multiple of 256 bytes.
38816
0e516e0e
MS
388172010-11-03 Ulrich Drepper <drepper@gmail.com>
38818
38819 [BZ #12167]
38820 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38821 of inacessible symlinks. Verify result of symlink before returning it.
38822 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38823 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38824
0e012e87
ER
388252010-10-28 Erich Ritz <erichritz@gmail.com>
38826
38827 * math/math.h (isinf): Fix typo in comment.
38828
de0ff7bc
UD
388292010-11-01 Ulrich Drepper <drepper@gmail.com>
38830
38831 * po/da.po: Update from translation team.
38832
fa41c84d
UD
388332010-10-26 Ulrich Drepper <drepper@gmail.com>
38834
38835 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38836 is added to the list.
38837
f0967738
AK
388382010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38839 Ulrich Drepper <drepper@gmail.com>
38840
38841 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38842 the global list here. Move code to...
38843 (_dl_add_to_namespace_list): ...here. New function.
38844 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38845 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38846 * elf/dl-load.c (lose): Don't remove the element from the list.
38847 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38848 (_dl_map_object): Likewise.
38849
388502010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
38851
38852 [BZ #12159]
38853 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38854 into all bytes of SSE register.
38855 Patch by Richard Li <richardpku@gmail.com>.
38856
f0967738 388572010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
38858
38859 [BZ #12140]
38860 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38861 perturbing.
38862
d0b9e94f
MB
388632010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38864
38865 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38866 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38867 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38868 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38870 submachine.
38871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38872
8e9f92e9
AS
388732010-10-22 Andreas Schwab <schwab@redhat.com>
38874
38875 * include/dlfcn.h (__RTLD_SECURE): Define.
38876 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38877 mode & __RTLD_SECURE instead.
38878 (open_path): Rename preloaded parameter to secure.
38879 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38880 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38881 * elf/dl-deps.c (openaux): Likewise.
38882 * elf/rtld.c (struct map_args): Remove is_preloaded.
38883 (map_doit): Don't use it.
38884 (dl_main): Likewise.
38885 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38886 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38887
bc96fbda
AS
388882010-09-09 Andreas Schwab <schwab@redhat.com>
38889
38890 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38891 (sysd-rules-targets): Remove duplicates.
38892 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38893 rtld-%.$o dependency.
38894
22cd1c9b
AS
388952010-10-18 Andreas Schwab <schwab@redhat.com>
38896
38897 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38898 _dl_map_object do it.
38899
18edac48
UD
389002010-10-19 Ulrich Drepper <drepper@gmail.com>
38901
38902 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38903 fast fma builtins, define the macros in the C99 standard.
38904 (FP_FAST_FMAF): Likewise.
38905 (FP_FAST_FMAL): Likewise.
38906 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38907
38908 * bits/mathdef.h: Update copyright year.
38909 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38910
d2050124
MM
389112010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38912
38913 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38914 builtins, define the macros in the C99 standard.
38915 (FP_FAST_FMAF): Likewise.
38916 (FP_FAST_FMAL): Likewise.
38917 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38918 multiply/add.
38919 (FP_FAST_FMAF): Likewise.
38920
475facd1
JJ
389212010-10-15 Jakub Jelinek <jakub@redhat.com>
38922
38923 [BZ #3268]
38924 * math/libm-test.inc (fma_test): Some new testcases.
38925 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38926 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38927 y and infinite z. Do multiplication by C already in long double.
38928 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38930 y and infinite z. Do bitwise or of inexact bit into u.d.
38931 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38932 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38933 * sysdeps/i386/fpu/s_fma.S: Removed.
38934 * sysdeps/i386/fpu/s_fmal.S: Removed.
38935
7c08a05c
JJ
389362010-10-16 Jakub Jelinek <jakub@redhat.com>
38937
38938 [BZ #3268]
38939 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38941 computation is not scheduled after fetestexcept. Fix value
38942 of minimum denormal long double.
38943
f3f7372d
JJ
389442010-10-14 Jakub Jelinek <jakub@redhat.com>
38945
38946 [BZ #3268]
38947 * math/libm-test.inc (fma_test): Add some more tests.
38948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38949 correctly.
38950
14d43591
AS
389512010-10-15 Andreas Schwab <schwab@redhat.com>
38952
38953 * scripts/data/localplt-s390-linux-gnu.data: New file.
38954 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38955
5e908464
JJ
389562010-10-13 Jakub Jelinek <jakub@redhat.com>
38957
38958 [BZ #3268]
38959 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38960 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38961 instead of dbl-64.
38962 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38963 inlines.
38964 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38966 if one of x and y is very large and the other is subnormal.
38967 * sysdeps/s390/fpu/s_fmaf.c: New file.
38968 * sysdeps/s390/fpu/s_fma.c: New file.
38969 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38970 * sysdeps/powerpc/fpu/s_fma.S: New file.
38971 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38972 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38973 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38974
389752010-10-12 Jakub Jelinek <jakub@redhat.com>
38976
38977 [BZ #3268]
38978 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38979 fma tests.
38980 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38981 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38982 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38983 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38984 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38985 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38986 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38987
b833d51f
UD
389882010-10-12 Ulrich Drepper <drepper@redhat.com>
38989
38990 [BZ #12078]
38991 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38992 * posix/bug-regex31.input: Add test case.
38993
1751705d
UD
389942010-10-11 Ulrich Drepper <drepper@gmail.com>
38995
e9b9cbf5
UD
38996 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38997 * posix/bug-regex31.input: New file.
38998
38999 [BZ #12078]
39000 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39001 (parse_sub_exp): Fix last change, use postorder.
39002
ef06edbe
UD
39003 * posix/bug-regex31.c: New file.
39004 * posix/Makefile: Add rules to build and run bug-regex31.
39005
a129c80d
UD
39006 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39007
39008 [BZ #12078]
39009 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39010
b76b818e
UD
39011 [BZ #12108]
39012 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39013 to have entries in sys_siglist.
39014
1751705d
UD
39015 [BZ #12093]
39016 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39017 be NULL.
39018
9ff8d36f
JJ
390192010-10-07 Jakub Jelinek <jakub@redhat.com>
39020
39021 [BZ #3268]
39022 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39023 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39024 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39025 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39026 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39027 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39028 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39029 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39030 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39031 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39032 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39033 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39034 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39035 * math/ftestexcept.c (fetestexcept): Likewise.
39036 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39037 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39038 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39039 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39040 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39041 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39042 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39043
af325969
UD
390442010-10-11 Ulrich Drepper <drepper@gmail.com>
39045
c579b202 39046 [BZ #12107]
af325969
UD
39047 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39048 newline.
39049
67a67b95
UD
390502010-10-06 Ulrich Drepper <drepper@gmail.com>
39051
39052 * string/bug-strstr1.c: New file.
39053 * string/Makefile: Add rules to build and run bug-strstr1.
39054
5fb308bc
EB
390552010-10-05 Eric Blake <eblake@redhat.com>
39056
39057 [BZ #12092]
39058 * string/str-two-way.h (two_way_long_needle): Always clear memory
39059 when skipping input due to the shift table.
39060
45db99c7
UD
390612010-10-03 Ulrich Drepper <drepper@gmail.com>
39062
3b111893
UD
39063 [BZ #12005]
39064 * malloc/mcheck.c: Handle large requests.
39065
45db99c7
UD
39066 [BZ #12077]
39067 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39068 for strncmp and strncasecmp.
39069 * string/stratcliff.c: Add tests for strcmp and strncmp.
39070 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39071
cf7a1eb8
NI
390722010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39073
39074 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39075 __set_fpscr.
39076
6484ba5e
AJ
390772010-09-30 Andreas Jaeger <aj@suse.de>
39078
39079 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39080 (CGROUP_SUPER_MAGIC): Define.
39081 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39082 Handle btrfs and cgroup file systems.
39083 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39084 Likewise.
39085
91c42559
LM
390862010-09-27 Luis Machado <luisgpm@br.ibm.com>
39087
39088 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39089 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39090
87a97932
AK
390912010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39092
39093 [BZ #12067]
39094 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39095 trying to locate the ELF header.
39096
c21cc9bc
AS
390972010-09-27 Andreas Schwab <schwab@redhat.com>
39098
39099 [BZ #11611]
39100 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39101 Mask out sign-bit copies when constructing f_fsid.
39102
315970f6
PB
391032010-09-24 Petr Baudis <pasky@suse.cz>
39104
39105 * debug/stack_chk_fail_local.c: Add missing licence exception.
39106 * debug/warning-nop.c: Likewise.
39107
1ac7a2c7
JM
391082010-09-15 Joseph Myers <joseph@codesourcery.com>
39109
39110 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39111 implementing getdents64 using getdents syscall, set d_type if
39112 __ASSUME_GETDENTS32_D_TYPE.
39113
56801c50
AS
391142010-09-16 Andreas Schwab <schwab@redhat.com>
39115
39116 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39117 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39118
dda51327
UD
391192010-09-21 Ulrich Drepper <drepper@redhat.com>
39120
39121 [BZ #12037]
39122 * posix/unistd.h: Undo change of feature selection for ftruncate from
39123 2010-01-11.
39124
8ffcee4a
UD
391252010-09-20 Ulrich Drepper <drepper@redhat.com>
39126
a545ecd9 39127 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39128 detection.
39129
e24f0a8b
AS
391302010-09-20 Andreas Schwab <schwab@redhat.com>
39131
39132 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39133 fanotify_mark.
39134 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39135
7291c56f
AS
391362010-09-14 Andreas Schwab <schwab@redhat.com>
39137
39138 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39139 variables after CHECK_SP call.
39140 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39141
bc5fb037
AS
391422010-09-13 Andreas Schwab <schwab@redhat.com>
39143 Ulrich Drepper <drepper@redhat.com>
39144
39145 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39146 re-relocationg ld.so.
39147 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39148 _dl_init_paths call.
39149 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39150 here anymore.
39151
e66e7419
UD
391522010-09-14 Ulrich Drepper <drepper@redhat.com>
39153
39154 * resolv/res_init.c (__res_vinit): Count the default server we added.
39155
c044aa75
CLT
391562010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39157 Ulrich Drepper <drepper@redhat.com>
39158
39159 [BZ #11968]
39160 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39161 (____longjmp_chk): Use %ebx for saving value across system call.
39162 Add unwind info.
39163
32cf4069
AS
391642010-09-06 Andreas Schwab <schwab@redhat.com>
39165
39166 * manual/Makefile: Don't mix pattern rules with normal rules.
39167
817328ee
AS
391682010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39169
39170 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39171 operation.
39172 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39173 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39174 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39175 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39176 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39177 Likewise.
39178
29fddf61
UD
391792010-09-04 Ulrich Drepper <drepper@redhat.com>
39180
39181 [BZ #11979]
39182 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39183 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39184
0959ffc9
UD
391852010-09-02 Ulrich Drepper <drepper@redhat.com>
39186
39187 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39188 * sysdeps/x86_64/addmul_1.S: Likewise.
39189 * sysdeps/x86_64/lshift.S: Likewise.
39190 * sysdeps/x86_64/mul_1.S: Likewise.
39191 * sysdeps/x86_64/rshift.S: Likewise.
39192 * sysdeps/x86_64/sub_n.S: Likewise.
39193 * sysdeps/x86_64/submul_1.S: Likewise.
39194
ece29840
ST
391952010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39196
0959ffc9
UD
39197 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39198 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39199 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39200 * bits/sched.h [__need_schedparam]
ece29840 39201 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39202 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39203 (__defined_schedparam): Define to 1.
ece29840
ST
39204 (__sched_param): New structure, identical to sched_param.
39205 (__need_schedparam): Undefine.
39206
e53a31fe
MF
392072010-08-31 Mike Frysinger <vapier@gentoo.org>
39208
fdc0c10d
MF
39209 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39210 (epoll_create1): Declare.
39211
e53a31fe
MF
39212 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39213
a726d796
AS
392142010-08-31 Andreas Schwab <schwab@redhat.com>
39215
39216 [BZ #7066]
39217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39218 shifting retval into place.
39219
2f3e3dc7
UD
392202010-09-01 Ulrich Drepper <drepper@redhat.com>
39221
f2933da9
UD
39222 * nis/rpcsvc/nis.h: Update copyright notice.
39223 * nis/rpcsvc/nis.x: Likewise.
39224 * nis/rpcsvc/nis_callback.h: Likewise.
39225 * nis/rpcsvc/nis_callback.x: Likewise.
39226 * nis/rpcsvc/nis_object.x: Likewise.
39227 * nis/rpcsvc/nis_tags.h: Likewise.
39228 * nis/rpcsvc/yp.h: Likewise.
39229 * nis/rpcsvc/yp.x: Likewise.
39230 * nis/rpcsvc/ypupd.h: Likewise.
39231 * nis/yp_xdr.c: Likewise.
39232 * nis/ypupdate_xdr.c: Likewise.
39233
2f3e3dc7
UD
39234 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39235 mainly the body of pmap_getport. Add parameters to specify timeouts.
39236 (pmap_getport): Use __libc_rpc_getport.
39237 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39238 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39239 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39240
f3dcc2f9
AS
392412010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39242
39243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39244 fanotify_mark.
39245
6d34eb5b
RM
392462010-08-27 Roland McGrath <roland@redhat.com>
39247
39248 * sysdeps/i386/i686/multiarch/Makefile
39249 (CFLAGS-varshift.c): New variable.
39250
9ea3de11
UD
392512010-08-27 Ulrich Drepper <drepper@redhat.com>
39252
c96d23fc
UD
39253 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39254 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39255
9ea3de11
UD
39256 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39257
39258 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39259
623aac7f
L
392602010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39261
39262 * sysdeps/x86_64/strlen.S: Unroll the loop.
39263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39264 strlen-sse2 strlen-sse2-bsf.
39265 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39266 __strlen_no_bsf if bit_Slow_BSF is set.
39267 (__strlen_sse42): Removed.
39268 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39269 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39270
8b2b7715
RM
392712010-08-25 Roland McGrath <roland@redhat.com>
39272
39273 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39274 * sysdeps/x86_64/multiarch/varshift.c: New file.
39275 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39276 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39277 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39278 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39279
e73015f2
L
392802010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39281
39282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39283 strlen-sse2 strlen-sse2-bsf.
39284 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39285 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39286 (__strlen_sse2): Removed.
39287 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39288 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39290 bit_Slow_BSF for Atom.
39291 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39292 (index_Slow_BSF): Define.
39293 (HAS_SLOW_BSF): Define.
39294
df24a73e
UD
392952010-08-25 Ulrich Drepper <drepper@redhat.com>
39296
39297 [BZ #10851]
39298 * resolv/res_init.c (__res_vinit): When no server address at all
39299 is given default to loopback.
39300
f2ac4868
RM
393012010-08-24 Roland McGrath <roland@redhat.com>
39302
09055553
RM
39303 * configure.in: Remove config-name.h generation.
39304 * configure: Regenerated.
39305 * config-name.in: File removed.
39306 * scripts/config-uname.sh: New file.
39307 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39308 ($(objdir)config-name.h): New target.
39309
f2ac4868
RM
39310 * sunrpc/rpc_parse.h: Avoid nested comment.
39311
73f27d5e
RH
393122010-08-24 Richard Henderson <rth@redhat.com>
39313 Ulrich Drepper <drepper@redhat.com>
39314 H.J. Lu <hongjiu.lu@intel.com>
39315
39316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39318 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39319 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39320 _mm_alignr_epi8 with _mm_loadu_si128.
39321 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39322 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39323 (__m128i_shift_right): Removed.
39324 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39325 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39326 * sysdeps/x86_64/multiarch/varshift.h: New file.
39327 * sysdeps/x86_64/multiarch/varshift.S: New file.
39328
84b9230c
MF
393292010-08-21 Mike Frysinger <vapier@gentoo.org>
39330
39331 * configure.in: Move assembler checks to before sysdep dir checking.
39332
9bbd0ddc
PB
393332010-08-20 Petr Baudis <pasky@suse.cz>
39334
39335 * LICENSES: Sync the sunrpc license.
39336
9da4bb31
UD
393372010-08-19 Ulrich Drepper <drepper@redhat.com>
39338
a7ab6ec8
UD
39339 * sunrpc/auth_des.c: Update copyright notice once again.
39340 * sunrpc/auth_none.c: Likewise.
39341 * sunrpc/auth_unix.c: Likewise.
39342 * sunrpc/authdes_prot.c: Likewise.
39343 * sunrpc/authuxprot.c: Likewise.
39344 * sunrpc/bindrsvprt.c: Likewise.
39345 * sunrpc/clnt_gen.c: Likewise.
39346 * sunrpc/clnt_perr.c: Likewise.
39347 * sunrpc/clnt_raw.c: Likewise.
39348 * sunrpc/clnt_simp.c: Likewise.
39349 * sunrpc/clnt_tcp.c: Likewise.
39350 * sunrpc/clnt_udp.c: Likewise.
39351 * sunrpc/clnt_unix.c: Likewise.
39352 * sunrpc/des_crypt.c: Likewise.
39353 * sunrpc/des_soft.c: Likewise.
39354 * sunrpc/get_myaddr.c: Likewise.
39355 * sunrpc/getrpcport.c: Likewise.
39356 * sunrpc/key_call.c: Likewise.
39357 * sunrpc/key_prot.c: Likewise.
39358 * sunrpc/openchild.c: Likewise.
39359 * sunrpc/pm_getmaps.c: Likewise.
39360 * sunrpc/pm_getport.c: Likewise.
39361 * sunrpc/pmap_clnt.c: Likewise.
39362 * sunrpc/pmap_prot.c: Likewise.
39363 * sunrpc/pmap_prot2.c: Likewise.
39364 * sunrpc/pmap_rmt.c: Likewise.
39365 * sunrpc/rpc/auth.h: Likewise.
39366 * sunrpc/rpc/auth_unix.h: Likewise.
39367 * sunrpc/rpc/clnt.h: Likewise.
39368 * sunrpc/rpc/des_crypt.h: Likewise.
39369 * sunrpc/rpc/key_prot.h: Likewise.
39370 * sunrpc/rpc/netdb.h: Likewise.
39371 * sunrpc/rpc/pmap_clnt.h: Likewise.
39372 * sunrpc/rpc/pmap_prot.h: Likewise.
39373 * sunrpc/rpc/pmap_rmt.h: Likewise.
39374 * sunrpc/rpc/rpc.h: Likewise.
39375 * sunrpc/rpc/rpc_des.h: Likewise.
39376 * sunrpc/rpc/rpc_msg.h: Likewise.
39377 * sunrpc/rpc/svc.h: Likewise.
39378 * sunrpc/rpc/svc_auth.h: Likewise.
39379 * sunrpc/rpc/types.h: Likewise.
39380 * sunrpc/rpc/xdr.h: Likewise.
39381 * sunrpc/rpc_clntout.c: Likewise.
39382 * sunrpc/rpc_cmsg.c: Likewise.
39383 * sunrpc/rpc_common.c: Likewise.
39384 * sunrpc/rpc_cout.c: Likewise.
39385 * sunrpc/rpc_dtable.c: Likewise.
39386 * sunrpc/rpc_hout.c: Likewise.
39387 * sunrpc/rpc_main.c: Likewise.
39388 * sunrpc/rpc_parse.c: Likewise.
39389 * sunrpc/rpc_parse.h: Likewise.
39390 * sunrpc/rpc_prot.c: Likewise.
39391 * sunrpc/rpc_sample.c: Likewise.
39392 * sunrpc/rpc_scan.c: Likewise.
39393 * sunrpc/rpc_scan.h: Likewise.
39394 * sunrpc/rpc_svcout.c: Likewise.
39395 * sunrpc/rpc_tblout.c: Likewise.
39396 * sunrpc/rpc_util.c: Likewise.
39397 * sunrpc/rpc_util.h: Likewise.
39398 * sunrpc/rpcinfo.c: Likewise.
39399 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39400 * sunrpc/rpcsvc/key_prot.x: Likewise.
39401 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39402 * sunrpc/rpcsvc/mount.x: Likewise.
39403 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39404 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39405 * sunrpc/rpcsvc/rex.x: Likewise.
39406 * sunrpc/rpcsvc/rstat.x: Likewise.
39407 * sunrpc/rpcsvc/rusers.x: Likewise.
39408 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39409 * sunrpc/rpcsvc/spray.x: Likewise.
39410 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39411 * sunrpc/rtime.c: Likewise.
39412 * sunrpc/svc.c: Likewise.
39413 * sunrpc/svc_auth.c: Likewise.
39414 * sunrpc/svc_authux.c: Likewise.
39415 * sunrpc/svc_raw.c: Likewise.
39416 * sunrpc/svc_run.c: Likewise.
39417 * sunrpc/svc_simple.c: Likewise.
39418 * sunrpc/svc_tcp.c: Likewise.
39419 * sunrpc/svc_udp.c: Likewise.
39420 * sunrpc/svc_unix.c: Likewise.
39421 * sunrpc/svcauth_des.c: Likewise.
39422 * sunrpc/xcrypt.c: Likewise.
39423 * sunrpc/xdr.c: Likewise.
39424 * sunrpc/xdr_array.c: Likewise.
39425 * sunrpc/xdr_float.c: Likewise.
39426 * sunrpc/xdr_mem.c: Likewise.
39427 * sunrpc/xdr_rec.c: Likewise.
39428 * sunrpc/xdr_ref.c: Likewise.
39429 * sunrpc/xdr_sizeof.c: Likewise.
39430 * sunrpc/xdr_stdio.c: Likewise.
39431
9da4bb31
UD
39432 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39433 handling.
39434
bdaa77bc
AS
394352010-08-19 Andreas Schwab <schwab@redhat.com>
39436
39437 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39438
fe2f79db
LM
394392010-08-19 Luis Machado <luisgpm@br.ibm.com>
39440
39441 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39442 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39443 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39444 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39445 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39446 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39447 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39448 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39449 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39450 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39451 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39452 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39453 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39454 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39455
b9b42ee0
AB
394562010-07-26 Anton Blanchard <anton@samba.org>
39457
39458 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39459 * malloc/arena.c (heap_trim): Likewise.
39460
1c06ba31
UD
394612010-08-16 Ulrich Drepper <drepper@redhat.com>
39462
39463 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39464 here. Not...
39465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39466 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39467
f8392f40
L
394682010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39469
39470 * sysdeps/i386/elf/Makefile: New file.
39471
3162f12e
AS
394722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39473
39474 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39475 from fanotify_init.
39476 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39478
28c90b2c
UD
394792010-08-15 Ulrich Drepper <drepper@redhat.com>
39480
39481 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39482 of strncasecmp_l.
1feccb6c 39483 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39484
ca6bb004
UD
394852010-08-14 Ulrich Drepper <drepper@redhat.com>
39486
e9f82e0d
UD
39487 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39488 strncase_l-nonascii.
39489 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39490 Add strncase_l-ssse3.
39491 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39492 * sysdeps/x86_64/strcmp.S: Likewise.
39493 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39494 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39495 * sysdeps/x86_64/strncase.S: New file.
39496 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39497 * sysdeps/x86_64/strncase_l.S: New file.
39498 * string/Makefile (strop-tests): Add strncasecmp.
39499 * string/test-strncasecmp.c: New file.
39500
39501 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39502 warning.
39503
ca6bb004
UD
39504 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39505 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39506
052fa7b3
AS
395072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39508
39509 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39510
962dba78
UD
395112010-08-12 Ulrich Drepper <drepper@redhat.com>
39512
39513 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39514 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39515 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39516
bebff237
AM
395172010-05-01 Alan Modra <amodra@gmail.com>
39518
39519 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39520 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39521 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39522 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39523 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39524 tidying. Don't tail-call __sigjmp_save for static lib.
39525 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39526 save location.
39527 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39528 (CALL_MCOUNT): Add eh info, and nop after bl.
39529 (TAIL_CALL_SYSCALL_ERROR): New macro.
39530 (PSEUDO_RET): Use it.
39531 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39532 Correct save location of integer regs and cr.
39533 (_dl_profile_resolve): Correct cr save location. Delete nops
39534 after bl when SHARED. Reduce cfi size a little by better
39535 placement of cfi directives.
39536 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39537 make a stack frame. Instead use parm save area as a temp.
39538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39539 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39541 Don't make a stack frame for parent, use parm save area.
39542 Increase child stack frame to 112 bytes. Don't save unused reg,
39543 and adjust reg usage. Set up cfi on error recovery and
39544 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39546 (__makecontext): Add dummy nop after jump to exit.
39547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39548 Use correct parm save area and cr save, reduce stack frame.
39549 Correct cfi for possible PSEUDO_RET frame setup.
39550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39551 Branch to local label emitted by PSEUDO_RET rather than
39552 __syscall_error.
39553
02637374
AS
395542010-08-12 Andreas Schwab <schwab@redhat.com>
39555
39556 [BZ #11904]
39557 * locale/programs/locale.c (print_assignment): New function.
39558 (show_locale_vars): Use it.
39559
c3e2f19b
UD
395602010-08-11 Ulrich Drepper <drepper@redhat.com>
39561
3cdaa6ad
UD
39562 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39563 field.
39564 (struct statfs64): Likewise.
39565 (_STATFS_F_FLAGS): Define.
39566 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39567 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39568 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39569 (ST_VALID): Define locally.
39570 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39571 __statvfs_getflags, use the provided value.
39572 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39573 __ASSUME_STATFS_F_FLAGS.
39574
754f7da3
UD
39575 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39576
10b3bedc
UD
39577 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39578 Add sys/fanotify.h.
39579 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39580 fanotify_mask for GLIBC_2.13.
39581 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39582 fanotify_init and fanotify_mark.
39583 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39584 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39585
c08fb0d7
UD
39586 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39587 Add prlimit.
39588 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39589 prlimit64 for GLIBC_2.13.
39590 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39591 prlimit64.
39592 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39593 syscall.
39594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39595 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39596 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39597 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39598 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39599 add prlimit alias.
39600 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39601
15bac72b
UD
39602 [BZ #11903]
39603 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39604 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39605
c3e2f19b
UD
39606 * nss/Makefile: Add rules to build and run tst-nss-test1.
39607 * shlib-versions: Add entry for libnss_test1.
39608 * nss/nss_test1.c: New file.
39609 * nss/tst-nss-test1.c: New file.
39610
39611 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39612 (__nss_configure_lookup): Set appropriate entry in
39613 __nss_configure_lookup to true.
39614 * nss/nsswitch.h: Define enum with indeces of databases in
39615 databases and __nss_database_custom arrays. Declare
39616 __nss_database_custom.
39617 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39618 to avoid using nscd when custom rules are installed.
39619 * nss/getXXbyYY_r.c: Likewise.
39620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39621
39622 * nss/nss_files/files-parse.c: Whitespace fixes.
39623
f15ce4d8
UD
396242010-08-09 Ulrich Drepper <drepper@redhat.com>
39625
39626 [BZ #11883]
39627 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39628 * posix/fnmatch_loop.c: Likewise.
39629
d22e4cc9
AK
396302010-07-17 Andi Kleen <ak@linux.intel.com>
39631
39632 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39633 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39634 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39635 * Versions.def [GLIBC_2.13]: Add.
39636
805bc17d
UD
396372010-08-06 Ulrich Drepper <drepper@redhat.com>
39638
39639 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39640 Also fail if tpwd after pwuid call is NULL.
39641
5a42321d
ST
396422010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39643
39644 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39645 when converting to ms.
39646
fd3ebeda
ST
396472010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39648
39649 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39650 EOPNOTSUPP errors with ENOTTY.
39651 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39652 EOPNOTSUPP errors with ENOTTY.
39653
73507d3a
UD
396542010-07-31 Ulrich Drepper <drepper@redhat.com>
39655
39656 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39657 Add strcasecmp_l-ssse3.
39658 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39659 strcasecmp.
39660 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39661 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39662 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39663
fe36dd02
UD
396642010-07-30 Ulrich Drepper <drepper@redhat.com>
39665
66f6765a
UD
39666 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39667
42e08a54
UD
39668 * string/Makefile (strop-tests): Add strcasecmp.
39669 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39670 strcasecmp_l-nonascii.
39671 (gen-as-const-headers): Add locale-defines.sym.
39672 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39673 * sysdeps/x86_64/strcasecmp.S: New file.
39674 * sysdeps/x86_64/strcasecmp_l.S: New file.
39675 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39676 * sysdeps/x86_64/locale-defines.sym: New file.
39677 * string/test-strcasecmp.c: New file.
39678
fe36dd02
UD
39679 * string/test-strcasestr.c: Test both ends of the range of characters.
39680 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39681
48cbc0d6
RM
396822010-07-29 Roland McGrath <roland@redhat.com>
39683
76e6d6bc 39684 [BZ #11856]
48cbc0d6
RM
39685 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39686
880113d9
UD
396872010-07-27 Ulrich Drepper <drepper@redhat.com>
39688
39689 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39690 for ld.so.
39691
deb9cabb
AS
396922010-07-27 Andreas Schwab <schwab@redhat.com>
39693
39694 * manual/memory.texi (Malloc Tunable Parameters): Document
39695 M_PERTURB.
39696
1c7570ff
RM
396972010-07-26 Roland McGrath <roland@redhat.com>
39698
39699 [BZ #11840]
39700 * configure.in (-fgnu89-inline check): Set and substitute
39701 gnu89_inline, not libc_cv_gnu89_inline.
39702 * configure: Regenerated.
39703 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39704
24fb0f88
UD
397052010-07-26 Ulrich Drepper <drepper@redhat.com>
39706
39707 * string/test-strnlen.c: New file.
39708 * string/Makefile (strop-tests): Add strnlen.
39709 * string/tester.c (test_strnlen): Add a few more test cases.
39710 * string/tst-strlen.c: Better error reporting.
39711
39712 * sysdeps/x86_64/strnlen.S: New file.
39713
8e96b93a
UD
397142010-07-24 Ulrich Drepper <drepper@redhat.com>
39715
39716 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39717 lower-latency instructions.
39718
dbc676d4
UD
397192010-07-23 Ulrich Drepper <drepper@redhat.com>
39720
39721 * string/test-strcasestr.c: New file.
39722 * string/test-strstr.c: New file.
39723 * string/Makefile (strop-tests): Add strstr and strcasestr.
39724 * string/str-two-way.h: Don't undefine MAX.
39725 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39726
f6a31e0e
AS
397272010-07-21 Andreas Schwab <schwab@redhat.com>
39728
39729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39730 strcasestr-nonascii.
39731 (CFLAGS-strcasestr-nonascii.c): Define.
39732 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39734 Remove unused attribute.
39735
5dbc3b6c
RM
397362010-07-20 Roland McGrath <roland@redhat.com>
39737
39738 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39739 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39740 ld.so.cache was broken. With it, there is no way to disable dsocaps
39741 like LD_HWCAP_MASK can disable hwcaps.
39742
23d101d8
EPM
397432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39744
39745 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39746
cc9f2e47
UD
397472010-07-16 Ulrich Drepper <drepper@redhat.com>
39748
39749 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39750 call in strcasestr.
39751 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39752 __strcasestr_sse42_nonascii.
39753 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39754 strcasestr-nonascii.c.
39755 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39756
77c1b069
LM
397572010-06-15 Luis Machado <luisgpm@br.ibm.com>
39758
39759 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39760 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39761 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39762 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39763
440566c3
UD
397642010-07-09 Ulrich Drepper <drepper@redhat.com>
39765
39766 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39767 fcntl.
39768
5be9d05d
AS
397692010-07-06 Andreas Schwab <schwab@redhat.com>
39770
c30b7ee2 39771 [BZ #11577]
5be9d05d
AS
39772 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39773 dl_signal_cerror.
39774
8a492a67
UD
397752010-07-06 Ulrich Drepper <drepper@redhat.com>
39776
39777 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39778 _PC_PIPE_BUF using F_GETPIPE_SZ.
39779
713df3d5
RM
397802010-07-05 Roland McGrath <roland@redhat.com>
39781
39782 * manual/arith.texi (Rounding Functions): Fix rint description
39783 implicit in round description.
39784
702e8f14
UD
397852010-07-02 Ulrich Drepper <drepper@redhat.com>
39786
39787 * elf/Makefile: Fix linking for a few tests to make recent linker
39788 happy.
39789
52ed8be9
AS
397902010-06-30 Andreas Schwab <schwab@redhat.com>
39791
39792 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39793 $(common-objpfx)libc_nonshared.a.
39794
f47c9a11
LM
397952010-06-21 Luis Machado <luisgpm@br.ibm.com>
39796
39797 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39798 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39799 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39800 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39801 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39802 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39803 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39804 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39819 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39820 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39821 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39822 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39823 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39824 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39825 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39826 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39827 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39828 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39829 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39830 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39845
6fb8cbcb
L
398462010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39847
39848 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39849 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39850 * string/memmove.c (memmove): Renamed to ...
39851 (MEMMOVE): ...this. Default to memmove.
39852 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39853 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39854 (END_CHK): Define.
39855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39856 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39857 mempcpy-ssse3-back memmove-ssse3-back.
39858 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39859 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39860 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39861 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39862 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39863 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39864 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39865 * sysdeps/x86_64/multiarch/memmove.c: New file.
39866 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39867 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39868 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39869 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39870 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39871 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39872 Define.
39873 (index_Fast_Copy_Backward): Define.
39874 (HAS_ARCH_FEATURE): Define.
39875 (HAS_FAST_REP_STRING): Define.
39876 (HAS_FAST_COPY_BACKWARD): Define.
39877
4e733bac 398782010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
39879
39880 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39881 Restore proper fallback handling.
39882
63c4ed22
UD
398832010-06-19 Ulrich Drepper <drepper@redhat.com>
39884
ac2b484c
UD
39885 [BZ #11701]
39886 * posix/group_member.c (__group_member): Correct checking loop.
39887
63c4ed22
UD
39888 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39889 OOM in getpwuid_r correctly. Return error number when the caller
39890 should return, otherwise -1.
39891 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39892 call returning > 0 value.
39893 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39894
765ade4b
AS
398952010-06-07 Andreas Schwab <schwab@redhat.com>
39896
39897 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39898 libc_nonshared.a from targets in modules-names.
39899
80da2e09
KS
399002010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39901
39902 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39903 requires it.
39904
158db122
LM
399052010-06-10 Luis Machado <luisgpm@br.ibm.com>
39906
39907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39908 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39911
caa78cf8
AS
399122010-06-02 Andreas Schwab <schwab@redhat.com>
39913
39914 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39915
b2ef2c01
UD
399162010-06-14 Ulrich Drepper <drepper@redhat.com>
39917
39918 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39919 and F_GETPIPE_SZ.
39920 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39924 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39925 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39926
fbd643b6
RM
399272010-06-14 Roland McGrath <roland@redhat.com>
39928
39929 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39930
f32f2869
JJ
399312010-06-07 Jakub Jelinek <jakub@redhat.com>
39932
39933 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39934 __REDIRECT followed by __THROW.
39935 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39936 * posix/getopt.h (getopt): Likewise.
39937
2a50c078
EPM
399382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39939
39940 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39941 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39942 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39943 in AT_FLAGS.
39944 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39945 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39946
eb5ad2eb
LM
399472010-05-28 Luis Machado <luisgpm@br.ibm.com>
39948
39949 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39950
3c88fe1e
L
399512010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39952
39953 [BZ #11640]
39954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39955 Properly check family and model.
39956
d2f73151
TY
399572010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39958
39959 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39960
ebd2e13d
LM
399612010-05-24 Luis Machado <luisgpm@br.ibm.com>
39962
39963 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39964
b32b8b45
UD
399652010-05-21 Ulrich Drepper <drepper@redhat.com>
39966
39967 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39968 symbol reference.
39969
9acbe24d
AS
399702010-05-19 Andreas Schwab <schwab@redhat.com>
39971
39972 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39973 symbol reference.
39974
f0ccf6ea
AS
399752010-05-21 Andreas Schwab <schwab@redhat.com>
39976
3d04ff3a
AS
39977 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39978 and internal_recvmmsg.
39979 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39980 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39981 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39982 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39983
f0ccf6ea
AS
39984 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39985 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39986 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39987
5b08ac57
AS
399882010-05-20 Andreas Schwab <schwab@redhat.com>
39989
39990 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39991
4828935d
LM
399922010-05-17 Luis Machado <luisgpm@br.ibm.com>
39993
39994 POWER7 optimizations.
39995 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39996 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39997
373d545e
UD
399982010-05-19 Ulrich Drepper <drepper@redhat.com>
39999
40000 * version.h: Update for 2.13 development version.
40001
21a2b1ae
AS
400022010-05-12 Andrew Stubbs <ams@codesourcery.com>
40003
40004 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40005 exceptions. Return 0.
40006
3f7dcb2b
RM
400072010-05-07 Roland McGrath <roland@redhat.com>
40008
40009 * elf/ldconfig.c (main): Add a const.
40010
5f24d53a 400112010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40012
a160f8d8
UD
40013 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40014 (args_options): Add no-idn option.
40015 (ahosts_keys_int): Add idn_flags to ai_flags.
40016 (parse_option): Handle 'i' option to clear idn_flags.
40017
5f24d53a
UD
40018 * malloc/malloc.c (_int_free): Possible race in the most recently
40019 added check. Only act on the data if no current modification
40020 happened.
265bb1ce
UD
40021
40022See ChangeLog.17 for earlier changes.
This page took 5.15693 seconds and 5 git commands to generate.